From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PvX5N-0000At-RT for garchives@archives.gentoo.org; Fri, 04 Mar 2011 15:38:34 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DFDC21C035; Fri, 4 Mar 2011 15:38:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D39191C00A for ; Fri, 4 Mar 2011 15:37:39 +0000 (UTC) Received: from [192.168.1.201] (194.150.222.87.dynamic.jazztel.es [87.222.150.194]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: pacho) by smtp.gentoo.org (Postfix) with ESMTPSA id 98ABF1B41A5 for ; Fri, 4 Mar 2011 15:37:38 +0000 (UTC) Subject: Re: [gentoo-dev] EasyTAG 2.1.6 Handle SIGCHLD to make audacious archived skins workable From: Pacho Ramos To: gentoo-dev@lists.gentoo.org In-Reply-To: <4D70ECD4.1050401@gmail.com> References: <4D70ECD4.1050401@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-2zuAlbPcCiPKdXgCwZll" Date: Fri, 04 Mar 2011 16:37:34 +0100 Message-ID: <1299253054.8629.7.camel@localhost.localdomain> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 X-Archives-Salt: X-Archives-Hash: 047459f545c392f70a1cea704669b444 --=-2zuAlbPcCiPKdXgCwZll Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable El vie, 04-03-2011 a las 15:44 +0200, Alessio Ababilov escribi=C3=B3: > It seems that development of EasyTAG is stopped, and so I send the patch= =20 > to gentoo developers. >=20 > EasyTAG calls signal(SIGCHLD,SIG_IGN) to avoid zombies. It works fine, > but it leads to one problem. > If one calls 'Run Audio Player', the player's SIGCHLD signal handler is > inherited. So, when audacious calls system() in order to unpack its > archived skin, the archiver process ends silently (the wait() call in > system() function cannot hear that the child process has ended). The > audacious process assumes that there was an error and an unarchived skin > is used. > A possible solution is to set a handler for SIGCHLD in EasyTAG. The > handler is called when a child process ends and the latter doesn't > become a zombie. >=20 > Alessio Ababilov What about opening a bug report at bugs.gentoo.org?=20 Thanks :-) --=-2zuAlbPcCiPKdXgCwZll Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEABECAAYFAk1xBz4ACgkQCaWpQKGI+9T7jQCfTzMnMzXflWSac5LtPK/c8DNG BQcAn0qyt1oVJWENuvyHblLhYTyXOBR7 =v7oh -----END PGP SIGNATURE----- --=-2zuAlbPcCiPKdXgCwZll--