RUNNING WITH RIFLES
http://www.runningwithrifles.com/phpBB3/

[SOLVED][Linux Server] (Ubuntu) 0.96(d) Segmentation fault
http://www.runningwithrifles.com/phpBB3/viewtopic.php?f=5&t=1778
Page 1 of 1

Author:  rwruser001 [ Thu Jun 26, 2014 11:19 am ]
Post subject:  [SOLVED][Linux Server] (Ubuntu) 0.96(d) Segmentation fault

since version 0.96 server freezes with segmention fault shortly after a mapchange.
i was running the server with 0.95 without any problems.

Ubuntu 12.04.4 LTS (GNU/Linux 3.2.0-58-generic x86_64)
PHP Version 5.3.10-1ubuntu3.12

Code:
last screen output;

....

   command class commander_ai
   command = commander_ai
     faction 0
     base_defense 0
     border_defense 0.1
   command class commander_ai
   command = commander_ai
     faction 1
     base_defense 0.75
     border_defense 0.2
   command class faction_resources
   command = faction_resources
Segmentation fault (core dumped)


rwr_server_log;

....

12:07:55:                                         : new game created
12:07:55:                                         : command: commander_ai
12:07:55:                                         : command: commander_ai
12:07:55:                                         : command: faction_resources
12:08:17:                                         : A new peer connected from XXX.XXX.XXX.XXX.XXXXX
12:08:17:                                         :   peer index=0
12:08:17:                                         : on new connection, sending welcome for peer index 0
12:08:17:                                         : received client authentication packet
12:08:17:                                         : ok, send back resource setup
12:08:17:                                         : sending resource setup for peer index 0
12:08:17:                                         : Client accepted
12:08:17:                                         : Setting init data, machine id = 1
12:08:17:                                         : notifyPlayerConnection
12:08:17:                                         : syncWorldSituation 1
12:08:17:                                         : init data set done
12:08:17:                                         : no old character, attempt load
12:08:17:                                         : load ok from disk, xp=0.092156
12:09:33:                                         : WARNING, something wrong happening with joining to a squad
12:09:40:                                         : WARNING, something wrong happening with joining to a squad
12:09:40:                                         : WARNING, something wrong happening with joining to a squad
12:10:07:                                         : WARNING, something wrong happening with joining to a squad
12:10:07:                                         : WARNING, something wrong happening with joining to a squad
12:12:34:                                         : WARNING, something wrong happening with joining to a squad
12:12:34:                                         : WARNING, something wrong happening with joining to a squad
12:13:59:                                         : WARNING, something wrong happening with joining to a squad
12:14:05:                                         : WARNING, something wrong happening with joining to a squad
12:14:05:                                         : WARNING, something wrong happening with joining to a squad

Author:  pasik [ Thu Jun 26, 2014 6:27 pm ]
Post subject:  Re: [Linux Server] (Ubuntu) 0.96(d) Segmentation fault

Hmm, InvasionUS has been rock solid with 0.96 so far (apart from the service provider rebooting nodes once). Can you verify the md5sum of rwr_server file? The tar.gz package was changed shortly after the files were made available initially, you may have got the earlier package.

Mine says:
pasik@ny-node14:~/rwr2/running_with_rifles_server$ md5sum rwr_server
5402349d6ff5fed1f600d68784e4aa29 rwr_server

Author:  rwruser001 [ Fri Jun 27, 2014 8:22 am ]
Post subject:  Re: [Linux Server] (Ubuntu) 0.96(d) Segmentation fault

pasik wrote:
pasik@ny-node14:~/rwr2/running_with_rifles_server$ md5sum rwr_server
5402349d6ff5fed1f600d68784e4aa29 rwr_server


md5sum rwr_server
ffc2667ed56bfaa12c96aab20c57b6d3 rwr_server

i'll check that

update;
server reinstalled by using "cp -r" (5402349d6ff5fed1f600d68784e4aa29)
actually i'm running the current server, as you postet above
now i 've to wait some time if the map will change to see what happen

Author:  rwruser001 [ Mon Jul 14, 2014 2:29 pm ]
Post subject:  Re: [Linux Server] (Ubuntu) 0.96(d) Segmentation fault

had no crashes since the post above.

it seems with the new version, we can close that ticket, now.

Author:  Schroeffu [ Fri Apr 10, 2015 12:31 am ]
Post subject:  Re: [SOLVED][Linux Server] (Ubuntu) 0.96(d) Segmentation fau

Segmentation Fault could mean, an old stuck PHP-Process is still blocking your Port.
You have to find this process & kill 'em

For Linux-Servers:
See on the bottom of this Guide http://games4linux.de/howto-running-wit ... erstellen/ > Fehlerbehebungen > Segmentation Fault RWR-Server

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/