[GHC] #5899: GHC RTS crash w/ strange closure type 603975781 on OS X 10.8

GHC cvs-ghc at haskell.org
Mon Feb 27 15:25:03 CET 2012


#5899: GHC RTS crash w/ strange closure type 603975781 on OS X 10.8
---------------------------+------------------------------------------------
 Reporter:  dylukes        |          Owner:                                            
     Type:  bug            |         Status:  new                                       
 Priority:  normal         |      Component:  Runtime System                            
  Version:  7.4.1          |       Keywords:  rts, strange closure, internal error, os x
       Os:  MacOS X        |   Architecture:  x86_64 (amd64)                            
  Failure:  Runtime crash  |       Testcase:                                            
Blockedby:                 |       Blocking:                                            
  Related:                 |  
---------------------------+------------------------------------------------

Comment(by dylukes):

 The smallest program I've found that triggers this bug (?) is the
 following. Note, it does not cause a `strange closure' internal error, it
 just segfaults. However it might be related. This should be a much easier
 example to work with.


 {{{
 main = print $ reverse [1,2,3]
 }}}


 However, the following is also simple enough to trigger a segmentation
 fault...


 {{{
 main = print $ reverse' [1,2,3]
   where reverse' = undefined :: [a] -> [a]
 }}}

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



More information about the Glasgow-haskell-bugs mailing list