MantisBT - Zandronum
View Issue Details
0002342Zandronum[All Projects] Bugpublic2015-07-11 23:532016-10-11 21:47
arkore 
 
normalcrashalways
newopen 
MicrosoftWindowsXP/Vista/7
2.1 
 
0002342: Server crashes after many players play, and many map changes in a hub.
16 players playing for an hour, many changemaps in hub system, will crash server.
1. Get 16 players.
2. Have several players leave at different times.
3. Have several new players come in to start playing.
4. Play for an hour, from map to map, back to hub, back to map, etc.
5. Crash.
Items also start disappearing after a while too.
No tags attached.
related to 0002552assigned Torr Samaho Crash and spam of P_PlayerThink: No body for "# " 
Issue History
2015-07-11 23:53arkoreNew Issue
2015-07-11 23:59arkoreNote Added: 0012858
2015-07-12 01:40unknownnaNote Added: 0012860
2015-07-12 01:40unknownnaStatusnew => feedback
2015-07-12 01:42unknownnaNote Edited: 0012860bug_revision_view_page.php?bugnote_id=12860#r7589
2015-07-21 18:18DuskPriorityimmediate => normal
2015-07-21 19:23arkoreNote Added: 0012989
2015-07-21 19:23arkoreStatusfeedback => new
2015-07-28 16:45arkoreNote Added: 0013016
2015-07-30 09:34Edward-sanNote Added: 0013021
2015-07-30 15:28arkoreNote Added: 0013022
2016-10-11 21:47unknownnaRelationship addedrelated to 0002552

Notes
(0012858)
arkore   
2015-07-11 23:59   
I forgot to say, repeat steps 2 and 3 a few times, over a time span of an hour.
(0012860)
unknownna   
2015-07-12 01:40   
(edited on: 2015-07-12 01:42)
You're going to have to supply us with some more information:

* WADs used
* Maps played (e.g. MAP01, MAP02)

And please upload a crash report if you get one.

(0012989)
arkore   
2015-07-21 19:23   
Could not upload log files due to file size limit. So, get it here:'http://bport.ca/temp/hub-crash-logs.zip [^]'
(0013016)
arkore   
2015-07-28 16:45   
I did some work on the wads, and removed all my scripts (except the main one).
It seemed like the server was running fine for a while, but then crashed.

Now, things have gotten worse; I have no idea why. But now the server will crashed immediately on the first teleport-to-map done.

'http://static.painkiller.allfearthesentinel.net/logs/e00de618af5789d74322a267fce69b8e.txt [^]'

It crashed the same way, today too. On the first teleport-to-map, to HUB.
'http://static.painkiller.allfearthesentinel.net/logs/c84a51c5861dc46133ed6010003a0486.txt [^]'

Both have same error message: zandronum-server: /home/skulltag/BestBot/BuildStuff/zandronum-stable/src/p_sight.cpp:649: bool P_CheckSight(const AActor*, const AActor*, int): Assertion `t1 != __null' failed.

Edward-san says this is a vexing bug.

Nevertheless, this bug is having a huge impact on me. The server is crashing, and I have no idea why.

What is P_CheckSight() anyways? Should I change my HUB map so that players start inside an empty (no items/actors in it) room (with a door) first? Or is P_CheckSight() still going to execute for player spawnpoint actors...

This is the HUB map:
'https://www.dropbox.com/s/4nf3e70odq2iqwf/Screenshot%202015-07-28%2010.44.05.png?dl=0 [^]'

A linedef with special action 74 is used for the "Teleport to Map" from another map to HUB map, or vice versa.
(0013021)
Edward-san   
2015-07-30 09:34   
Quote from arkore

Both have same error message: zandronum-server: /home/skulltag/BestBot/BuildStuff/zandronum-stable/src/p_sight.cpp:649: bool P_CheckSight(const AActor*, const AActor*, int): Assertion `t1 != __null' failed.

Edward-san says this is a vexing bug.


Yeah, it happens when zandronum is built in Debug mode and with specific mods. I and the TSPG admins fixed this by building the server properly in Release mode. This should allow arkore to reproduce the crash again.
(0013022)
arkore   
2015-07-30 15:28   
I got the server to crash with new error message.

Address not mapped to object (signal 11)
Address: 0x8

'http://hastebin.com/iropimiseg.django [^]'
'http://static.painkiller.allfearthesentinel.net/logs/d1512367b8ae75bbc6630985ffe5d40a.txt [^]'