Zandronum Chat @
Get the latest version: 3.0
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003261Zandronum[All Projects] Bugpublic2017-09-11 14:352017-09-11 17:02
Assigned ToDusk 
Statusneeds reviewResolutionopen 
PlatformOSOS Version
Product Version 
Target Version3.1Fixed in Version 
Summary0003261: Resolve the player_t::mo null pointer nonsense
DescriptionThe underlying codebase seems to assume that all valid players have a valid mo pointer. Something on our end breaks this invariant which has caused a lot of crashes in the past.

I think we should resolve this once and for all.
Attached Files

- Relationships

-  Notes
User avatar (0018271)
Dusk (developer)
2017-09-11 17:02

Looks like this was very easy to fix. Turns out that when a player joins from spectators, the server destroys the player body and creates a new one with two separate commands, meaning there's a window inside what anything could happen.

I changed this now, and removed the null check bandaids which should be superfluous now. This needs a testing session or two to check whether it's stable or not.

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: unknownna
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2017-09-11 14:35 Dusk New Issue
2017-09-11 14:35 Dusk Assigned To => Dusk
2017-09-11 14:35 Dusk Status new => assigned
2017-09-11 17:02 Dusk Note Added: 0018271
2017-09-11 17:02 Dusk Status assigned => needs review

Questions or other issues? Contact Us.


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker