From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28239 invoked by alias); 5 Jul 2018 13:40:55 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 43143 Received: (qmail 29032 invoked by uid 1010); 5 Jul 2018 13:40:55 -0000 X-Qmail-Scanner-Diagnostics: from mail-oi0-f46.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.218.46):SA:0(-1.9/5.0):. Processed in 1.153523 secs); 05 Jul 2018 13:40:55 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: sgniazdowski@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=txi5zwaiAV18R6LqAaIif0e1s7kUqXbL9UZxG5LIrnQ=; b=hTa7C0AvGsruGCXKr7DmTiiVs3muivcKIdADjYG+s8hhmslj3yz9cIxwuSPuDVKMiE WtO8COarmkoUEy9J+dJD1T20WGHlkQPm2TYrejFjIq8K2BOylOcIXA5xTcfiwWipYWBy /OBFY6mdwl6+wC7Y8RZSRzAs3c+TrZ9rT8UmGf7iafqVLFiAtY2aebH4b7M8fKsJtrnH u2pr2s2F8ifrorAn1oUodoMI32e102pMjorb880sSJmbixcSKqMqEyi3qxSlLNUQho4P FyDvKkdUL5gPxZhEaNwBkxHbrv7aoRAABf5kQNgj9xMiRb+NA+pRL/MZUA4+hmpNcEzN ZAXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=txi5zwaiAV18R6LqAaIif0e1s7kUqXbL9UZxG5LIrnQ=; b=CYCYbLVz4Bx7ZvDbiEL7MN6o/WAH12x1zmwPW6AK2j0q68kImN5llw7NEU6qDJc6eU LdnoMTR47mTv3yJCG5Vz8TX303zzLZWHhma9YzvcVJwqThmdZCG803K/T7kFt/r8XkiO oP22dqnYHzKuS04v1qMcDyoVJtsq4BohCIVifSlpTyd3Pz1Bm1PWhwqwjnVWGJxMK7eD zbRc2XN66zuyrFqz9kxqbf+i1a07KXOug7bvvh/OtpGBmxgz1LFoE4bk8nbpF4gVy09l mRRLA70UnjKdVqyonJE1krjvnlI2bSLupABkPZjMaAWJS4NMAfFICVN05JCpRlU8t1IN t/4w== X-Gm-Message-State: APt69E1N/N5SC/8bnVRR9zGgc1nUE7SABbtjn8iO0DKoeKpOZ705H5fP k015Coq1ZHvpMCGwVvlxzEULhXBUIqi49eKS7rvLkw== X-Google-Smtp-Source: AAOMgpcdLUkZa7M9Skieweqhv40ioLYF1Aze3Wzm5T9hpLCzWszQ4/Z0EEVBRUue9hMNEQtAOE7tPFV3yECOx7wn5Po= X-Received: by 2002:aca:cf43:: with SMTP id f64-v6mr7180327oig.113.1530798051145; Thu, 05 Jul 2018 06:40:51 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Sebastian Gniazdowski Date: Thu, 5 Jul 2018 15:40:30 +0200 Message-ID: Subject: Re: A repeating core, just sharing backtrace To: Zsh hackers list Content-Type: text/plain; charset="UTF-8" I bisected from 5.4.2 to HEAD. The core is fully repeatable. It's a larger script (zplugin) operation that causes the core, so currently this is kind of a black box. f7519811e1bbe990ff1c3d499ffb70cfc2d034f8 is the first bad commit commit f7519811e1bbe990ff1c3d499ffb70cfc2d034f8 Author: Ricardo Giorni Date: Sun Apr 29 12:05:39 2018 -0700 47201: fix 42355 for multiple backslashes I think this is a well pointed commit, because any backtrace I occurred was going through zshlex: ... frame #5: 0x00007fff5766b256 libsystem_malloc.dylib`free_tiny + 628 frame #6: 0x0000000100e076e8 zsh`zfree + 24 frame #7: 0x0000000100dc4c3c zsh`gethere + 780 frame #8: 0x0000000100dfafc1 zsh`zshlex + 369 frame #9: 0x0000000100e26c6f zsh`par_redir + 655 frame #10: 0x0000000100e29b5f zsh`par_simple + 2063 ... On 2 July 2018 at 12:09, Sebastian Gniazdowski wrote: > Hello, > I've triggered loading a snippet with Zplugin, and core happened. > Tried again and it repeats. Zsh-5.5.1-dev-0, HEAD. Don't have energy > currently to track this, maybe someone has idea for a "economical" > debug print or other thing to reveal the cause? > > frame #0: 0x00000001092f7e1f > zsh-5.5.1-dev-0`scanmatchtable(ht=, > pprog=0x0000000000000000, sorted=446721, flags1=0, flags2=0, > scanfunc=(zsh-5.5.1-dev-0`scanendscope at params.c:5570), scanflags=0) > at hashtable.c:424 [opt] > 421 for (i = 0; i < hsize; i++) > 422 for (st.u.u = nodes[i]; st.u.u; ) { > 423 HashNode hn = st.u.u; > -> 424 st.u.u = st.u.u->next; > 425 if ((!flags1 || (hn->flags & flags1)) && > !(hn->flags & flags2) > 426 && (!pprog || pattry(pprog, hn->nam))) { > 427 match++; > > -- > Sebastian Gniazdowski > News: https://twitter.com/ZdharmaI > IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin -- Sebastian Gniazdowski News: https://twitter.com/ZdharmaI IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin