On Tue, 19 Feb 2008, Cristian Ionescu-Idbohrn wrote:

> r21020 is ok.
>
> ash r21030 breabs in an init script:
>
>   rc (pid 75) segfaults for page address 8feee000 at pc 355a06a6
>
> while starting a 'for' loop, I'm not sure, I'm investigating.
> I'll let you know after digging some more.

Yes.  This line in a console shell:

  # for file in /etc/rc$N.d/S??*; do echo $file;done

generates:

  sh (pid 79) segfaults for page address 20188000 at pc 355a06a6

the shell dies, and init starts a new one.

This kills the shell too:

  # echo $RUNLEVEL
  3
  # for file in /etc/rc$RUNLEVEL.d/S??*; do echo $file;done
  sh (pid 82) segfaults for page address 20188000 at pc 355a06a6

But this line:

  for file in /etc/rc3.d/S??*; do echo $file;done

works as expected.


Cheers,

-- 
Cristian
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to