Server 0.4.6 on Linux Mint 13 Lave issue?

dslynx
New member
 
Posts: 7
Joined: Mon Mar 25, 2013 19:24

Server 0.4.6 on Linux Mint 13 Lave issue?

by dslynx » Sat Apr 20, 2013 03:07

Hello,

I hope I am providing enough information to get some help. We have been playing on 0.4.5 without issues for a while. I just upgraded the server (on Linux Mint 13) and clients (all on Windows XP) yesterday to 0.4.6. The process I used for the server was to build 0.4.6 with 'cmake . -DRUN_IN_PLACE=1' and copy the files into the ~/minetest folder over top of the 0.4.5 files except for the 'worlds' folder.

Everything appeared to be working fine till tonight. We had me, my 2 kids, and 2 of their friends playing all at the same time. We decided to dump a bucket of lava onto one of their houses to watch it burn, and it was cool... for about 10 seconds. Then we all received a "Server shutting down" message. At first, I blamed my brother, so I called to yell at him and he said he hadn't done anything, so I ssh'd in and checked the uptime. Sure enough, uptime hadn't reset. So, I checked to see if the server was running and it wasn't. So, I restarted it. My son logged back in and we thought we were fine. Before a second person could connect, the server crashed again. Here is what it is saying:

(home dir changed to protect the guilty.)

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Automatically selecting world at [/home/username/minetest/bin/../worlds/world]
22:53:14: ACTION[main]:         .__               __                   __
22:53:14: ACTION[main]:   _____ |__| ____   _____/  |_  ____   _______/  |_
22:53:14: ACTION[main]:  /     \|  |/    \_/ __ \   __\/ __ \ /  ___/\   __\
22:53:14: ACTION[main]: |  Y Y  \  |   |  \  ___/|  | \  ___/ \___ \  |  |
22:53:14: ACTION[main]: |__|_|  /__|___|  /\___  >__|  \___  >____  > |__|
22:53:14: ACTION[main]:       \/        \/     \/          \/     \/
22:53:14: ACTION[main]: World at [/home/username/minetest/bin/../worlds/world]
22:53:14: ACTION[main]: Server for gameid="minetest" listening on port 30000.
creative inventory size: 150
creative inventory size: 150
22:53:28: ACTION[ServerThread]: dslynx joins game. List of players: dslynx
22:53:37: ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: error: ...i/minetest/bin/../games/common/mods/default/init.lua:2450: attempt to call field 'cool_lava_flowing' (a nil value)
22:53:37: ERROR[main]: stack traceback:

In thread f73dd700:
/home/username/minetest/src/main.cpp:1967: int main(int, char**): Assertion '0'                                                                                                           failed.
Debug stacks:
DEBUG STACK FOR THREAD f73dd700:
#0  int main(int, char**)
(Leftover data: #1  Dedicated server branch)
(Leftover data: #2  virtual void ServerMap::save(ModifiedState))
(Leftover data: #3  virtual void ServerMap::saveBlock(MapBlock*))
Aborted (core dumped)


Now, after restarting, I can log in for about 10 seconds before it crashes again. I'm hoping there might be a quick fix to remove this block so we can continue building on this world.

Along with this note, we had a lava block placed at the top of a tower prior to upgrading and it never seemed to be a problem. It wasn't till we added this lava block after the upgrade that it began to crash.

Thanks for any help.
James
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Sat Apr 20, 2013 09:28

That is strange. Line 2450 in default/init.lua doesnt try to call cool_lava_flowing.

Please make sure that you have updated common to 0.4.6 correctly. Try redownloading common for 0.4.6 and replace the init.lua you have in games/common/mods/default/init.lua with the one you downloaded.
 

dslynx
New member
 
Posts: 7
Joined: Mon Mar 25, 2013 19:24

by dslynx » Sun Apr 21, 2013 01:18

Thanks, I'll keep an eye out for it next time. I fiddled with it for a few hours and then ended up going back to the world prior to upgrading (luckily, I had a backup). We probably only lost a few hours of work.

This time, I'm going to run a clean version of 0.4.6 and just copy the world folder into it and edit the config to make me admin again.

James
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 5 guests

cron