Ticket #537 (closed bug: Fixed)
Compiler dumping core
|Reported by:||mwirt||Owned by:||sewardj|
|Type of failure:||Difficulty:|
|Test Case:||Blocked By:|
I have a simple code fragment that works in previous versions of ghc and other Haskell systems (like Hugs), but which will cause the compiler to dump core in interactive mode (the compiled executable also dumps core). If I define a simple factorial: myFact :: Integer -> Integer myFact 0 = 1 myFact n = n * myFact (n - 1) it will run correctly for very small n, but not for larger n's (but < 30 on my platform). I'm using the pre-compiled binary linux package, on a RedHat 7.0 system. I though it was a stack or heap overflow, but I've increased the heap with RTS options, and it still crashes.
Note: See TracTickets for help on using tickets.