Opened 11 years ago

Closed 11 years ago

#1183 closed bug (duplicate)

internal error: interpretBCO: unknown or unimplemented opcode 64956/64949

Reported by: ghc@… Owned by:
Priority: normal Milestone:
Component: GHCi Version: 6.6
Keywords: Cc:
Operating System: Solaris Architecture: sparc
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


System information

uname -a: SunOS tuck 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Fire-280R

/etc/motd: Sun Microsystems Inc. SunOS 5.10 Generic January 2005

When running the supplied code in GHCi, it crashes out with the error message "internal error: interpretBCO: unknown or unimplemented opcode 64956". The opcode seems to vary between 64956 and 64949, but possibly others. The crashing is consistent though. The code compiles and runs fine with GHC. It also runs fine on a Ubuntu linux system (albeit slow, which is to be expected) which I have access to.

The code is taken from a university coursework assignment, and generates minimax labels for a tic-tac-toe game tree. It is a cutdown version of the full program, with only the code required to expose the bug present.

Attachments (1)

ghcibug.hs (1.9 KB) - added by ghc@… 11 years ago.
Code to cause crash

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by ghc@…

Attachment: ghcibug.hs added

Code to cause crash

comment:1 Changed 11 years ago by ghc@…

Milestone: 6.6.2

Forgot the gcc version. From gcc -v:

Reading specs from /opt/gnu/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/specs gcc version 2.95.2 19991024 (release)

comment:2 Changed 11 years ago by simonmar

Resolution: duplicate
Status: newclosed

Thanks for the bug report - this one has been reported (several times!) before, though. See #1013.

Note: See TracTickets for help on using tickets.