[Bug 771] New: ash: HUP signal is ignored
bugzilla at busybox.net
bugzilla at busybox.net
Thu Dec 3 12:08:10 UTC 2009
https://bugs.busybox.net/show_bug.cgi?id=771
Host: i686
Target: ARM
Summary: ash: HUP signal is ignored
Product: Busybox
Version: 1.15.x
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at busybox.net
ReportedBy: simon.kagstrom at netinsight.net
CC: busybox-cvs at busybox.net
Estimated Hours: 0.0
Created an attachment (id=803)
--> (https://bugs.busybox.net/attachment.cgi?id=803)
patch (git format-patch)
We noticed that ash would hang after quitting a telnet session (i.e., Ctrl-]
and quit), busy looping on something and therefore using all CPU it could get.
Exiting normally did not show this behavior.
It turns out that SIGHUP is ignored by ash, and this seems to be the reason
behind the error. Doing
kill -HUP $$
does nothing with busybox ash, whereas bash will exit if you do that. Further,
doing e.g.,
trap ls SIGHUP
is also non-functional (other signals will work as expected).
I've attached a patch which fixes the SIGHUP issues, although I'm unsure if
it's the correct fix. I'm using 1.15.2 on ARM (but the issue seems general).
--
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