busybox segfault in __uClibc_main

Linh Dang linhd at nortel.com
Mon Dec 5 17:30:54 UTC 2005


Linh Dang <linhd at americasm01.nt.com> wrote:
> Rob Landley rob at landley.net:
>>
>> I'm using busybox with uClibc.  I think the imporant part here is
>> busybox on ppc.
>>
>> I'd like to track this down, can you email me an strace of the
>> segfaulting cases you've found?  (And you've confirmed that a
>> simple "hello world" program works fine with your uclibc toolchain,
>> right?)
>>
>> Rob
>>
>
>
> Well, I can run ash as long as I dont call any "external" command
> i.e. make busybox do fork/exec. "internal" commands such as export,
> set, setenv, etc. work fine.
>

I did some more testing and interstingly:

        - "busybox ls" would run successfully if invoked from gdb or
          strace

        - segfaulted if invoked from the shell.

Any idea?

Regards

--
Linh Dang



More information about the uClibc mailing list