My server crashes as soon as I get on

BBmine
Member
 
Posts: 1425
Joined: Sun Jul 12, 2015 22:51
GitHub: BBmine
IRC: BBmine
In-game: Baggins

My server crashes as soon as I get on

by BBmine » Sat Jan 23, 2016 13:58

As soon as I log in, I time out. This happens every time. It worked until I did /clearobjects.
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
2016-01-23 07:50:35: ACTION[ServerThread]: ADMIN [127.0.0.1] joins game.
2016-01-23 07:50:35: ACTION[ServerThread]: ADMIN joins game. List of players: ADMIN
minetest: /build/minetest-5EsLJt/minetest-0.4.13/src/util/serialize.h:265: void writeF1000(irr::u8*, irr::f32): Assertion `i >= ((float)(s32)((-0x7FFFFFFF - 1) / 1000.0f)) && i <= ((float)(s32)((0x7FFFFFFF) / 1000.0f))' failed.
./mf: line 2:  4389 Aborted                 (core dumped) minetest --server ~/.minetest/worlds/Modfull --config ~/.minetest/Modfull.conf

Can someone help me please?
God's not dead!
I actually did mine walls before I started playing this game....
Mods, Servers, and My Youtube Channel
Let us remember Just Test on April 16.
"Together, we will make America great again!" --President Trump
Please vote for the next video I should do here
I'm the most rottenist potato in the fridge.
Copyright (c) 2017 Baggins Inc. (tm) All rights reserved.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: My server crashes as soon as I get on

by rubenwardy » Sat Jan 23, 2016 14:49

You shouldn't be using a debug build for a production server.
 

BBmine
Member
 
Posts: 1425
Joined: Sun Jul 12, 2015 22:51
GitHub: BBmine
IRC: BBmine
In-game: Baggins

Re: My server crashes as soon as I get on

by BBmine » Sat Jan 23, 2016 15:00

rubenwardy wrote:You shouldn't be using a debug build for a production server.

Debug build? What is it and how would I disable it?
God's not dead!
I actually did mine walls before I started playing this game....
Mods, Servers, and My Youtube Channel
Let us remember Just Test on April 16.
"Together, we will make America great again!" --President Trump
Please vote for the next video I should do here
I'm the most rottenist potato in the fridge.
Copyright (c) 2017 Baggins Inc. (tm) All rights reserved.
 

User avatar
maikerumine
Member
 
Posts: 946
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

Re: My server crashes as soon as I get on

by maikerumine » Sat Jan 23, 2016 15:18

Unload all mods then start world
Then add them back
 

User avatar
maikerumine
Member
 
Posts: 946
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

Re: My server crashes as soon as I get on

by maikerumine » Sat Jan 23, 2016 15:22

If you want send me your map and I will look at ti, use dropbox or the like. incluse all the mods ill see if I can reproduce the error.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: My server crashes as soon as I get on

by rubenwardy » Sat Jan 23, 2016 15:33

How did you get minetest?
You need to build with -DCMAKE_BUILD_TYPE=Release, not -DCMAKE_BUILD_TYPE=Debug
Assertion failures should only happen in debug builds, not release builds.

This assertion is usually caused be entities being outside of the 31,000 map limit somehow.
 

User avatar
maikerumine
Member
 
Posts: 946
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

Re: My server crashes as soon as I get on

by maikerumine » Sun Jan 24, 2016 21:02

FOUND IT.
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
2016-01-24 16:00:22: ACTION[main]: Irrlicht: Could not open file of texture: pig.png
2016-01-24 16:00:22: ACTION[main]: Irrlicht: Could not open file of texture: pig.png
2016-01-24 16:00:23: ERROR[main]: UNRECOVERABLE error occurred. Stopping server. Please fix the following error:
2016-01-24 16:00:23: ERROR[main]: Lua: OOM error from mod 'technic_worldgen' in callback ScriptApiEnv::environment_OnGenerated(): not enough memory
2016-01-24 16:00:23: ERROR[main]: Current Lua memory usage: 150 MB

In thread 18ec:
server.cpp:511: Server::step: A fatal error occurred: Lua: OOM error from mod 'technic_worldgen' in callback ScriptApiEnv::environment_OnGenerated(): not enough memory
Current Lua memory usage: 150 MB
Debug stacks:
DEBUG STACK FOR THREAD f50:
#0  ServerThread::Thread
#1  Server::Receive
#2  Server::ProcessData
(Leftover data: #3  Server::SendBlockNoLock)
(Leftover data: #4  Server::SendHP)
(Leftover data: #5  getCraftingResult)
DEBUG STACK FOR THREAD fc4:
#0  UpdateThread::Thread
DEBUG STACK FOR THREAD 18ec:
#0  main
#1  Server::step
(Leftover data: #2  ClientEnvironment::step)
(Leftover data: #3  Client::Receive)
(Leftover data: #4  Client::ProcessData)
(Leftover data: #5  MeshUpdateQueue::addBlock)
DEBUG STACK FOR THREAD 1be8:
#0  UpdateThread::Thread
DEBUG STACK FOR THREAD 1e04:
#0  EmergeThread::Thread
#1  ServerMap::loadBlock
#2  ServerMap::loadBlock
(Leftover data: #3  ServerMap::loadBlock)
(Leftover data: #4  ItemStack::deSerialize)


I will now rectify the problem.
 

User avatar
maikerumine
Member
 
Posts: 946
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

Re: My server crashes as soon as I get on

by maikerumine » Sun Jan 24, 2016 21:09

Okay...
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
2016-01-24 16:06:42: ERROR[main]: UNRECOVERABLE error occurred. Stopping server. Please fix the following error:
2016-01-24 16:06:42: ERROR[main]: Lua: OOM error from mod 'mg_villages' in callback ScriptApiEnv::environment_OnGenerated(): not enough memory
2016-01-24 16:06:42: ERROR[main]: Current Lua memory usage: 114 MB

In thread 5d8:
server.cpp:511: Server::step: A fatal error occurred: Lua: OOM error from mod 'mg_villages' in callback ScriptApiEnv::environment_OnGenerated(): not enough memory
Current Lua memory usage: 114 MB
Debug stacks:
DEBUG STACK FOR THREAD 45c:
#0  UpdateThread::Thread
DEBUG STACK FOR THREAD 5d8:
#0  main
#1  Server::step
(Leftover data: #2  ClientEnvironment::step)
(Leftover data: #3  Client::Receive)
(Leftover data: #4  Client::ProcessData)
(Leftover data: #5  MeshUpdateQueue::addBlock)
DEBUG STACK FOR THREAD 178c:
#0  EmergeThread::Thread
#1  ServerMap::loadBlock
#2  ServerMap::loadBlock
(Leftover data: #3  ServerMap::loadBlock)
(Leftover data: #4  ItemStack::deSerialize)
DEBUG STACK FOR THREAD 1b50:
#0  ServerThread::Thread
#1  Server::Receive
(Leftover data: #2  Server::deletingPeer)
(Leftover data: #3  RemoteClient::GetNextBlocks)
(Leftover data: #4  Server::SendHP)
(Leftover data: #5  ServerMap::loadBlock)
DEBUG STACK FOR THREAD 1c58:
#0  UpdateThread::Thread


You need to delete some mods, as you have over the limit currently and many mapgen mods working at the same time.

I suggest you start by updating ALL your mods to current.

The main cause for crash is memory leak.
 

DI3HARD139
Member
 
Posts: 144
Joined: Sat Oct 18, 2014 21:04
GitHub: DI3HARD139
IRC: DI3HARD139
In-game: DI3HARD139 DI3HARD139_

Re: My server crashes as soon as I get on

by DI3HARD139 » Sun Jan 31, 2016 08:40

Its mg_villages thats doing it. The current lua is sensitive with that mod. It crashes for me as well when running on a stable build. I get a lot of memory errors when running lua mapgens.
Servers: mt.rrhgameservers.ml = [RRH] MT-Creative (48250), RRH-Survival (48253), Unknown (48255), Minetest City (48262)
Specs = Intel Core i5-3570s 16GB DDR3 2TB HDD, Ubuntu Server 16.04.1 x64 XFCE
------------------------------------------------------------
System: Lenovo Thinkstation S30 = Intel Xeon E5-2665, 20GB DDR3 (1333MHz Non-ECC), Gigabyte GTX1060 6GB, 3.5TB Storage, Win 10 Pro x64.
 

BBmine
Member
 
Posts: 1425
Joined: Sun Jul 12, 2015 22:51
GitHub: BBmine
IRC: BBmine
In-game: Baggins

Re: My server crashes as soon as I get on

by BBmine » Sat Feb 06, 2016 17:24

DI3HARD139 wrote:Its mg_villages thats doing it. The current lua is sensitive with that mod. It crashes for me as well when running on a stable build. I get a lot of memory errors when running lua mapgens.

mg_villages is fine. After further testing I found it is due to esmobs. I even downloaded the latest version; it still crashes the server. I diabled it and now it runs smoothly.

I decided to try removing esmobs because the problems started soon after I enabled it. Badplayer didn't crash it, though. Although it did crash occasionally back then.
God's not dead!
I actually did mine walls before I started playing this game....
Mods, Servers, and My Youtube Channel
Let us remember Just Test on April 16.
"Together, we will make America great again!" --President Trump
Please vote for the next video I should do here
I'm the most rottenist potato in the fridge.
Copyright (c) 2017 Baggins Inc. (tm) All rights reserved.
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 12 guests

cron