GNU bug report logs

#64197 Segmentation fault while building ‘guix-cli-core.drv’

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Reply or subscribe to this bug. View this bug as an mbox, status mbox, or maintainer mbox

Report forwarded to mail@cbaines.net, bug-guix@gnu.org:
bug#64197; Package guix. (Tue, 20 Jun 2023 22:08:01 GMT) (full text, mbox, link).


Acknowledgement sent to Ludovic Courtès <ludovic.courtes@inria.fr>:
New bug report received and forwarded. Copy sent to mail@cbaines.net, bug-guix@gnu.org. (Tue, 20 Jun 2023 22:08:01 GMT) (full text, mbox, link).


Message #5 received at submit@debbugs.gnu.org (full text, mbox, reply):

From: Ludovic Courtès <ludovic.courtes@inria.fr>
To: bug-guix@gnu.org
Subject: Segmentation fault while building ‘guix-cli-core.drv’
Date: Wed, 21 Jun 2023 00:07:46 +0200
Hi,

I’ve seen this “failure to process the revision” on qa.guix due to a
segfault while building Guix (from
<https://data.qa.guix.gnu.org/job/46943>, commit
f3ec19edf3c3bb902a06ac597e5954b35ee41bce):

--8<---------------cut here---------------start------------->8---
loading...	 89.7% of 39 files[ 36/ 78] loading...	 92.3% of 39 files[ 37/ 78] loading...	 94.9% of 39 files[ 38/ 78] loading...	 97.4% of 39 files[ 39/ 78] loading...	100.0% of 39 files[ 39/ 78] compiling...	  0.0% of 39 files[ 40/ 78] compiling...	  2.6% of 39 files[ 41/ 78] compiling...	  5.1% of 39 files[ 42/ 78] compiling...	  7.7% of 39 files[ 43/ 78] compiling...	 10.3% of 39 files[ 44/ 78] compiling...	 12.8% of 39 files[ 45/ 78] compiling...	 15.4% of 39 files[ 46/ 78] compiling...	 17.9% of 39 files[ 42/400] loading...	 21.0% of 200 files[ 43/400] loading...	 21.5% of 200 files[ 44/400] loading...	 22.0% of 200 files[ 45/400] loading...	 22.5% of 200 filesbuilder for `/gnu/store/c9crr8vmiid4cgld1bmxqwcrmicr5572-guix-cli-core.drv' failed due to signal 11 (Segmentation fault)
@ build-failed /gnu/store/c9crr8vmiid4cgld1bmxqwcrmicr5572-guix-cli-core.drv - 1 builder for `/gnu/store/c9crr8vmiid4cgld1bmxqwcrmicr5572-guix-cli-core.drv' failed due to signal 11 (Segmentation fault)
cannot build derivation `/gnu/store/9d5as8x5k7z7vipmdvblbid261jpl3r5-guix-cli-core-modules.drv': 1 dependencies couldn't be built
--8<---------------cut here---------------end--------------->8---

Ludo’.




Information forwarded to bug-guix@gnu.org:
bug#64197; Package guix. (Wed, 21 Jun 2023 13:53:01 GMT) (full text, mbox, link).


Message #8 received at 64197@debbugs.gnu.org (full text, mbox, reply):

From: Christopher Baines <mail@cbaines.net>
To: Ludovic Courtès <ludovic.courtes@inria.fr>
Cc: 64197@debbugs.gnu.org
Subject: Re: bug#64197: Segmentation fault while building ‘guix-cli-core.drv’
Date: Wed, 21 Jun 2023 14:50:54 +0100
[Message part 1 (text/plain, inline)]
Ludovic Courtès <ludovic.courtes@inria.fr> writes:

> I’ve seen this “failure to process the revision” on qa.guix due to a
> segfault while building Guix (from
> <https://data.qa.guix.gnu.org/job/46943>, commit
> f3ec19edf3c3bb902a06ac597e5954b35ee41bce):
>
> loading...	 89.7% of 39 files[ 36/ 78] loading...	 92.3% of 39 files[ 37/ 78] loading...	 94.9% of 39 files[ 38/ 78] loading...	 97.4% of 39 files[ 39/ 78] loading...	100.0% of 39 files[ 39/ 78] compiling...	  0.0% of 39 files[ 40/ 78] compiling...	  2.6% of 39 files[ 41/ 78] compiling...	  5.1% of 39 files[ 42/ 78] compiling...	  7.7% of 39 files[ 43/ 78] compiling...	 10.3% of 39 files[ 44/ 78] compiling...	 12.8% of 39 files[ 45/ 78] compiling...	 15.4% of 39 files[ 46/ 78] compiling...	 17.9% of 39 files[ 42/400] loading...	 21.0% of 200 files[ 43/400] loading...	 21.5% of 200 files[ 44/400] loading...	 22.0% of 200 files[ 45/400] loading...	 22.5% of 200 filesbuilder for `/gnu/store/c9crr8vmiid4cgld1bmxqwcrmicr5572-guix-cli-core.drv' failed due to signal 11 (Segmentation fault)
> @ build-failed /gnu/store/c9crr8vmiid4cgld1bmxqwcrmicr5572-guix-cli-core.drv - 1 builder for `/gnu/store/c9crr8vmiid4cgld1bmxqwcrmicr5572-guix-cli-core.drv' failed due to signal 11 (Segmentation fault)
> cannot build derivation `/gnu/store/9d5as8x5k7z7vipmdvblbid261jpl3r5-guix-cli-core-modules.drv': 1 dependencies couldn't be built

This job looks to have failed at: 2023-06-19T13:54:13.047441

Looking at the logs on beid, I see this:

Jun 19 14:54:08 localhost vmunix: [4845598.954703] GC-marker-1[27719]: segfault at 170 ip 00007ffff7e19a25 sp 00007ffff6ad6c70 error 4 in libgc.so.1.5.1[7ffff7e1
2000+1c000] likely on CPU 15 (core 15, socket 0)
Jun 19 14:54:08 localhost vmunix: [4845598.954734] Code: 00 00 00 00 00 49 89 f9 48 89 c8 41 54 41 81 e1 ff 0f 00 00 55 48 89 fd 83 e7 0f 53 4c 89 c9 48 89 f3 48
 8b 70 30 48 c1 e9 04 <0f> b7 34 4e 49 89 f2 49 09 fa 75 4f 48 8d 4c 08 40 0f b6 31 40 84
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix@gnu.org:
bug#64197; Package guix. (Wed, 21 Jun 2023 13:55:02 GMT) (full text, mbox, link).


Message #11 received at 64197@debbugs.gnu.org (full text, mbox, reply):

From: Ludovic Courtès <ludo@gnu.org>
To: 64197@debbugs.gnu.org
Cc: Christopher Baines <mail@cbaines.net>
Subject: Re: bug#64197: Segmentation fault while building ‘guix-cli-core.drv’
Date: Wed, 21 Jun 2023 15:54:05 +0200
Ludovic Courtès <ludovic.courtes@inria.fr> skribis:

> I’ve seen this “failure to process the revision” on qa.guix due to a
> segfault while building Guix (from
> <https://data.qa.guix.gnu.org/job/46943>, commit
> f3ec19edf3c3bb902a06ac597e5954b35ee41bce):

Another one from <https://data.qa.guix.gnu.org/job/46926>:

--8<---------------cut here---------------start------------->8---
@ build-started /gnu/store/1cgnk6bxf220ppcvszyi0vd81n7bxcp2-guix-home.drv - x86_64-linux /var/log/guix/drvs/1c//gnk6bxf220ppcvszyi0vd81n7bxcp2-guix-home.drv.gz 27591
@ build-started /gnu/store/5q9jybdgjmyfmw3d1dzfg2anjyjcg56g-guix-system-modules.drv - x86_64-linux /var/log/guix/drvs/5q//9jybdgjmyfmw3d1dzfg2anjyjcg56g-guix-system-modules.drv.gz 27593
@ build-succeeded /gnu/store/5q9jybdgjmyfmw3d1dzfg2anjyjcg56g-guix-system-modules.drv -
[  0/ 36] loading...	  0.0% of 18 files[  1/ 36] loading...	  5.6% of 18 files[  2/ 36] loading...	 11.1% of 18 files[  3/ 36] loading...	 16.7% of 18 files[  4/ 36] loading...	 22.2% of 18 files[  5/ 36] loading...	 27.8% of 18 files[  6/ 36] loading...	 33.3% of 18 files[  7/ 36] loading...	 38.9% of 18 files[  8/ 36] loading...	 44.4% of 18 files[  9/ 36] loading...	 50.0% of 18 files[ 10/ 36] loading...	 55.6% of 18 files[ 11/ 36] loading...	 61.1% of 18 files[ 12/ 36] loading...	 66.7% of 18 files[ 13/ 36] loading...	 72.2% of 18 files[ 14/ 36] loading...	 77.8% of 18 files[ 15/ 36] loading...	 83.3% of 18 files[ 16/ 36] loading...	 88.9% of 18 files[ 17/ 36] loading...	 94.4% of 18 files[ 18/ 36] loading...	100.0% of 18 files[ 18/ 36] compiling...	  0.0% of 18 files[ 19/ 36] compiling...	  5.6% of 18 files[ 20/ 36] compiling...	 11.1% of 18 files[ 21/ 36] compiling...	 16.7% of 18 files[ 22/ 36] compiling...	 22.2% of 18 files[ 23/ 36] compiling...	 27.8% of 18 files[ 24/ 36] compiling...	 33.3% of 18 files[ 25/ 36] compiling...	 38.9% of 18 files[ 26/ 36] compiling...	 44.4% of 18 files[ 27/ 36] compiling...	 50.0% of 18 filesbuilder for `/gnu/store/1cgnk6bxf220ppcvszyi0vd81n7bxcp2-guix-home.drv' failed due to signal 11 (Segmentation fault)
@ build-failed /gnu/store/1cgnk6bxf220ppcvszyi0vd81n7bxcp2-guix-home.drv - 1 builder for `/gnu/store/1cgnk6bxf220ppcvszyi0vd81n7bxcp2-guix-home.drv' failed due to signal 11 (Segmentation fault)
--8<---------------cut here---------------end--------------->8---

Ludo’.




Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@gnu.org> to control@debbugs.gnu.org. (Wed, 21 Jun 2023 13:55:02 GMT) (full text, mbox, link).


Information forwarded to bug-guix@gnu.org:
bug#64197; Package guix. (Wed, 21 Jun 2023 14:01:02 GMT) (full text, mbox, link).


Message #16 received at 64197@debbugs.gnu.org (full text, mbox, reply):

From: Ludovic Courtès <ludo@gnu.org>
To: Christopher Baines <mail@cbaines.net>
Cc: 64197@debbugs.gnu.org
Subject: Re: bug#64197: Segmentation fault while building ‘guix-cli-core.drv’
Date: Wed, 21 Jun 2023 15:59:51 +0200
Hi!

Christopher Baines <mail@cbaines.net> skribis:

> Looking at the logs on beid, I see this:
>
> Jun 19 14:54:08 localhost vmunix: [4845598.954703] GC-marker-1[27719]: segfault at 170 ip 00007ffff7e19a25 sp 00007ffff6ad6c70 error 4 in libgc.so.1.5.1[7ffff7e1
> 2000+1c000] likely on CPU 15 (core 15, socket 0)
> Jun 19 14:54:08 localhost vmunix: [4845598.954734] Code: 00 00 00 00 00 49 89 f9 48 89 c8 41 54 41 81 e1 ff 0f 00 00 55 48 89 fd 83 e7 0f 53 4c 89 c9 48 89 f3 48
>  8b 70 30 48 c1 e9 04 <0f> b7 34 4e 49 89 f2 49 09 fa 75 4f 48 8d 4c 08 40 0f b6 31 40 84

Ouch, that’s new, isn’t it?

Could you dig when these failures started appearing?

Seems it didn’t happen on ci.guix at:

  https://ci.guix.gnu.org/jobset/master
  https://ci.guix.gnu.org/jobset/guix

This reminds me of the other GC marker bug you reported.  Is there
anything that could lead to different behaviors?

Thanks,
Ludo’.




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Sep 8 04:48:58 2024; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.