#3247: GHCI segfaults when per-thread stack size is larger than max stack size
-------------------------------+--------------------------------------------
    Reporter:  earthy          |        Owner:  simonmar   
        Type:  bug             |       Status:  new        
    Priority:  normal          |    Milestone:  6.12.1     
   Component:  Runtime System  |      Version:  6.10.2     
    Severity:  normal          |   Resolution:             
    Keywords:                  |   Difficulty:  Easy (1 hr)
    Testcase:                  |           Os:  MacOS X    
Architecture:  x86             |  
-------------------------------+--------------------------------------------
Changes (by simonmar):

  * owner:  => simonmar
  * difficulty:  => Easy (1 hr)
  * component:  GHCi => Runtime System
  * milestone:  => 6.12.1

Old description:

> 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

New description:

 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#comment:1>
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