mysterious segfault with busybox 1.13.0 ash

Natanael Copa natanael.copa at gmail.com
Thu Nov 20 09:37:39 UTC 2008


On Thu, 2008-11-20 at 09:45 +0100, Bernhard Reutner-Fischer wrote:
> On Wed, Nov 19, 2008 at 09:30:27PM +0100, Natanael Copa wrote:
> >On Wed, 2008-11-19 at 21:17 +0100, Natanael Copa wrote:
> 
> >> shorter testcase:
> >> 
> >> ash -c "foo() { ! false && echo foo; }; foo"
> 
> Works for me on trunk (on a debian box)..

I can reproduce it on gentoo 64 bit glibc with gcc 4.3.2 and gentoo
hardened 32 bit uclibc, gcc-3.4.6 from current trunk.

Using CFLAGS="-O0" make it work here too. It segfault with both -Os and
-O1.

-nc




More information about the busybox mailing list