Subject: future.test randomly hangs in 2.2.4

From: Göran Weinholt <[email-masked]>
Date: Mon, 06 Aug 2018 11:59:40 +0200

Hello schemers,

While trying to reproduce #31776 (FAIL: gc.test: gc: after-gc-hook gets
called), I managed to provoke a random hang in future.test. This was
done while /proc was unmounted and these warnings were printed before
the test:

GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main thread
GC Warning: Couldn't read /proc/stat

FWIW, asyncs.test also printed this at one point: ERROR: asyncs.test:
preemption via sigprof - arguments: ((vm-error vm-run "Unrewindable
partial continuation" (#<vm-continuation 559aa17ca710>)))

Reading symbols from /tmp/guile-2.2-2.2.4+1/libguile/.libs/guile...done.
Attaching to program: /tmp/guile-2.2-2.2.4+1/libguile/.libs/guile, process 28485
[New LWP 28508]
[New LWP 28509]
[New LWP 28512]
[New LWP 28513]
[New LWP 28514]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f51d3f64e6c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5581e7a29e60) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
88	../sysdeps/unix/sysv/linux/futex-internal.h: No such file or directory.
(gdb) thread apply all bt

Thread 6 (Thread 0x7f51d0ac5700 (LWP 28514)):
#0  0x00007f51d3f64e6c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5581e7a293e0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x5581e7b5ffc0, cond=0x5581e7a293b8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=cond@entry=0x5581e7a293b8, mutex=mutex@entry=0x5581e7b5ffc0) at pthread_cond_wait.c:655
#3  0x00007f51d41ffbf5 in scm_pthread_cond_wait (cond=cond@entry=0x5581e7a293b8, mutex=mutex@entry=0x5581e7b5ffc0) at threads.c:1621
#4  0x00007f51d41ffdbb in block_self (queue=0x5581e7b5a1f0, mutex=mutex@entry=0x5581e7b5ffc0, waittime=waittime@entry=0x0) at threads.c:316
#5  0x00007f51d42002cd in timed_wait (c=0x5581e7b5ef60, current_thread=0x5581e7a29380, current_thread=0x5581e7a29380, waittime=0x0, m=0x5581e7b5ffc0, kind=SCM_MUTEX_STANDARD) at threads.c:1347
#6  scm_timed_wait_condition_variable (cond=0x5581e7b5a200, mutex=0x5581e7b5a260, timeout=0x904) at threads.c:1440
#7  0x00007f51d42081a4 in vm_debug_engine () at vm-engine.c:786
#8  0x00007f51d4211d8f in scm_call_n () at vm.c:1257
#9  0x00007f51d41850c8 in scm_call_with_unblocked_asyncs (proc=0x5581e7e43f00) at async.c:400
#10 0x00007f51d42081a4 in vm_debug_engine () at vm-engine.c:786
#11 0x00007f51d4211d8f in scm_call_n () at vm.c:1257
#12 0x00007f51d41ff076 in really_launch (d=0x5581e7e33bc0) at threads.c:794
#13 0x00007f51d418ddfa in c_body (d=0x7f51d0ac4e40) at continuations.c:422
#14 0x00007f51d42081a4 in vm_debug_engine () at vm-engine.c:786
#15 0x00007f51d4211d8f in scm_call_n () at vm.c:1257
#16 0x00007f51d4200784 in catch (tag=tag@entry=0x404, thunk=0x5581e7e43fa0, handler=0x5581e7e43f80, pre_unwind_handler=0x5581e7e43f60) at throw.c:137
#17 0x00007f51d4200aa5 in scm_catch_with_pre_unwind_handler (key=key@entry=0x404, thunk=<optimized out>, handler=<optimized out>, pre_unwind_handler=<optimized out>) at throw.c:254
#18 0x00007f51d4200c6f in scm_c_catch (tag=tag@entry=0x404, body=body@entry=0x7f51d418ddf0 <c_body>, body_data=body_data@entry=0x7f51d0ac4e40, handler=handler@entry=0x7f51d418e080 <c_handler>, 
    handler_data=handler_data@entry=0x7f51d0ac4e40, pre_unwind_handler=pre_unwind_handler@entry=0x7f51d418ded0 <pre_unwind_handler>, pre_unwind_handler_data=0x5581e7ac69c0) at throw.c:377
#19 0x00007f51d418e3e0 in scm_i_with_continuation_barrier (body=body@entry=0x7f51d418ddf0 <c_body>, body_data=body_data@entry=0x7f51d0ac4e40, handler=handler@entry=0x7f51d418e080 <c_handler>, 
    handler_data=handler_data@entry=0x7f51d0ac4e40, pre_unwind_handler=pre_unwind_handler@entry=0x7f51d418ded0 <pre_unwind_handler>, pre_unwind_handler_data=0x5581e7ac69c0) at continuations.c:360
#20 0x00007f51d418e475 in scm_c_with_continuation_barrier (func=<optimized out>, data=<optimized out>) at continuations.c:456
#21 0x00007f51d41ff396 in with_guile (base=0x7f51d0ac4ea8, data=0x7f51d0ac4ed0) at threads.c:661
#22 0x00007f51d3b444e8 in GC_call_with_stack_base () from /lib/x86_64-linux-gnu/libgc.so.1
#23 0x00007f51d41fe89d in scm_i_with_guile (dynamic_state=<optimized out>, data=0x5581e7e33bc0, func=0x7f51d41ff000 <really_launch>) at threads.c:704
#24 launch_thread (d=0x5581e7e33bc0) at threads.c:803
#25 0x00007f51d3f5ef2a in start_thread (arg=0x7f51d0ac5700) at pthread_create.c:463
#26 0x00007f51d3e91edf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f51d12c7700 (LWP 28513)):
#0  0x00007f51d3f64e6c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5581e7a295a0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x5581e7b5ffc0, cond=0x5581e7a29578) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=cond@entry=0x5581e7a29578, mutex=mutex@entry=0x5581e7b5ffc0) at pthread_cond_wait.c:655
#3  0x00007f51d41ffbf5 in scm_pthread_cond_wait (cond=cond@entry=0x5581e7a29578, mutex=mutex@entry=0x5581e7b5ffc0) at threads.c:1621
#4  0x00007f51d41ffdbb in block_self (queue=0x5581e7b5a1f0, mutex=mutex@entry=0x5581e7b5ffc0, waittime=waittime@entry=0x0) at threads.c:316
#5  0x00007f51d42002cd in timed_wait (c=0x5581e7b5ef60, current_thread=0x5581e7a29540, current_thread=0x5581e7a29540, waittime=0x0, m=0x5581e7b5ffc0, kind=SCM_MUTEX_STANDARD) at threads.c:1347
#6  scm_timed_wait_condition_variable (cond=0x5581e7b5a200, mutex=0x5581e7b5a260, timeout=0x904) at threads.c:1440
#7  0x00007f51d42081a4 in vm_debug_engine () at vm-engine.c:786
#8  0x00007f51d4211d8f in scm_call_n () at vm.c:1257
#9  0x00007f51d41850c8 in scm_call_with_unblocked_asyncs (proc=0x5581e7e41f00) at async.c:400
#10 0x00007f51d42081a4 in vm_debug_engine () at vm-engine.c:786
#11 0x00007f51d4211d8f in scm_call_n () at vm.c:1257
#12 0x00007f51d41ff076 in really_launch (d=0x5581e7e33c00) at threads.c:794
#13 0x00007f51d418ddfa in c_body (d=0x7f51d12c6e40) at continuations.c:422
#14 0x00007f51d42081a4 in vm_debug_engine () at vm-engine.c:786
#15 0x00007f51d4211d8f in scm_call_n () at vm.c:1257
#16 0x00007f51d4200784 in catch (tag=tag@entry=0x404, thunk=0x5581e7e41fa0, handler=0x5581e7e41f80, pre_unwind_handler=0x5581e7e41f60) at throw.c:137
#17 0x00007f51d4200aa5 in scm_catch_with_pre_unwind_handler (key=key@entry=0x404, thunk=<optimized out>, handler=<optimized out>, pre_unwind_handler=<optimized out>) at throw.c:254
#18 0x00007f51d4200c6f in scm_c_catch (tag=tag@entry=0x404, body=body@entry=0x7f51d418ddf0 <c_body>, body_data=body_data@entry=0x7f51d12c6e40, handler=handler@entry=0x7f51d418e080 <c_handler>, 
    handler_data=handler_data@entry=0x7f51d12c6e40, pre_unwind_handler=pre_unwind_handler@entry=0x7f51d418ded0 <pre_unwind_handler>, pre_unwind_handler_data=0x5581e7ac69c0) at throw.c:377
#19 0x00007f51d418e3e0 in scm_i_with_continuation_barrier (body=body@entry=0x7f51d418ddf0 <c_body>, body_data=body_data@entry=0x7f51d12c6e40, handler=handler@entry=0x7f51d418e080 <c_handler>, 
    handler_data=handler_data@entry=0x7f51d12c6e40, pre_unwind_handler=pre_unwind_handler@entry=0x7f51d418ded0 <pre_unwind_handler>, pre_unwind_handler_data=0x5581e7ac69c0) at continuations.c:360
#20 0x00007f51d418e475 in scm_c_with_continuation_barrier (func=<optimized out>, data=<optimized out>) at continuations.c:456
#21 0x00007f51d41ff396 in with_guile (base=0x7f51d12c6ea8, data=0x7f51d12c6ed0) at threads.c:661
#22 0x00007f51d3b444e8 in GC_call_with_stack_base () from /lib/x86_64-linux-gnu/libgc.so.1
#23 0x00007f51d41fe89d in scm_i_with_guile (dynamic_state=<optimized out>, data=0x5581e7e33c00, func=0x7f51d41ff000 <really_launch>) at threads.c:704
#24 launch_thread (d=0x5581e7e33c00) at threads.c:803
#25 0x00007f51d3f5ef2a in start_thread (arg=0x7f51d12c7700) at pthread_create.c:463
#26 0x00007f51d3e91edf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f51d1ac8700 (LWP 28512)):
#0  0x00007f51d3f64e6c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5581e7a29760) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x5581e7b5ffc0, cond=0x5581e7a29738) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=cond@entry=0x5581e7a29738, mutex=mutex@entry=0x5581e7b5ffc0) at pthread_cond_wait.c:655
#3  0x00007f51d41ffbf5 in scm_pthread_cond_wait (cond=cond@entry=0x5581e7a29738, mutex=mutex@entry=0x5581e7b5ffc0) at threads.c:1621
#4  0x00007f51d41ffdbb in block_self (queue=0x5581e7b5a1f0, mutex=mutex@entry=0x5581e7b5ffc0, waittime=waittime@entry=0x0) at threads.c:316
#5  0x00007f51d42002cd in timed_wait (c=0x5581e7b5ef60, current_thread=0x5581e7a29700, current_thread=0x5581e7a29700, waittime=0x0, m=0x5581e7b5ffc0, kind=SCM_MUTEX_STANDARD) at threads.c:1347
#6  scm_timed_wait_condition_variable (cond=0x5581e7b5a200, mutex=0x5581e7b5a260, timeout=0x904) at threads.c:1440
#7  0x00007f51d42081a4 in vm_debug_engine () at vm-engine.c:786
#8  0x00007f51d4211d8f in scm_call_n () at vm.c:1257
#9  0x00007f51d41850c8 in scm_call_with_unblocked_asyncs (proc=0x5581e7e3ff20) at async.c:400
#10 0x00007f51d42081a4 in vm_debug_engine () at vm-engine.c:786
#11 0x00007f51d4211d8f in scm_call_n () at vm.c:1257
#12 0x00007f51d41ff076 in really_launch (d=0x5581e7e33c40) at threads.c:794
#13 0x00007f51d418ddfa in c_body (d=0x7f51d1ac7e40) at continuations.c:422
#14 0x00007f51d42081a4 in vm_debug_engine () at vm-engine.c:786
#15 0x00007f51d4211d8f in scm_call_n () at vm.c:1257
#16 0x00007f51d4200784 in catch (tag=tag@entry=0x404, thunk=0x5581e7e3ffc0, handler=0x5581e7e3ffa0, pre_unwind_handler=0x5581e7e3ff80) at throw.c:137
#17 0x00007f51d4200aa5 in scm_catch_with_pre_unwind_handler (key=key@entry=0x404, thunk=<optimized out>, handler=<optimized out>, pre_unwind_handler=<optimized out>) at throw.c:254
#18 0x00007f51d4200c6f in scm_c_catch (tag=tag@entry=0x404, body=body@entry=0x7f51d418ddf0 <c_body>, body_data=body_data@entry=0x7f51d1ac7e40, handler=handler@entry=0x7f51d418e080 <c_handler>, 
    handler_data=handler_data@entry=0x7f51d1ac7e40, pre_unwind_handler=pre_unwind_handler@entry=0x7f51d418ded0 <pre_unwind_handler>, pre_unwind_handler_data=0x5581e7ac69c0) at throw.c:377
#19 0x00007f51d418e3e0 in scm_i_with_continuation_barrier (body=body@entry=0x7f51d418ddf0 <c_body>, body_data=body_data@entry=0x7f51d1ac7e40, handler=handler@entry=0x7f51d418e080 <c_handler>, 
    handler_data=handler_data@entry=0x7f51d1ac7e40, pre_unwind_handler=pre_unwind_handler@entry=0x7f51d418ded0 <pre_unwind_handler>, pre_unwind_handler_data=0x5581e7ac69c0) at continuations.c:360
#20 0x00007f51d418e475 in scm_c_with_continuation_barrier (func=<optimized out>, data=<optimized out>) at continuations.c:456
#21 0x00007f51d41ff396 in with_guile (base=0x7f51d1ac7ea8, data=0x7f51d1ac7ed0) at threads.c:661
#22 0x00007f51d3b444e8 in GC_call_with_stack_base () from /lib/x86_64-linux-gnu/libgc.so.1
#23 0x00007f51d41fe89d in scm_i_with_guile (dynamic_state=<optimized out>, data=0x5581e7e33c40, func=0x7f51d41ff000 <really_launch>) at threads.c:704
#24 launch_thread (d=0x5581e7e33c40) at threads.c:803
#25 0x00007f51d3f5ef2a in start_thread (arg=0x7f51d1ac8700) at pthread_create.c:463
#26 0x00007f51d3e91edf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f51d22c9700 (LWP 28509)):
#0  0x00007f51d3f68394 in __libc_read (fd=12, buf=buf@entry=0x7f51d22c85b0, nbytes=nbytes@entry=1) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f51d41df467 in read (__nbytes=1, __buf=0x7f51d22c85b0, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  read_signal_pipe_data (data=0x7f51d22c85b0) at scmsigs.c:152
#3  0x00007f51d3b4a0c3 in GC_do_blocking_inner () from /lib/x86_64-linux-gnu/libgc.so.1
#4  0x00007f51d3b3e9ce in GC_with_callee_saves_pushed () from /lib/x86_64-linux-gnu/libgc.so.1
#5  0x00007f51d3b4451c in GC_do_blocking () from /lib/x86_64-linux-gnu/libgc.so.1
#6  0x00007f51d41ff77a in scm_without_guile (func=0x7f51d41df450 <read_signal_pipe_data>, data=0x7f51d22c85b0) at threads.c:722
#7  0x00007f51d41df3cb in signal_delivery_thread (data=<optimized out>) at scmsigs.c:177
#8  0x00007f51d42081a4 in vm_debug_engine () at vm-engine.c:786
#9  0x00007f51d4211d8f in scm_call_n () at vm.c:1257
#10 0x00007f51d41850c8 in scm_call_with_unblocked_asyncs (proc=0x5581e7bc4f40) at async.c:400
#11 0x00007f51d42081a4 in vm_debug_engine () at vm-engine.c:786
#12 0x00007f51d4211d8f in scm_call_n () at vm.c:1257
#13 0x00007f51d41ff076 in really_launch (d=0x5581e7bb1480) at threads.c:794
#14 0x00007f51d418ddfa in c_body (d=0x7f51d22c8e40) at continuations.c:422
#15 0x00007f51d42081a4 in vm_debug_engine () at vm-engine.c:786
#16 0x00007f51d4211d8f in scm_call_n () at vm.c:1257
#17 0x00007f51d4200784 in catch (tag=tag@entry=0x404, thunk=0x5581e7b36160, handler=0x5581e7b36120, pre_unwind_handler=0x5581e7b360e0) at throw.c:137
#18 0x00007f51d4200aa5 in scm_catch_with_pre_unwind_handler (key=key@entry=0x404, thunk=<optimized out>, handler=<optimized out>, pre_unwind_handler=<optimized out>) at throw.c:254
#19 0x00007f51d4200c6f in scm_c_catch (tag=tag@entry=0x404, body=body@entry=0x7f51d418ddf0 <c_body>, body_data=body_data@entry=0x7f51d22c8e40, handler=handler@entry=0x7f51d418e080 <c_handler>, 
    handler_data=handler_data@entry=0x7f51d22c8e40, pre_unwind_handler=pre_unwind_handler@entry=0x7f51d418ded0 <pre_unwind_handler>, pre_unwind_handler_data=0x5581e7ac69c0) at throw.c:377
#20 0x00007f51d418e3e0 in scm_i_with_continuation_barrier (body=body@entry=0x7f51d418ddf0 <c_body>, body_data=body_data@entry=0x7f51d22c8e40, handler=handler@entry=0x7f51d418e080 <c_handler>, 
    handler_data=handler_data@entry=0x7f51d22c8e40, pre_unwind_handler=pre_unwind_handler@entry=0x7f51d418ded0 <pre_unwind_handler>, pre_unwind_handler_data=0x5581e7ac69c0) at continuations.c:360
#21 0x00007f51d418e475 in scm_c_with_continuation_barrier (func=<optimized out>, data=<optimized out>) at continuations.c:456
#22 0x00007f51d41ff396 in with_guile (base=0x7f51d22c8ea8, data=0x7f51d22c8ed0) at threads.c:661
#23 0x00007f51d3b444e8 in GC_call_with_stack_base () from /lib/x86_64-linux-gnu/libgc.so.1
#24 0x00007f51d41fe89d in scm_i_with_guile (dynamic_state=<optimized out>, data=0x5581e7bb1480, func=0x7f51d41ff000 <really_launch>) at threads.c:704
#25 launch_thread (d=0x5581e7bb1480) at threads.c:803
#26 0x00007f51d3f5ef2a in start_thread (arg=0x7f51d22c9700) at pthread_create.c:463
#27 0x00007f51d3e91edf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f51d2fed700 (LWP 28508)):
#0  0x00007f51d3f68394 in __libc_read (fd=5, buf=buf@entry=0x7f51d2feca40, nbytes=nbytes@entry=1) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f51d419d0d7 in read (__nbytes=1, __buf=0x7f51d2feca40, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  read_finalization_pipe_data (data=0x7f51d2feca40) at finalizers.c:199
#3  0x00007f51d3b4a0c3 in GC_do_blocking_inner () from /lib/x86_64-linux-gnu/libgc.so.1
#4  0x00007f51d3b3e9ce in GC_with_callee_saves_pushed () from /lib/x86_64-linux-gnu/libgc.so.1
#5  0x00007f51d3b4451c in GC_do_blocking () from /lib/x86_64-linux-gnu/libgc.so.1
#6  0x00007f51d41ff77a in scm_without_guile (func=0x7f51d419d0c0 <read_finalization_pipe_data>, data=0x7f51d2feca40) at threads.c:722
#7  0x00007f51d419d48b in finalization_thread_proc (unused=<optimized out>) at finalizers.c:212
#8  0x00007f51d418ddfa in c_body (d=0x7f51d2fece40) at continuations.c:422
#9  0x00007f51d42081a4 in vm_debug_engine () at vm-engine.c:786
#10 0x00007f51d4211d8f in scm_call_n () at vm.c:1257
#11 0x00007f51d4200784 in catch (tag=tag@entry=0x404, thunk=0x5581e7c03e80, handler=0x5581e7c03e60, pre_unwind_handler=0x5581e7c03e40) at throw.c:137
#12 0x00007f51d4200aa5 in scm_catch_with_pre_unwind_handler (key=key@entry=0x404, thunk=<optimized out>, handler=<optimized out>, pre_unwind_handler=<optimized out>) at throw.c:254
#13 0x00007f51d4200c6f in scm_c_catch (tag=tag@entry=0x404, body=body@entry=0x7f51d418ddf0 <c_body>, body_data=body_data@entry=0x7f51d2fece40, handler=handler@entry=0x7f51d418e080 <c_handler>, 
    handler_data=handler_data@entry=0x7f51d2fece40, pre_unwind_handler=pre_unwind_handler@entry=0x7f51d418ded0 <pre_unwind_handler>, pre_unwind_handler_data=0x5581e7ac69c0) at throw.c:377
#14 0x00007f51d418e3e0 in scm_i_with_continuation_barrier (body=body@entry=0x7f51d418ddf0 <c_body>, body_data=body_data@entry=0x7f51d2fece40, handler=handler@entry=0x7f51d418e080 <c_handler>, 
    handler_data=handler_data@entry=0x7f51d2fece40, pre_unwind_handler=pre_unwind_handler@entry=0x7f51d418ded0 <pre_unwind_handler>, pre_unwind_handler_data=0x5581e7ac69c0) at continuations.c:360
#15 0x00007f51d418e475 in scm_c_with_continuation_barrier (func=<optimized out>, data=<optimized out>) at continuations.c:456
#16 0x00007f51d41ff396 in with_guile (base=0x7f51d2fecea8, data=0x7f51d2feced0) at threads.c:661
#17 0x00007f51d3b444e8 in GC_call_with_stack_base () from /lib/x86_64-linux-gnu/libgc.so.1
#18 0x00007f51d41ff728 in scm_i_with_guile (dynamic_state=<optimized out>, data=<optimized out>, func=<optimized out>) at threads.c:704
#19 scm_with_guile (func=<optimized out>, data=<optimized out>) at threads.c:710
#20 0x00007f51d3f5ef2a in start_thread (arg=0x7f51d2fed700) at pthread_create.c:463
#21 0x00007f51d3e91edf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f51d3302740 (LWP 28485)):
#0  0x00007f51d3f64e6c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x5581e7a29e60) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x5581e7b5ffc0, cond=0x5581e7a29e38) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=cond@entry=0x5581e7a29e38, mutex=mutex@entry=0x5581e7b5ffc0) at pthread_cond_wait.c:655
#3  0x00007f51d41ffbf5 in scm_pthread_cond_wait (cond=cond@entry=0x5581e7a29e38, mutex=mutex@entry=0x5581e7b5ffc0) at threads.c:1621
#4  0x00007f51d41ffdbb in block_self (queue=0x5581e7b5a270, mutex=mutex@entry=0x5581e7b5ffc0, waittime=waittime@entry=0x0) at threads.c:316
#5  0x00007f51d41ffe6f in lock_mutex (current_thread=0x5581e7a29e00, waittime=0x0, m=0x5581e7b5ffc0, kind=SCM_MUTEX_STANDARD) at threads.c:1037
#6  scm_timed_lock_mutex (mutex=0x5581e7b5a260, timeout=<optimized out>) at threads.c:1098
#7  0x00007f51d42081a4 in vm_debug_engine () at vm-engine.c:786
#8  0x00007f51d4211d8f in scm_call_n () at vm.c:1257
#9  0x00007f51d4194c07 in scm_primitive_eval (exp=<optimized out>) at eval.c:662
#10 0x00007f51d41b119b in scm_primitive_load (filename=<optimized out>) at load.c:123
#11 0x00007f51d42081a4 in vm_debug_engine () at vm-engine.c:786
#12 0x00007f51d4211d8f in scm_call_n () at vm.c:1257
#13 0x00007f51d4194c07 in scm_primitive_eval (exp=<optimized out>, exp@entry=0x5581e7b82dc0) at eval.c:662
#14 0x00007f51d4194c63 in scm_eval (exp=0x5581e7b82dc0, module_or_state=module_or_state@entry=0x5581e7b5c140) at eval.c:696
#15 0x00007f51d41e0750 in scm_shell (argc=13, argv=0x7ffd8d3fb2a8) at script.c:454
#16 0x00007f51d41ab50d in invoke_main_func (body_data=0x7ffd8d3fb150) at init.c:340
#17 0x00007f51d418ddfa in c_body (d=0x7ffd8d3fb090) at continuations.c:422
#18 0x00007f51d420c53f in vm_regular_engine () at vm-engine.c:786
#19 0x00007f51d4211d8f in scm_call_n () at vm.c:1257
#20 0x00007f51d4200784 in catch (tag=tag@entry=0x404, thunk=0x5581e7ac4280, handler=0x5581e7ac4260, pre_unwind_handler=0x5581e7ac4200) at throw.c:137
#21 0x00007f51d4200aa5 in scm_catch_with_pre_unwind_handler (key=key@entry=0x404, thunk=<optimized out>, handler=<optimized out>, pre_unwind_handler=<optimized out>) at throw.c:254
#22 0x00007f51d4200c6f in scm_c_catch (tag=tag@entry=0x404, body=body@entry=0x7f51d418ddf0 <c_body>, body_data=body_data@entry=0x7ffd8d3fb090, handler=handler@entry=0x7f51d418e080 <c_handler>, 
    handler_data=handler_data@entry=0x7ffd8d3fb090, pre_unwind_handler=pre_unwind_handler@entry=0x7f51d418ded0 <pre_unwind_handler>, pre_unwind_handler_data=0x5581e7ac69c0) at throw.c:377
#23 0x00007f51d418e3e0 in scm_i_with_continuation_barrier (body=body@entry=0x7f51d418ddf0 <c_body>, body_data=body_data@entry=0x7ffd8d3fb090, handler=handler@entry=0x7f51d418e080 <c_handler>, 
    handler_data=handler_data@entry=0x7ffd8d3fb090, pre_unwind_handler=pre_unwind_handler@entry=0x7f51d418ded0 <pre_unwind_handler>, pre_unwind_handler_data=0x5581e7ac69c0) at continuations.c:360
#24 0x00007f51d418e475 in scm_c_with_continuation_barrier (func=<optimized out>, data=<optimized out>) at continuations.c:456
#25 0x00007f51d41ff396 in with_guile (base=0x7ffd8d3fb0f8, data=0x7ffd8d3fb120) at threads.c:661
#26 0x00007f51d3b444e8 in GC_call_with_stack_base () from /lib/x86_64-linux-gnu/libgc.so.1
#27 0x00007f51d41ff728 in scm_i_with_guile (dynamic_state=<optimized out>, data=data@entry=0x7ffd8d3fb120, func=func@entry=0x7f51d41ab4f0 <invoke_main_func>) at threads.c:704
#28 scm_with_guile (func=func@entry=0x7f51d41ab4f0 <invoke_main_func>, data=data@entry=0x7ffd8d3fb150) at threads.c:710
#29 0x00007f51d41ab6a2 in scm_boot_guile (argc=13, argv=0x7ffd8d3fb2a8, main_func=0x5581e6700270 <inner_main>, closure=0x0) at init.c:323
#30 0x00005581e6700114 in main (argc=13, argv=0x7ffd8d3fb2a8) at guile.c:101

-- 
Göran Weinholt
Debian developer
73 de SA6CJK