From d0c4c9522bf1cc685ed3175739366c2c4fffc9f5 Mon Sep 17 00:00:00 2001 From: hboehm Date: Thu, 4 Dec 2008 01:45:52 +0000 Subject: 2008-12-03 Hans Boehm (Really Ivan Maidansky) * blacklst.c (GC_print_source_pointer): Don't call GC_print_heap_obj with lock. --- blacklst.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'blacklst.c') diff --git a/blacklst.c b/blacklst.c index 122c2b91..f75ed901 100644 --- a/blacklst.c +++ b/blacklst.c @@ -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 -- cgit v1.2.1