Opened 9 years ago

Closed 9 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: Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

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@… 9 years ago.
Code to cause crash

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by ghc@…

Code to cause crash

comment:1 Changed 9 years ago by ghc@…

  • Milestone 6.6.2 deleted

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 9 years ago by simonmar

  • Resolution set to duplicate
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.