From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 06 11:35:36 2018 Received: (at 31925) by debbugs.gnu.org; 6 Jul 2018 15:35:36 +0000 Received: from localhost ([127.0.0.1]:48783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fbSli-000274-V2 for submit@debbugs.gnu.org; Fri, 06 Jul 2018 11:35:36 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40023) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fbSlh-00026p-4O for 31925@debbugs.gnu.org; Fri, 06 Jul 2018 11:35:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fbSlY-00073V-V5 for 31925@debbugs.gnu.org; Fri, 06 Jul 2018 11:35:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33703) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fbSlY-00073L-Jd; Fri, 06 Jul 2018 11:35:24 -0400 Received: from [193.50.110.150] (port=44084 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fbSlY-0000zj-10; Fri, 06 Jul 2018 11:35:24 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Andy Wingo Subject: Re: bug#31925: 'guix substitutes' sometimes hangs on glibc 2.27 References: <87bmc4748n.fsf@gnu.org> <874lhffpnq.fsf@gnu.org> <87tvpfaqfd.fsf@gnu.org> <87efgil5jz.fsf@netris.org> <87lgaqjemj.fsf@igalia.com> <87po01eul3.fsf@gnu.org> <87zhz5ixle.fsf@igalia.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 18 Messidor an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 06 Jul 2018 17:35:22 +0200 In-Reply-To: <87zhz5ixle.fsf@igalia.com> (Andy Wingo's message of "Thu, 05 Jul 2018 16:08:45 +0200") Message-ID: <87fu0wbcn9.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 31925 Cc: Mark H Weaver , 31925@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Hello Andy, Andy Wingo skribis: > On Thu 05 Jul 2018 14:27, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > >> Hello, >> >> Andy Wingo skribis: >> >>> The signal thread is a possibility though in that case you'd get a >>> warning; the signal-handling thread appears in scm_all_threads. Do you >>> see a warning? If you do, that is a problem :) >> >> I don=E2=80=99t see a warning. >> >> But as a Guile user, I shouldn=E2=80=99t see a warning just because ther= e=E2=80=99s a >> signal thread anyway; it=E2=80=99s not a thread I spawned myself. > > I understand but it's how it works. If we want to change this, probably > we need a similar interface as we have with finalization. Right, understood. >> scheme@(guile-user)> (all-threads) >> $1 =3D (# #) >> scheme@(guile-user)> (when (zero? (primitive-fork)) (primitive-_exit 0)) >> ;; no warning > > Are you certain that this is the signal-handling thread and not the > finalizer thread? I suspect it is the finalizer thread, and that it > gets properly shut down before the fork. Oh, you must be right. > Regarding seeing the warning: do you do make some other binding for the > default warning port in Guix? No. Thanks, Ludo=E2=80=99.