GNU bug report logs - #52060
[core-updates-frozen] Guile crash during evaluation on Cuirass

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Tue, 23 Nov 2021 14:48:01 UTC

Severity: important

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Subject: bug#52060: closed (Re: bug#52060: [core-updates-frozen] Guile
 crash during evaluation on Cuirass)
Date: Tue, 23 Nov 2021 17:35:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#52060: [core-updates-frozen] Guile crash during evaluation on Cuirass

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 52060 <at> debbugs.gnu.org.

-- 
52060: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=52060
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: 52060-done <at> debbugs.gnu.org
Subject: Re: bug#52060: [core-updates-frozen] Guile crash during evaluation
 on Cuirass
Date: Tue, 23 Nov 2021 18:34:28 +0100
Ludovic Courtès <ludo <at> gnu.org> skribis:

> Guile aborts while evaluating commit
> b15e543d303ea58fdc0f0541c708389f9d513e3d of ‘core-updates-frozen’:

Running ‘make cuirass-jobs’ from that commit gave me a clearer message:

--8<---------------cut here---------------start------------->8---
$ make cuirass-jobs
[…]
Generating package cache for '/gnu/store/h9kcxvinlnpm2f51ahwxwk5g7886q65b-profile'...
(values (value "/gnu/store/xmmbv653r8kk1zyd83l8z2i7z1i3yqyn-guix-package-cache/lib/guix/package.cache"))
@ build-succeeded /gnu/store/qia7z24768cv7b252b6xa0nq3syr5hx8-guix-package-cache.drv -
@ build-started /gnu/store/7jnn5bm7c99fc623vyyhk9vdyi0gzmrr-profile.drv - x86_64-linux /var/log/guix/drvs/7j//nn5bm7c99fc623vyyhk9vdyi0gzmrr-profile.drv.bz2 6263
@ build-succeeded /gnu/store/7jnn5bm7c99fc623vyyhk9vdyi0gzmrr-profile.drv -
In thread:
uncaught throw to %exception: (#<&inferior-exception arguments: (%exception #<inferior-object #<&formatted-message format: "~a: patch not found\n" arguments: ("libgit2-mtime-0.patch")>>) inferior: #<inferior pipe (0 1 1) 7f0965a76f80> stack: ((#f ("ice-9/boot-9.scm" 1779 13)) (raise-exception ("ice-9/boot-9.scm" 1682 16)) (raise-exception ("ice-9/boot-9.scm" 1684 16)) (#f ("gnu/packages/version-control.scm" 865 17)) (force (#f #f #f)) (origin->derivation ("guix/packages.scm" 1955 2)) (#f ("guix/gexp.scm" 295 51)) (#f ("guix/store.scm" 1959 13)) (#f ("guix/gexp.scm" 895 13)) (run-with-store ("guix/store.scm" 2122 24)) (call-with-build-handler ("guix/store.scm" 1319 8)) (map/accumulate-builds ("guix/store.scm" 1384 9)) (#f ("guix/store.scm" 2007 12)) (#f ("guix/gexp.scm" 890 4)) (#f ("guix/gexp.scm" 1044 2)) (#f ("guix/gexp.scm" 1178 2)) (#f ("guix/packages.scm" 1852 11)) (#f ("guix/store.scm" 1959 8)) (run-with-store ("guix/store.scm" 2122 24)) (#f ("gnu/ci.scm" 404 24)) (filter-map ("srfi/srfi-1.scm" 690 23)) (#f ("gnu/ci.scm" 532 13)) (map1 ("srfi/srfi-1.scm" 585 17)) (append-map ("srfi/srfi-1.scm" 672 15)) (cuirass-jobs ("gnu/ci.scm" 516 4)) (#f ("ice-9/eval.scm" 158 9)) (with-exception-handler ("ice-9/boot-9.scm" 1751 10)) (call-with-prompt ("ice-9/boot-9.scm" 723 2)) (dynamic-wind ("ice-9/boot-9.scm" 141 2)) (#f (#f #f #f)) (#f ("guix/repl.scm" 98 21)) (with-exception-handler ("ice-9/boot-9.scm" 1751 10)) (with-exception-handler ("ice-9/boot-9.scm" 1746 15)) (#f ("guix/repl.scm" 125 7)))>)
In thread:
uncaught throw to %exception: (#<&inferior-exception arguments: (%exception #<inferior-object #<&formatted-message format: "~a: patch not found\n" arguments: ("libgit2-mtime-0.patch")>>) inferior: #<inferior pipe (0 1 1) 7f09677f5540> stack: ((#f ("ice-9/boot-9.scm" 1779 13)) (raise-exception ("ice-9/boot-9.scm" 1682 16)) (raise-exception ("ice-9/boot-9.scm" 1684 16)) (#f ("gnu/packages/version-control.scm" 865 17)) (force (#f #f #f)) (origin->derivation ("guix/packages.scm" 1955 2)) (#f ("guix/gexp.scm" 295 51)) (#f ("guix/store.scm" 1959 13)) (#f ("guix/gexp.scm" 895 13)) (run-with-store ("guix/store.scm" 2122 24)) (call-with-build-handler ("guix/store.scm" 1319 8)) (map/accumulate-builds ("guix/store.scm" 1384 9)) (#f ("guix/store.scm" 2007 12)) (#f ("guix/gexp.scm" 890 4)) (#f ("guix/gexp.scm" 1044 2)) (#f ("guix/gexp.scm" 1178 2)) (#f ("guix/packages.scm" 1852 11)) (#f ("guix/store.scm" 1959 8)) (run-with-store ("guix/store.scm" 2122 24)) (#f ("gnu/ci.scm" 404 24)) (filter-map ("srfi/srfi-1.scm" 690 23)) (#f ("gnu/ci.scm" 532 13)) (map1 ("srfi/srfi-1.scm" 585 17)) (append-map ("srfi/srfi-1.scm" 672 15)) (cuirass-jobs ("gnu/ci.scm" 516 4)) (#f ("ice-9/eval.scm" 158 9)) (with-exception-handler ("ice-9/boot-9.scm" 1751 10)) (call-with-prompt ("ice-9/boot-9.scm" 723 2)) (dynamic-wind ("ice-9/boot-9.scm" 141 2)) (#f (#f #f #f)) (#f ("guix/repl.scm" 98 21)) (with-exception-handler ("ice-9/boot-9.scm" 1751 10)) (with-exception-handler ("ice-9/boot-9.scm" 1746 15)) (#f ("guix/repl.scm" 125 7)))>)
--8<---------------cut here---------------end--------------->8---

That doesn’t explain the scary SIGABRT, but at least this issue was due
to the missing “libgit2-mtime-0.patch” file and is fixed by
0677443c45c89c64ee3a62849b76d8e8a6ddfb17.

Ludo’.

[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: bug-guix <at> gnu.org
Subject: [core-updates-frozen] Guile crash during evaluation on Cuirass
Date: Tue, 23 Nov 2021 15:46:55 +0100
Guile aborts while evaluating commit
b15e543d303ea58fdc0f0541c708389f9d513e3d of ‘core-updates-frozen’:

--8<---------------cut here---------------start------------->8---
ludo <at> berlin ~/src/guix$ sudo su -s /bin/sh - cuirass
-sh-5.0$ ulimit -c unlimited
-sh-5.0$ cuirass evaluate "dbname=cuirass host=/tmp" 47017
Computing Guix derivation for 'x86_64-linux'... |
Aborted (core dumped)
--8<---------------cut here---------------end--------------->8---

(BTW, <https://ci.guix.gnu.org/eval/47017/log/raw> is truncated; would
be nice to avoid that and display the exit status of the “cuirass
evaluate” process at the end.)

From GDB:

--8<---------------cut here---------------start------------->8---
(gdb) info threads
  Id   Target Id                         Frame 
* 1    Thread 0x7fa2e7d69700 (LWP 84557) __GI_raise (sig=sig <at> entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
  2    Thread 0x7fa31265e700 (LWP 83085) 0x00007fa31368194c in futex_wait_cancelable (private=<optimized out>, 
    expected=0, futex_word=0x7fa3136d96e8 <mark_cv+40>) at ../sysdeps/nptl/futex-internal.h:183
  3    Thread 0x7fa307da5700 (LWP 83094) 0x00007fa31368194c in futex_wait_cancelable (private=<optimized out>, 
    expected=0, futex_word=0x7fa312e61af4) at ../sysdeps/nptl/futex-internal.h:183
[...]
  106  Thread 0x7fa2bb7f6700 (LWP 84603) 0x00007fa31368194c in futex_wait_cancelable (private=<optimized out>, 
    expected=0, futex_word=0x7fa2e8d27d34) at ../sysdeps/nptl/futex-internal.h:183
  107  Thread 0x7fa2b17e2700 (LWP 84624) 0x00007fa31368194c in futex_wait_cancelable (private=<optimized out>, 
    expected=0, futex_word=0x7fa2e8d5ef74) at ../sysdeps/nptl/futex-internal.h:183
  108  Thread 0x7fa2b07e0700 (LWP 84626) 0x00007fa31368194c in futex_wait_cancelable (private=<optimized out>, 
    expected=0, futex_word=0x7fa2e8d5eaf4) at ../sysdeps/nptl/futex-internal.h:183
(gdb) bt
#0  __GI_raise (sig=sig <at> entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007fa3131c1bf5 in __GI_abort () at abort.c:79
#2  0x00007fa313751e78 in scm_dynstack_unwind_1 (dynstack=dynstack <at> entry=0x7fa30800e688) at dynstack.c:426
#3  0x00007fa313752020 in scm_dynstack_unwind (dynstack=dynstack <at> entry=0x7fa30800e688, base=0x7fa2e8dc0780)
    at dynstack.c:443
#4  0x00007fa3137cfe08 in abort_to_prompt (thread=0x7fa30800e480, 
    saved_mra=0x7fa2eb20ae56 "L\213c\030I\213L$\020H\215", <incomplete sequence \315>) at vm.c:1454
#5  0x00007fa2eb20ae3f in ?? ()
#6  0x00007fa30800e480 in ?? ()
#7  0x00007fa31385e380 in ?? () from /gnu/store/hkyxill7pdyyrrqfxl4sydq5db0ljw17-guile-3.0.7/lib/libguile-3.0.so.1
#8  0x00007fa30800e480 in ?? ()
#9  0x00007fa31377d3cb in scm_jit_enter_mcode (thread=0x7fa30800e480, thread <at> entry=0x7fa2eb20ae10, 
    mcode=0x7fa30203fd20 "I\211\314I)\304I\203\374\020\017\214\211\021") at jit.c:6038
#10 0x00007fa3137d7bd1 in vm_regular_engine (thread=0x7fa2eb20ae10) at vm-engine.c:360
#11 0x00007fa3137d88bd in scm_call_n (proc=proc <at> entry=#<program 7fa2e8cc5f40>, argv=argv <at> entry=0x0, 
    nargs=nargs <at> entry=0) at vm.c:1608
#12 0x00007fa313754bc9 in scm_call_0 (proc=proc <at> entry=#<program 7fa2e8cc5f40>) at eval.c:490
#13 0x00007fa313746bd8 in scm_call_with_unblocked_asyncs (proc=#<program 7fa2e8cc5f40>) at async.c:406
#14 0x00007fa3137d7468 in vm_regular_engine (thread=0x7fa30800e480) at vm-engine.c:972
#15 0x00007fa3137d88bd in scm_call_n (proc=#<program 7fa2e93af0f0>, argv=argv <at> entry=0x0, nargs=nargs <at> entry=0)
    at vm.c:1608
#16 0x00007fa313754bc9 in scm_call_0 (proc=<optimized out>) at eval.c:490
#17 0x00007fa3137cc806 in really_launch (d=0x7fa2e8cb99e0) at threads.c:778
#18 0x00007fa31374fa9a in c_body (d=0x7fa2e7d68e50) at continuations.c:430
#19 0x00007fa2eb22bcc2 in ?? ()
#20 0x00007fa30800e480 in ?? ()
#21 0x00007fa31385e380 in ?? () from /gnu/store/hkyxill7pdyyrrqfxl4sydq5db0ljw17-guile-3.0.7/lib/libguile-3.0.so.1
#22 0x00007fa30800e480 in ?? ()
#23 0x00007fa31377d3cb in scm_jit_enter_mcode (thread=0x7fa30800e480, thread <at> entry=0x7fa2eb22bca0, 
    mcode=0x7fa31078a000 "I\211\314I)\304I\203\374\030\017\214$\r") at jit.c:6038
#24 0x00007fa3137d7bd1 in vm_regular_engine (thread=0x7fa2eb22bca0) at vm-engine.c:360
#25 0x00007fa3137d88bd in scm_call_n (proc=#<program 7fa31152c520>, argv=argv <at> entry=0x7fa2e7d68c10, 
    nargs=nargs <at> entry=2) at vm.c:1608
#26 0x00007fa313754c0a in scm_call_2 (proc=<optimized out>, arg1=<optimized out>, arg2=<optimized out>) at eval.c:503
#27 0x00007fa31375641a in scm_c_with_exception_handler (type=type <at> entry=#t, 
    handler=handler <at> entry=0x7fa3137cdb60 <catch_post_unwind_handler>, handler_data=handler_data <at> entry=0x7fa2e7d68d80, 
    thunk=thunk <at> entry=0x7fa3137cdca0 <catch_body>, thunk_data=thunk_data <at> entry=0x7fa2e7d68d80) at exceptions.c:170
#28 0x00007fa3137cde9d in scm_c_catch (tag=tag <at> entry=#t, body=body <at> entry=0x7fa31374fa90 <c_body>, 
    body_data=body_data <at> entry=0x7fa2e7d68e50, handler=handler <at> entry=0x7fa31374fd30 <c_handler>, 
    handler_data=handler_data <at> entry=0x7fa2e7d68e50, 
    pre_unwind_handler=pre_unwind_handler <at> entry=0x7fa31374fb90 <pre_unwind_handler>, 
    pre_unwind_handler_data=0x7fa3114fbb40) at throw.c:168
#29 0x00007fa313750033 in scm_i_with_continuation_barrier (body=body <at> entry=0x7fa31374fa90 <c_body>, 
    body_data=body_data <at> entry=0x7fa2e7d68e50, handler=handler <at> entry=0x7fa31374fd30 <c_handler>, 
    handler_data=handler_data <at> entry=0x7fa2e7d68e50, 
    pre_unwind_handler=pre_unwind_handler <at> entry=0x7fa31374fb90 <pre_unwind_handler>, 
    pre_unwind_handler_data=0x7fa3114fbb40) at continuations.c:368
#9  0x00007fa31377d3cb in scm_jit_enter_mcode (thread=0x7fa30800e480, thread <at> entry=0x7fa2eb20ae10, 
    mcode=0x7fa30203fd20 "I\211\314I)\304I\203\374\020\017\214\211\021") at jit.c:6038
#10 0x00007fa3137d7bd1 in vm_regular_engine (thread=0x7fa2eb20ae10) at vm-engine.c:360
#11 0x00007fa3137d88bd in scm_call_n (proc=proc <at> entry=#<program 7fa2e8cc5f40>, argv=argv <at> entry=0x0, 
    nargs=nargs <at> entry=0) at vm.c:1608
#12 0x00007fa313754bc9 in scm_call_0 (proc=proc <at> entry=#<program 7fa2e8cc5f40>) at eval.c:490
#13 0x00007fa313746bd8 in scm_call_with_unblocked_asyncs (proc=#<program 7fa2e8cc5f40>) at async.c:406
#14 0x00007fa3137d7468 in vm_regular_engine (thread=0x7fa30800e480) at vm-engine.c:972
#15 0x00007fa3137d88bd in scm_call_n (proc=#<program 7fa2e93af0f0>, argv=argv <at> entry=0x0, nargs=nargs <at> entry=0)
    at vm.c:1608
#16 0x00007fa313754bc9 in scm_call_0 (proc=<optimized out>) at eval.c:490
#17 0x00007fa3137cc806 in really_launch (d=0x7fa2e8cb99e0) at threads.c:778
#18 0x00007fa31374fa9a in c_body (d=0x7fa2e7d68e50) at continuations.c:430
#19 0x00007fa2eb22bcc2 in ?? ()
#20 0x00007fa30800e480 in ?? ()
#21 0x00007fa31385e380 in ?? () from /gnu/store/hkyxill7pdyyrrqfxl4sydq5db0ljw17-guile-3.0.7/lib/libguile-3.0.so.1
#22 0x00007fa30800e480 in ?? ()
#23 0x00007fa31377d3cb in scm_jit_enter_mcode (thread=0x7fa30800e480, thread <at> entry=0x7fa2eb22bca0, 
    mcode=0x7fa31078a000 "I\211\314I)\304I\203\374\030\017\214$\r") at jit.c:6038
#24 0x00007fa3137d7bd1 in vm_regular_engine (thread=0x7fa2eb22bca0) at vm-engine.c:360
#25 0x00007fa3137d88bd in scm_call_n (proc=#<program 7fa31152c520>, argv=argv <at> entry=0x7fa2e7d68c10, 
    nargs=nargs <at> entry=2) at vm.c:1608
#26 0x00007fa313754c0a in scm_call_2 (proc=<optimized out>, arg1=<optimized out>, arg2=<optimized out>) at eval.c:503
#27 0x00007fa31375641a in scm_c_with_exception_handler (type=type <at> entry=#t, 
    handler=handler <at> entry=0x7fa3137cdb60 <catch_post_unwind_handler>, handler_data=handler_data <at> entry=0x7fa2e7d68d80, 
    thunk=thunk <at> entry=0x7fa3137cdca0 <catch_body>, thunk_data=thunk_data <at> entry=0x7fa2e7d68d80) at exceptions.c:170
#28 0x00007fa3137cde9d in scm_c_catch (tag=tag <at> entry=#t, body=body <at> entry=0x7fa31374fa90 <c_body>, 
    body_data=body_data <at> entry=0x7fa2e7d68e50, handler=handler <at> entry=0x7fa31374fd30 <c_handler>, 
    handler_data=handler_data <at> entry=0x7fa2e7d68e50, 
    pre_unwind_handler=pre_unwind_handler <at> entry=0x7fa31374fb90 <pre_unwind_handler>, 
    pre_unwind_handler_data=0x7fa3114fbb40) at throw.c:168
#29 0x00007fa313750033 in scm_i_with_continuation_barrier (body=body <at> entry=0x7fa31374fa90 <c_body>, 
    body_data=body_data <at> entry=0x7fa2e7d68e50, handler=handler <at> entry=0x7fa31374fd30 <c_handler>, 
    handler_data=handler_data <at> entry=0x7fa2e7d68e50, 
    pre_unwind_handler=pre_unwind_handler <at> entry=0x7fa31374fb90 <pre_unwind_handler>, 
    pre_unwind_handler_data=0x7fa3114fbb40) at continuations.c:368
--Type <RET> for more, q to quit, c to continue without paging--
#30 0x00007fa3137500c5 in scm_c_with_continuation_barrier (func=<optimized out>, data=<optimized out>)
    at continuations.c:464
#31 0x00007fa3137cc92f in with_guile (base=0x7fa2e7d68eb8, data=0x7fa2e7d68ee0) at threads.c:645
#32 0x00007fa3136b2a68 in GC_call_with_stack_base ()
   from /gnu/store/iycnpxxrg8m9wf9w58d6zvp9sdby6m9d-libgc-7.6.12/lib/libgc.so.1
#33 0x00007fa3137cbf9d in scm_i_with_guile (dynamic_state=<optimized out>, data=0x7fa2e8cb99e0, 
    func=0x7fa3137cc790 <really_launch>) at threads.c:688
#34 launch_thread (d=0x7fa2e8cb99e0) at threads.c:787
#35 0x00007fa31367af64 in start_thread (arg=0x7fa2e7d69700) at pthread_create.c:477
#36 0x00007fa3132809af in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
--8<---------------cut here---------------end--------------->8---

This is on berlin, which is 96 cores.  On my 4-core laptop, “make
as-derivation” works fine.

Ludo’.



This bug report was last modified 3 years and 230 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.