Topic: Server Crash : VM_Free(qagame) on running vm

Hello my fellow RTCW diehards smile

I've been searching the forums for a solution to this problem but coming up empty. The server crashes with this error when a player leaves but it could be random as well, still testing that.

Has anyone had or seen this problem? Sorry if it has been asked before. Do I need to share more info? (logs, configs)

broadcast: print "Werkin^7 disconnected\n"
ClientDisconnect: 0
==== ShutdownGame ====
----- Server Shutdown (Server fatal crashed: VM_Free(qagame) on running vm) -----
Sending heartbeat to master.rtcwcoop.com
Sending heartbeat to master.gamespy.com:27900
Sending heartbeat to master0.gamespy.com
Sending heartbeat to clanservers.net
Sending heartbeat to master.rtcwcoop.com
Sending heartbeat to master.gamespy.com:27900
Sending heartbeat to master0.gamespy.com
Sending heartbeat to clanservers.net
==== ShutdownGame ====
AAS shutdown.
forcefully unloading qagame vm
---------------------------

RTCW
will
NEVER
die!

Re: Server Crash : VM_Free(qagame) on running vm

show us the full logs if possible (and configs)

3 (edited by Heisenberg 2014-07-01 23:08:41)

Re: Server Crash : VM_Free(qagame) on running vm

fretn wrote:

show us the full logs if possible (and configs)

thanks for the reply fretn.

I tried the same setup on different piece of hardware and operating systems. So far I've tried :

* x64 version on Server 2012 r2
* x86 version on XP (it's actually a POSready OS but exact same as XP minus the bloat)
* Stripping the config file to what I think are just there bare essentials although I'm still not sure what the bare essentials are.
* only using the bare minimum pk3 files but I'm not sure what exactly is needed

Attached are my logs, server config and bat file all zipped up.

I would love to know all of the possible settings I am able to set and which ones are obsolete as well. Is there updated list somewhere?

Feel free to edit my server.cfg in any way that you can improve it. I would really appreciate that.

Looking forward to a resolution and improved server config / settings. Thanks for your help!

Post's attachments

rtcwcoop.zip 2.25 kb, 3 downloads since 2014-07-01 

You don't have the permssions to download the attachments of this post.
RTCW
will
NEVER
die!

Re: Server Crash : VM_Free(qagame) on running vm

everything looks okay in your setup.
here you can find some wikipages with more info on cvars and commands: https://code.google.com/p/bzzwolfsp/w/list

we'll try to figure out what goes wrong

Re: Server Crash : VM_Free(qagame) on running vm

Good to know the setup looks OK.

Yeah it's driving me nuts but I guess the solution is out of my control.

Let me know what I can do to help pinpoint culprit.

Thanks again

-H

RTCW
will
NEVER
die!

Re: Server Crash : VM_Free(qagame) on running vm

when you are on irc, we can try some things, in what timezone are you ?

7 (edited by wolfmp 2014-07-03 16:22:38)

Re: Server Crash : VM_Free(qagame) on running vm

This happen to me also, MAA helped me and it happen to be a CVAR issue. I'm not sure exactly which CVAR causes the crash but try this cfg and build off of it. I would add one line at a time till you find the culprit.

set sv_allowdownload "1"
set sv_pure "1"

// Logs
//set g_log "server.log"
//set g_logsync "1"
//set logfile "2"

// Setserver cvars and hostname
set sv_master1 "master.rtcwcoop.com"
set sv_master2 "wolfmaster.idsoftware.com"
set sv_master3 "master.qtracker.com"
set sv_master4 "wolfmaster.s4ndmod.com"
set sv_master5 "master.ioquake3.org"
set sv_hostname "CHANGE"
set rconpassword ""

//Game Options
set g_freeze "0"
set g_shove "1"
set g_gameskill "2"
set g_spawnpoints "0"
set g_antilag "0"
set g_skipcutscenes "1"
set g_maxlives "0"
set g_sharedlives "0"
set g_friendlyfire "1"
set g_reinforce "1"
set g_gametype "2"
set g_airespawn "0"
set sv_maxcoopclients "4"
set sv_maxrate "0"
seta g_allowVote "1"

//exec sprotate.cfg
coopmap escape1

Re: Server Crash : VM_Free(qagame) on running vm

fretn wrote:

when you are on irc, we can try some things, in what timezone are you ?

excellent, my timezone is Eastern Time. Let me know when you want me to be on IRC and I'll be there. Looking forward to it, thanks fretn.

wolfmp wrote:

This happen to me also, MAA helped me and it happen to be a CVAR issue. I'm not sure exactly which CVAR causes the crash but try this cfg and build off of it. I would add one line at a time till you find the culprit.

set sv_allowdownload "1"
set sv_pure "1"

// Logs
//set g_log "server.log"
//set g_logsync "1"
//set logfile "2"

// Setserver cvars and hostname
set sv_master1 "master.rtcwcoop.com"
set sv_master2 "wolfmaster.idsoftware.com"
set sv_master3 "master.qtracker.com"
set sv_master4 "wolfmaster.s4ndmod.com"
set sv_master5 "master.ioquake3.org"
set sv_hostname "CHANGE"
set rconpassword ""

//Game Options
set g_freeze "0"
set g_shove "1"
set g_gameskill "2"
set g_spawnpoints "0"
set g_antilag "0"
set g_skipcutscenes "1"
set g_maxlives "0"
set g_sharedlives "0"
set g_friendlyfire "1"
set g_reinforce "1"
set g_gametype "2"
set g_airespawn "0"
set sv_maxcoopclients "4"
set sv_maxrate "0"
seta g_allowVote "1"

//exec sprotate.cfg
coopmap escape1

Thanks wolfmp! It's good to know a CVAR is the possible culprit. I've tried your config as is (no changes or additions) but it still crashes. I've even tried removing from the config as but no dice. =/

I wonder if settings are getting cached somewhere other than the server.cfg? Like appdata directory or something.

RTCW
will
NEVER
die!

9 (edited by nate 2014-07-04 00:12:13)

Re: Server Crash : VM_Free(qagame) on running vm

Config is cached in documents. Delete coop folder from documents, also delete other generated configs in coop folder and then dump this config (or any..) in coop folder and start the server, that will assure it gets recreated in documents folder with latest changes.

Re: Server Crash : VM_Free(qagame) on running vm

Yea Nate is right. Sorry I forgot to mention that.

Re: Server Crash : VM_Free(qagame) on running vm

Success! So far it seems to be stable.

The CVAR causing the problem is :

set g_doWarmup "1"

I deleted the RTCWCoop folder in the my documents and new settings took effect.

Thanks for the tip Nate.

Thanks again for sharing the server config WolfMP, it's quite useful to work from.

Have you added many things to it?

RTCW
will
NEVER
die!

Re: Server Crash : VM_Free(qagame) on running vm

I checked this and this indeed crashes the game, thanks for finding this out !

Re: Server Crash : VM_Free(qagame) on running vm

Bug fixed

Re: Server Crash : VM_Free(qagame) on running vm

MAN-AT-ARMS wrote:

Bug fixed

Thanks MAA!

RTCW
will
NEVER
die!