From 9a11883c00f70f767edf567ca6c4ab8731032e20 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Fri, 24 Aug 2007 10:18:03 +0000 Subject: [PATCH] FIX #1519, crash in biographical profiling In eval_thunk_selector(), when filling the slop for a closure we've just updated, we were using the wrong info table. This bug appears to have been in 6.6, too. --- rts/sm/Evac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rts/sm/Evac.c b/rts/sm/Evac.c index d437e3f..d533e5d 100644 --- a/rts/sm/Evac.c +++ b/rts/sm/Evac.c @@ -905,7 +905,7 @@ selector_loop: #ifdef PROFILING // For the purposes of LDV profiling, we have destroyed // the original selector thunk. - SET_INFO(p, info_ptr); + SET_INFO(selectee, info_ptr); LDV_RECORD_DEAD_FILL_SLOP_DYNAMIC(selectee); #endif ((StgInd *)selectee)->indirectee = val; -- 1.7.10.4