[r100] Dynamic light related crash on respawn

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
Torr Samaho
Developer
Developer
Posts: 160
Joined: Fri Apr 13, 2007 8:26
Location: Germany
Contact:

[r100] Dynamic light related crash on respawn

Post by Torr Samaho »

Start GZDoom with

Code: Select all

gzdoom.exe -host 1 +map map01 -file lights.pk3
grab the rocketlauncher, suicide by firing against a wall, respawn and GZDoom will crash.
User avatar
Torr Samaho
Developer
Developer
Posts: 160
Joined: Fri Apr 13, 2007 8:26
Location: Germany
Contact:

Post by Torr Samaho »

Some more information on the crash: It happens in gl_SetActorLights, because the dynamiclights array of the doomplayer actor contains NULL pointers after respawning. For the time being I just remove the NULL pointers from the array in ST to workaround the crashes. Of course this is just an ugly hack and the crashes should be fixed by not letting these NULL pointers appear in the first place.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

I just ported your fix because I currently have no idea why this is happening.
Locked

Return to “Closed Bugs”