Linas Vepstas <linasveps...@gmail.com> writes:

> 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.

According (and thanks) to mwette, this is actually expected behavior:
https://hboehm.info/gc/debugging.html

And just continuing via "c" should work.

It looks like guile's source tree gdbinit has the handlers for SIGPWR
and SIGXCPU, but not SIGBUS or SIGSEGV.

Hope this helps

(I've marked this bug as done, but please feel free to re-open it if
 that doesn't sound reasonable to you yet.)

-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4

Reply via email to