Page 1 of 2
Dedicated server crashes when loading one map
Posted: 27 Jul 2013, 20:54
by saturda
Hello!
Me and my friends have a dedicated server running on Debian Linux 7.0 (with the latest updates) and we're using the latest ManiaPlanetServer software.
So far we got about 30 maps, and everything works fine - well, until today.
This morning I received a map from my brother and uploaded it to the server. Added it to the TMStadiumB.txt, as I usually do. Then I restarted the server (and Xaseco2) and the first time we loaded the map it worked allright.
But when the map loads a second time, the server crashes. I have tried to restart the server a couple of times, but with the same problem.
After the server crashes I find the following line in /var/logs/syslog
Code: Select all
Jul 27 21:21:33 atlantis-14 kernel: [86082.946269] ManiaPlanetServ[7552]: segfault at 7c ip 00000000083db2a4 sp 00000000ffabeda8 error 4 in ManiaPlanetServer[8048000+150f000]
This event only happens with this map. The user that runs the server have full rights to the file and I've tried to load the map in the editor in-game and then transfer it back to the server, but with the same result.
Anyone got any idea of why this happens?
I've been googling the problem and found a couple of threads about segfault, but it does not really fit to my problem, since everything else works, besides this map. The map have no strange or custom made blocks.
Best regards,
saturday_sun
Re: Dedicated server crashes when loading one map
Posted: 27 Jul 2013, 21:07
by TMarc
Does the map use any signs or music which are perhaps not accessible at the moment?
You said you tried to open it, did you also recalculate the lightmap?
I'm not sure if there is a separate crashlog.
Would you mind to upload it here, so others can look at the map?
Re: Dedicated server crashes when loading one map
Posted: 28 Jul 2013, 09:18
by saturda
Good morning!
Thanks for the reply.
I don't think there are any elements that links to other objects or files. Have a look:
http://89.233.253.127/~saturday/Chakotay3.Map.Gbx
Regards,
Saturday
Re: Dedicated server crashes when loading one map
Posted: 28 Jul 2013, 15:13
by TGYoshi
Same issue here since like two days.
I expect it only occurs on maps saved since the latest update.
Re: Dedicated server crashes when loading one map
Posted: 28 Jul 2013, 23:54
by Tipiizor
Had same problem, updated dedicated server, problem solved.
Re: Dedicated server crashes when loading one map
Posted: 29 Jul 2013, 10:59
by abgematzt
TGYoshi wrote:Same issue here since like two days.
I expect it only occurs on maps saved since the latest update.
Same problem.. which server version you have now?
Re: Dedicated server crashes when loading one map
Posted: 29 Jul 2013, 11:14
by w1lla
It can happen that the Mood of the map has changed inside the dedicated.
In Dedicated/Client Mood day became Day48. So in that case the servercontroller tries to get a mood which exists in the old code but not in the New code.
In Records_eyepiece the moods are still Day. and not Day48 etc. Try to change that and it might work.
Or Nadeo needs to change the code.
Even though in the mapheader
and not Day48.
Re: Dedicated server crashes when loading one map
Posted: 29 Jul 2013, 12:30
by HaagseSmurf
w1lla wrote:In Records_eyepiece the moods are still Day. and not Day48 etc. Try to change that and it might work.
Or Nadeo needs to change the code.
Even though in the mapheader
and not Day48.
For Eyepiece you can use the updated GBX Data Fetcher module (v2.5) from
http://www.xaseco.org/tools.php -> Download and replace includes/gbxdatafetcher.inc.php with the new one.
Check here the report
http://www.tm-forum.com/viewtopic.php?f ... &start=315
But i doubt that problem from eyepiece or the change moods suddenly leads into crashes because that problem was allready there since the release of Valley at the 4th of July.
We use the dedicated from 24-7-2013 and have no problems in adding maps (sofar),
http://files.maniaplanet.com/ManiaPlane ... -07-24.zip
saturda wrote:This morning I received a map from my brother and uploaded it to the server. Added it to the TMStadiumB.txt, as I usually do. Then I restarted the server (and Xaseco2) and the first time we loaded the map it worked allright. But when the map loads a second time, the server crashes. I have tried to restart the server a couple of times, but with the same problem.
Its just a workaround to add the map to the server and not a real solution but have you tried uploading the map to maniaexchange
http://tm.mania-exchange.com/ and then added the map to the server with /admin add xxxx (xxxx = the number of the map on maniaexchange)? Maybe you can see if there is something wrong with the map when you upload it to maniaexchange. And when there isnt a problem with adding the map to maniaexchange i wonder if the servercrashes still occur after adding the map to the server by maniaexchange.
Greetz,
Re: Dedicated server crashes when loading one map
Posted: 29 Jul 2013, 22:21
by neonova
Well I had the same problem with my new map.
Server crashed totally (not even an error warning).
I found out what the problem is.
The problem occurs when you add on object from the item mode (f4 in the editor) to an outdated server. If you update your server to the latest version (24 july) it will working fine.
For trackbuilders
If you want to solve this issue so your map can run on outdated servers, don't use items from the item mode.
O, and don't think you can solve this by deleting these items in your map, because that doesn't work! When you saved your map with those items you need to build your map from scratch (totally new)!
Re: Dedicated server crashes when loading one map
Posted: 30 Jul 2013, 12:35
by abgematzt
Yehaaa.. its fixed.
Server admin update today the dedicated server version... and it runs
