#3430: ghci crashes
-----------------------------+----------------------------------------------
Reporter:  NeilMitchell      |          Owner:                  
    Type:  bug               |         Status:  new             
Priority:  normal            |      Component:  Compiler        
 Version:  6.10.4            |       Severity:  normal          
Keywords:                    |       Testcase:                  
      Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
-----------------------------+----------------------------------------------
 Given the two attached files, HLint.hs and System.Console.CmdArgs.hs, if I
 do:

 {{{
 $ ghc --version
 The Glorious Glasgow Haskell Compilation System, version 6.10.3.20090530
 $ runhaskell HLint.hs helm
 }}}

 Then GHC segfaults. This is on Windows Vista.

 I looked in to reducing this bug, and totally failed. If I modify a single
 line, even totally unconnected, then it works. If I reduce any single
 output string in the program by even 1 character, it then starts working.
 I suspect there is a off-by-one error at some boundary condition, so while
 the error is 100% repeatable, it doesn't look like an easy one to debug.

 I suspect that something trivial like a change in the desugaring of any
 construct will stop this bug happening with this particular file. However,
 I suspect that just means the bug moves to a different magic constant and
 will still be there underneath.

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