MantisBT - Zandronum
View Issue Details
0003967Zandronum[All Projects] Bugpublic2022-01-16 10:222022-09-06 18:44
Celebi 
Kaminsky 
highcrashalways
resolvedfixed 
3.1 
3.23.2 
0003967: Spectating when morphed can lead to a crash
Specifically, this only happens after the morphed player has been damaged.
Offline example
Addbot as Player 2
Player 1 morphes using morphme
Player 1 gets damaged by bot Player 2
Player 1 spectates
Camera shifts to bots view and they are a spectator
Game will likely crash soon after

A monster can work as well. So a quick example.
In the console.
morphme
summon doomimp
*get damaged by imp*
specate

Online example
Two players online
Player 1 morphes using morphme
Player 2 damages Player 1
Player 1 spectates
Player 2 is now bugged out as if they spectated
Game will crash if player 1 leaves or rejoins game
Bug fixes itself if Player 2 leaves the server
Going back through older 3.1 dev versions, this issue showed up after ZandroDev3.1-210926-2036
No tags attached.
txt crashlog.txt (15,543) 2022-01-16 18:16
https://zandronum.com/tracker/file_download.php?file_id=2713&type=bug
Issue History
2022-01-16 10:22CelebiNew Issue
2022-01-16 18:16WaTaKiDFile Added: crashlog.txt
2022-01-16 18:18WaTaKiDNote Added: 0022081
2022-01-16 18:22KaminskyAssigned To => Kaminsky
2022-01-16 18:22KaminskyStatusnew => needs review
2022-01-16 20:54KaminskyNote Added: 0022082
2022-01-16 20:54KaminskyStatusneeds review => needs testing
2022-01-16 20:54KaminskyProduct Version3.1-beta => 3.1
2022-02-20 05:38KaminskyTarget Version => 3.2
2022-09-06 16:21WaTaKiDNote Added: 0022359
2022-09-06 18:44KaminskyStatusneeds testing => resolved
2022-09-06 18:44KaminskyFixed in Version => 3.2
2022-09-06 18:44KaminskyResolutionopen => fixed

Notes
(0022081)
WaTaKiD   
2022-01-16 18:18   
uploaded a crash report from a tspg linux server, which uses heretic and a morph ovum since tspg doesnt allow sv_cheats

i can also confirm the crash on windows both offline and online

i cannot reproduce the crash in gzdoom 1.8.6, it seems the ability to spectate is required
(0022082)
Kaminsky   
2022-01-16 20:54   
The issue should now be fixed with this commit:'https://osdn.net/projects/zandronum/scm/hg/zandronum-stable/commits/b60fe7a2bb45bfe9a6fa4eb6666820ee340a1e64 [^]'
(0022359)
WaTaKiD   
2022-09-06 16:21   
tested using ZandroDev3.2-220904-2011windows-x86_64 on windows offline, online, and a tspg linux server

seems the crash is fixed