sh (pid 1081) segfaults for page address 00000000 at pc 00000000
Cristian Ionescu-Idbohrn
cristian.ionescu-idbohrn at axis.com
Sun Jan 25 14:09:03 UTC 2009
On Sun, 25 Jan 2009, walter harms wrote:
> does
> if [ -z "$(pidof <process name>)" ]; then
>
> change anything ?
I'll try that tomorrow at work.
Thinking about it a little more...
It is the _shell_ that runs pidof that is actually segfaulting.
May very well be a compiler bug, but I'm not looking in that direction
right now.
The SIGSEVG signal handler I'm playing with is in ash.c.
The idea is to put ash in a while(1); loop and gdb attach to the process.
I would appreciate any advice/ideas on how to catch this bug.
Cheers,
--
Cristian
More information about the busybox
mailing list