diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | blacklst.c | 5 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2008-12-03 Hans Boehm <Hans.Boehm@hp.com> (Really Ivan Maidansky) + * blacklst.c (GC_print_source_pointer): Don't call GC_print_heap_obj + with lock. + 2008-12-01 Hans Boehm <Hans.Boehm@hp.com> * reclaim.c: (GC_reclaim_block): Scan even nearly full blocks if we are checking for leaks. @@ -74,7 +74,10 @@ STATIC void GC_print_source_ptr(ptr_t p) } } else { GC_err_printf("in object at "); - (*GC_print_heap_obj)(base); + /* FIXME: We can't call the debug version of GC_print_heap_obj */ + /* (with PRINT_CALL_CHAIN) here because the lock is held and */ + /* the world is stopped. */ + GC_default_print_heap_obj_proc(base); } } #endif |