From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#31925: 'guix substitutes' sometimes hangs on glibc 2.27 Date: Fri, 06 Jul 2018 17:35:22 +0200 Message-ID: <87fu0wbcn9.fsf@gnu.org> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59300) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fbSmD-0006ui-Kv for bug-guix@gnu.org; Fri, 06 Jul 2018 11:36:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fbSmA-0007Ij-HJ for bug-guix@gnu.org; Fri, 06 Jul 2018 11:36:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:40886) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fbSmA-0007IZ-DO for bug-guix@gnu.org; Fri, 06 Jul 2018 11:36:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87zhz5ixle.fsf@igalia.com> (Andy Wingo's message of "Thu, 05 Jul 2018 16:08:45 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Andy Wingo Cc: 31925@debbugs.gnu.org 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.