[GHC] #1180: ghci 6.7 PPC memory corruption

GHC trac at galois.com
Tue Feb 27 00:45:59 EST 2007


#1180: ghci 6.7 PPC memory corruption
------------------------------------+---------------------------------------
    Reporter:  allbery at ece.cmu.edu  |       Owner:         
        Type:  bug                  |      Status:  new    
    Priority:  normal               |   Milestone:         
   Component:  GHCi                 |     Version:  6.7    
    Severity:  normal               |    Keywords:         
  Difficulty:  Unknown              |    Testcase:         
Architecture:  powerpc              |          Os:  MacOS X
------------------------------------+---------------------------------------
{{{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.

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


More information about the Glasgow-haskell-bugs mailing list