The linux dedicated server process "arma3server" crashes with a segfault after some time.
Description
Details
- Legacy ID
- 1779134479
- Severity
- None
- Resolution
- Open
- Reproducibility
- Sometimes
- Category
- Dedicated Server
Start the server and let it run for some time.
The server was running BeCTI, Zerty's edit version 1.3.0.1, unmodified, downloaded from armaholic.
There are no mods/addons installed on the server side.
The "hardware" is a virtual machine running on Xen that was set up specifically for hosting an arma 3 server and is not being used for anything else. It is running in 32 bit mode because I read that arma runs in 32 bit only anyway.
These were the last lines visible on the console when the server crashed:
8:54:13 Error position: <_activeEnemies == 0>
8:54:13 Error Undefined variable in expression: _activeenemies
8:54:13 Error in expression <getVariable "cti_town_sideID";
_side = (_sideID) Call CTI_CO_FNC_GetSideFromID;
8:54:13 Error position: <_sideID) Call CTI_CO_FNC_GetSideFromID;
8:54:13 Error Undefined variable in expression: _sideid
8:54:13 Error in expression <!CTI_GameOver && _activeEnemies == 0>
8:54:13 Error position: <_activeEnemies == 0>
8:54:13 Error Undefined variable in expression: _activeenemies
8:54:13 Error in expression <getVariable "cti_town_sideID";
_side = (_sideID) Call CTI_CO_FNC_GetSideFromID;
8:54:13 Error position: <_sideID) Call CTI_CO_FNC_GetSideFromID;
8:54:13 Error Undefined variable in expression: _sideid
8:54:13 "Patrols :: Deleting R Alpha 1-1"
8:54:13 "Patrols :: Deleting R Alpha 2-2"
8:54:13 Error in expression <!CTI_GameOver && _activeEnemies == 0>
8:54:13 Error position: <_activeEnemies == 0>
8:54:13 Error Undefined variable in expression: _activeenemies
8:54:13 Error in expression <getVariable "cti_town_sideID";
_side = (_sideID) Call CTI_CO_FNC_GetSideFromID;
8:54:13 Error position: <_sideID) Call CTI_CO_FNC_GetSideFromID;
8:54:13 Error Undefined variable in expression: _sideid
8:54:13 Error in expression <!CTI_GameOver && _activeEnemies == 0>
8:54:13 Error position: <_activeEnemies == 0>
8:54:13 Error Undefined variable in expression: _activeenemies
8:54:13 Error in expression <getVariable "cti_town_sideID";
_side = (_sideID) Call CTI_CO_FNC_GetSideFromID;
8:54:13 Error position: <_sideID) Call CTI_CO_FNC_GetSideFromID;
8:54:13 Error Undefined variable in expression: _sideid
8:54:13 Error in expression <!CTI_GameOver && _activeEnemies == 0>
8:54:13 Error position: <_activeEnemies == 0>
8:54:13 Error Undefined variable in expression: _activeenemies
8:54:13 Error in expression <getVariable "cti_town_sideID";
_side = (_sideID) Call CTI_CO_FNC_GetSideFromID;
8:54:13 Error position: <_sideID) Call CTI_CO_FNC_GetSideFromID;
8:54:13 Error Undefined variable in expression: _sideid
8:54:13 Error in expression <!CTI_GameOver && _activeEnemies == 0>
8:54:13 Error position: <_activeEnemies == 0>
8:54:13 Error Undefined variable in expression: _activeenemies
8:54:13 Error in expression <getVariable "cti_town_sideID";
_side = (_sideID) Call CTI_CO_FNC_GetSideFromID;
8:54:13 Error position: <_sideID) Call CTI_CO_FNC_GetSideFromID;
8:54:13 Error Undefined variable in expression: _sideid
8:54:13 Error in expression <!CTI_GameOver && _activeEnemies == 0>
8:54:13 Error position: <_activeEnemies == 0>
8:54:13 Error Undefined variable in expression: _activeenemies
8:54:13 Error in expression <getVariable "cti_town_sideID";
_side = (_sideID) Call CTI_CO_FNC_GetSideFromID;
8:54:13 Error position: <_sideID) Call CTI_CO_FNC_GetSideFromID;
8:54:13 Error Undefined variable in expression: _sideid
8:54:13 Error in expression <getVariable "cti_town_sideID";
_side = (_sideID) Call CTI_CO_FNC_GetSideFromID;
8:54:13 Error position: <_sideID) Call CTI_CO_FNC_GetSideFromID;
8:54:13 Error Undefined variable in expression: _sideid
8:54:13 Error in expression <getVariable "cti_town_sideID";
_side = (_sideID) Call CTI_CO_FNC_GetSideFromID;
8:54:13 Error position: <_sideID) Call CTI_CO_FNC_GetSideFromID;
8:54:13 Error Undefined variable in expression: _sideid
8:54:13 Error in expression <!CTI_GameOver && _activeEnemies == 0>
8:54:13 Error position: <_activeEnemies == 0>
8:54:13 Error Undefined variable in expression: _activeenemies
8:54:13 Error in expression <!CTI_GameOver && _activeEnemies == 0>
8:54:13 Error position: <_activeEnemies == 0>
8:54:13 Error Undefined variable in expression: _activeenemies
8:54:13 Error in expression <!CTI_GameOver && _activeEnemies == 0>
8:54:13 Error position: <_activeEnemies == 0>
8:54:13 Error Undefined variable in expression: _activeenemies
8:54:15 "Patrols :: Deleting R Alpha 4-3"
8:54:17 "Patrols :: Deleting R Bravo 4-3"
8:54:18 "Patrols :: Deleting R Alpha 3-1"
8:54:18 "Patrols :: Deleting R Alpha 1-2"
8:54:35 Waiting for next game.
Segmentation fault (core dumped)
I have the core dump available, but even compressed, it is about 170 MiB in size, which is too large to upload it here. I can make it available on request.
The config file for the server looks like this:
passwordAdmin = "<censored>";
hostname = "TMS BeCTI Zerty's edit 1.3.0.1";
maxPlayers = 160;
motd[]= {"Welcome to our BeCTI/Zerty server", "Zerty version: 1.3.0.1"};
voteThreshold = 0.5;
voteMissionPlayers = 1;
kickduplicate = 0;
logFile = "server_console.log";
persistent = 1;
allowedLoadFileExtensions[] = {"hpp","sqs","sqf","fsm","cpp","paa","txt","xml","inc","ext","sqm","ods","fxy","lip","csv","kb","bik","bikb","html","htm","biedi"};
allowedPreprocessFileExtensions[] = {"hpp","sqs","sqf","fsm","cpp","paa","txt","xml","inc","ext","sqm","ods","fxy","lip","csv","kb","bik","bikb","html","htm","biedi"};
allowedHTMLLoadExtensions[] = {"htm","html","xml","txt"};
class Missions
{ class CTI_BECTI_ZERTY { template = "ctix_becti-zertys-edit.altis"; difficulty = "regular"; }; };
I don't know whether or not there were players logged into the server at the time of the crash, but I don't think so.
The server was first set up and started last Sunday, and has crashed two times since then.
Event Timeline
I have upgraded arma to version 1.36.128579 now, and it still crashes, usually when a mission ends.
has anyone fixed this? I'm having this same issues with my current ARMA 3 server. Version is 1.44, I'm running the server with mods.
TIA