MantisBT - Zandronum
View Issue Details
0002181Zandronum[All Projects] Bugpublic2015-04-10 13:572024-03-02 07:26
Visual Vincent 
 
normalcrashsometimes
closedno change required 
MicrosoftWindowsXP/Vista/7
2.0 
 
0002181: Zandronum server crashes when switching to my friend's map. (Zombie Horde)
When playing on my own Zombie Horde server, and the mod switches map to the next in the maplist, the server crashes sometimes when switching to map ZE28. I have no idea if this is map-related or engine-related, but the error I get is "Failed to allocate 368249420 from process heap". I've tried to re-save the map in Doom Builder and also fixed some bugged sectors but the server still crashes.

I've attached the crash report to this ticket.
1) Download the following resources, and create a server with the same file order as these links:
    http://sickedwick.net/wads/skulltag_actors_1-1-1.pk3
    http://sickedwick.net/wads/skulltag_data_126.zip
    http://sickedwick.net/wads/zh-beta27.pk3
    http://sickedwick.net/wads/zh-beta27-fix3.zip
    http://sickedwick.net/wads/zh-mappack10.pk3
    http://sickedwick.net/wads/zh-testpack_r23.pk3
    http://sickedwick.net/wads/NewTextColours1_170.pk3
    http://sickedwick.net/wads/ConnectSound.zip
    http://www.mydoomsite.com/WADS/vincent_zhfriendspack_v4.pk7

2) Set the gamemode to Survival Cooperative and create a playlist in the following order:
    ZM28
    ZE28

3) Start the server on map ZM28 and join atleast two different clients.

4) When the round on ZM28 has started (when someone is selected to become the first zombie), infect the other clients/players by scratching them.

5) When all players are infected you will be unable to move and a message will say something like "Zombie Team Wins".

6) The winner message will be displayed for a few seconds and then the server will automatically switch to the next map in the playlist, in this case ZE28.

7) Crash?
No tags attached.
zip ZE28CrashReport.zip (21,295) 2015-04-10 13:57
/tracker/file_download.php?file_id=1455&type=bug
Issue History
2015-04-10 13:57Visual VincentNew Issue
2015-04-10 13:57Visual VincentFile Added: ZE28CrashReport.zip
2015-04-10 14:00Visual VincentNote Added: 0012081
2015-04-10 14:08Edward-sanSummaryZandronum crashing when switching to my friend's map. (Zombie Horde) => Zandronum server crashes when switching to my friend's map. (Zombie Horde)
2015-04-11 08:33Torr SamahoNote Added: 0012084
2015-04-11 09:38FusedNote Added: 0012085
2015-04-11 14:25Visual VincentNote Added: 0012086
2015-04-12 01:44ibm5155Note Added: 0012089
2015-04-12 01:46ibm5155Note Edited: 0012089bug_revision_view_page.php?bugnote_id=12089#r6945
2024-03-02 07:26Ru5tK1ngNote Added: 0023236
2024-03-02 07:26Ru5tK1ngStatusnew => closed
2024-03-02 07:26Ru5tK1ngResolutionopen => no change required

Notes
(0012081)
Visual Vincent   
2015-04-10 14:00   
Topic title edit:
Zandronum server crashes when switching to my friend's map. (Zombie Horde)
(0012084)
Torr Samaho   
2015-04-11 08:33   
Doesn't crash for me. Can anybody else reproduce the crash?

Based on the crash log, I started the server with:

zandronum -iwad doom2.wad -file skulltag_actors_1-1-1.pk3 skulltag_data_126.pk3 zh-beta27.pk3 zh-beta27-fix3.wad zh-mappack10.pk3 zh-testpack_r23.pk3 NewTextColours1_170.pk3 ConnectSound.wad vincent_zhfriendspack_v4.pk7 -port 10666 +sv_maxlives 0 -host +alwaysapplydmflags 1 -skill 3 +survival 1 +sv_hostemail support@mydoomsite.com +map ZM28 +addmap ZM28 +addmap ZE28 +sv_maprotation 1 +sv_randommaprotation 0 +sv_motd "\cFAdmin: \cQVincent \cD(PDP)\n\cGMy \cFDOOM \cGsite \cJis: \cQVincent \cD(PDP) \cJand \cM*\cVS\cTp\cJa\cVc\cTe\cIIt\cM*\n\cDContact us on IRC: \cG#MyDOOMsite" +sv_hostname "[My DOOM site] DO NOT JOIN" +sv_website'http://www.mydoomsite.com/WADS/vincent_zhfriendspack_v4.pk7 [^]' +sv_password \"\" +sv_forcepassword 0 +sv_joinpassword \"\" +sv_forcejoinpassword 0 +sv_rconpassword \"\" +sv_broadcast 0 +sv_updatemaster 1 +sv_maxclients 16 +sv_maxplayers 16 +dmflags 1610612736 +dmflags2 253755392 +dmflags3 0 +compatflags 0 +compatflags2 0 +lmsallowedweapons 0 +lmsspectatorsettings 0 +sv_afk2spec 0 +sv_coop_damagefactor 1 +sv_defaultdmflags 0 +sv_enforcemasterbanlist 1 +sv_updatemaster 1 +host +set zh_afk_cleanup_time -1 set zh_afk_cleanup_time -1
(0012085)
Fused   
2015-04-11 09:38   
I'm probably wrong, but wasn't this related to a lack of memory on the user's hard drive?
(0012086)
Visual Vincent   
2015-04-11 14:25   
51,3GB is not really lack of memory. C:

When I've experienced the "Failed to allocate" error, it's usually been because of that a file is corrupt. But as said I've tried to re-save the map already.
(0012089)
ibm5155   
2015-04-12 01:44   
(edited on: 2015-04-12 01:46)
90% of the cases that I had allocation errors were due to out of memory.
On the case tested it was actually the video ram was getting full, so it was getting system ram and then there wasn't any other free ram so I would ent with a malloc error.

'http://zandronum.com/tracker/view.php?id=2027 [^]'
EDIT:OFF:
Idk if it's pocible but, is there a way to warn the player that he will get out of memory soon? (system ram and video ram)

(0023236)
Ru5tK1ng   
2024-03-02 07:26   
If you are still having issues with Zan 3.1, please make a new ticket.