Page 1 of 1

Main menu freezes

PostPosted: Thu May 15, 2014 16:16
by asd789
Hey guys, I've got an elemental error:
If I start minetest, the main menu opens but I can't interact! I cannot even close the window without using taskmanager.
I am using 0.4.9 on Ubuntu Studio 14.04. debug.txt is completly blank. I removed minetest from my computer and reinstalled it several times but it still doesn't work. There are no mods in the minetest folders; it's completely vanilla.
Could somebody help me, please?

Re: Main menu freezes

PostPosted: Thu May 15, 2014 16:23
by Krock
Please try to get the latest dev build NOT over the software downloader (or however it's called).

Follow the guide in "General Discussion", it's sticked.

Re: Main menu freezes

PostPosted: Fri May 16, 2014 18:20
by Hybrid Dog
̣

Re: Main menu freezes

PostPosted: Sun May 18, 2014 11:08
by asd789
Thank you Krock it works with the menu, but now minetest crashes if I try to enter any world. I imported my old stuff, maybe I did something wrong because I needed to create the "mods" folder in the minetest folder and the "worlds" folder in .minetest. could somebody tell me how to fix this?

Re: Main menu freezes

PostPosted: Sun May 18, 2014 12:40
by kaeza
Can you paste the 20 last lines of `debug.txt' (located on your `.minetest' directory)?

Re: Main menu freezes

PostPosted: Sun May 18, 2014 15:18
by asd789
13:03:23: ACTION[main]: World at [/home/damian/.minetest/worlds/welt 2]
13:03:23: ACTION[main]: Server for gameid="minetest" listening on port 58164.
creative inventory size: 667
{["level"] = 3, ["snappy"] = 3, ["choppy"] = 3, ["fleshy"] = 3}
13:03:23: ERROR[main]: ServerError: /usr/share/games/minetest/mods/skins/skins/players.lua:23: attempt to index local 'output' (a nil value)
13:03:23: ERROR[main]: stack traceback:
13:03:23: ERROR[main]: /usr/share/games/minetest/mods/skins/skins/players.lua:23: in function 'save'
13:03:23: ERROR[main]: /usr/share/games/minetest/mods/skins/skins/init.lua:44: in function 'update_player_skin'
13:03:23: ERROR[main]: /usr/share/games/minetest/mods/skins/skins/init.lua:115: in function </usr/share/games/minetest/mods/skins/skins/init.lua:111>
13:03:23: ERROR[main]: /usr/share/games/minetest/builtin/misc_register.lua:330: in function </usr/share/games/minetest/builtin/misc_register.lua:318>
13:03:23: ERROR[main]: Some exception: "...re/games/minetest/mods/mesecons/mesecons/actionqueue.lua:111: attempt to index local 'f' (a nil value)
13:03:23: ERROR[main]: stack traceback:
13:03:23: ERROR[main]: ...re/games/minetest/mods/mesecons/mesecons/actionqueue.lua:111: in function 'table2file'
13:03:23: ERROR[main]: ...re/games/minetest/mods/mesecons/mesecons/actionqueue.lua:118: in function <...re/games/minetest/mods/mesecons/mesecons/actionqueue.lua:117>
13:03:23: ERROR[main]: /usr/share/games/minetest/builtin/misc_register.lua:330: in function </usr/share/games/minetest/builtin/misc_register.lua:318>"

Re: Main menu freezes

PostPosted: Sun May 18, 2014 15:47
by Krock
asd789 wrote:
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
13:03:23: ACTION[main]: World at [/home/damian/.minetest/worlds/welt 2]
13:03:23: ACTION[main]: Server for gameid="minetest" listening on port 58164.
creative inventory size: 667
{["level"] = 3, ["snappy"] = 3, ["choppy"] = 3, ["fleshy"] = 3}
13:03:23: ERROR[main]: ServerError: /usr/share/games/minetest/mods/skins/skins/players.lua:23: attempt to index local 'output' (a nil value)
13:03:23: ERROR[main]: stack traceback:
13:03:23: ERROR[main]:    /usr/share/games/minetest/mods/skins/skins/players.lua:23: in function 'save'
13:03:23: ERROR[main]:    /usr/share/games/minetest/mods/skins/skins/init.lua:44: in function 'update_player_skin'
13:03:23: ERROR[main]:    /usr/share/games/minetest/mods/skins/skins/init.lua:115: in function </usr/share/games/minetest/mods/skins/skins/init.lua:111>
13:03:23: ERROR[main]:    /usr/share/games/minetest/builtin/misc_register.lua:330: in function </usr/share/games/minetest/builtin/misc_register.lua:318>
13:03:23: ERROR[main]: Some exception: "...re/games/minetest/mods/mesecons/mesecons/actionqueue.lua:111: attempt to index local 'f' (a nil value)
13:03:23: ERROR[main]: stack traceback:
13:03:23: ERROR[main]:    ...re/games/minetest/mods/mesecons/mesecons/actionqueue.lua:111: in function 'table2file'
13:03:23: ERROR[main]:    ...re/games/minetest/mods/mesecons/mesecons/actionqueue.lua:118: in function <...re/games/minetest/mods/mesecons/mesecons/actionqueue.lua:117>
13:03:23: ERROR[main]:    /usr/share/games/minetest/builtin/misc_register.lua:330: in function </usr/share/games/minetest/builtin/misc_register.lua:318>"

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
ERROR[main]: ServerError: /usr/share/games/minetest/mods/skins/skins/players.lua:23: attempt to index local 'output' (a nil value)

This belongs to the "skins" mod.

Re: Main menu freezes

PostPosted: Sun May 18, 2014 16:59
by asd789
Thank you Krock. I will remove it.

Re: Main menu freezes

PostPosted: Sun May 18, 2014 17:03
by asd789
I removed skins mod but minetest is still crashing.

Re: Main menu freezes

PostPosted: Sun May 18, 2014 17:15
by asd789
debug.txt shows this:

19:00:28: ACTION[main]: World at [/home/damian/.minetest/worlds/Area 51]
19:00:28: ACTION[main]: Server for gameid="minetest" listening on port 54945.
creative inventory size: 664
{["level"] = 4, ["snappy"] = 4, ["choppy"] = 4, ["fleshy"] = 4}
19:00:29: ACTION[ServerThread]: singleplayer [127.0.0.1] joins game. List of players: singleplayer
19:00:33: ERROR[ServerThread]: ERROR: An unhandled exception occurred: Cannot save chunk metadata

In thread 7f8ab9a96700:
/build/buildd/minetest-0.4.9+repack/src/server.cpp:134: virtual void* ServerThread::Thread(): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD 7f8aa8aa1700:
#0 virtual void* EmergeThread::Thread()
(Leftover data: #1 MapBlock* ServerMap::loadBlock(v3s16))
(Leftover data: #2 ServerMapSector* ServerMap::createSector(v2s16): p2d=(1,-39))
DEBUG STACK FOR THREAD 7f8ab9a96700:
#0 virtual void* ServerThread::Thread()
(Leftover data: #1 void Server::AsyncRunStep())
(Leftover data: #2 virtual void ServerMap::save(ModifiedState))
(Leftover data: #3 void ServerMap::saveMapMeta())
(Leftover data: #4 void ItemStack::serialize(std::ostream&) const)
DEBUG STACK FOR THREAD 7f8acd9907c0:
#0 int main(int, char**)
(Leftover data: #1 void Server::step(float))
(Leftover data: #2 virtual void ClientEnvironment::step(float))
(Leftover data: #3 void Client::Receive())
(Leftover data: #4 void Client::ProcessData(irr::u8*, irr::u32, irr::u16))
(Leftover data: #5 void ItemStack::deSerialize(std::istream&, IItemDefManager*))


-------------
Separator
-------------

19:01:53: ERROR[main]: Error writing configuration file: "/home/damian/.minetest/worlds/Area 51/world.mt"
19:01:53: ERROR[main]: Failed to write world config file
19:01:54: ERROR[main]: Some exception: "Cannot open database file"

and minetest itself displays this:

Re: Main menu freezes

PostPosted: Sun May 18, 2014 17:17
by Krock
asd789 wrote:I removed skins mod but minetest is still crashing.

Please post the last 20 lines of "debug.txt".


Image

Re: Main menu freezes

PostPosted: Fri May 23, 2014 11:30
by asd789
debug.txt shows this:

19:00:28: ACTION[main]: World at [/home/damian/.minetest/worlds/Area 51]
19:00:28: ACTION[main]: Server for gameid="minetest" listening on port 54945.
creative inventory size: 664
{["level"] = 4, ["snappy"] = 4, ["choppy"] = 4, ["fleshy"] = 4}
19:00:29: ACTION[ServerThread]: singleplayer [127.0.0.1] joins game. List of players: singleplayer
19:00:33: ERROR[ServerThread]: ERROR: An unhandled exception occurred: Cannot save chunk metadata

In thread 7f8ab9a96700:
/build/buildd/minetest-0.4.9+repack/src/server.cpp:134: virtual void* ServerThread::Thread(): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD 7f8aa8aa1700:
#0 virtual void* EmergeThread::Thread()
(Leftover data: #1 MapBlock* ServerMap::loadBlock(v3s16))
(Leftover data: #2 ServerMapSector* ServerMap::createSector(v2s16): p2d=(1,-39))
DEBUG STACK FOR THREAD 7f8ab9a96700:
#0 virtual void* ServerThread::Thread()
(Leftover data: #1 void Server::AsyncRunStep())
(Leftover data: #2 virtual void ServerMap::save(ModifiedState))
(Leftover data: #3 void ServerMap::saveMapMeta())
(Leftover data: #4 void ItemStack::serialize(std::ostream&) const)
DEBUG STACK FOR THREAD 7f8acd9907c0:
#0 int main(int, char**)
(Leftover data: #1 void Server::step(float))
(Leftover data: #2 virtual void ClientEnvironment::step(float))
(Leftover data: #3 void Client::Receive())
(Leftover data: #4 void Client::ProcessData(irr::u8*, irr::u32, irr::u16))
(Leftover data: #5 void ItemStack::deSerialize(std::istream&, IItemDefManager*))


-------------
Separator
-------------

19:01:53: ERROR[main]: Error writing configuration file: "/home/damian/.minetest/worlds/Area 51/world.mt"
19:01:53: ERROR[main]: Failed to write world config file
19:01:54: ERROR[main]: Some exception: "Cannt open database file"

Re: Main menu freezes

PostPosted: Fri May 23, 2014 12:39
by sfan5
Could you list all the files and folders that are in /home/damian/.minetest/worlds/Area 51/?

Re: Main menu freezes

PostPosted: Fri May 23, 2014 13:04
by twoelk
sfan5 wrote:Could you list all the files and folders that are in /home/damian/.minetest/worlds/Area 51/?


are we really allowed to know what's in Area-51? Isn't that top-secret?

Re: Main menu freezes

PostPosted: Fri May 23, 2014 15:13
by asd789
players
auth.txt
beds_player_spawns
env_meta.txt
ipban.txt
map.sqlite
map_meta.txt
mesecon_actionqueue
mod_travelnet.data
moretrees_settings.txt
rollback.txt
skins.mt
world.mt

Re: Main menu freezes

PostPosted: Fri May 23, 2014 15:15
by asd789
twoelk wrote:are we really allowed to know what's in Area-51? Isn't that top-secret?


You are, it's just a testing area. The real things are build in welt2. :-)

Re: Main menu freezes

PostPosted: Tue May 27, 2014 18:35
by asd789
Hello?

Re: Main menu freezes

PostPosted: Wed May 28, 2014 19:39
by Krock
asd789 wrote:Hello?

Hi.

If this problem still exists, put the map.sqlite int an archive and delete the original file.
Then start the world again - problem solved by deleting map data?

Re: Main menu freezes

PostPosted: Thu May 29, 2014 18:12
by asd789
It's not a world specific problem. It's similar with all other worlds.

Re: Main menu freezes

PostPosted: Thu May 29, 2014 18:57
by Krock
asd789 wrote:It's not a world specific problem. It's similar with all other worlds.

1) Get newest dev version
2) Create vanilla world
3) Works?
4) yes? enable mods step by step and you'll find out which of them caused the problem.
5) no? create a leveldb vanilla world; goto step 4

Re: Main menu freezes

PostPosted: Sun Jun 01, 2014 18:21
by asd789
1) got the newest version all the time
2) creating a vanilla world isn't possible (don't know why)
5) what's a leveldb world?

Re: Main menu freezes

PostPosted: Tue Jun 03, 2014 10:42
by Krock
asd789 wrote:1) got the newest version all the time
2) creating a vanilla world isn't possible (don't know why)
5) what's a leveldb world?

1) Ok
2) Error? Try again to make one.
3) leveldb is a backend

Re: Main menu freezes

PostPosted: Tue Jun 03, 2014 20:15
by asd789
There is no error message if I try to create a world, it just don't happen anything.
And sorry for don't understanding, but what is backend?

Re: Main menu freezes

PostPosted: Wed Jun 04, 2014 19:12
by asd789
I think it could be something with folder acces, because I'm also unable to disable or enable mods.
But I have no idea how to fix this. Please help!

Re: Main menu freezes

PostPosted: Sun Jun 15, 2014 14:36
by asd789
Problem is still not fixed, please help me!