[ ghc-Bugs-1198393 ] Program aborts with segmentation fault when profiling used

Christian Maeder maeder at tzi.de
Mon May 9 13:26:02 EDT 2005


Hi,

I also have (a rather large) program (not included) that segfaults when
compiled with profiling. I use the ghc-6.4 linux binary distribution
from the web.

It is not even necessary to call the program with +RTS -p -RTS. There is
no problem with ghc-6.2.2, except that the old version uses its own copy
of the fgl, Data.Map and Data.Set.

If I let my Map and Set module reexport the ghc-6.4 library modules
Data.Map and Data.Set then the program does not terminate if compiled
without profiling and without optimization (with optimization it
terminates, profiling segfaults in all cases).

Any idea what I should do (and is not too time consuming)?
Christian



More information about the Glasgow-haskell-bugs mailing list