Add a case for IND (and a comment). Fixes #3424, perhaps only partially.
authorSimon Marlow <marlowsd@gmail.com>
Thu, 20 Aug 2009 13:15:37 +0000 (13:15 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Thu, 20 Aug 2009 13:15:37 +0000 (13:15 +0000)
rts/sm/Scav.c

index 672636b..4c75ed2 100644 (file)
@@ -1361,6 +1361,10 @@ scavenge_one(StgPtr p)
       break;
     }
 
+    case IND:
+        // IND can happen, for example, when the interpreter allocates
+        // a gigantic AP closure (more than one block), which ends up
+        // on the large-object list and then gets updated.  See #3424.
     case IND_OLDGEN:
     case IND_OLDGEN_PERM:
     case IND_STATIC: