MantisBT - Zandronum
View Issue Details
0001155Zandronum[All Projects] Bugpublic2012-10-30 06:422018-09-30 21:10
Camo Yoshi 
Torr Samaho 
highcrashalways
closedfixed 
LinuxUbuntu10.04 x86
1.0 
1.1 
0001155: Duel32a Server - Server freezes and eats 100% CPU when picking map from START?
I'm running a Zandronum server with Ubuntu, it's a Duel32a server. Whenever someone picks a map the server freezes and uses 100% CPU.

I've pasted my config here:

// General server settings, password, etc.
duel 1
sv_forcepassword false
sv_disallowbots true
sv_hostemail "example@example.com"
sv_hostname "Example Server"
sv_maxclientsperip 1
sv_motd "Blah."
sv_website "http://example.com/"
skill 3
sv_nodrop false
sv_noduellimitvote true
sv_nofraglimitvote true
sv_nopointlimitvote false
sv_notimelimitvote false
sv_nowinlimitvote true
sv_randommaprotation true
sv_survivalcountdowntime 10
sv_colorstripmethod 0
sv_maxplayers 8
sv_maxclients 8
sv_rconpassword "Password"
sv_broadcast false
sv_banfile "/path/to/banlist/bans.txt"
sv_masterip master.zandronum.com:15300
sv_maprotation true
sv_updatemaster 1
logfile "/path/to/logfile/duel32a"

// Add your maps here
addmap start
// addmap 32410m26
// addmap aurora
// addmap boo
// addmap brit10m2
// addmap brit10m7
// addmap brit11m1
// addmap brit11m5
// addmap map01
// addmap dwgo5m1
// addmap dwgo5m7
// addmap dwgo6m1
// addmap dwel2m11
// addmap fae_dlm1
// addmap fuloser
// addmap gwar20
// addmap gwar24
// addmap judas23_
// addmap king1
// addmap laz1jm1
// addmap laz1jm4
// addmap moo2d
// addmap oblivx
// addmap pobla8
// addmap sipooma
// addmap ssl2
// addmap styx8
// addmap styx1m1
// addmap udm3m3
// addmap udmxm2
// addmap uroburos
// addmap xenos9m4
// addmap xfire5
// addmap shoot
// addmap duel16

// Set the start map here
map start

// Set the dmflags and compatflags here

sv_nohealth 0
sv_noitems 0
sv_weaponstay 1
sv_oldfalldamage 0
sv_falldamage 0
sv_samelevel 1
sv_spawnfarthest 1
sv_forcerespawn 1
sv_noarmor 0
sv_noexit 0
sv_infiniteammo 0
sv_nomonsters 1
sv_monsterrespawn 0
sv_itemrespawn 1
sv_fastmonsters 0
sv_nojump 0
sv_nofreelook 0
sv_respawnsuper 1
sv_nofov 0
sv_noweaponspawn 0
sv_nocrouch 0
sv_coop_loseinventory 0
sv_coop_losekeys 0
sv_coop_loseweapons 0
sv_coop_losearmor 1
sv_coop_losepowerups 1
sv_coop_loseammo 0
sv_coop_halveammo 1
sv_allowjump 1
sv_allowcrouch 1

sv_weapondrop 0
sv_norunes 0
sv_instantreturn 1
sv_noteamswitch 1
sv_noteamselect 0
sv_doubleammo 0
sv_degeneration 0
sv_bfgfreeaim 1
sv_barrelrespawn 0
sv_norespawninvul 0
sv_shotgunstart 1
sv_samespawnspot 0
sv_keepteams 0
sv_keepfrags 0
sv_norespawn 0
sv_losefrag 0
sv_infiniteinventory 0
sv_forcegldefaults 0
sv_norocketjumping 0
sv_awarddamageinsteadkills 0
sv_forcealpha 0
sv_killallmonsters 0
sv_noautomap 0
sv_noautomapallies 0
sv_disallowspying 0
sv_chasecam 0
sv_disallowsuicide 0
sv_noautoaim 0
sv_coop_spactorspawn 0

sv_noidentifytarget 0
sv_applylmsspectatorsettings 0
sv_nocoopinfo 0
sv_nounlagged 0
sv_unblockplayers 0

compat_shortex 0
compat_stairs 0
compat_limitpain 1
compat_silentpickup 0
compat_nopassover 0
compat_soundslots 0
compat_wallrun 0
compat_notossdrops 0
compat_useblocking 0
compat_nodoorlight 0
compat_ravenscroll 0
compat_soundtarget 0
compat_dehhealth 0
compat_trace 0
compat_dropoff 0
compat_boomscroll 0
compat_invisibility 0
compat_limited_airmovment 0
compat_plasmabump 0
compat_instantrespawn 0
compat_disabletaunts 0
compat_originalsoundcurve 0
compat_oldintermission 0
compat_disablestealthmonsters 0
compat_oldradiusdmg 0
compat_nocrosshair 0
compat_oldweaponswitch 0
compat_silentinstantfloors 0
compat_sectorsounds 0
compat_missileclip 0
compat_crossdropoff 0

compat_netscriptsareclientside 0
compat_clientssendfullbuttoninfo 0
compat_noland 0
compat_oldrandom 0
compat_nogravity_spheres 0

I've tried it with all the maps added to the maplist and only START added to the maplist, makes no difference. The last line that logfile says is "Player exited the level." So it's somehow crashing when it realizes someone left the START map.
1. Load server from command line using the config listed above, with the following WADs: skulltag_actors.pk3, skulltag_data_126.pk3, duel32a.pk3.

2. Start server. Connect to server from any client.

3. Pick a map from the START lobby.

4. Server will freeze, viewing program stats shows that server is using 100% CPU.
Not sure if isolated to Ubuntu or just Linux alone.
No tags attached.
Issue History
2012-10-30 06:42Camo YoshiNew Issue
2012-10-30 06:43Camo YoshiNote Added: 0005254
2012-10-30 08:44Konar6Note Added: 0005255
2012-10-30 09:11unknownnaNote Added: 0005259
2012-10-30 09:11unknownnaStatusnew => confirmed
2012-10-30 09:12unknownnaNote Edited: 0005259bug_revision_view_page.php?bugnote_id=5259#r2873
2012-10-30 20:53Torr SamahoNote Added: 0005260
2012-10-31 04:31Camo YoshiNote Added: 0005262
2012-10-31 06:22unknownnaNote Added: 0005263
2012-11-03 19:09Torr SamahoAssigned To => Torr Samaho
2012-11-03 19:09Torr SamahoStatusconfirmed => assigned
2012-11-03 19:27Torr SamahoNote Added: 0005292
2012-11-03 19:28Torr SamahoStatusassigned => needs testing
2012-11-03 19:57unknownnaNote Added: 0005296
2012-11-03 19:58Torr SamahoNote Added: 0005297
2012-11-03 19:59Torr SamahoStatusneeds testing => resolved
2012-11-03 19:59Torr SamahoFixed in Version => 1.1
2012-11-03 19:59Torr SamahoResolutionopen => fixed
2018-09-30 21:10Blzut3Statusresolved => closed

Notes
(0005254)
Camo Yoshi   
2012-10-30 06:43   
Also, I marked this as High as it could be potentially fatal to major Duel32 hosters such as Funcrusher, Grandvoid, etc.
(0005255)
Konar6   
2012-10-30 08:44   
This isn't related to duel32. Steps to reproduce are:

1. start a server with only one map in the rotation
2. sv_maprotation true
3. sv_randommaprotation true
4. exit the level
(0005259)
unknownna   
2012-10-30 09:11   
(edited on: 2012-10-30 09:12)
Good job, Konar6. I can confirm the issue. However, according to Camo Yoshi, it doesn't matter whether there are multiple maps or not present in the maplist.

Quote from Camo Yoshi
I've tried it with all the maps added to the maplist and only START added to the maplist, makes no difference.


(0005260)
Torr Samaho   
2012-10-30 20:53   
Did this already happen in 98d?
(0005262)
Camo Yoshi   
2012-10-31 04:31   
Not sure. I can test to see if that's the case if I have time.
(0005263)
unknownna   
2012-10-31 06:22   
It also freezes in 98d.
(0005292)
Torr Samaho   
2012-11-03 19:27   
This should fix the freezes when there is only one map in the rotation. BTW: I can't confirm that anything freezes when there is more than one map in the rotation. Did anybody else experience this?
(0005296)
unknownna   
2012-11-03 19:57   
Quote from Torr Samaho
This should fix the freezes when there is only one map in the rotation.

It fixed the issue.
(0005297)
Torr Samaho   
2012-11-03 19:58   
Ok. I'll consider this resolved then. If somebody manages to make it freeze with more than one map in the rotation (and without mods loaded), please reopen the ticket.