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.