Package: guile-3.0 Version: 3.0.8-2 Severity: normal X-Debbugs-Cc: linasveps...@gmail.com
Dear Maintainer, To debug large complex programs that use guile extensions, I run `gdb guile` regularly. This does not work w/ current version in testing. I get this: ``` $ gdb guile GNU gdb (Debian 12.1-3) 12.1 ... etc ... Reading symbols from guile... (No debugging symbols found in guile) (gdb) r Starting program: /usr/bin/guile [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7c3707a in GC_find_limit_with_bound () from /lib/x86_64-linux-gnu/libgc.so.1 (gdb) bt #0 0x00007ffff7c3707a in GC_find_limit_with_bound () from /lib/x86_64-linux-gnu/libgc.so.1 #1 0x00007ffff7c37162 in GC_init_linux_data_start () from /lib/x86_64-linux-gnu/libgc.so.1 #2 0x00007ffff7c355df in GC_init () from /lib/x86_64-linux-gnu/libgc.so.1 #3 0x00007ffff7ec522a in ?? () from /lib/x86_64-linux-gnu/libguile-3.0.so.1 #4 0x00007ffff7f287af in ?? () from /lib/x86_64-linux-gnu/libguile-3.0.so.1 #5 0x00007ffff7f28b66 in ?? () from /lib/x86_64-linux-gnu/libguile-3.0.so.1 #6 0x00007ffff7c350e7 in GC_call_with_stack_base () from /lib/x86_64-linux-gnu/libgc.so.1 #7 0x00007ffff7f23e68 in scm_with_guile () from /lib/x86_64-linux-gnu/libguile-3.0.so.1 #8 0x00007ffff7ec5185 in scm_boot_guile () from /lib/x86_64-linux-gnu/libguile-3.0.so.1 #9 0x000055555555510f in ?? () #10 0x00007ffff7cb181d in __libc_start_main (main=0x5555555550b0, argc=1, argv=0x7fffffffe198, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe188) at ../csu/libc-start.c:332 #11 0x00005555555551aa in ?? () ``` Looking at the above stack trace, I suspect the issue is actually with bdwgc ... unless guile is doing something wacky with stacks before initing bdwgc. I guess this could also be a gdb bug!?? Of course, guile itself works just fine -- it only crashes when starting guile from gdb! So that is ... confusingly bizarre. For me personally, tis is a critical bug; I depend strongly on having gdb working correctly. -- linas -- System Information: Debian Release: bookworm/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 5.18.15 (SMP w/4 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages guile-3.0 depends on: ii guile-3.0-libs 3.0.8-2 guile-3.0 recommends no packages. Versions of packages guile-3.0 suggests: pn guile-3.0-doc <none> -- no debconf information