MantisBT - Zandronum
View Issue Details
0004493Zandronum[All Projects] Bugpublic2025-04-12 04:452025-04-13 00:35
__Sidle 
Kaminsky 
normalcrashsometimes
assignedopen 
3.2 
 
0004493: Crash during demo spectate freely with other players
There is some correlation between players being in the game during the demo and Spectate Freely crashes.

Game mode influences how things crash.
- DM crashes immediately if you're already in spec freely while another person joins.
- TDM continues as normal, until you spy on someone on a team with more than 1 active player and spec freely out of them, then it crashes right there.


Likely related to similar report:'https://zandronum.com/tracker/view.php?id=4340 [^]'
- Record demo of server
- Playback demo
- Type `demo_spectatefreely` in console when enough players are in-game
No tags attached.
related to 0004340resolved Kaminsky Client crashes when trying to spectate freely in demo 
zip CrashReport+Demos.zip (983,576) 2025-04-12 04:45
https://zandronum.com/tracker/file_download.php?file_id=3224&type=bug
Issue History
2025-04-12 04:45__SidleNew Issue
2025-04-12 04:45__SidleFile Added: CrashReport+Demos.zip
2025-04-12 10:21DrinkyBirdRelationship addedrelated to 0004340
2025-04-12 10:22DrinkyBirdProduct Version => 3.2
2025-04-12 14:19KaminskyNote Added: 0024429
2025-04-12 14:19KaminskyAssigned To => Kaminsky
2025-04-12 14:19KaminskyStatusnew => assigned
2025-04-12 16:28__SidleNote Added: 0024431
2025-04-12 18:18KaminskyNote Added: 0024434
2025-04-13 00:35__SidleNote Added: 0024438

Notes
(0024429)
Kaminsky   
2025-04-12 14:19   
I created a new topic that should fix the crash:'https://foss.heptapod.net/zandronum/zandronum-stable/-/tree/topic/default/free-spectate-crash-fix [^]'

Please download the auto-generated pipeline build:'https://foss.heptapod.net/zandronum/zandronum-stable/-/pipelines/103735 [^]' and let me know if it fixes the crash for you.
(0024431)
__Sidle   
2025-04-12 16:28   
Using the 250412-1409 autobuild:
- TDM no longer crashes.
- regular DM crashes identically to build I was on previously. (250407-1540)
(0024434)
Kaminsky   
2025-04-12 18:18   
I pushed a new commit to the topic mentioned above:'https://foss.heptapod.net/zandronum/zandronum-stable/-/commit/1a17b0932b3693c2988592e04faac90fe157fd03 [^]'

This should fix the crashes happening in regular deathmatch too. Let me know if it works for you.
(0024438)
__Sidle   
2025-04-13 00:35   
Confirmed the (250412-1813) build work properly with `demo_spectatefreely` in regular deathmatch demos now! Did a sweep of a bunch of other modes as well to be thorough, and they all seem to behave.
(Duel, Terminator, Possession, Team Possession, LMS, Team LMS, CTF, 1FCTF, Skulltag)

I did find a semi-reliable crash via some combination of rapidly hitting binds for `demo_skiptonextmap` and `demo_spectatefreely` while loading either intermission or a map, but it's not consistent enough to me to know an exact sequence that causes it.