patch applied (ghc): Fix a very rare crash in GHCi
marlowsd at gmail.com
Tue Oct 5 11:54:03 EDT 2010
Tue Oct 5 07:47:35 PDT 2010 Simon Marlow <marlowsd at gmail.com>
* Fix a very rare crash in GHCi
When a BCO with a zero-length bitmap was right at the edge of
allocated memory, we were reading a word of non-existent memory.
This showed up as a segfault in T789(ghci) for me, but the crash was
extremely sensitive and went away with most changes.
Also, optimised scavenge_large_bitmap a bit while I was in there.
M ./rts/sm/Scav.c -13 +11
View patch online:
More information about the Cvs-ghc