Your message dated Sun, 24 Dec 2006 22:02:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#404438: fixed in gphotocoll 0.7-12
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: gphotocoll
Version: 0.7-10

Hi,

after starting and quitting an external application (e.g. gimp)
gphotocoll doesn't do a wait() and the process table fills up with
zombies. The appended patch installs a sig handler, which acts as a
grim reaper.  

Michael

--- t/gphotocoll-0.7/src/main.c 2001-03-09 23:11:27.000000000 +0100
+++ gphotocoll/src/main.c       2006-03-26 14:20:12.000000000 +0200
@@ -7,6 +7,8 @@
 #  include <config.h>
 #endif
 
+#include <sys/signal.h>
+#include <sys/wait.h>
 #include <gnome.h>
 
 #include "gpc_app.h"
@@ -17,6 +19,16 @@
 #include "pg_connection.h"
 
 
+static void
+chld_term( int x )
+{
+    do
+       x = waitpid( -1, 0, WNOHANG );
+    while ( x > 0 );
+
+} /* chld_term */
+
+
 int
 main (int argc, char *argv[])
 {
@@ -25,6 +37,8 @@
   textdomain (PACKAGE);
 #endif
 
+  signal( SIGCLD, chld_term ); 
+
   gnome_init (PACKAGE, VERSION, argc, argv);
 
   /* First, we try to recreate connection from stored params 
@@ -71,6 +85,7 @@
   gpc_app = create_gpc_app ();
   gtk_widget_show (gpc_app);
 
+
   gtk_main ();
 
   return 0;



-- 
biff4emacsen - A biff-like tool for (X)Emacs
http://www.c0t0d0s0.de/biff4emacsen/biff4emacsen.html



--- End Message ---
--- Begin Message ---
Source: gphotocoll
Source-Version: 0.7-12

We believe that the bug you reported is fixed in the latest version of
gphotocoll, which is due to be installed in the Debian FTP archive:

gphotocoll_0.7-12.diff.gz
  to pool/main/g/gphotocoll/gphotocoll_0.7-12.diff.gz
gphotocoll_0.7-12.dsc
  to pool/main/g/gphotocoll/gphotocoll_0.7-12.dsc
gphotocoll_0.7-12_amd64.deb
  to pool/main/g/gphotocoll/gphotocoll_0.7-12_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien BLACHE <[EMAIL PROTECTED]> (supplier of updated gphotocoll package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 24 Dec 2006 22:45:52 +0100
Source: gphotocoll
Binary: gphotocoll
Architecture: source amd64
Version: 0.7-12
Distribution: unstable
Urgency: low
Maintainer: Julien BLACHE <[EMAIL PROTECTED]>
Changed-By: Julien BLACHE <[EMAIL PROTECTED]>
Description: 
 gphotocoll - tool to manage your photo collection
Closes: 404438
Changes: 
 gphotocoll (0.7-12) unstable; urgency=low
 .
   * src/main.c:
     + Add SIGCHLD handler to avoid leaving zombies behind when spawning
       external applications; patch by Michael Welle (closes: #404438).
Files: 
 c29d714caf192c2763c06c9b0f975d57 693 gnome optional gphotocoll_0.7-12.dsc
 0bd823f87c4a97a0350df2e0352b962d 6230 gnome optional gphotocoll_0.7-12.diff.gz
 13e666b1edf065985ca6ca32933a9922 292832 gnome optional 
gphotocoll_0.7-12_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFjvWVzWFP1/XWUWkRAsCnAKDXuraoLFV4U60K8FyvRSABX5AUBgCg1rJx
HN5sfRfsk5H/WlfJtQRRk08=
=6Ri6
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to