MantisBT - Zandronum
View Issue Details
0002866Zandronum[All Projects] Bugpublic2016-10-07 23:272018-09-30 21:59
unknownna 
Torr Samaho 
highcrashalways
closedfixed 
3.0-beta 
3.0 
0002866: Crashes after changemap changes with dead bot spectators in 3.0
I noticed this while testing survival in 3.0. It seems that your client crashes if there are any dead bot spectors present before changemap map changes.
1. zandronum -host -iwad doom2.wad +survival 1 +teamdamage 1 +sv_cheats 1
2. zandronum -iwad doom2.wad -connect localhost
3. "addbot" in the server console.
4. Join the game and wait for the countdown to end.
5. Proceed to make the bot die somehow.
6. "changemap map01" in the server console. It will crash when the intermission ends.
No tags attached.
related to 0002789closed  Changemap crash at intermission screen in LMS mode 
Issue History
2016-10-07 23:27unknownnaNew Issue
2016-10-08 00:53Ru5tK1ngRelationship addedrelated to 0002789
2016-10-08 00:53Ru5tK1ngNote Added: 0015789
2016-10-08 07:49Edward-sanNote Added: 0015796
2016-10-08 07:49Edward-sanStatusnew => feedback
2016-10-08 08:06unknownnaNote Added: 0015798
2016-10-08 08:06unknownnaStatusfeedback => new
2016-10-08 08:07unknownnaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=9603#r9603
2016-10-08 08:19Edward-sanNote Added: 0015800
2016-10-08 08:19Edward-sanStatusnew => feedback
2016-10-08 08:36unknownnaNote Added: 0015801
2016-10-08 08:36unknownnaStatusfeedback => new
2016-10-08 18:38Edward-sanNote Added: 0015812
2016-10-08 20:09WaTaKiDNote Added: 0015813
2016-10-08 20:10Edward-sanStatusnew => feedback
2016-10-08 20:38WaTaKiDNote Edited: 0015813bug_revision_view_page.php?bugnote_id=15813#r9625
2016-10-09 00:47Ru5tK1ngNote Added: 0015817
2016-10-09 06:11unknownnaNote Added: 0015821
2016-10-09 06:11unknownnaStatusfeedback => new
2016-10-09 07:35Edward-sanNote Added: 0015822
2016-10-09 07:35Edward-sanStatusnew => closed
2016-10-09 07:35Edward-sanResolutionopen => no change required
2016-10-09 21:13unknownnaStatusclosed => feedback
2016-10-09 21:13unknownnaResolutionno change required => reopened
2016-10-09 21:14unknownnaStatusfeedback => resolved
2016-10-09 21:14unknownnaFixed in Version => 3.0
2016-10-09 21:14unknownnaResolutionreopened => fixed
2016-10-09 21:14unknownnaAssigned To => Torr Samaho
2018-09-30 21:59Blzut3Statusresolved => closed

Notes
(0015789)
Ru5tK1ng   
2016-10-08 00:53   
This seems to be the same cause of:

'http://zandronum.com/tracker/view.php?id=2789 [^]'
(0015796)
Edward-san   
2016-10-08 07:49   
Is it there a minimal number of players/bots needed? I can't reproduce with a survival server with 1 client and 1 bot killed by mdk.
(0015798)
unknownna   
2016-10-08 08:06   
There shouldn't be. I can reproduce it with 1 client and 1 bot. I also tried with a fresh ini and it still crashes.

1. zandronum -host -iwad doom2.wad +survival 1 +teamdamage 1 +sv_cheats 1
2. zandronum -iwad doom2.wad -connect localhost
3. "addbot" in the server console.
4. Join the game and wait for the countdown to end.
5. Proceed to make the bot die somehow.
6. "changemap map01" in the server console. It will crash when the intermission ends.
(0015800)
Edward-san   
2016-10-08 08:19   
Still no crash. Does it crash also in older beta builds?
(0015801)
unknownna   
2016-10-08 08:36   
Interesting. Did you try this online? I don't crash offline.

Anyway, I tried all the official beta builds, and it only crashes in the latest one, i.e. 3.0-alpha-160814-2010.
(0015812)
Edward-san   
2016-10-08 18:38   
Hm, weird. Anyways, I get this message when intermission ends:


SpawnPlayer: not in a level


Maybe it's related to that.
(0015813)
WaTaKiD   
2016-10-08 20:09   
(edited on: 2016-10-08 20:38)
this 3.0 build is up to date with the repo (as of right now, commit 0579047):'https://www.dropbox.com/s/22c5irlcjk5j3vw/zandronum-3.0-r161003-1946-0579047-windows.zip?dl=0 [^]'

following the above steps im able to reproduce the crash using the latest official beta, but not with the build im linking here

edit: this commit is wut fixed it:'https://bitbucket.org/Torr_Samaho/zandronum/commits/31095653775d05954247c0460eaad3b95862036c [^]'

(0015817)
Ru5tK1ng   
2016-10-09 00:47   
With r161003-1946-0579047 I couldn't recreate the changemap crash. That commit seemed to fix the LMS crash I reported.
(0015821)
unknownna   
2016-10-09 06:11   
Yes, that build fixed the issue. Good job, WaTaKiD.
(0015822)
Edward-san   
2016-10-09 07:35   
Thanks for checking!