[Pkg-xfce-devel] Bug#422572: Process spawned by left click remains
	zombie
    Lorenzo Martignoni 
    lorenzo.martignoni at poste.it
       
    Mon May  7 03:11:06 UTC 2007
    
    
  
Package: xfce4-genmon-plugin
Version: 3.1-1
Severity: normal
--- Please enter the report below this line. ---
The process spawned when the icon plugin is left clicked remains zombie
because the plugin process does not wait for the termination of the child.
As a workaround the following patch can be used:
--- main.c.orig 2007-05-06 21:58:20.000000000 -0500
+++ main.c      2007-05-06 20:54:37.000000000 -0500
@@ -97,7 +97,8 @@
     char result[256];
     genmon_SpawnCmd (poMonitor->onClickCmd, result,
-        sizeof (poMonitor->onClickCmd), 0);
+//        sizeof (poMonitor->onClickCmd), 0);
+        sizeof (poMonitor->onClickCmd), 1);
 }
 /**************************************************************/
The patch is not the ultimate solution as the plugin is blocked until
the child is terminated.
--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.20-asus-s1n
Debian Release: lenny/sid
  500 unstable        ftp.debian.org
  500 stable          www.debian-multimedia.org
  500 stable          security.debian.org
  500 stable          ftp.debian.org
    1 experimental    ftp.debian.org
--- Package information. ---
Depends               (Version) | Installed
===============================-+-=============
libatk1.0-0         (>= 1.13.2) | 1.18.0-2
libc6                  (>= 2.5) | 2.5-5
libcairo2            (>= 1.4.0) | 1.4.6-1
libfontconfig1       (>= 2.4.0) | 2.4.2-1.2
libglib2.0-0        (>= 2.12.9) | 2.12.11-3
libgtk2.0-0         (>= 2.10.3) | 2.10.12-1
libpango1.0-0       (>= 1.16.2) | 1.16.2-2
libx11-6                        | 2:1.0.3-7
libxcursor1          (>> 1.1.2) | 1:1.1.8-2
libxext6                        | 1:1.0.3-2
libxfce4util4        (>= 4.4.1) | 4.4.1-1
libxfcegui4-4        (>= 4.4.1) | 4.4.1-1
libxfixes3         (>= 1:4.0.1) | 1:4.0.3-2
libxi6                          | 1:1.0.1-4
libxinerama1                    | 1:1.0.2-1
libxrandr2         (>= 2:1.2.0) | 2:1.2.1-1
libxrender1                     | 1:0.9.2-1
xfce4-panel          (>= 4.4.1) | 4.4.1-1
    
    
More information about the Pkg-xfce-devel
mailing list