ERROR: program tried to execute code outside VM

7 replies [Last post]
*Nasty-Jobber*
Offline
Joined: Jan 2011
Posts:

Hi
I know this has been on the forum before but none of the suggestions on here have helped .

I am using Debian wheezy on my server with openarena-0.8.8 and xp-oa-2.3 it is only when i add the excessive mod to the game it gives this error.

----- Server Shutdown (Server crashed: program tried to execute code outside VM


Kieron / Jobber

*Nasty-Jobber*
Offline
Joined: Jan 2011
Posts:
Re: ERROR: program tried to execute code outside VM

Hi Again

Is there nobody that has come accross this before and found a solution.

At wits'' end

Regards

Kieron / Nasty-Jobber

*Nasty-Jobber*
Offline
Joined: Jan 2011
Posts:
Re: ERROR: program tried to execute code outside VM

Hi Again

Is there nobody that has come accross this before and found a solution.

At wits'' end

Regards

Kieron / Nasty-Jobber

PITBULL[ERA]
Offline
Joined: Feb 2006
Posts:
Re: ERROR: program tried to execute code outside VM

Hello there,

I can see you are running OA, is it possible that it is related to the vm_game cvar?

vm_game "0": toggle the virtual machine interpreter, cgame can switch between being loaded as a binary .dll or an interpreted .qvm at the change of this cvar.

Maybe try toggling this value on startup and see how it goes Happy

*Nasty-Jobber*
Offline
Joined: Jan 2011
Posts:
Re: ERROR: program tried to execute code outside VM

Thanks l will give this a try, the error has only started happening since I changed to 64 bit server. Is ok on an old Ubuntu server os.

*Nasty-Jobber*
Offline
Joined: Jan 2011
Posts:
Re: ERROR: program tried to execute code outside VM

I have tried this and it seems to have no affect still has the error so will have to keep looking, thank you for you help.

Kieron

*Nasty-Jobber*
Offline
Joined: Jan 2011
Posts:
Re: ERROR: program tried to execute code outside VM

Hi
We had to do our own compile of openarena and now it is working.

Thankyou
Kieron

psyche699
Offline
Joined: Aug 2021
Posts:
Re: ERROR: program tried to execute code outside VM

Hello,
I know this post has been "inactive" for a while.But I currently have the same problem.I am using a vm to run a dedicated OpenArena server.This one works with the mods delivered.But if I put the E + mod it gives me the same error:
ERROR: VM program counter out of range in OP_LEAVE

My start order is: ./oa_ded.x86_64 + set net_port {{SERVER_PORT}} + set fs_game excessiveplus + set dedicated 2 + exec server.cfg + map oa_reptctf11 + set vm_game 0

If I change the parameter + set vm_game 0 by + set vm_game 1 it gives me another error:
ERROR: VM program counter out of range in OP_LEAVE
I do not know how to do.Recompilation did not work for me.
An idea ?