[GHC] #4505: Segmentation fault on long input (list of pairs)

GHC cvs-ghc at haskell.org
Wed Nov 17 09:58:37 EST 2010


#4505: Segmentation fault on long input (list of pairs)
-------------------------------+--------------------------------------------
    Reporter:  cathper         |       Owner:                                          
        Type:  bug             |      Status:  new                                     
    Priority:  normal          |   Component:  Compiler                                
     Version:  7.0.1           |    Keywords:  Segmentation fault, segfault, long input
    Testcase:                  |   Blockedby:                                          
          Os:  Linux           |    Blocking:                                          
Architecture:  x86_64 (amd64)  |     Failure:  Runtime crash                           
-------------------------------+--------------------------------------------
 When compiling LongList.hs with
 {{{
 ghc --make LongList.hs
 }}}
 then running the output gives a segfault:
 {{{
 $ ./LongList
 8595
 Segmentation fault
 }}}
 It also segfaults with ghc 6.12.1 (without printing 8595) and with ghc
 6.12.3.

 On ghc 6.12.3 running on Mac OS 10.5, no segfault is seen. (I haven't
 tried much longer input, since it already eats up approx. 1.2 GB of RAM.)

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4505>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list