Your message dated Tue, 02 Oct 2012 15:47:27 +0000
with message-id <e1tj4gx-0006ns...@franck.debian.org>
and subject line Bug#688112: fixed in gummi 0.6.3-1.2
has caused the Debian Bug report #688112,
regarding gummi leaks file descriptors leading to a crash if the fd limit is 
reached
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
688112: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688112
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: gummi
Version: 0.6.3-1.1
Severity: grave
Tags: patch
Justification: renders package unusable

Dear Maintainer,

using gummi for a prolonged time will eventually lead to a crash
possibly involving data loss if no more file descriptors are
available.

gummi uses g_spawn_async_with_pipes to spawn helper processes like
latex but fails to close the pipe connected to the spawned process
stdout. The documentation [0] clearly states:

    The caller of g_spawn_async_with_pipes() must close these file
    descriptors when they are no longer in use.

Attached is a patch that fixes this problem.

0: 
http://developer.gnome.org/glib/2.32/glib-Spawning-Processes.html#g-spawn-async-with-pipes

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (350, 'unstable'), (300, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Description: Fix a file descriptor leak
 utils_popen_r leaks file descriptors. Fix this by closing them.
 .
 gummi (0.6.3-1.1justus1) UNRELEASED; urgency=low
 .
   * Fixed file descriptor leak.
Author: Justus Winter <teyth...@thinkbox.jade-hamburg.de>
--- gummi-0.6.3.orig/src/utils.c
+++ gummi-0.6.3/src/utils.c
@@ -250,6 +250,8 @@ Tuple2 utils_popen_r (const gchar* cmd,
         g_free (rot);
     }
 
+    close(pout);
+
     #ifndef WIN32
         // TODO: command is not available on win32 systems:
         waitpid(typesetter_pid, &status, 0);

--- End Message ---
--- Begin Message ---
Source: gummi
Source-Version: 0.6.3-1.2

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

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 688...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
gregor herrmann <gre...@debian.org> (supplier of updated gummi 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 ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 30 Sep 2012 17:27:44 +0200
Source: gummi
Binary: gummi
Architecture: source amd64
Version: 0.6.3-1.2
Distribution: unstable
Urgency: low
Maintainer: Daniel Stender <dan...@danielstender.com>
Changed-By: gregor herrmann <gre...@debian.org>
Description: 
 gummi      - GTK+ based LaTeX editor with live preview
Closes: 688112
Changes: 
 gummi (0.6.3-1.2) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Fix "gummi leaks file descriptors leading to a crash if the fd limit
     is reached": add patch fix_fd_leak.patch from Justus Winter:
     close file descriptors.
     (Closes: #688112)
Checksums-Sha1: 
 471fb4af50beafd3f412ded457983e1971960591 1964 gummi_0.6.3-1.2.dsc
 9f03b378b7c6a8e24318c193a96a76cb45bd3493 3548 gummi_0.6.3-1.2.debian.tar.gz
 53e15fd56912e81ef6f702d9bf38ce9c6c4443d4 537690 gummi_0.6.3-1.2_amd64.deb
Checksums-Sha256: 
 ac886a3eef725f9d74c9d9cd13abb7c43d0278689c8de9cf1d8451368786d83f 1964 
gummi_0.6.3-1.2.dsc
 d88163c00e14c5ed2958f0939e8fb07546c94d821264455408249c7c9472374a 3548 
gummi_0.6.3-1.2.debian.tar.gz
 1d56eb0b21ba537a7bad726a0672ea9ef20b5d04bf8ae732876d5b5f4a1312e4 537690 
gummi_0.6.3-1.2_amd64.deb
Files: 
 41e3a718e17ee17c645adaa7c33ffbde 1964 tex optional gummi_0.6.3-1.2.dsc
 0e241facde0caf426f94a7eb4e325b56 3548 tex optional 
gummi_0.6.3-1.2.debian.tar.gz
 ceeb9c0c4d414ee6251d65491041b36e 537690 tex optional gummi_0.6.3-1.2_amd64.deb

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

iQIcBAEBCAAGBQJQaGWKAAoJELs6aAGGSaoG2qsP/1tYxaxoNUwFEc9SENaI+eDm
hDD3zz84O7USZ3aZ+3AZMBE7lBQ2qjBUU+Vmwa943dlVooKEVckP7KLT+9WPcOLV
LVdPXDda7Cxhn5b/ECYdzAgTn5RML0GoQ2acbaKvhBq9aYjwBOSUGwXWo9p80Kc2
pSVkHEu/yPmGIGdwMGijvE2OqyjE15U09ZHCvtd7VprFHYAkYOq1aezYchS/B13q
kYbCgntL2rZad62Y02YgOExkvEeESz5pHYI/5FFdDkl7SHnRD+TQN4dDkzhQL6Dk
PBVQGWg3sgV5vXZcot8aHnBCkyme/I5itdx1VWKNvyurmP/za+mzaJ4F5InLt2h6
VNaTiswZDsG/S54ALOQ4RjHzL1+g8DUBL4QNlvfy2ghOHyRRG8v1iPrjprGosfOB
Hd5SqpWHI4Tjc+xrBX34EaFTqNJ4NsRhcHSV0pPCL3Tv98X3klyWjcibY0dxWZnJ
BFLCc8aEMnsadgozFwxYujppLC0NQR1xqDdvr1Le92LVq4DarYMTpZ0tG2m7Mlnx
iebNej4HyCt9W4roob1m6iqU0M43JrYgFHKvg0/8QDurMUgW1F1JY0i0f7WT0j+j
uc8KNEy3q2qDRfbExV/3PU/vSOBufEaRCzORktmidEiX1SaMbFOT9yQ3Uf05Y4Wm
y72DtPFxSFSPxZAV9R+B
=jQgg
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to