sh (pid 1081) segfaults for page address 00000000 at pc 00000000
Denys Vlasenko
vda.linux at googlemail.com
Mon Jan 26 23:26:34 UTC 2009
On Sunday 25 January 2009 00:04, Cristian Ionescu-Idbohrn wrote:
> This is: BusyBox v1.13.2, Linux 2.6.26 arch=crisv32
>
> Have spent some time chasing this bug.
> I didn't find a simple way to reproduce, yet.
>
> The bug occurs in a somewhat complex chain of forked processes. Seems
> 'pidof' is to blaim. The shell code line:
>
> if [ "$(pidof <process name>)" ]; then
>
> That <process name> does not exist.
Need more info.
What is your .config?
Does it happen with the same .config on x86?
What is a most minimal .config it happens on
(switch off applets/options and try again, until you
are sure any of the remaining options is needed
for this bug to happen)
What is your gcc/ld versions?
Which libc do you build against? Version?
Does it happen with if [ "$(/bin/true)" ]; then ...?
Does it happen with just [ "$(/bin/true)" ] executed?
--
vda
More information about the busybox
mailing list