My Server crashed

Miner59
Member
 
Posts: 46
Joined: Mon Sep 22, 2014 19:14

My Server crashed

by Miner59 » Fri Oct 31, 2014 06:43

Hi,
tonight my small server crashed. The same crash happened maybe 2 days before, so I decided to report it on this forum.

Here's the crash copied from console:

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
00:23:53: ACTION[ServerThread]: XX digs paragenv7:dirt at (-148,9,2)
00:24:02: ERROR[main]: ERROR: An unhandled exception occurred: ...Desktop/minetest-master/bin/../builtin/game/misc.lua:34: bad argument #1 to 'get_player_privs' (string expected, got userdata)
00:24:02: ERROR[main]: stack traceback:
00:24:02: ERROR[main]:    [C]: in function 'get_player_privs'
00:24:02: ERROR[main]:    ...Desktop/minetest-master/bin/../builtin/game/misc.lua:34: in function 'check_player_privs'
00:24:02: ERROR[main]:    ...sktop/minetest-master/bin/../mods/protector/init.lua:95: in function 'can_dig'
00:24:02: ERROR[main]:    ...est-master/bin/../mods/plantlife/plants_lib/init.lua:465: in function 'node_is_owned'
00:24:02: ERROR[main]:    ...t-master/bin/../mods/plantlife/flowers_plus/init.lua:197: in function <...t-master/bin/../mods/plantlife/flowers_plus/init.lua:174>

In thread b4cdf740:
/home/XX/Desktop/minetest-master/src/main.cpp:1955: int main(int, char**): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD b1c2ab40:
#0  virtual void* CurlFetchThread::Thread()
DEBUG STACK FOR THREAD b4cdf740:
#0  int main(int, char**)
(Leftover data: #1  Dedicated server branch)
(Leftover data: #2  virtual void ServerMap::save(ModifiedState))
(Leftover data: #3  void ItemStack::serialize(std::ostream&) const)
./mt: Zeile 3:  2291 Abgebrochen             (Speicherabzug geschrieben) ./bin/minetest --server --config /home/XX/Desktop/minetest-master/minetest.conf --worldname "3009"


There were 3 players on the server when it crashed.
The OS it was running is Ubuntu 12.04.

And the protector mod I use has maybe triggered this, it is this mod:

https://forum.minetest.net/viewtopic.php?f=11&t=9376&hilit=protector

So maybe move it if this belongs to the protector mods thread.

Goodbye
 

User avatar
Mg
Member
 
Posts: 86
Joined: Sun Mar 02, 2014 20:49
GitHub: LeMagnesium
IRC: ElectronLibre Mg
In-game: Mg

Re: My Server crashed

by Mg » Fri Oct 31, 2014 12:39

Ok. I see. There is a problem with the mod flowers_plus. Apparently it use plant_lib api. After placing a node, protector check the privileges. Do you have all the privileges?
In the game builtin files, the get_player_privs need a string (like "Mg", or "Miner59") to work. Flower_plus gave plant_lib, which gave protector, which gave builtin a userdata (pointer on a player object I suppose). You're probably right, I think it's protector the cause of the problem, but normally you could be able to use plant_lib (plant_life modpack) and protector. Have you tried another area protection mod?
The best thing you can do if you want to keep using protector is asking VanessaE what is wrong. Or you can use another area protection mod.
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

Re: My Server crashed

by kaeza » Fri Oct 31, 2014 13:14

You seem to be using an older version of `plantlife` and/or `protector`. Try updating to latest versions and try again.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

Miner59
Member
 
Posts: 46
Joined: Mon Sep 22, 2014 19:14

Re: My Server crashed

by Miner59 » Sat Nov 01, 2014 12:28

Ok, thanks. I think it is solved now.

Problem was that I used a old version of plantlife mod. In newer versions of plantlife this is fixed.
Old versions of plants_lib had a check which protection mod is used, and it confuses it with a protection mod from zeg9, so it calls it with invalid parameters.

I was just a little bit confused when I got the crash because I thought it was an error in a builtin lua file...
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 6 guests

cron