View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000624||Gameplay + OpenGL||[All Projects] Bug||public||2017-04-25 07:44||2017-04-25 14:42|
|Platform||PC||OS||Windows||OS Version||10 Home x64|
|Summary||0000624: Exit specials crash|
|Description||If the value of a player start thing's first argument doesn't match the one passed to one of the exit specials (Exit_Normal or Exit_Secret), the engine crashes when attempting to load the next map.|
|Steps To Reproduce||Using the attached file, start on MAP01 and press the switch in front of you to exit. Skip the tally screen and proceed to the next map.|
|Additional Information||Tested/produced with: 3.0pre-31-g1852079 and 2.4.0 (64-bit)|
About the test file: the switch has Exit_Normal special assigned to it with the first argument set to some arbitrary value. Of course, the next map doesn't have a player start whose first argument matches that arbitrary value, hence the crash.
|Tags||No tags attached.|
CrashReport.zip (22,608 bytes)
exit.wad (1,785 bytes)
This is the same problem I occasionally discovered here.
It's caused by AActor::UnlinkFromWorld() called twice for APlayerPawn object.
To fix the crash it's enough to assign NULL in this line instead of that magic value.
But I would like to ask Graf to take a look at this.
|The value is there to catch double unlinks, so the real fix should be to eliminate that duplicate.|
I delayed the abort until the travelling list is completely processed, this seems to bring back the intended error message.
|It doesn't build, did you forget something to commit?|
|Not forget, but the last change got lost somehow. Strange that is the second time in only a few days that this happened.|
|2017-04-25 07:44||Blue Shadow||New Issue|
|2017-04-25 07:44||Blue Shadow||File Added: CrashReport.zip|
|2017-04-25 07:44||Blue Shadow||File Added: exit.wad|
|2017-04-25 08:42||_mental_||Status||new => confirmed|
|2017-04-25 08:42||_mental_||Note Added: 0001546|
|2017-04-25 11:39||Graf Zahl||Note Added: 0001547|
|2017-04-25 13:01||Graf Zahl||Status||confirmed => resolved|
|2017-04-25 13:01||Graf Zahl||Resolution||open => fixed|
|2017-04-25 13:01||Graf Zahl||Note Added: 0001548|
|2017-04-25 13:50||_mental_||Note Added: 0001549|
|2017-04-25 14:42||Graf Zahl||Note Added: 0001550|