[Bug 7898] ps doesn't handle SIGPIPE correctly

bugzilla at busybox.net bugzilla at busybox.net
Wed Mar 4 17:58:35 UTC 2015


https://bugs.busybox.net/show_bug.cgi?id=7898

--- Comment #10 from Aleksey Fedotov <lexa at cfotr.com> 2015-03-04 17:58:35 UTC ---
(In reply to comment #9)

> Try grep, cut, fold, and dozens of other tools. They are all buggy. ;)

Seems that you have missed my point. In all your examples process get killed by
SIGPIPE with *default* signal handler. However on Android system (at least on
Android 5.0 and later) dynamic linker changes signal handler for SIGPIPE to
'debugger_signal_handler' function (i suggest to read this article for more
information: https://kobablog.wordpress.com/2011/05/12/debuggerd-of-android/).
So if ps dies on Android it will not be killed by SIGPIPE, it will report to
debuggerd.

-- 
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