From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4Hk2KQTrT2PsvwAAbAwnHQ (envelope-from ) for ; Wed, 19 Oct 2022 14:18:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 2ElaKQTrT2OyagEA9RJhRA (envelope-from ) for ; Wed, 19 Oct 2022 14:18:12 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D46F18D9C for ; Wed, 19 Oct 2022 14:18:11 +0200 (CEST) Received: from localhost ([::1]:46738 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ol81S-0002bk-OY for larch@yhetil.org; Wed, 19 Oct 2022 08:18:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ol81L-0002bY-A6 for bug-guix@gnu.org; Wed, 19 Oct 2022 08:18:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56986) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ol81L-00049n-1o for bug-guix@gnu.org; Wed, 19 Oct 2022 08:18:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ol81K-0007G6-Hu for bug-guix@gnu.org; Wed, 19 Oct 2022 08:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#58631: Shepherd crash on berlin Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 19 Oct 2022 12:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58631 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 58631@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166618183327838 (code B ref -1); Wed, 19 Oct 2022 12:18:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Oct 2022 12:17:13 +0000 Received: from localhost ([127.0.0.1]:56062 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ol80V-0007Ev-IM for submit@debbugs.gnu.org; Wed, 19 Oct 2022 08:17:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:37208) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ol80Q-0007Ek-G4 for submit@debbugs.gnu.org; Wed, 19 Oct 2022 08:17:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47322) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ol80P-0002WA-QO for bug-guix@gnu.org; Wed, 19 Oct 2022 08:17:06 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57636) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ol80P-00046s-Ix for bug-guix@gnu.org; Wed, 19 Oct 2022 08:17:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=YoHBy97dYxjknNR8ovDtQscVWth6DHn9u+ifnWRXSUk=; b=ob/5ExvtfG/cNR +PrWMvvQTyo9GBFIU0bZwvbOggLSzgEpuVzYhcDri5dFWW9KKRFx8ctNX81q1djKsM6Kb0gxPYjhD /nVvhIgWXUUdxEzM73854RAB3peULCmuNAZrXtDfbf2MgMc4dgdJvZP/SvBolP0/UobCADLND8YOx Q6NtCC0DOF4YZhPOBxWqT2T2ulewiA87ywiwAQx1KHouNKOUeSOND/4sG7nuIDaktHYb734nZ9H3S mm0eFBWHhrk0eeg1ZRbA5fB/8diLZvjtGl3mTwtB4R2rBxgILUtcgFCqowbi7JGh8fAI5FDR4ob/i cN+m57zrPnbVcyflirJg==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:64100 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ol80N-0003Uk-LD for bug-guix@gnu.org; Wed, 19 Oct 2022 08:17:05 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Octidi 28 =?UTF-8?Q?Vend=C3=A9miaire?= an 231 de la =?UTF-8?Q?R=C3=A9volution,?= jour de la Tomate 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: Wed, 19 Oct 2022 14:17:01 +0200 Message-ID: <87pmeohute.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666181892; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=YoHBy97dYxjknNR8ovDtQscVWth6DHn9u+ifnWRXSUk=; b=fmNeLwd7EQ1eJV4iGrdJhNaiCsWzPod79sIje7WWzjTUA+7f/DCnunQ5jyhFuGEuSXFwwu bqGbiZELe6NfrtOVr6AURjkaf+Lz8ZPbWEA3ik1lBq/mjNGBfJVxBMyQzaP46/hv2GLVkZ tciofKA2pX0Ni2Dh7A8pJ6JO+ZMxxWoHMLnoBJIJKXNQyibLaebdoGPrTI+gwpXlYTugX2 jAGyR7edQRJaKQdUD04B4L2hTkA020Z4mI50o3RmcOzKlazwJMHaDGUszGFCvUqViBPFKI dtzEj5PcX1bOgzQs7KVRQ86N8EFc2g/55todhal/TRFP4Li2AADNRNpzOm9ckA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666181892; a=rsa-sha256; cv=none; b=H7da29IdCiahJPcVJy10/wH4jKgDEu19U+o7g7NaUegPjeofm75JaoU6PZCaM19+KDFvjW GOp3otMkrzIoMWCSER5wpeuLoiR+l/P4KElz8R2c5ZT45H88oieftbx2omZPkcR/HgCcK5 0qP5ZshlLsvwV2jroSjlFhXwNAwj1OkHRau9BRNzebDuJFGMMY0eJXz8xPtSENx7ZFjJ3N 1xLL+ZMhVGAMSSGpDn2FxIPOWsMmL9k1EUH4HwnVAExbjZfcdEDRLA3JCXBEw21szFJZft pWJGNc+XEC8GOGRtp/8S0wbkVnfOur8CFOz9ynDnRT+o20SN8/oRPBH9XzaS4w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="ob/5Exvt"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.63 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="ob/5Exvt"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D46F18D9C X-Spam-Score: -2.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: Qs6xlGvwFn21 Earlier today, berlin was unreachable. From /var/log/messages, this appears to be due to a crash of shepherd (PID 1); here are its last words: --8<---------------cut here---------------start------------->8--- Oct 19 06:32:36 localhost shepherd[1]: Respawning mumi-worker. Oct 19 06:32:37 localhost shepherd[1]: Service mumi-worker has been started. Oct 19 06:32:52 localhost ntpd[1837]: Soliciting pool server 193.141.27.6 Oct 19 06:33:56 localhost ntpd[1837]: Soliciting pool server 193.158.22.13 Oct 19 06:35:02 localhost ntpd[1837]: Soliciting pool server 62.75.236.38 Oct 19 06:35:43 localhost vmunix: [1586150.310354] shepherd[87089]: segfaul= t at 0 ip 00007ff3018dc264 sp 00007ffeae066810 error 6 in crash-handler.so[= 7ff3018dc000+1000] Oct 19 06:35:43 localhost vmunix: [1586150.322247] Code: ff ff ff e8 6e fe = ff ff 48 8d 3d b7 0d 00 00 e8 12 fe ff ff bf 27 00 00 00 31 c0 e8 26 fe ff = ff 89 ee 48 89 c7 e8 2c fe ff ff 04 25 00 00 00 00 00 00 00 00 0f 0b 4= 8 89 c3 be 01 00 00 00 89 Oct 19 06:36:09 localhost ntpd[1837]: Soliciting pool server 51.75.67.47 Oct 19 06:36:40 localhost postgres[1389]: [73-1] 2022-10-19 04:36:40.036 GM= T [1389] LOG: using stale statistics instead of current ones because stats= collector is not responding Oct 19 06:36:50 localhost postgres[87362]: [6-1] 2022-10-19 04:36:50.101 GM= T [87362] LOG: using stale statistics instead of current ones because stat= s collector is not responding Oct 19 06:37:00 localhost postgres[1389]: [74-1] 2022-10-19 04:37:00.062 GM= T [1389] LOG: using stale statistics instead of current ones because stats= collector is not responding Oct 19 06:37:10 localhost postgres[87368]: [6-1] 2022-10-19 04:37:10.128 GM= T [87368] LOG: using stale statistics instead of current ones because stat= s collector is not responding Oct 19 06:37:16 localhost ntpd[1837]: Soliciting pool server 3.64.117.201 Oct 19 12:48:58 localhost syslogd (GNU inetutils 2.0): restart --8<---------------cut here---------------end--------------->8--- The interesting part is that we have a core dump=E2=80=94see =E2=80=98crash= -handler.so=E2=80=99 above, which is shepherd=E2=80=99s mechanism to ensure there=E2=80=99s a co= re dump before the machine stops. Here=E2=80=99s what we get: --8<---------------cut here---------------start------------->8--- ludo@berlin ~$ gdb -ix ~/.gdbinit /gnu/store/cnfsv9ywaacyafkqdqsv2ry8f01yr7= a9-guile-3.0.7/bin/guile /core.shepherd-20221019 GNU gdb (GDB) 12.1 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /gnu/store/cnfsv9ywaacyafkqdqsv2ry8f01yr7a9-guile-3.0.= 7/bin/guile... Reading symbols from /gnu/store/4ws3vh3zrs1yi9lfaibha64chf3vn2rm-guile-3.0.= 7-debug/lib/debug//gnu/store/cnfsv9ywaacyafkqdqsv2ry8f01yr7a9-guile-3.0.7/b= in/guile.debug... warning: core file may not match specified executable file. [New LWP 87089] warning: Unable to find libthread_db matching inferior's thread library, th= read debugging will not be available. Core was generated by `/gnu/store/cnfsv9ywaacyafkqdqsv2ry8f01yr7a9-guile-3.= 0.7/bin/guile --no-auto-com'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007ff3018dc264 in ?? () from /gnu/store/cdc1gzbp3q15kdiwn2i5j3437jwx61ac-shepherd-0.9.2/lib/shep= herd/crash-handler.so (gdb) bt #0 0x00007ff3018dc264 in ?? () from /gnu/store/cdc1gzbp3q15kdiwn2i5j3437jwx61ac-shepherd-0.9.2/lib/shep= herd/crash-handler.so #1 #2 0x00007ff3018dc264 in ?? () from /gnu/store/cdc1gzbp3q15kdiwn2i5j3437jwx61ac-shepherd-0.9.2/lib/shep= herd/crash-handler.so #3 #4 0x00007ff30b2d2030 in raise () from /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libc.so.6 #5 0x00007ff30b2bc526 in abort () from /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libc.so.6 #6 0x00007ff30b7bb263 in ?? () from /gnu/store/2lczkxbdbzh4gk7wh91bzrqrk7h= 5g1dl-libgc-8.0.4/lib/libgc.so.1 #7 0x00007ff30b7c2232 in ?? () from /gnu/store/2lczkxbdbzh4gk7wh91bzrqrk7h= 5g1dl-libgc-8.0.4/lib/libgc.so.1 #8 0x00007ff30b7c25a8 in ?? () from /gnu/store/2lczkxbdbzh4gk7wh91bzrqrk7h= 5g1dl-libgc-8.0.4/lib/libgc.so.1 #9 0x00007ff30b7c290f in ?? () from /gnu/store/2lczkxbdbzh4gk7wh91bzrqrk7h= 5g1dl-libgc-8.0.4/lib/libgc.so.1 #10 0x00007ff30b7c78da in GC_generic_malloc_many () from /gnu/store/2lczkxbdbzh4gk7wh91bzrqrk7h5g1dl-libgc-8.0.4/lib/libgc.s= o.1 #11 0x00007ff30b87fb45 in scm_inline_gc_alloc (kind=3DSCM_INLINE_GC_KIND_NO= RMAL, idx=3D6,=20 freelist=3D0x7ff30b246e48) at gc-inline.h:79 #12 allocate_words_with_freelist (thread=3D0x7ff30b246d80, freelist_idx=3D6= ) at intrinsics.c:470 #13 0x00007ff300039f95 in ?? () #14 0x00007ff30b246d80 in ?? () #15 0x00007ff302a2f7e8 in ?? () #16 0x0000000000000040 in ?? () #17 0x00007ff30b88bb1c in scm_jit_enter_mcode (thread=3D0x7ff30b246d80,=20 mcode=3D0x7ff30231e75c "B", ) at jit.c:6038 #18 0x00007ff30b8e80c5 in scm_call_n (proc=3D, argv=3Dargv@e= ntry=3D0x7ffeae067878,=20 nargs=3Dnargs@entry=3D1) at vm.c:1602 #19 0x00007ff30b862ea7 in scm_primitive_eval (exp=3D) at eva= l.c:671 #20 0x00007ff30b88d729 in scm_primitive_load (filename=3D) a= t load.c:131 #21 0x00007ff30b8e5915 in vm_regular_engine (thread=3D0x7ff30b246d80) at vm= -engine.c:972 #22 0x00007ff30b8e8029 in scm_call_n (proc=3D, argv=3Dargv@e= ntry=3D0x7ffeae067a58,=20 nargs=3Dnargs@entry=3D1) at vm.c:1608 #23 0x00007ff30b862ea7 in scm_primitive_eval (exp=3D,=20 exp@entry=3D((@ (ice-9 control) %) (begin ((@@ (ice-9 command-line) loa= d/lang) "/gnu/store/cdc1gzbp3q15kdiwn2i5j3437jwx61ac-shepherd-0.9.2/bin/she= pherd") (quit)))) at eval.c:671 #24 0x00007ff30b862f06 in scm_eval ( exp=3D((@ (ice-9 control) %) (begin ((@@ (ice-9 command-line) load/lang= ) "/gnu/store/cdc1gzbp3q15kdiwn2i5j3437jwx61ac-shepherd-0.9.2/bin/shepherd"= ) (quit))),=20 module_or_state=3Dmodule_or_state@entry=3D"#" =3D {...})= at eval.c:705 #25 0x00007ff30b8bde76 in scm_shell (argc=3D5, argv=3D0x7ffeae0680e8) at sc= ript.c:357 #26 0x00007ff30b87b36d in invoke_main_func (body_data=3D0x7ffeae067f80) at = init.c:313 #27 0x00007ff30b85cbea in c_body (d=3D0x7ffeae067ec0) at continuations.c:430 #28 0x00007ff30b8e5915 in vm_regular_engine (thread=3D0x7ff30b246d80) at vm= -engine.c:972 #29 0x00007ff30b8e8029 in scm_call_n (proc=3D, argv=3Dargv@e= ntry=3D0x7ffeae067c80,=20 nargs=3Dnargs@entry=3D2) at vm.c:1608 #30 0x00007ff30b861dfa in scm_call_2 (proc=3D, arg1=3D, arg2=3D) at eval.c:503 #31 0x00007ff30b863529 in scm_c_with_exception_handler (type=3Dtype@entry= =3D#t,=20 handler=3Dhandler@entry=3D0x7ff30b8dd750 ,=20 handler_data=3Dhandler_data@entry=3D0x7ffeae067df0, thunk=3Dthunk@entry= =3D0x7ff30b8dd890 ,=20 thunk_data=3Dthunk_data@entry=3D0x7ffeae067df0) at exceptions.c:170 #32 0x00007ff30b8dda8d in scm_c_catch (tag=3Dtag@entry=3D#t, body=3Dbody@en= try=3D0x7ff30b85cbe0 ,=20 body_data=3Dbody_data@entry=3D0x7ffeae067ec0, handler=3Dhandler@entry= =3D0x7ff30b85ce80 ,=20 handler_data=3Dhandler_data@entry=3D0x7ffeae067ec0,=20 pre_unwind_handler=3Dpre_unwind_handler@entry=3D0x7ff30b85ccd0 ,=20 pre_unwind_handler_data=3D0x7ff3038c4b00) at throw.c:168 #33 0x00007ff30b85d238 in scm_i_with_continuation_barrier (body=3D0x7ff30b8= 5cbe0 ,=20 body_data=3D0x7ffeae067ec0, handler=3D0x7ff30b85ce80 , handl= er_data=3D0x7ffeae067ec0,=20 pre_unwind_handler=3D0x7ff30b85ccd0 , pre_unwind_ha= ndler_data=3D0x7ff3038c4b00) at continuations.c:368 #34 0x00007ff30b85d295 in scm_c_with_continuation_barrier (func=3D, data=3D) at continuations.c:464 #35 0x00007ff30b8dc549 in with_guile (base=3D0x7ffeae067f28, data=3D0x7ffea= e067f50) at threads.c:645 #36 0x00007ff30b7b90ba in GC_call_with_stack_base () from /gnu/store/2lczkxbdbzh4gk7wh91bzrqrk7h5g1dl-libgc-8.0.4/lib/libgc.s= o.1 #37 0x00007ff30b8dc848 in scm_i_with_guile (dynamic_state=3D= , data=3Ddata@entry=3D0x7ffeae067f30,=20 func=3Dfunc@entry=3D0x7ff30b87b350 ) at threads.c:688 #38 scm_with_guile (func=3Dfunc@entry=3D0x7ff30b87b350 , = data=3Ddata@entry=3D0x7ffeae067f80) at threads.c:694 #39 0x00007ff30b87b4e2 in scm_boot_guile (argc=3Dargc@entry=3D5, argv=3Darg= v@entry=3D0x7ffeae0680e8,=20 main_func=3Dmain_func@entry=3D0x401230 , closure=3Dclosure@= entry=3D0x0) at init.c:296 #40 0x00000000004010f7 in main (argc=3D5, argv=3D0x7ffeae0680e8) at guile.c= :94 (gdb) info proc status unable to handle request (gdb) info proc exe =3D '/gnu/store/cnfsv9ywaacyafkqdqsv2ry8f01yr7a9-guile-3.0.7/bin/guile = --no-auto-com' --8<---------------cut here---------------end--------------->8--- Ludo=E2=80=99.