[Bug 189] ash behaves strangely on CTRL-C (does not exit but fills process table)

bugzilla at busybox.net bugzilla at busybox.net
Thu Mar 19 14:42:51 UTC 2009


--- Comment #10 from Ronald Wahl <ronald.wahl at raritan.com>  2009-03-19 14:42:51 UTC ---
Created an attachment (id=165)
 --> (https://bugs.busybox.net/attachment.cgi?id=165)
trace of executing script.sh (with manually inserted CTRL-C marker)

The attachment shows the trace of the script below. I inserted the point were I
pressed CTRL-C once. The fork after CTRL-C is simply the restart of the sleep
command after the first sleep finished because CTRL-C.

--------- script.sh --------------
func () {
    sleep 9999

handler () {
    return 0

trap handler USR1

while (true); do

Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the busybox-cvs mailing list