summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--blacklst.c5
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1aef3bc8..05201959 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
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