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 11:10:49 +0100 Message-ID: <878tf55i6u.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]:44186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eFdcz-0002VZ-KR for bug-guix@gnu.org; Fri, 17 Nov 2017 05:12:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eFdcw-0005UE-EU for bug-guix@gnu.org; Fri, 17 Nov 2017 05:12:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:35618) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eFdcw-0005Tr-An for bug-guix@gnu.org; Fri, 17 Nov 2017 05:12:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eFdcv-0000nU-Vt for bug-guix@gnu.org; Fri, 17 Nov 2017 05:12:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eFdbv-0001U5-5K for bug-guix@gnu.org; Fri, 17 Nov 2017 05:11:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eFdbp-0003NG-8S for bug-guix@gnu.org; Fri, 17 Nov 2017 05:10:59 -0500 Received: from hera.aquilenet.fr ([141.255.128.1]:58220) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eFdbo-0003KZ-UI for bug-guix@gnu.org; Fri, 17 Nov 2017 05:10:53 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id BC231F8D0 for ; Fri, 17 Nov 2017 11:10:52 +0100 (CET) Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2OQnBLMQBc_4 for ; Fri, 17 Nov 2017 11:10:52 +0100 (CET) Received: from ribbon (unknown [193.50.110.175]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 0361EF8CD for ; Fri, 17 Nov 2017 11:10:51 +0100 (CET) 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 Hello, On berlin I=E2=80=99ve noticed that the =E2=80=98guix publish=E2=80=99 work= ers would occasionally stop working: the main thread would keep replying to HTTP requests, but the worker threads would no longer do anything, and would leave behind them a bunch of .tmp files in /var/cache/guix/publish. I captured the output of =E2=80=98guix publish=E2=80=99 (guix-0.13.0-8.357a= b93) and the only clue I have is this: --8<---------------cut here---------------start------------->8--- GET /6kl9ydqmgklcqhxswg6v5isq5n1ih5gp.narinfo In guix/workers.scm: 74:9 2 (_) 78:32 1 (_ srfi-34 #) In unknown file: 0 (make-stack #t) ERROR: In procedure make-stack: ERROR: Throw to key `srfi-34' with args `(#)'. GET /fgiih42mg2sr82mbmzf56grvrf021im6.narinfo --8<---------------cut here---------------end--------------->8--- =E2=80=A6 where 9 is EBADF. The open files are: --8<---------------cut here---------------start------------->8--- ludo@berlin ~$ sudo ls -l /proc/4105/fd total 0 l-wx------ 1 root root 64 Nov 17 04:00 0 -> /dev/null l-wx------ 1 root root 64 Nov 17 04:00 1 -> /home/ludo/nohup.out lr-x------ 1 root root 64 Nov 17 04:00 10 -> pipe:[9911558] l-wx------ 1 root root 64 Nov 17 04:00 11 -> pipe:[9911558] lr-x------ 1 root root 64 Nov 17 04:00 12 -> pipe:[9900923] l-wx------ 1 root root 64 Nov 17 04:00 13 -> pipe:[9900923] lrwx------ 1 root root 64 Nov 17 04:00 14 -> socket:[9911560] lrwx------ 1 root root 64 Nov 17 04:00 15 -> socket:[9911563] lr-x------ 1 root root 64 Nov 17 04:00 16 -> pipe:[9912323] l-wx------ 1 root root 64 Nov 17 04:00 17 -> pipe:[9912323] lr-x------ 1 root root 64 Nov 17 04:00 18 -> pipe:[9909649] l-wx------ 1 root root 64 Nov 17 04:00 19 -> pipe:[9909649] l-wx------ 1 root root 64 Nov 17 04:00 2 -> /home/ludo/nohup.out lr-x------ 1 root root 64 Nov 17 04:00 20 -> pipe:[9908165] l-wx------ 1 root root 64 Nov 17 04:00 21 -> pipe:[9908165] lr-x------ 1 root root 64 Nov 17 04:00 22 -> pipe:[9899432] l-wx------ 1 root root 64 Nov 17 04:00 23 -> pipe:[9899432] lr-x------ 1 root root 64 Nov 17 04:00 24 -> pipe:[9911564] l-wx------ 1 root root 64 Nov 17 04:00 25 -> pipe:[9911564] lr-x------ 1 root root 64 Nov 17 04:00 26 -> pipe:[9908166] l-wx------ 1 root root 64 Nov 17 04:00 27 -> pipe:[9908166] l-wx------ 1 root root 64 Nov 17 04:00 28 -> /var/cache/guix/publish/gzip/1= 1vik22bwzzvwksd1l08frhcm3v3hhmm-dealii-8.5.1.nar.tmp l-wx------ 1 root root 64 Nov 17 04:00 29 -> /var/cache/guix/publish/gzip/k= 90h1bkmsiq8qxrhk31l5c8maiqmy5k0-zathura-pdf-mupdf-0.3.1.nar.tmp lr-x------ 1 root root 64 Nov 17 04:00 3 -> pipe:[9902378] lr-x------ 1 root root 64 Nov 17 04:00 30 -> /gnu/store/2xp8n6k6mbfgi8972lj= 0vvk52gfx4576-linux-libre-4.9.61/lib/modules/4.9.61-gnu/kernel/drivers/net/= ethernet/intel/i40evf lr-x------ 1 root root 64 Nov 17 04:00 31 -> /gnu/store/k90h1bkmsiq8qxrhk31= l5c8maiqmy5k0-zathura-pdf-mupdf-0.3.1/share l-wx------ 1 root root 64 Nov 17 04:00 32 -> /var/cache/guix/publish/gzip/x= a6bwlgm82xwfg9icl4d9bs2bhj8cb1a-perl-safe-isa-1.000008.nar.tmp l-wx------ 1 root root 64 Nov 17 04:00 33 -> /var/cache/guix/publish/gzip/2= xp8n6k6mbfgi8972lj0vvk52gfx4576-linux-libre-4.9.61.nar.tmp lr-x------ 1 root root 64 Nov 17 04:00 34 -> /gnu/store/11vik22bwzzvwksd1l0= 8frhcm3v3hhmm-dealii-8.5.1/share l-wx------ 1 root root 64 Nov 17 04:00 4 -> pipe:[9902378] lr-x------ 1 root root 64 Nov 17 04:00 5 -> pipe:[9902379] l-wx------ 1 root root 64 Nov 17 04:00 6 -> pipe:[9902379] lr-x------ 1 root root 64 Nov 17 04:00 7 -> /gnu/store/sk1w5whws8xhvb03sm2h= 44f9fm6c2gkc-guix-0.13.0-8.357ab93/bin/.guix-real lr-x------ 1 root root 64 Nov 17 04:00 8 -> pipe:[9910685] l-wx------ 1 root root 64 Nov 17 04:00 9 -> pipe:[9910685] --8<---------------cut here---------------end--------------->8--- Ludo=E2=80=99.