#7361: Segmentation fault on 5f37e0c71ff4af8539c5aebc739b006b4f0c6ebf ---------------------------------+------------------------------------------ Reporter: bgamari | Owner: simonmar Type: bug | Status: new Priority: highest | Milestone: 7.8.1 Component: Compiler | Version: 7.7 Keywords: | Os: Unknown/Multiple Architecture: Unknown/Multiple | Failure: Runtime crash Difficulty: Unknown | Testcase: Blockedby: | Blocking: Related: | ---------------------------------+------------------------------------------
Comment(by bgamari): Oh dear. I do know that unfortunately the program is sensitive to the number of replications passed to replicate. With 30 iterations, the program crashes for me roughly half the time. With 28 it practically never crashes. Perhaps try raising this number? Moreover, the case Test2.hs that I'm about to attach is slightly more minimal and also crashes. This demonstrates that, as expected, the newtypes don't contribute to the crash, nor does the (>>=); it's strictly a matter of how many numbers are generated. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7361#comment:15> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs