
Hi Simon, On Jul 7, 2006, at 4:26 AM, Simon Marlow wrote:
Gregory Wright wrote:
I followed the instruction in DebuggingGhcCrashes, and the instructions in the ghc commentary for building an rts with debugging and symbols. (Please let me know if there are any mistakes in these instructions that you know of!) The crash seems to always happen eventually, but I do not have a simple case that reproduces it quickly. Gdb's traceback doesn't give anything immediately useful, so I assume that the crash is in haskell code, not in C. The not-always-reproducible nature of the bug suggests deferencing a pointer into uninitialized memory. Both 6.4.2 and HEAD show the problem on OS X. It can be avoided by disabling the threaded rts, but that is not acceptable solution.
This is a good datapoint, because it probably rules out much of the threaded RTS code in the RTS itself, which has changed significantly between 6.4.x and HEAD.
A quick question: does the darcs repository have go back to 6.4.1? (The place to start looking a diff of the RTS from 6.4.1, which worked, and 6.4.2 or HEAD, which doesn't).
If I am to take a few deep breaths and dive back into the problem, which branch should I use, 6.4.x or HEAD?
No preference, since it's probably the same bug in both. Use whatever's easiest for you.
I'll work with HEAD. Best Wishes, Greg
Cheers, Simon