#2570: 2185 test segfaults rather than giving out of memory error
-------------------------------+--------------------------------------------
Reporter: igloo | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.10.1
Component: Runtime System | Version: 6.8.3
Severity: normal | Keywords:
Difficulty: Unknown | Testcase:
Architecture: Unknown | Os: Unknown
-------------------------------+--------------------------------------------
We currently expect the 2185 test to fail with an out of memory error
(#2185), but it is actually segfaulting (amd64/Linux):
{{{
$ ./2185 +RTS -M16m -RTS
('A',4.0)
('B',4.0)
('C',[(0.0,0.0),(0.0,128.0),(0.0,256.0),(0.0,384.0),(128.0,0.0),(128.0,128.0),(128.0,256.0),(128.0,384.0),(256.0,0.0),(256.0,128.0),(256.0,256.0),(256.0,384.0),(384.0,0.0),(384.0,128.0),(384.0,256.0),(384.0,384.0)])
zsh: segmentation fault ./2185 +RTS -M16m -RTS
}}}
Without the `-M16m` flag it works fine.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2570>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs