[GHC] #7715: threadDelay causes segfault on Mac if compiled by 32bit GHC

GHC cvs-ghc at haskell.org
Sat Apr 27 17:28:00 CEST 2013


#7715: threadDelay causes segfault on Mac if compiled by 32bit GHC
----------------------------+-----------------------------------------------
  Reporter:  kazu-yamamoto  |          Owner:         
      Type:  bug            |         Status:  new    
  Priority:  high           |      Milestone:  7.8.1  
 Component:  Compiler       |        Version:  7.7    
Resolution:                 |       Keywords:         
        Os:  MacOS X        |   Architecture:  x86    
   Failure:  None/Unknown   |     Difficulty:  Unknown
  Testcase:                 |      Blockedby:         
  Blocking:                 |        Related:         
----------------------------+-----------------------------------------------

Comment(by igloo):

 I can't reproduce this, with a fast validate build and the code at the top
 of the ticket (plus imports for `Control.Concurrent` and `Control.Monad`):

 {{{
 $ ./test +RTS --info
  [("GHC RTS", "YES")
  ,("GHC version", "7.7.20130427")
  ,("RTS way", "rts_thr")
  ,("Build platform", "i386-apple-darwin")
  ,("Build architecture", "i386")
  ,("Build OS", "darwin")
  ,("Build vendor", "apple")
  ,("Host platform", "i386-apple-darwin")
  ,("Host architecture", "i386")
  ,("Host OS", "darwin")
  ,("Host vendor", "apple")
  ,("Target platform", "i386-apple-darwin")
  ,("Target architecture", "i386")
  ,("Target OS", "darwin")
  ,("Target vendor", "apple")
  ,("Word size", "32")
  ,("Compiler unregisterised", "NO")
  ,("Tables next to code", "YES")
  ]
 }}}

 {{{
 $ time ./test | uniq
 Hello, world!

 real    0m5.019s
 user    0m0.019s
 sys     0m0.013s
 }}}

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



More information about the ghc-tickets mailing list