[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

guile under gdb crashing on Unbuntu 22.04

From: Matt Wette
Subject: guile under gdb crashing on Unbuntu 22.04
Date: Thu, 5 May 2022 05:42:58 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1

Hi All,

I have no clue what is going on here but wondering if others are seeing it.
I recently installed Ubuntu 22.04, then recompiled guile-3.0.8.
It crashes running withing gdb, runs fine otherwise:

$ meta/gdb-uninstalled-guile
GNU gdb (Ubuntu 12.0.90-0ubuntu1) 12.0.90
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/mwette/proj/guile/guile-3.0.8-build/libguile/.libs/guile...
(gdb) run
Starting program: /home/mwette/proj/guile/guile-3.0.8-build/libguile/.libs/guile
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7bdd8f2 in GC_find_limit_with_bound () from /lib/x86_64-linux-gnu/
(gdb) info stack
#0  0x00007ffff7bdd8f2 in GC_find_limit_with_bound ()
   from /lib/x86_64-linux-gnu/
#1  0x00007ffff7bdd9da in GC_init_linux_data_start ()
   from /lib/x86_64-linux-gnu/
#2  0x00007ffff7bdef67 in GC_init () from /lib/x86_64-linux-gnu/
#3  0x00007ffff7eda391 in scm_storage_prehistory ()
    at ../../guile-3.0.8-dist/libguile/gc.c:465
#4  scm_i_init_guile (base=0x7fffffffde30)
    at ../../guile-3.0.8-dist/libguile/init.c:360
#5  0x00007ffff7f41eff in scm_i_init_guile (base=0x7fffffffde30)
    at ../../guile-3.0.8-dist/libguile/init.c:357
#6  scm_i_init_thread_for_guile (base=base@entry=0x7fffffffde30,
    at ../../guile-3.0.8-dist/libguile/threads.c:570
#7  0x00007ffff7f4231e in scm_i_init_thread_for_guile (dynamic_state=0x0,
    base=0x7fffffffde30) at ../../guile-3.0.8-dist/libguile/threads.c:653
#8  with_guile (base=0x7fffffffde30, data=0x7fffffffde60)
    at ../../guile-3.0.8-dist/libguile/threads.c:638
#9  0x00007ffff7bdd80b in GC_call_with_stack_base ()
   from /lib/x86_64-linux-gnu/
#10 0x00007ffff7f3d3dc in scm_i_with_guile (dynamic_state=<optimized out>,
    data=<optimized out>, func=<optimized out>)
--Type <RET> for more, q to quit, c to continue without paging--
    at ../../guile-3.0.8-dist/libguile/threads.c:688
#11 scm_with_guile (func=<optimized out>, data=<optimized out>)
    at ../../guile-3.0.8-dist/libguile/threads.c:694
#12 0x00007ffff7eda2c9 in scm_boot_guile (argc=argc@entry=1,
    main_func=main_func@entry=0x555555555320 <inner_main>,
    closure=closure@entry=0x0) at ../../guile-3.0.8-dist/libguile/init.c:295
#13 0x00005555555551af in main (argc=1, argv=0x7fffffffe018)
    at ../../guile-3.0.8-dist/libguile/guile.c:94

reply via email to

[Prev in Thread] Current Thread [Next in Thread]