[Goodies-dev] [Bug 3896] process run by genmon plugin are zombified
bugzilla-daemon at xfce.org
bugzilla-daemon at xfce.org
Wed Apr 16 00:11:00 CEST 2008
DO NOT REPLY TO THIS EMAIL. Also, do not reply via email to the person
whose email is mentioned below. To comment on this bug, please visit:
http://bugzilla.xfce.org/show_bug.cgi?id=3896
------- Comment #7 from stephent98 at hotmail.com 2008-04-15 22:10 UTC -------
The plugin hangs with patch 1532 because genmon_Spawn() is waiting for I/O when
there will be none.
With the patch, strace shows that genmon calls waitpid() and then hangs at
poll(). Here's how to confirm.
Configure a genmon command script to call /bin/true on click and set the period
to one second. (Attachment follows.)
$ ps -e | fgrep genmon
26211 ? 00:00:00 xfce4-genmon-pl
$ strace -p 26211 -f 2>x.log
x.log has these lines:
...
[pid 26360] execve("/bin/true", ["/bin/true"], [/* 40 vars */]) = 0
...
[pid 26360] exit_group(0) = ?
Process 26360 detached
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(26360, NULL, 0) = 26360
poll( <unfinished ...>
Process 26211 detached
--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Goodies-dev
mailing list