MantisBT - Zandronum
View Issue Details
0001161Zandronum[All Projects] Bugpublic2012-11-02 23:022018-09-30 21:04
ibm5155 
Torr Samaho 
normalcrashalways
closedfixed 
Microsoft7 7601
1.0 
1.1 
0001161: Online random crashes on hunters moon
I really don´t know the why, offline it works without crash, but online it´ll crash.
 And more strange, when it crash with more than one player, and when the crash happen with only one player, the othe one continue the game without crash...
Play online the mod on doom 2 (teste online) the second and third map started the crash (07 too) maps higher than 7...

 It don´t crash when you enter on the game, but it´s random, like 1 minute of play or maybe 5...

But that´s the step
1)run hunters moon online
2)play on cooperative with 1 or more players

1. zandronum -file huntersmoon_crash_01.pk3 -host
2. Connect a client to the server and join the game.
3. "changemap map01" in the server console.
4. Move back and forth between the sectors.
download link of the mod:http://www.mediafire.com/?wi43244bfl814ho

 I think it´s a memory problem, maybe zandronum couldn´t alloc memory or acess some information on the middle of alot calls betwheen betwheen decorate and acs...
(and what i saw on minidump on Visual Studio write the same thing, a problem with pointer and memory...)


No tags attached.
related to 0001232closed  Access Violation Crash 
zip CrashReport.zip (18,892) 2012-11-02 23:02
/tracker/file_download.php?file_id=859&type=bug
log CrashReport2.txt__2012_11_03-09_55_29.log (222) 2012-11-03 12:21
/tracker/file_download.php?file_id=864&type=bug
zip CrashReport2.zip (19,773) 2012-11-03 12:21
/tracker/file_download.php?file_id=865&type=bug
zip CrashReport_03.zip (17,787) 2012-11-03 17:03
/tracker/file_download.php?file_id=867&type=bug
zip CrashReport_04.zip (17,764) 2012-11-03 17:03
/tracker/file_download.php?file_id=868&type=bug
zip CrashReport_05.zip (17,778) 2012-11-03 17:03
/tracker/file_download.php?file_id=869&type=bug
zip CrashReport_06.zip (17,481) 2012-11-03 17:03
/tracker/file_download.php?file_id=870&type=bug
zip CrashReport_07.zip (18,074) 2012-11-03 17:03
/tracker/file_download.php?file_id=871&type=bug
zip CrashReport_08.zip (17,639) 2012-11-03 17:04
/tracker/file_download.php?file_id=872&type=bug
zip CrashReport_09.zip (17,786) 2012-11-03 19:46
/tracker/file_download.php?file_id=874&type=bug
? huntersmoon_crash_01.pk3 (590,924) 2012-11-04 17:38
/tracker/file_download.php?file_id=879&type=bug
? huntersmoon_crash_02.pk3 (1,278) 2012-11-04 19:12
/tracker/file_download.php?file_id=880&type=bug
png Screenshot_Doom_20121110_222807.png (29,297) 2012-11-10 21:30
/tracker/file_download.php?file_id=881&type=bug
png
Issue History
2012-11-02 23:02ibm5155New Issue
2012-11-02 23:02ibm5155File Added: CrashReport.zip
2012-11-03 09:20unknownnaNote Added: 0005288
2012-11-03 09:20unknownnaStatusnew => feedback
2012-11-03 12:21ibm5155File Added: CrashReport2.txt__2012_11_03-09_55_29.log
2012-11-03 12:21ibm5155File Added: CrashReport2.zip
2012-11-03 12:22ibm5155Note Added: 0005289
2012-11-03 12:22ibm5155Statusfeedback => new
2012-11-03 17:02unknownnaNote Added: 0005291
2012-11-03 17:03unknownnaStatusnew => confirmed
2012-11-03 17:03unknownnaFile Added: CrashReport_03.zip
2012-11-03 17:03unknownnaFile Added: CrashReport_04.zip
2012-11-03 17:03unknownnaFile Added: CrashReport_05.zip
2012-11-03 17:03unknownnaFile Added: CrashReport_06.zip
2012-11-03 17:03unknownnaFile Added: CrashReport_07.zip
2012-11-03 17:04unknownnaFile Added: CrashReport_08.zip
2012-11-03 19:46unknownnaFile Added: CrashReport_09.zip
2012-11-03 19:48unknownnaNote Added: 0005293
2012-11-03 19:49unknownnaReproducibilityrandom => sometimes
2012-11-03 19:53Torr SamahoNote Added: 0005294
2012-11-03 19:54ibm5155Note Added: 0005295
2012-11-03 19:56ibm5155Note Edited: 0005295bug_revision_view_page.php?bugnote_id=5295#r2900
2012-11-03 20:10unknownnaNote Added: 0005301
2012-11-03 21:10ibm5155Note Added: 0005305
2012-11-03 21:36ibm5155Note Edited: 0005305bug_revision_view_page.php?bugnote_id=5305#r2904
2012-11-03 22:03unknownnaNote Added: 0005307
2012-11-03 22:08unknownnaNote Edited: 0005307bug_revision_view_page.php?bugnote_id=5307#r2906
2012-11-04 07:07unknownnaNote Edited: 0005307bug_revision_view_page.php?bugnote_id=5307#r2907
2012-11-04 07:47unknownnaNote Added: 0005308
2012-11-04 07:48unknownnaNote Edited: 0005308bug_revision_view_page.php?bugnote_id=5308#r2909
2012-11-04 07:52unknownnaNote Edited: 0005308bug_revision_view_page.php?bugnote_id=5308#r2910
2012-11-04 07:53unknownnaNote Edited: 0005308bug_revision_view_page.php?bugnote_id=5308#r2911
2012-11-04 13:38Torr SamahoNote Added: 0005313
2012-11-04 13:39Torr SamahoAssigned To => Torr Samaho
2012-11-04 13:39Torr SamahoStatusconfirmed => feedback
2012-11-04 17:38unknownnaFile Added: huntersmoon_crash_01.pk3
2012-11-04 17:39unknownnaNote Added: 0005317
2012-11-04 17:40unknownnaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=2915#r2915
2012-11-04 17:45unknownnaNote Edited: 0005317bug_revision_view_page.php?bugnote_id=5317#r2917
2012-11-04 17:57unknownnaNote Edited: 0005317bug_revision_view_page.php?bugnote_id=5317#r2918
2012-11-04 17:59unknownnaReproducibilitysometimes => always
2012-11-04 18:02unknownnaNote Edited: 0005317bug_revision_view_page.php?bugnote_id=5317#r2919
2012-11-04 19:12Torr SamahoFile Added: huntersmoon_crash_02.pk3
2012-11-04 19:15Torr SamahoNote Added: 0005318
2012-11-07 00:22ibm5155Note Added: 0005327
2012-11-07 00:22ibm5155Statusfeedback => assigned
2012-11-10 20:22Torr SamahoNote Added: 0005343
2012-11-10 20:23Torr SamahoNote Edited: 0005343bug_revision_view_page.php?bugnote_id=5343#r2936
2012-11-10 20:23Torr SamahoNote Revision Dropped: 5343: 0002935
2012-11-10 21:30unknownnaNote Added: 0005344
2012-11-10 21:30unknownnaFile Added: Screenshot_Doom_20121110_222807.png
2012-11-10 22:30unknownnaNote Edited: 0005307bug_revision_view_page.php?bugnote_id=5307#r2937
2012-11-10 22:31unknownnaNote Edited: 0005317bug_revision_view_page.php?bugnote_id=5317#r2938
2012-11-11 08:25Torr SamahoNote Added: 0005347
2012-11-11 08:25Torr SamahoStatusassigned => needs testing
2012-11-11 10:38unknownnaNote Added: 0005351
2012-11-11 12:44Torr SamahoNote Added: 0005354
2012-11-24 00:33ibm5155Note Added: 0005428
2012-11-24 23:29ibm5155Note Edited: 0005428bug_revision_view_page.php?bugnote_id=5428#r2983
2012-12-02 09:01Torr SamahoStatusneeds testing => resolved
2012-12-02 09:01Torr SamahoFixed in Version => 1.1
2012-12-02 09:01Torr SamahoResolutionopen => fixed
2013-01-02 12:21Torr SamahoRelationship addedrelated to 0001232
2018-09-30 21:04Blzut3Statusresolved => closed

Notes
(0005288)
unknownna   
2012-11-03 09:20   
Quote from ibm5155
http://www.mediafire.com/?wi43244bfl814ho

Quote from Mediafire
The key you provided for file download was invalid. This is usually caused because the file is no longer stored on Mediafire. This occurs when the file is removed by the originating user or Mediafire.
(0005289)
ibm5155   
2012-11-03 12:22   
Sorry the guy who posted the mod removed because of the crashes =/
 I´ll give a working link now...

I hope I´m posting on the right place, and here is alot of information comming
(log file + crash report + print screen of the actual screen + video record before crash)

here are the prints:
(crash print)http://i.imgur.com/u2fJq.jpg
(visual studio log)http://i.imgur.com/JqQFn.png

Downloads:
(hunters moon link working)http://www.mediafire.com/?lr2bjm00vj2x5f3
(video before crash)http://www.mediafire.com/?1j4y4yx6az1vk8i

Informations of the video
:played with a bot, sv_cheats false, bot wasn´t kicked (should he get kicked?)
:mods, alien vendetta, map25 I think
(0005291)
unknownna   
2012-11-03 17:02   
I can confirm the crashes. It crashes very often. It tends to crash when enemies die or when you respawn. Perhaps it has something to do with the custom medal code (excellent).
(0005293)
unknownna   
2012-11-03 19:48   
It crashes very often for me in DOOM2: MAP04.
(0005294)
Torr Samaho   
2012-11-03 19:53   
Unfortunately, the crash logs don't show anything.
(0005295)
ibm5155   
2012-11-03 19:54   
(edited on: 2012-11-03 19:56)
So, the medals was removed and still crashing... (so it´s not the medal code xD)

EDIT:I´ll test if happen on gzdoom when played online

(0005301)
unknownna   
2012-11-03 20:10   
Quote from ibm5155
I´ll test if happen on gzdoom when played online

It doesn't crash for me in GZDoom 1.6.0 online.
(0005305)
ibm5155   
2012-11-03 21:10   
(edited on: 2012-11-03 21:36)
Same here, so, This is a problem on the mod or zandronum?

EDIT:I tested the fix for futur war and the strange part, now it don´t crash more O_O (that test'http://www.mediafire.com/?32zyeahyyaeluor [^]')

I don´t know what´s new on 1.1 but for now it didn´t crash...
 Well the only thing i got was on map46 of chilax, online when you enter on your own server you looks like a player with 1000 ping xD and then you got missing 1024 packets .-.

(0005307)
unknownna   
2012-11-03 22:03   
(edited on: 2012-11-10 22:30)
Quote from ibm5155
I tested the fix for futur war and the strange part, now it don´t crash more O_O (that'testhttp://www.mediafire.com/?32zyeahyyaeluor [^]')

It seems to crash less now, but I still get the crashes when respawning.

Edit:

And it still might crash when you kill/gib some enemies (D3PistolGuy, D3ShotgunGuy and D3Commando).

(0005308)
unknownna   
2012-11-04 07:47   
(edited on: 2012-11-04 07:53)
DOOM2: MAP20 also seems to crash very often. It seems to happen when you open the door at map start and alert the monsters behind it. It doesn't crash if the monsters don't see you (notarget). It doesn't matter whether gl_lights is 1 or 0. It only crashes online.

Ok, for some reason it will only crash if there has been a changemap map change on the server and the client has been there during the map change. It doesn't crash if the client is a spectator before the map change.

(0005313)
Torr Samaho   
2012-11-04 13:38   
Quote from unknownna
Ok, for some reason it will only crash if there has been a changemap map change on the server and the client has been there during the map change. It doesn't crash if the client is a spectator before the map change.
That's most likely a very important observation and agrees with my observations (I didn't check the spectator part though).

The crash happens when collusion checking with a somehow "internally broken" actor. Possibly this actor carries over from the preceding map. The debugger doesn't show though where this actor comes from, so this is a very nasty problem.

Can you try to boil down hunters moon to a minimal example wad?
(0005317)
unknownna   
2012-11-04 17:39   
(edited on: 2012-11-10 22:31)
Hmm, it stops crashing when I remove the custom player classes.

After stripping it down more, it stops crashing when I remove the custom TeleportFog actors.

Ok, I noticed something new. It seems to happen when you cross sectors.

It seems to have something to do with the PlayerPawn properties since it doesn't crash if I inherit the standard values. It seems that THRUSPECIES kicks in here and crashes it since it doesn't crash without the flag.

Now this is strange. It doesn't crash when separated from the main code. It seems that things are intertwined here.

It seems that it's intertwined with A_CheckSight called from torches and the fire actors spawned by them.

* "changemap" map change.
* Custom TeleportFog actor that spawns actors.
* Playerclass with THRUSPECIES.
* Actors that call A_CheckSight and then spawn actors.
* Apparently it has to be a PK3 file.

(0005318)
Torr Samaho   
2012-11-04 19:15   
Very interesting observations! I further stripped down your example wad: A_CheckSight is not necessary, but what somehow seems to matter is that the actor spawned by TeleportFog has NOINTERACTION and lives for a few tics.
(0005327)
ibm5155   
2012-11-07 00:22   
So the creator of the mod modified somethings on it.
 Now it crash alot less, but still crashing
 Download link:http://www.mediafire.com/?1dke6tgesu63hrp

Now I´m curious, why on gzdoom it doesn´t crash?
(0005343)
Torr Samaho   
2012-11-10 20:22   
(edited on: 2012-11-10 20:23)
This one was really nasty, but I hope it's fixed now. At least I found one serious problem in the client code that could cause crashes. Please check how well this binary works.

(0005344)
unknownna   
2012-11-10 21:30   
Quote from Torr Samaho
Please check how well this binary works.

It seems to have fixed the crashes. I didn't test the new version of Hunter's Moon though. I noticed that the client now gets a warning message after changemap map changes. I uploaded a screenshot of the error message.
(0005347)
Torr Samaho   
2012-11-11 08:25   
This should also take care of the warnings.
(0005351)
unknownna   
2012-11-11 10:38   
That took care of the messages.
(0005354)
Torr Samaho   
2012-11-11 12:44   
Thanks for checking! I'll leave the ticket open till this received some testing with the new version of Hunter's Moon and the upcoming official beta build.
(0005428)
ibm5155   
2012-11-24 00:33   
(edited on: 2012-11-24 23:29)
Done, no more errors/crashes finded, thanks torr =D
 EDIT:It can be changet to fixed,Still playing and no problem with the new build (on multiplayer and offline)...