mysterious segfault with busybox 1.13.0 ash

Natanael Copa natanael.copa at gmail.com
Thu Nov 20 23:11:56 PST 2008


On Thu, 2008-11-20 at 23:42 +0100, Cristian Ionescu-Idbohrn wrote:
> On Thu, 20 Nov 2008, 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)..
> 
> Doesn't work for me :(  I get something else:
> 
>   ash: memory exhausted

there you got it.

yesterday i reproduced the problem at home on 64 bit ubuntu and 32 bit
arch linux. IIRC arch uses a (very close to vanilla) gcc-4.3.2. 

It seems like comand line editing needs to be turned on.

I'm still not sure the bug is really in busybox, since things seems to
work with -O0.

-nc



More information about the busybox mailing list