On Sun, 25 Jan 2009, walter harms wrote: > Cristian Ionescu-Idbohrn schrieb: > > 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. > > > > i think it would be interessting to make sure that pidof is needed to > cause the bug. > yes: no clue > no : the subshell is the most likely candidate but i doubt it, since it > is used to heavly and the bug should have surfaced in other > applications > > do older versions of ash behave the same ? (e.g. 1.12 ?)
This is the first time I noticed that. The "older" version is really old 1.1.3 and does not expose the problem. > maybe "test" is broken ? (note: build-in yes/no ) That's an interesting point. I'll look into it. Yes, builtin ATM. I'll check with a non-builtin "test". Cheers, -- Cristian _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
