[Goodies-dev] [Bug 4036] New: genmon configuration hangs if command has no output or hangs

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Thu Apr 24 00:32:53 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=4036

           Summary: genmon configuration hangs if command has no output or
                    hangs
           Product: Xfce Panel Plugins
           Version: unspecified
          Platform: PC (x86)
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: genmon
        AssignedTo: goodies-dev at xfce.org
        ReportedBy: stephent98 at hotmail.com


Reproduce by adding a new genmon plugin and configuring it to invoke
"/bin/true" or "cat /dev/null". After clicking "Close", the configuration
window remains displayed and cannot be closed except by killing the genmon
process. Preferred behavior would be to close the configuration window and
display "XXX" after invoking the command. The same problem occurs if the
command hangs (reproduce with "sleep 30").

Strace shows that the genmon process is hung in poll().
$ ps -e | grep genmon
14272 ?        00:00:00 xfce4-genmon-pl
$ strace -p 14272 -f 2>x.log

[pid 14291] execve("/bin/true", ["/bin/true"...], [/* 39 vars */]) = 0
...
[pid 14291] exit_group(0)               = ?
Process 14291 detached
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(14291, NULL, 0)                 = 14291
poll( <unfinished ...>
Process 14272 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