Skip to content

ghci 6.7 PPC memory corruption

`mress:5017 Z$ compiler/stage2/ghc-inplace --interactive


/ _ \ /\ // () / /// // / / | | GHC Interactive, version 6.7.20070224, for Haskell 98. / /\/ __ / /| | http://www.haskell.org/ghc/ _// //_/|_| Type :? for help.

ghc-6.7.20070224(25701,0xa000ed88) malloc: *** error for object 0x3807ff8: pointer being reallocated was not allocated ghc-6.7.20070224(25701,0xa000ed88) malloc: *** set a breakpoint in szone_error to debug malloc: failed on request for 10331948 bytes; message: ocAllocateJumpIslands`

Interestingly, when I invoke it through gdb the breakpoint in szone_error is ineffective (although gdb has in the past had enough bugs in its breakpoint support that I wonder if it's gdb that's broken here and not some strange confusion in what malloc library is being invoked or etc.)

I've placed the build log (including testsuite output) from this build at http://www.ece.cmu.edu/~allbery/ghc67-20070218.log in case there's something obvious there about something I'm doing wrong.

Trac metadata
Trac field Value
Version 6.7
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information