From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#29335: 'guix publish' workers occasionally crash Date: Fri, 17 Nov 2017 23:10:39 +0100 Message-ID: <87vai8zhcw.fsf@gnu.org> References: <878tf55i6u.fsf@gnu.org> <87vai93xi5.fsf@gnu.org> 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]:35852) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eFoqn-0000YP-Kw for bug-guix@gnu.org; Fri, 17 Nov 2017 17:11:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eFoqk-0006re-Et for bug-guix@gnu.org; Fri, 17 Nov 2017 17:11:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:36732) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eFoqk-0006rJ-B8 for bug-guix@gnu.org; Fri, 17 Nov 2017 17:11:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eFoqj-0004h5-W5 for bug-guix@gnu.org; Fri, 17 Nov 2017 17:11:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87vai93xi5.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 17 Nov 2017 13:22:58 +0100") 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: 29335@debbugs.gnu.org ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Thread 14 is in scm_readdir, so it holds the terrible > =E2=80=98scm_i_misc_mutex=E2=80=99, but calling SCM_SYSERROR there causes= it to try and > lock it again, leading to a deadlock: > > #3 0x00007f7ee9545969 in scm_dynwind_pthread_mutex_lock (mutex=3D0x7f7ee= 97bbfa0 ) at threads.c:1613 > #4 0x00007f7ee94d8dbb in scm_strerror (err=3Derr@entry=3D9) at error.c:1= 28 > #5 0x00007f7ee94d8e73 in scm_syserror (subr=3Dsubr@entry=3D0x7f7ee956afa= 0 "readdir") at error.c:169 > #6 0x00007f7ee94e29b4 in scm_readdir (port=3D#) at = filesys.c:1754 This particular issue is now fixed in Guile: https://git.savannah.gnu.org/cgit/guile.git/commit/?h=3Dstable-2.2&id=3D1= 87655cedb42cc4b01088179649b02295cd35260 Ludo=E2=80=99.