[GHC] #1076: runhaskell crash with .hi/.o files in the directory

GHC trac at galois.com
Sat Dec 30 18:22:09 EST 2006


#1076: runhaskell crash with .hi/.o files in the directory
-------------------------+--------------------------------------------------
    Reporter:  guest     |       Owner:         
        Type:  bug       |      Status:  new    
    Priority:  normal    |   Milestone:         
   Component:  Compiler  |     Version:  6.6    
    Severity:  normal    |    Keywords:         
  Difficulty:  Unknown   |    Testcase:         
Architecture:  Unknown   |          Os:  Windows
-------------------------+--------------------------------------------------
I've been playing around with the ICFP "universal machine" puzzle
 (http://icfpcontest.org/task.shtml)
 For prototyping, I'm using runhaskell as a "script engine" from the SciTE
 editor on Win32.  I'm running Windows XP Home 2002 SP2 with the package
 GHC6.6 downloaded from haskell.org.

 I have some leftover .o/.hi files from compiling a previous version the
 project via the command line.  If I delete those, the problem goes away.

 I'll attach a zip of the directory contents as a repro case if the bug
 tracker allows me to.

 >runhaskell um.hs
 trying to Allocate array of size 0..
 trying to Abandon size 0 allocation..
 trying to Allocate size 11..
 trying Array Index on allocated array..
 trying Amendment of allocated array..
 checking Amendment of allocated array..
 trying Alloc(a,a) and amending it..
 comparing multiple allocations..
 pointer arithmetic..
 check old allocation..
 simple tests ok!
 um.hs: internal error: interpretBCO: unknown or unimplemented opcode 22656
     (GHC version 6.6 for i386_unknown_mingw32)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug

 This application has requested the Runtime to terminate it in an unusual
 way.
 Please contact the application's support team for more information.
 >Exit code: 3

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


More information about the Glasgow-haskell-bugs mailing list