internal error: interpretBCO: unknown or unimplemented opcode 64956/64949
|Reported by:||ghc@…||Owned by:|
|Type of failure:||Difficulty:||Unknown|
|Test Case:||Blocked By:|
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.