[Gc] segfault on arm

Christian Thalinger twisti at complang.tuwien.ac.at
Wed Jul 27 07:29:35 PDT 2005


We are currently porting CACAO to the arm architecture and it seems
there is problem with the gc. Simply running the gc test results in:

twisti at arm-linux:~/cacao/boehm-gc/gc6.5$ ./config.guess 
twisti at arm-linux:~/cacao/boehm-gc/gc6.5$ LD_LIBRARY_PATH=.libs/ gdb
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
welcome to change it and/or distribute copies of it under certain
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
This GDB was configured as "arm-linux"...Using host libthread_db library

(gdb) r
Starting program: /nfs/a5/twisti/cacao/boehm-gc/gc6.5/.libs/gctest 

Program received signal SIGSEGV, Segmentation fault.
GC_mark_from (mark_stack_top=0x2a0e0, mark_stack=0x2a0a8,
mark_stack_limit=0x320a8) at mark.c:759
759               deferred = *limit;
(gdb) bt
#0  GC_mark_from (mark_stack_top=0x2a0e0, mark_stack=0x2a0a8,
mark_stack_limit=0x320a8) at mark.c:759
#1  0x4002bbb8 in GC_mark_some (cold_gc_frame=0xbefffa5c ",C\001") at
#2  0x400258dc in GC_stopped_mark (stop_func=0x40024ee4
<GC_never_stop_func>) at alloc.c:531
#3  0x400254e0 in GC_try_to_collect_inner (stop_func=0x40024ee4
<GC_never_stop_func>) at alloc.c:378
#4  0x4002ebac in GC_init_inner () at misc.c:782
#5  0x4002aa20 in GC_generic_malloc_inner (lb=7, k=1) at malloc.c:125
#6  0x4002ab7c in GC_generic_malloc (lb=7, k=1) at malloc.c:192
#7  0x4002ad9c in GC_malloc (lb=52) at malloc.c:311
#8  0x0000a220 in run_one_test () at tests/test.c:1218
#9  0x0000ab78 in main () at tests/test.c:1521

The same happens with gij-3.4 (i have no newer version handy). Any idea?


More information about the Gc mailing list