View Issue Details

IDProjectCategoryView StatusLast Update
0000069Gameplay + OpenGL[All Projects] Bugpublic2017-01-19 02:11
ReporterEnjay 
Assigned ToGraf Zahl 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Summary0000069: Game locks up with map (detailed in description)
DescriptionLoading this mod:
http://www.mediafire.com/file/4oxecp8o56o8v5n/USCM_Arsenal_alpha01.zip

From this thread:
https://forum.zdoom.org/viewtopic.php?f=19&t=54961

Hangs the game and I have to use ctrl-alt-del to call up the task manager to force GZDoom to quit.

Does not happen in 2.3.2 official
Steps To ReproduceIt's actually not the mod that shows the problem but the testmap included in the zip. Load it with or without the rest of the mod and the hang/crash will happen.

All you have to do is walk forward to cross the first linedef in front of the player start.
TagsNo tags attached.

Relationships

has duplicate 0000072 resolved_mental_ Software Renderer QZDoom crash at ClearInventory() 

Activities

Enjay

Enjay

2017-01-17 16:31

reporter   ~0000108

Sorry, forgot to say that this was with gzdoom-x64-g2.4pre-164-gc4aaeef (DRD git build from Jan 17th).
Enjay

Enjay

2017-01-17 17:55

reporter   ~0000109

Just noticed that there is a script in this map and the problem seems to relate to it. I suspect ClearInventory.

The following is enough to cause a lock-up in any map:

#include "zcommon.acs"

script 1 (void)
{
    ClearInventory();
    GiveInventory("Fist", 1);
}
_mental_

_mental_

2017-01-18 09:32

developer   ~0000115

Graf, could you please check the proposed fix here ?
I don't use boolean return value to avoid possible confusion with its meaning.
Graf Zahl

Graf Zahl

2017-01-18 09:55

administrator   ~0000116

I chose a different fix. What you did would have clashed with scriptification of the inventory code.

Issue History

Date Modified Username Field Change
2017-01-17 16:30 Enjay New Issue
2017-01-17 16:31 Enjay Note Added: 0000108
2017-01-17 17:55 Enjay Note Added: 0000109
2017-01-18 09:32 _mental_ Note Added: 0000115
2017-01-18 09:33 _mental_ Assigned To => _mental_
2017-01-18 09:33 _mental_ Status new => assigned
2017-01-18 09:54 Graf Zahl Assigned To _mental_ => Graf Zahl
2017-01-18 09:54 Graf Zahl Status assigned => resolved
2017-01-18 09:54 Graf Zahl Resolution open => fixed
2017-01-18 09:55 Graf Zahl Note Added: 0000116
2017-01-19 02:11 _mental_ Relationship added has duplicate 0000072