What | Removed | Added |
---|---|---|
Summary | segfault in libgc.so when guile app linked with gold | segfault in libgc.so |
On tumbleweed: ... $ cat test.c #include "gc.h" int main (void) { GC_INIT (); return 0; } ... compiled like: ... $ gcc test.c -lgc ... ... $ ./a.out; echo $? 0 ... and: ... $ gdb -q -ex run --args ./a.out Reading symbols from ./a.out... Starting program: a.out [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. GC_find_limit_with_bound (bound=0x0, up=0, p=<optimized out>) at extra/../os_dep.c:1011 1011 GC_noop1((word)(*result)); (gdb) bt #0 GC_find_limit_with_bound (bound=0x0, up=0, p=<optimized out>) at extra/../os_dep.c:1011 #1 0x00007ffff7d4de83 in GC_find_limit (up=0, p=<optimized out>) at extra/../os_dep.c:1023 #2 GC_init_linux_data_start () at extra/../os_dep.c:463 #3 GC_init_linux_data_start () at extra/../os_dep.c:430 #4 GC_init () at extra/../misc.c:1190 #5 GC_init () at extra/../misc.c:901 #6 0x000000000040112f in main () ...