Zandronum Chat @
Get the latest version: 3.0
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003649Zandronum[All Projects] Bugpublic2019-05-04 03:132019-05-05 20:55
Assigned To 
PlatformLaptopOSWindowsOS Version8.1
Product Version3.0 
Target VersionFixed in Version 
Summary0003649: Unhandled exception in zandronum.exe
DescriptionIssue seems to be intermittent but, occurs every Brutal Doom 2 game session (I really hope it's not being caused by BD but, will do some checking). And I believe it occurs after killing a shotgun zombie then Zand will close out and windows will inform the user that Zandronum.exe has stopped working. So, clicked the debugger button to open it up in Visual Studio [provided screenshot] and states:

Unhandled exception at 0x6EA065A2 (riched20.dll) in zandronum.exe: 0xC0000005: Access violation writing location 0x000E0E58. occurred

With process[3768] Zandronum.exe
Thread [1412] Main Thread
Stack Frame [6EA065A2]
Steps To ReproducePretty sure it occurs after killing a shotgunguy. Might happen on the first map or might happen on the fourth map or later. Just happens during normal play.
Additional InformationI don't have any experience in the C languages and am using a few mods:
Attached Filespng file icon screenshot.png [^] (111,062 bytes) 2019-05-04 03:13

zip file icon [^] (1,894 bytes) 2019-05-05 20:51

- Relationships

-  Notes
User avatar (0020635)
BLOODWOLF (reporter)
2019-05-04 18:59
edited on: 2019-05-05 20:55

Found out this was being caused by a bad script I wrote in the Patch.pk3
#library "CVARSPatch"
#include "zcommon.acs"

Script "BD_DisableReloading" Enter
    if (GetCvar("bd_disablereloading") == 1) {GiveInventory("turboreload",1);}
    if (checkinventory("istacticalclass") == 1){TakeInventory("turboreload",1);}

Change it to this, recompiled, and cannot reproduce a crash anymore:
#library "CVARSPatch"
#include "zcommon.acs"

Script "BD_DisableReloading" Enter
    If(GetCvar("bd_disablereloading") == 1 && checkinventory("istacticalclass") == 0)

Is it possible to have it give the user a hint as to the problem in a catch block maybe?

User avatar (0020637)
Edward-san (developer)
2019-05-05 17:23

Can you make two reduced wad examples with the supposedly correct and the wrong script, respectively?
User avatar (0020638)
BLOODWOLF (reporter)
2019-05-05 20:52

Uploaded the two reduced pk3's with the old script (Bad) and new script (Good). Have to be loaded after the bd21rcX (doesnt matter what version for these honestly).
Pretty sure the new script is good, played last night on Doomseeker for at least four levels and never crashed so I am assuming the Good version is actually good.

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2019-05-04 03:13 BLOODWOLF New Issue
2019-05-04 03:13 BLOODWOLF File Added: screenshot.png
2019-05-04 18:59 BLOODWOLF Note Added: 0020635
2019-05-05 17:23 Edward-san Note Added: 0020637
2019-05-05 17:23 Edward-san Status new => feedback
2019-05-05 20:51 BLOODWOLF File Added:
2019-05-05 20:52 BLOODWOLF Note Added: 0020638
2019-05-05 20:52 BLOODWOLF Status feedback => new
2019-05-05 20:55 BLOODWOLF Note Edited: 0020635 View Revisions

Questions or other issues? Contact Us.


Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker