FS#59068 - [dosbox] Jazz Jackrabbit crashes Dosbox 0.74-8 (DRC64:Unhandled memory reference), runs in 0.74-7

Attached to Project: Community Packages
Opened by Simon Na. (SimonN) - Tuesday, 19 June 2018, 16:18 GMT
Last edited by Jaroslav Lichtblau (Dragonlord) - Thursday, 13 September 2018, 19:47 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jaroslav Lichtblau (Dragonlord)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

Jazz Jackrabbit (all versions: the 1.0 demo, the 1.0 fullgame, the 1.2 fullgames, ...) crashes DOSBox 0.74-8 on running JAZZ.EXE within Dosbox.

Dosbox prints to the Arch system's standard output:
Exit to error: DRC64:Unhandled memory reference

I'm resorting to dosbox 0.74-7 for now. This is still compatible with up-to-date arch. But I speedrun Jazz and thus play this particular game rather often -- a fix would be nice. :-)

Additional info:
* dosbox 0.74-8 crashes on running JAZZ.EXE
* dosbox 0.74-7 doens't have this problem: On running JAZZ.EXE in Dosbox, Jazz shows a dark-blue screen and tells the user to select a sound card.
* All of this is reproducible on fresh installations of Dosbox without config files (dosbox.conf
* All of this is reproducible with the Jazz 1.0 demo version, which you can freely download on the net at [1]

Steps to reproduce:
* Update Arch system completely
* Install dosbox 0.74-8
* Download the shareware version of Jazz at [1], unzip to dir of your choice
* Run Dosbox, mount that dir, switch within Dosbox to that dir, and run JAZZ.EXE
* See Dosbox crash
* Expected instead: Jazz loads and presents a deep-blue screen that tells the user to select a sound card.

[1] Jazz 1.0 demo download: https://www.classicdosgames.com/files/games/epic/jazz.zip
This task depends upon

Closed by  Jaroslav Lichtblau (Dragonlord)
Thursday, 13 September 2018, 19:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in dosbox 0.74.2-1
Comment by Peter Dunning (pdunning) - Sunday, 08 July 2018, 20:26 GMT
I see this too, with the Theme Hospital and Magic Carpet 2 from GOG.com
Comment by Eli Schwartz (eschwartz) - Monday, 20 August 2018, 20:09 GMT
The only difference between the two packages was to rebuild it with no changes against an updated system. Perhaps it doesn't work properly using an updated toolchain?

Can you try building it with e.g. gcc6 or gcc7 and see if that makes it stop crashing?
Comment by Steffen Besold (marlhin) - Wednesday, 22 August 2018, 15:33 GMT
I have the very same problem but with Settlers 2. However, the game itself does not matter.
A workaround is to set "core=normal" in the dosbox config.
But then a lot of games won't work very well anymore (got heavy stutters in Settlers 2).

After some research I found out, as Eli Schwartz also guessed, that it only depends on the version of GCC which was used to compile the package, whether the error appears or not.

Hoping that it gets fixed soon!
Comment by Jaroslav Lichtblau (Dragonlord) - Sunday, 02 September 2018, 16:42 GMT
dosbox 0.74.2-1 available in [community-testing] - does the situation improve with the latest update?
Comment by Wouter Haffmans (haffmans) - Sunday, 02 September 2018, 21:57 GMT
dosbox 0.74.2-1 solves this problem for me with Theme Hospital (GOG.com release). Haven't tried any other games.
Comment by Simon Na. (SimonN) - Monday, 03 September 2018, 07:11 GMT
dosbox 0.74.2-1 fixes this crash for Jazz Jackrabbit. Thanks!

Loading...