[Broken Game] MegaMan Legend of the Network: JRE Fatal Error when running from battle
- Dominant language
- Java
- Stars
- 75
- Forks
- 9
- Avg merge
- 7h 56m
- Merged PRs (30d)
- 1
Description
## Game
What is the exact game that does not work?
- Game title: Rockman.EXE Legend of Network
- Version / release: English fan translation 1.0.1
## Issue
When the "Lan, should we run?" dialog box to run away from a battle is present, openDoJa has a high chance of fatally crashing. The timing varies: Sometimes it crashes after a single word is printed, other times it crashes before the yes/no option appears, and occasionally the full dialog box will appear, but if you idle instead of picking an option it crashes.
## Crash Logs
```#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (generateOopMap.cpp:2165), pid=14240, tid=8328
# fatal error: Illegal class file encountered. Try running with -Xverify:all in method drawEscCas
#
# JRE version: Java(TM) SE Runtime Environment (23.0.1+11) (build 23.0.1+11-39)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.0.1+11-39, mixed mode, emulated-client, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\Users\Connor\Documents\Emulators\openDoJa\LoN English\bin\hs_err_pid14240.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
```
Full error report log: [hs_err_pid14240.log](https://github.com/user-attachments/files/30355391/hs_err_pid14240.log)
## Extra Notes
I tested on both the stable and nightly builds of openDoJa; both have this crash.
I couldn't replicate the crash in the unpatched Japanese version, for the time being I'm assuming this isn't an issue with the fan translation itself as there's no issues with running from battles in the SDK emulator.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the crash in the English fan translation on both stable and nightly openDoJa builds, then read the linked hs_err_pid14240.log and inspect the drawEscCas method named in the report. Compare behavior with the unpatched Japanese version; done means the run-from-battle dialog no longer causes a fatal JVM crash while appearing or remaining idle.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop, game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100