[Gc] boehm-gc test failure on FreeBSD

Dmitry Marakasov amdmi3 at amdmi3.ru
Tue Aug 17 14:53:45 PDT 2010


* Ivan Maidanski (ivmai at mail.ru) wrote:

> Compile it (CVS snapshot) without -O2 but with -g and debug it (at least give us the backtrace of SEGV).

It's not different from the backtrace I've given in my first letter.

(gdb) run
Starting program: /usr/home/amdmi3/projects/external/bdwgc/.libs/gctest 
Switched to incremental mode
Emulating dirty bits with mprotect/signals

Program received signal SIGSEGV, Segmentation fault.
0x280afbe3 in GC_clear_fl_links (flp=0x80a1fb0) at reclaim.c:466
466	       *flp = 0;
(gdb) bt full
#0  0x280afbe3 in GC_clear_fl_links (flp=0x80a1fb0) at reclaim.c:466
	next = (void *) 0x80a1fa0
#1  0x280afce3 in GC_start_reclaim (report_if_found=0) at reclaim.c:501
	fop = (void **) 0x804c674
	rlim = (struct hblk **) 0x80b4034
	lim = (void **) 0x804ca70
	rlp = (struct hblk **) 0x80b4034
	rlist = (struct hblk **) 0x80b1078
	should_clobber = 1
	kind = 1
#2  0x280a124a in GC_finish_collection () at alloc.c:885
	start_time = 0
	finalize_time = 0
	done_time = 0
#3  0x280a081d in GC_maybe_gc () at alloc.c:393
	n_partial_gcs = 1
#4  0x280a0b66 in GC_collect_a_little_inner (n=1) at alloc.c:538
	i = 0
#5  0x280a1d8f in GC_allocobj (gran=1, kind=1) at alloc.c:1305
	flh = (void **) 0x804c670
	tried_minor = 0
	retry = 0
#6  0x280a6ddb in GC_generic_malloc_inner (lb=0, k=1) at malloc.c:126
	kind = (struct obj_kind *) 0x280b4094
	lg = 1
	opp = (void **) 0x804c670
	op = (void *) 0x0
#7  0x280a6f51 in GC_generic_malloc (lb=0, k=1) at malloc.c:166
	result = (void *) 0x80ca004
#8  0x280a7273 in GC_malloc (lb=0) at malloc.c:276
	op = (void *) 0x0
	opp = (void **) 0x804c670
	lg = 1
#9  0x0804aa64 in run_one_test () at tests/test.c:1164
	i = 5117
	x = 0x80a3fd8 ""
	z = (char **) 0x80a1fe0
	y = 0x804a5c0 "U\211å¡\210ô\a\b\203À\001£\210ô\a\b]Ã\215´&"
	typed_time = 1
	start_time = 16
	reverse_time = 3217025448
	tree_time = 3217025368
---Type <return> to continue, or q <return> to quit---
	time_diff = 671405673
#10 0x0804b1b9 in main () at tests/test.c:1412
No locals.


-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amdmi3 at amdmi3.ru  ..:  jabber: amdmi3 at jabber.ru    http://www.amdmi3.ru



More information about the Gc mailing list