GC failure on alpha-linux
Jeff Sturm
jsturm@one-point.com
Sun Dec 9 21:01:00 GMT 2001
I've been getting failures on the trunk for the last few weeks. I'm at a
loss on how to debug it though:
(gdb) r
Starting program: /home/jsturm/hello
[New Thread 1024 (runnable)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (runnable)]
0x200000555dc in GC_mark_from_mark_stack () at ../../../boehm-gc/mark.c:584
584 ../../../boehm-gc/mark.c: No such file or directory.
in ../../../boehm-gc/mark.c
(gdb) print GC_data_start
No symbol "GC_data_start" in current context.
(gdb) call GC_print_static_roots()
>From 0x0 to 0x120011500
^^^
Clearly this is wrong. I added a fprintf(...) statement to
GC_init_linux_data_start to get an idea what's happening, and it looks
normal when run from the command line. But when running inside the
debugger, it prints nothing, and never even seems to call
GC_init_linux_data_start! (I tried a breakpoint, and didn't see the usual
stop on SIGSEGV.)
Next I tried reading the core file from "hello". But gdb refuses to load
a core file from a multithreaded executable.
Any ideas before I resume hitting my head against a wall?
Jeff
More information about the Java
mailing list