MantisBT - Zandronum
View Issue Details
0002505Zandronum[All Projects] Bugpublic2015-10-26 04:592018-09-30 22:17
StrikerMan780 
Torr Samaho 
highcrashalways
closedfixed 
3.0-beta 
3.03.0 
0002505: Zandronum 3.0 Windows server crashes upon shooting.
For some reason, whenever I shoot on my own server, I get this crash:'http://shadowmavericks.com/files/CrashReportDeadOnShooting.zip [^]'

This PK3 should be able to reproduce the crash. If not, I'll upload a newer version:'http://shadowmavericks.com/files/SMMP_Core_DEV.pk7 [^]'
Host a server in Deathmatch. Join. Shoot. Server should die.
No tags attached.
? ShootingCrashTest.pk3 (94,482) 2015-10-26 07:32
/tracker/file_download.php?file_id=1669&type=bug
zip CrashReportOnShooting2.zip (18,230) 2015-10-26 07:43
/tracker/file_download.php?file_id=1670&type=bug
Issue History
2015-10-26 04:59StrikerMan780New Issue
2015-10-26 07:32StrikerMan780File Added: ShootingCrashTest.pk3
2015-10-26 07:33StrikerMan780Note Added: 0013690
2015-10-26 07:33StrikerMan780Note Edited: 0013690bug_revision_view_page.php?bugnote_id=13690#r8167
2015-10-26 07:34StrikerMan780Note Edited: 0013690bug_revision_view_page.php?bugnote_id=13690#r8168
2015-10-26 07:40WaTaKiDNote Added: 0013691
2015-10-26 07:43StrikerMan780File Added: CrashReportOnShooting2.zip
2015-10-26 07:43StrikerMan780Note Added: 0013692
2015-10-27 21:58StrikerMan780Note Added: 0013696
2015-10-29 20:29Torr SamahoNote Added: 0013709
2015-10-29 20:29Torr SamahoAssigned To => Torr Samaho
2015-10-29 20:29Torr SamahoStatusnew => needs testing
2015-10-30 00:14StrikerMan780Note Added: 0013710
2015-10-30 15:39cobaltTarget Version => 3.0
2015-10-30 15:39cobaltDescription Updatedbug_revision_view_page.php?rev_id=8181#r8181
2015-10-30 15:39cobaltNote Added: 0013712
2015-10-30 15:40DuskStatusneeds testing => resolved
2015-10-30 15:40DuskFixed in Version => 3.0
2015-10-30 15:40DuskResolutionopen => fixed
2018-09-30 22:17Blzut3Statusresolved => closed

Notes
(0013690)
StrikerMan780   
2015-10-26 07:33   
(edited on: 2015-10-26 07:34)
I uploaded a PK3 that can reproduce the crash. Seems related to OpenGL, as the crash only happens when vid_renderer is set to 1 in the INI. For some reason, even though it's the server, something fucked is happening. Seems related to Dynamic Lights.

Just launch a server with the test PK3 loaded, and join. Shoot once, it should crash immediately. The client won't crash, but the server will.

I'm running Windows 10 x64. We need testers with Windows 10 to see if it's OS-related.

(0013691)
WaTaKiD   
2015-10-26 07:40   
i am using windows 7 ultimate 64 bit and i have been unable to reproduce this crash, even when using striker's ini, thus why we believe it could be os-related

this is the backtrace i got from his crash report:

> zandronum.exe!ADynamicLight::CollectWithinRadius(subsector_t * subSec=0x041b6290, float radius=256.00000) Line 558 + 0xa bytes C++
        zandronum.exe!ADynamicLight::LinkLight() Line 609 C++
        zandronum.exe!ADynamicLight::SetOffset(int x=0, int y=0, int z=0) Line 396 C++
        zandronum.exe!FLightDefaults::ApplyProperties(ADynamicLight * light=0x06fffa60) Line 178 C++
        zandronum.exe!gl_AttachLight(AActor * actor=0x00000000, unsigned int count=0, const FLightDefaults * lightdef=0x06e67770) Line 1098 + 0x14 bytes C++
        zandronum.exe!gl_SetActorLights(AActor * actor=0x00000000) Line 1141 + 0xd bytes C++
        zandronum.exe!FGLInterface::StateChanged(AActor * actor=0x0724c5e8) Line 1176 C++
        zandronum.exe!AActor::PostBeginPlay() Line 5143 C++
        zandronum.exe!DThinker::TickThinkers(FThinkerList * list=0x00000000, FThinkerList * dest=0x00000000) Line 457 + 0x9 bytes C++
        zandronum.exe!DThinker::RunThinkers() Line 428 + 0x11 bytes C++
        zandronum.exe!P_Ticker() Line 366 C++
        zandronum.exe!G_Ticker() Line 1680 C++
        zandronum.exe!SERVER_Tick() Line 621 C++
        zandronum.exe!D_DoomLoop() Line 1327 C++
(0013692)
StrikerMan780   
2015-10-26 07:43   
Uploaded a second dump just in case.
(0013696)
StrikerMan780   
2015-10-27 21:58   
I've got others able to reproduce it by adding +vid_renderer 1 to their server command line.
(0013709)
Torr Samaho   
2015-10-29 20:29   
Please check if this fixes the issue.
(0013710)
StrikerMan780   
2015-10-30 00:14   
Yes, the crash appears to be gone.
(0013712)
cobalt   
2015-10-30 15:39   
Issue addressed by commit 5607f8993fb4: Fixed dynamic light related crashes of the server under Windows 10 (fixes 2505).
Committed by Benjamin Berkels [Torr Samaho] on Friday 30 October 2015 08:07:22

Changes in files:

 src/gl/dynlights/gl_dynlight.cpp | 4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)