Zandronum Chat on our Discord Server Get the latest version: 3.2
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003261Zandronum[All Projects] Bugpublic2017-09-11 14:352023-01-01 16:24
ReporterDusk 
Assigned ToDusk 
PrioritynormalSeveritycrashReproducibilityN/A
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.
User avatar (0020035)
Ivan (reporter)
2018-10-08 21:01

Can someone provide a build to test this?

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
2018-10-08 21:01 Ivan Note Added: 0020035






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker