On Tue, Apr 01, 2003 at 04:37:35PM -0800, Kirsten Chevalier wrote:
>> In case anyone is wondering, this particular problem seems to be fixed after
> doing a cvs update, but then, any External Core program that was compiled for
> profiling would segfault. I was able to fix this by modifying the EnterFunCCS
> function in rts/Profiling.c to change the line:
> if (ccsfn->root->is_caf == CC_IS_CAF) {
> to
> if ((ccsfn->root != NULL) && (ccsfn->root->is_caf == CC_IS_CAF)) {
>
> I don't know whether that's the right solution, but it seems to work for me.
It turns out that the real problem was that the External Core renamer was
unconditionally filling in "[]" for the imports, which was screwing up
profiling bigtime. I fixed it, but I don't know whether y'all want my code...
(for some reason I feel like I'm talking to myself here.)
--
Kirsten Chevalier * [EMAIL PROTECTED] * Often in error, never in doubt
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs