From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2623 invoked by alias); 8 May 2017 02:00:19 -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: X-Seq: 41055 Received: (qmail 2796 invoked from network); 8 May 2017 02:00:19 -0000 X-Qmail-Scanner-Diagnostics: from mail-io0-f176.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.223.176):SA:0(-2.3/5.0):. Processed in 2.239174 secs); 08 May 2017 02:00:19 -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=-2.3 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,RCVD_IN_SORBS_SPAM,SPF_PASS, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: dualbus@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.223.176 as permitted sender) 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 :cc:content-transfer-encoding; bh=EA0hQyc4DwAaiXHsaVg+woPtnXbXAbaxbb6HxkhHut4=; b=LTi0zV9LQgvRwCWQV+aNU6dbOlfkJ+aNCyvvm8IAdYPc757LLhPin7tmj+jKlE8kJ8 /xdP5eweWLp3p05iHuJ2Ywqtef5qA6O1DDR043X/sbr5Qg6RepUzXxR4vqLo/m1WIf1b //UuLYA43caVcyxRrY5qFbZA3a4GRgAWAnTo1spq5LsgF6Bx3CqVTXQMn4Q4IsC7xcmN tUuLEIeJOVPc0HKCoIa0cCrFvA5Zv4rheEUl3NRtazDEM3AQJtRqxst3IY880BgVUkXs OzyIXp1/UBzx5tSeVF8+h6W3D0cjAF+rSQoBwBhOY+XFGXUCJdNEA5C5puqQ8rgF6pSG XCzg== 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:cc:content-transfer-encoding; bh=EA0hQyc4DwAaiXHsaVg+woPtnXbXAbaxbb6HxkhHut4=; b=AckBpM+dmEHe94cBmjUa5AZJu5wzA/9QUblQFTyfC23OU2wxODNiLZSRZ34XLX/iCB CsdJb2MGShLwwdY69QuiiIStxVN3EJtI5UGureD/xpHuFr5gRdBD51ohvQGzEks6Mx4C eF0vlUnp8q1p3fnMRcyXBe2BG+1K9wyHEmNI4iTgy4qagy9nLVVK/w+XVM7P/bYNH4Zc MMv/dIMQlYQEzc5OtguC0zccTt27xLhjKFbjXjMuGK9odY2E4LdQ0Rw+1SLLGCFts5m+ JuP1cF7qJhxYrMGyY9U0qjIKrfVvh5RvfoUJol7e37w9bPC5L1q7VJxSMaXPyE0VdDbg XhPw== X-Gm-Message-State: AODbwcCSfS3VAElZeOaIs7Mvz7Dc490q3YdALZ5dgOqLux9XXuO0WXym u3ics7zDMAoLIo+7NXWEZr3aomY9vw== X-Received: by 10.107.12.143 with SMTP id 15mr9603201iom.94.1494208810857; Sun, 07 May 2017 19:00:10 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20170507213631.2a15e7ad@ntlworld.com> References: <20170507213631.2a15e7ad@ntlworld.com> From: Eduardo Bustamante Date: Sun, 7 May 2017 20:59:50 -0500 Message-ID: Subject: Re: Zsh parser segmentation fault on taddstr To: Peter Stephenson Cc: zsh-workers@zsh.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, May 7, 2017 at 3:36 PM, Peter Stephenson wrote: [...] > I haven't got an actual crash, but I am getting some undefined behaviour > which could do anything so is probably down to the same cause. I can > get the same behaviour here: FWIW, I built Zsh this way: CC=3Dclang CFLAGS=3D'-O0 -ggdb' LDFLAGS=3D'' ./configure zsh configuration ----------------- zsh version : 5.3.1-dev-0 host operating system : x86_64-unknown-linux-gnu source code location : . compiler : clang preprocessor flags : executable compiler flags : -O0 -ggdb module compiler flags : -O0 -ggdb -fPIC executable linker flags : -rdynamic module linker flags : -shared library flags : -ldl -ltinfo -lrt -lm -lc installation basename : zsh binary install path : /usr/local/bin man page install path : /usr/local/share/man info install path : /usr/local/share/info functions install path : /usr/local/share/zsh/5.3.1-dev-0/functions See config.modules for installed modules and functions. dualbus@debian:~/src/zsh/zsh$ md5sum crash c6abfc1333f1b544789e8578d54e1b60 crash dualbus@debian:~/src/zsh/zsh$ base64 crash aWYgKGEp/wAAPDwF/wkGfCYEXA=3D=3D dualbus@debian:~/src/zsh/zsh$ ./Src/zsh -nv crash if (a)=EF=BF=BD<<=EF=BF=BD |&\Segmentation fault