GHC FFI Return Type Bug
Simon Marlow
simonmar at microsoft.com
Wed Sep 12 10:05:35 EDT 2001
> Mon, 10 Sep 2001 05:03:35 -0700, Julian Seward (Intl Vendor)
> <v-julsew at microsoft.com> pisze:
>
> > If I'm feeling optimistic, late this week; otherwise, sometime
> > next week. We've had some stability problems, but I hope these
> > are now solved.
>
> I'm afraid that the bug which causes recompilation to sometimes fail
> on AsmCodeGen hasn't been fixed or even reproduced?
>
> It happens non-deterministically and very rarely (three times so
> far in several tens of recompilations). But when it happens, all
> repeated compilations of this file fail, until I change the heap
> size or recompile the whole from scratch. And when it doesn't happen,
> by analogy I guess it won't happen without recompilation of
> everything.
I managed to get the compiler to crash by giving it '+RTS -A10k -RTS'
(i.e. make it GC as often as possible). After much peering at gdb
output, stack dumps, HC files, STG output and source code (with help
from Simon P.J.), I think I've fixed the bug, which turned out to be an
incorrect assumption in the code generator. If you can still get it to
crash, please let me know.
Cheers,
Simon
More information about the Glasgow-haskell-bugs
mailing list