Bug 897 - "szp pointer was NULL" when spying a player during netdemo playback
: "szp pointer was NULL" when spying a player during netdemo playback
Status: RESOLVED FIXED
Product: Odamex
Classification: Unclassified
Component: Client
: 0.6.x
: All All
: P1 normal
Assigned To: Odamex Bug Reporter
Depends on:
Blocks: 900
  Show dependency treegraph
 
Reported: 2012-09-03 15:33 UTC by Amateur Spammer
Modified: 2012-10-15 03:56 UTC (History)
2 users (show)

See Also:


Attachments
Demo to reproduce (needs veloctf.wad and ovox1a.wad) (893.47 KB, application/octet-stream)
2012-09-03 15:34 UTC, Amateur Spammer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Amateur Spammer 2012-09-03 15:33:06 UTC
"szp pointer was NULL" when spying a player during netdemo playback
Steps to reproduce:
- Play the attached demo (needs veloctf.wad and ovox1a.wad)
- Switch to HeX9109's view ("spy 1" in console)
- Wait. Odamex will abort somewhere in the second minute.
Reproduces with 0.6.1 official Windows binary as well as r3345.
Comment 1 Amateur Spammer 2012-09-03 15:34:11 UTC
Created attachment 397 [details]
Demo to reproduce (needs veloctf.wad and ovox1a.wad)
Comment 2 Dr. Sean 2012-09-04 22:37:56 UTC
The crash occurs when HeX9109 becomes a spectator. It turns out that CL_CheckDisplayPlayer() was faulty in that it allowed the user to attempt to watch through the view point of a spectator when playing a netdemo. A fix was committed in r3349. Please test.
Comment 3 Ralph Vickers 2012-10-15 03:56:41 UTC
Tested and resolved. Thanks