|
Re: Profiling + External Core = trouble: msg#00005lang.haskell.glasgow.bugs
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 * krc@xxxxxxxxxxxxxxxxxxx * Often in error, never in doubt
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: freeBSD problem with Network library, Simon Marlow |
|---|---|
| Next by Date: | [ ghc-Bugs-715052 ] getCPUTime doesn't work, SourceForge.net |
| Previous by Thread: | Re: Profiling + External Core = trouble, Kirsten Chevalier |
| Next by Thread: | Re: Profiling + External Core = trouble, Kirsten Chevalier |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |