MantisBT - Zandronum
View Issue Details
0002145Zandronum[All Projects] Bugpublic2015-03-30 09:402018-09-30 21:38
WaTaKiD 
Dusk 
normalcrashrandom
closedfixed 
MicrosoftWindowsXP/Vista/7
2.0 
2.12.1 
0002145: random crash upon respawning in ctf
edd's crashed a couple times in 2.0 ctf which hes never experienced before in 1.3
demo:'http://speedy.sh/7svwk/2015.03.29-20.02.54-idl2014a.map15patch.odaflagxpk3.zandrospree2rc2pk3.cld [^]'
die in ctf
respawn
hope it crashes

for the demo:
skip to map27
crash happens at roughly 7 mins in
> zandronum.exe!AWeapon::Use(bool pickup=false) Line 118 + 0x19 bytes C++
     zandronum.exe!CLIENT_EndTick() Line 720 C++
     zandronum.exe!TryRunTics() Line 1866 C++
     zandronum.exe!D_DoomLoop() Line 1228 C++
No tags attached.
zip CrashReport.zip (33,940) 2015-03-30 09:40
/tracker/file_download.php?file_id=1437&type=bug
Issue History
2015-03-30 09:40WaTaKiDNew Issue
2015-03-30 09:40WaTaKiDFile Added: CrashReport.zip
2015-03-30 13:32DuskAssigned To => Dusk
2015-03-30 13:32DuskStatusnew => assigned
2015-03-30 13:33DuskNote Added: 0011934
2015-03-30 13:44DuskNote Added: 0011936
2015-03-30 13:44DuskStatusassigned => needs review
2015-03-30 13:45DuskSeverityminor => crash
2015-03-30 13:45DuskTarget Version => 2.1
2015-03-30 18:00cobaltStatusneeds review => needs testing
2015-03-30 18:00cobaltDescription Updatedbug_revision_view_page.php?rev_id=6864#r6864
2015-03-30 18:00cobaltSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=6866#r6866
2015-03-30 18:00cobaltAdditional Information Updatedbug_revision_view_page.php?rev_id=6868#r6868
2015-03-30 18:00cobaltNote Added: 0011943
2015-04-13 17:21WatermelonNote Added: 0012095
2015-04-13 17:21WatermelonStatusneeds testing => resolved
2015-04-13 17:21WatermelonFixed in Version => 2.1
2015-04-13 17:21WatermelonResolutionopen => fixed
2018-09-30 21:38Blzut3Statusresolved => closed

Notes
(0011934)
Dusk   
2015-03-30 13:33   
I can't get this to happen no matter what but I did notice that the way weapons are used to trigger a switch was inadvertently changed when the nametags were fixed, and it's in this new function where it appears to crash. Whoops.

I'll correct the way weapons are used and hope it works.
(0011936)
Dusk   
2015-03-30 13:44   
Hopefully fixed now
(0011943)
cobalt   
2015-03-30 18:00   
Issue addressed by commit f16f4a3f47cd: - fixed the way weapons should be switched to on the client (hopefully fixes 2145)
Committed by Teemu Piippo [Dusk] on Monday 30 March 2015 16:43:47

Changes in files:
 docs/zandronum-history.txt | 1 +
 src/cl_main.cpp | 2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
(0012095)
Watermelon   
2015-04-13 17:21   
I made a binary for people to test this with the fix above, and so far everyone has said that it has completely resolved the issue. They've been able to play for hours with no crash (whereas it usually tanked within 5 minutes). Therefore this looks resolved at this point.