[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#187743: marked as done (selectwm does not wait() for all its children, causing zombies)

Your message dated Sat, 11 Dec 2004 16:32:21 -0500
with message-id <E1CdEqj-0003nI-00@newraff.debian.org>
and subject line Bug#187743: fixed in selectwm 0.4.1-2
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)

Received: (at submit) by bugs.debian.org; 5 Apr 2003 17:41:26 +0000
>From arndt@quelltext.com Sat Apr 05 11:41:26 2003
Return-path: <arndt@quelltext.com>
Received: from (mailgate.quelltext.com) [] 
	by master.debian.org with smtp (Exim 3.12 1 (Debian))
	id 191rfR-0000gz-00; Sat, 05 Apr 2003 11:41:25 -0600
Received: (qmail 29623 invoked from network); 5 Apr 2003 17:40:54 -0000
Received: from nidoking.quelltext.com (HELO mail1.quelltext.com) (
  by mailgate.quelltext.com with SMTP; 5 Apr 2003 17:40:54 -0000
Received: (qmail 12998 invoked from network); 5 Apr 2003 17:40:54 -0000
Received: from schiggy.intern.quelltext.com (mail@
  by mail1.intern.quelltext.com with SMTP; 5 Apr 2003 17:40:54 -0000
Received: from arndt by schiggy.intern.quelltext.com with local (Exim 3.36 #1 (Debian))
	id 191rew-0007Eu-00
	for <submit@bugs.debian.org>; Sat, 05 Apr 2003 19:40:54 +0200
Date: Sat, 5 Apr 2003 19:40:54 +0200
From: Arndt Schoenewald <arndt@lin02384n012.mc.schoenewald.de>
To: submit@bugs.debian.org
Subject: selectwm does not wait() for all its children, causing zombies
Message-ID: <20030405174054.GA27771@schiggy.intern.quelltext.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
User-Agent: Mutt/1.5.3i
Sender: =?iso-8859-1?Q?Arndt_Sch=F6newald?= <arndt@quelltext.com>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-2.2 required=4.0

Package: selectwm
Version: 0.3-2

The selectwm process only waits for its most favourite child, the
window manager, and neglects other children that it may have adopted,
causing these to become zombies when they exit.

To be more clear: A typical .xsession file might look like this:

    # load SSH keys into the agent, if applicable
    if [ -n "$DISPLAY" ] && [ -S "$SSH_AUTH_SOCK" ]
	if SshPrivateKeyFiles=`
	    grep 2>&- -l 'PRIVATE KEY' /dev/null \
		\`find $HOME/.ssh -name 'id*' -type f -print\`
	` && [ -n "$SshPrivateKeyFiles" ]
	    ssh-add 0<&- $SshPrivateKeyFiles &

    # make sure we have one Xterm available right away
    rxvt -geometry 80x76-0+0 &

    # start the window system, using selectwm to chose our window manager
    exec selectwm

    # (End Of File)

i.e. it two background processes, ssh-add and rxvt, are created before
selectwm is run with exec (to avoid a dangling shell process). selectwm
will now launch the selected window manager and wait for its termination
using wait4(); the ssh-add and rxvt processes, which are now also the
children of selectwm because of the exec, will hang around as zombies
when they exit. To fix this, the single call to wait4() in selectwm
should be replaced by a call to wait3() within a loop.

Best regards,

Arndt Schönewald <arndt@lin02384n012.mc.schoenewald.de>, Software Developer
Quelltext AG (http://www.quelltext-ag.de), Dortmund, Germany

Received: (at 187743-close) by bugs.debian.org; 11 Dec 2004 21:39:23 +0000
>From katie@ftp-master.debian.org Sat Dec 11 13:39:23 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CdExX-0005H6-00; Sat, 11 Dec 2004 13:39:23 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1CdEqj-0003nI-00; Sat, 11 Dec 2004 16:32:21 -0500
From: Christoph Berg <cb@df7cb.de>
To: 187743-close@bugs.debian.org
X-Katie: $Revision: 1.54 $
Subject: Bug#187743: fixed in selectwm 0.4.1-2
Message-Id: <E1CdEqj-0003nI-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sat, 11 Dec 2004 16:32:21 -0500
Delivered-To: 187743-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25

Source: selectwm
Source-Version: 0.4.1-2

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

  to pool/main/s/selectwm/selectwm_0.4.1-2.diff.gz
  to pool/main/s/selectwm/selectwm_0.4.1-2.dsc
  to pool/main/s/selectwm/selectwm_0.4.1-2_i386.deb
  to pool/main/s/selectwm/selectwm_0.4.1.orig.tar.gz

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

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 187743@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Christoph Berg <cb@df7cb.de> (supplier of updated selectwm 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 ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Thu,  2 Dec 2004 00:26:45 +0100
Source: selectwm
Binary: selectwm
Architecture: source i386
Version: 0.4.1-2
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Christoph Berg <cb@df7cb.de>
 selectwm   - Select a window manager at X startup
Closes: 187743 254369 254370
 selectwm (0.4.1-2) unstable; urgency=low
   * QA upload.
   * Wrote watch file with new location (Closes: #254369).
   * New upstream version (Closes: #254370).
     + Fixes zombie problem (Closes: #187743).
     + Ported to gtk+-2.0.
     + Search for known window managers.
     + Changed author email address.
     + Cleanups.
   * Add $(MAKE) to build target in debian/rules.
   * selectwm.1: set section from 1x to 1.
 0b54ba810b3ed34efbf4ec1cb17994d9 612 x11 optional selectwm_0.4.1-2.dsc
 724089ca5948a0c76990cce326d8cf61 209754 x11 optional selectwm_0.4.1.orig.tar.gz
 75fc22c9a9bfa91933c4567f71b149fe 2865 x11 optional selectwm_0.4.1-2.diff.gz
 9a9f2f053e16c71e80d990599a2691a7 21214 x11 optional selectwm_0.4.1-2_i386.deb

Version: GnuPG v1.2.5 (GNU/Linux)


Reply to: