#5003: test 4038 (ghci) fails on OS X 64 bit.
---------------------------------+------------------------------------------
    Reporter:  gwright           |        Owner:  gwright      
        Type:  bug               |       Status:  new          
    Priority:  high              |    Milestone:  7.2.1        
   Component:  GHCi              |      Version:  7.0.2        
    Keywords:                    |     Testcase:               
   Blockedby:                    |   Difficulty:               
          Os:  Unknown/Multiple  |     Blocking:               
Architecture:  x86_64 (amd64)    |      Failure:  Runtime crash
---------------------------------+------------------------------------------
Changes (by gwright):

  * os:  MacOS X => Unknown/Multiple


Comment:

 I added the print statements as described above by michalt, and on OS X 64
 bit I consistently get a crash with `ghci` at the same point:
 {{{
 first:  695
 second: 695
 first:  694
 second: 694
 first:  693
 second: 693
 Bus error
 gwright-macbook>
 }}}
 The error always seems to happen just after `second` is 693.

 Has anyone observed this error on a 32 bit platform?  If not, the
 underlying bug is probably similar to #4970, in which a 32 bit value was
 copied to the lower half of a 64 bit location, without the upper half
 being zeroed or sign extended.  Unfortunately, the original error may
 happen some time before the ultimate crash.

 I guess the good news is that this doesn't seem to be an OS X linker bug.

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