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

  • Open
  • quality assurance status badge
Details
3 participants
  • Ludovic Courtès
  • Ludovic Courtès
  • Christopher Baines
Owner
unassigned
Submitted by
Ludovic Courtès
Severity
important
L
L
Ludovic Courtès wrote on 21 Jun 2023 00:07
Segmentation fault while building ‘guix-cli-cor e.drv’
(address . bug-guix@gnu.org)
87ilbhaitp.fsf@inria.fr
Hi,

I’ve seen this “failure to process the revision” on qa.guix due to a
segfault while building Guix (from
f3ec19edf3c3bb902a06ac597e5954b35ee41bce):

Toggle snippet (5 lines)
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

Ludo’.
C
C
Christopher Baines wrote on 21 Jun 2023 15:50
Re: bug#64197: Segmentation fault while building ‘guix-cli-core.drv’
(name . Ludovic Courtès)(address . ludovic.courtes@inria.fr)(address . 64197@debbugs.gnu.org)
87jzvworcy.fsf@cbaines.net
Ludovic Courtès <ludovic.courtes@inria.fr> writes:

Toggle quote (9 lines)
> 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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fU=
=EJVI
-----END PGP SIGNATURE-----

L
L
Ludovic Courtès wrote on 21 Jun 2023 15:54
(address . 64197@debbugs.gnu.org)(name . Christopher Baines)(address . mail@cbaines.net)
87mt0s9b0i.fsf@gnu.org
Ludovic Courtès <ludovic.courtes@inria.fr> skribis:

Toggle quote (5 lines)
> 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):

Toggle snippet (7 lines)
@ 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)

Ludo’.
L
L
Ludovic Courtès wrote on 21 Jun 2023 15:54
control message for bug #64197
(address . control@debbugs.gnu.org)
87legc9azh.fsf@gnu.org
severity 64197 important
quit
L
L
Ludovic Courtès wrote on 21 Jun 2023 15:59
Re: bug#64197: Segmentation fault while building ‘guix-cli-core.drv’
(name . Christopher Baines)(address . mail@cbaines.net)(address . 64197@debbugs.gnu.org)
87edm49aqw.fsf@gnu.org
Hi!

Christopher Baines <mail@cbaines.net> skribis:

Toggle quote (7 lines)
> 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:


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

Thanks,
Ludo’.
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 64197@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 64197
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch