#3247: GHCI segfaults when per-thread stack size is larger than max stack size
--------------------+-------------------------------------------------------
Reporter:  earthy   |          Owner:        
    Type:  bug      |         Status:  new   
Priority:  normal   |      Component:  GHCi  
 Version:  6.10.2   |       Severity:  normal
Keywords:           |       Testcase:        
      Os:  MacOS X  |   Architecture:  x86   
--------------------+-------------------------------------------------------
 This happened to me this morning;

 n142233:thesparse arthurvl$ ghci +RTS -H1024M -k128M -RTS
 Segmentation fault
 n142233:thesparse arthurvl$ ghci +RTS -H1024M -k8M -RTS
 Bus error

 Obviously this is a typo, but the response is somewhat unexpected.
 And yes, the heap-hint is needed, as without the heap hint it turns into:

 n142233:thesparse arthurvl$ ghci +RTS -k8M -RTS
 Too late for parseStaticFlags: call it before newSession
 n142233:thesparse arthurvl$ ghci +RTS -k128M -RTS
 Too late for parseStaticFlags: call it before newSession

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3247>
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

Reply via email to