Dedicated server crashes when loading one map

Moderator: NADEO

saturda
Posts: 3
Joined: 27 Jul 2013, 20:40

Dedicated server crashes when loading one map

Post 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
User avatar
TMarc
Posts: 15255
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: Dedicated server crashes when loading one map

Post 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?
saturda
Posts: 3
Joined: 27 Jul 2013, 20:40

Re: Dedicated server crashes when loading one map

Post 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
User avatar
TGYoshi
Posts: 795
Joined: 15 Mar 2011, 16:59

Re: Dedicated server crashes when loading one map

Post by TGYoshi »

Same issue here since like two days.

I expect it only occurs on maps saved since the latest update.
=3
Tipiizor
Posts: 560
Joined: 17 Aug 2011, 01:19

Re: Dedicated server crashes when loading one map

Post by Tipiizor »

Had same problem, updated dedicated server, problem solved.
OS: Windows 7 Ultimate x64
CPU: QuadCore Intel Core i5-2500K@3.4GHz
RAM: 2x G Skill F3-12800CL9-4GBXL
GPU: Geforce GTX 970 EXOC
Motherboard: Asus P8P67-M
HDD(s): Sandisk ultra Pro II (240 Go) / WDC WD10EACS-14ZJB0 (931 Go)
Sound: Realtek ALC887
User avatar
abgematzt
Posts: 53
Joined: 01 Jun 2011, 17:23
Location: Germany/Ludwigshafen
Contact:

Re: Dedicated server crashes when loading one map

Post 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?
User avatar
w1lla
Posts: 2287
Joined: 15 Jun 2010, 11:09
Location: Netherlands
Contact:

Re: Dedicated server crashes when loading one map

Post 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

Code: Select all

mood="Day"
and not Day48.
TM² Info
SM Info
QM Info

OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs
HaagseSmurf
Posts: 2291
Joined: 13 Apr 2011, 19:46
Contact:

Re: Dedicated server crashes when loading one map

Post 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

Code: Select all

mood="Day"
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,
HaagseSmurf

Check Smurfen.net and / or Smurfen.nu for all info.
You can also like our facebookpage at FaceBook Smurfen.net.
Or just visit
our Smurfen.net Canyon servers,
the Smurfen.net Valley and Royalserver.
neonova
Posts: 3
Joined: 18 Oct 2011, 09:45

Re: Dedicated server crashes when loading one map

Post 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)!
User avatar
abgematzt
Posts: 53
Joined: 01 Jun 2011, 17:23
Location: Germany/Ludwigshafen
Contact:

Re: Dedicated server crashes when loading one map

Post by abgematzt »

Yehaaa.. its fixed.
Server admin update today the dedicated server version... and it runs :)
Post Reply

Return to “Dedicated Server”

Who is online

Users browsing this forum: No registered users and 2 guests