Description
Link to the original issue afritz1/OpenTESArena#69.
OpenTESArena uses WildMidi. If run with a Debug or RelWithDebugInfo build of WildMIDI, no crash happens, but if run with a Release build, a crash always happens. Only tested on Windows 7, 64-bit.
Steps to reproduce crash:
First you need OpenTESArena running with MIDI.
It requires a copy of The Elder Scrolls: Arena (the free, floppy-disk version released by Bethesda Softworks) to be installed. It's easy to find. Next,
- Download the latest OpenTESArena release (https://github.com/afritz1/OpenTESArena/releases).
- Get the eawpats MIDI sound patch library:
https://github.com/afritz1/OpenTESArena/releases/download/opentesarena-0.1.0/eawpats.zip
or
https://github.com/afritz1/OpenTESArena/releases/download/opentesarena-0.1.0/eawpats.tar.gz
and put the extracted contents into the OpenTESArenadata
folder.
Make sure you set the path to your installation of Arena in the OpenTESArena options file. The easiest thing to do if you just want to quickly get the game up and running is to directly modify the default in the options-default.txt
in the OpenTESArena options
folder.
Try the game, it will run fine.
Now replace the supplied wildmidi_dynamic.dll
, which I think is a RelWithDebugInfo build, with a Release build of WildMIDI. (As of this writing the latest commit is b008d78)
Start the game. It is fine until you try to leave the title menu to start the game, for example by clicking "Test" at the bottom of the screen, or when you exit the game. For information on the code in OpenTESArena involved in the crash and the specific line in the WildMIDI code that the program crashes on, please see the issue over at OpenTESArena I linked to above. It seems it may have something to do with _WM_do_meta_copyright
.