Minetest crashes

SZab
New member
 
Posts: 1
Joined: Mon Feb 11, 2013 17:34

Minetest crashes

by SZab » Mon Feb 11, 2013 17:35

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
18:31:50: ERROR[main]: TextureSource::buildMainAtlas(): Atlas is full, not adding more textures.
Loaded texture: /home/szymek/minetest/celeron55-minetest-2c362ba/textures/base/pack/sunrisebg.png
Font size: 8 15
18:31:55: ACTION[ServerThread]: SZAb leaves game. List of players:
18:32:03: ERROR[main]: ServerError: LuaError: error: ...mods/minetest/animals_modpack/mobf_settings/init.lua:38: attempt to call field 'settings_save' (a nil value)
18:32:03: ERROR[main]: stack traceback:
minetest: pthread_mutex_lock.c:312: __pthread_mutex_lock_full: Assertion `(-(e)) != 3 || !robust' failed.

Minetest crashes when i try to use inventory GUI...
 

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

by PilzAdam » Mon Feb 11, 2013 17:40

The problem is in the mobf_settings mod.
 

User avatar
Topywo
Member
 
Posts: 1718
Joined: Fri May 18, 2012 20:27

by Topywo » Mon Feb 11, 2013 19:41

SZab wrote:Minetest crashes when i try to use inventory GUI...


Did you install the latest version of the animals modpack (2.04) ?
 

BZab
Member
 
Posts: 126
Joined: Mon Jan 28, 2013 10:04

by BZab » Mon Feb 11, 2013 21:20

@up yes, he does
@down yesterday compiled from Git ;)
Last edited by BZab on Tue Feb 12, 2013 17:22, edited 1 time in total.
 

User avatar
Topywo
Member
 
Posts: 1718
Joined: Fri May 18, 2012 20:27

by Topywo » Mon Feb 11, 2013 22:47

BZab wrote:@up yes, he does


I use a minetest version of 29 or 30 january 2013, 12472a4 and the mobf 2.04. I don't get errors. Maybe it's the minetest version 2c362ba?
 

User avatar
Topywo
Member
 
Posts: 1718
Joined: Fri May 18, 2012 20:27

by Topywo » Fri Feb 15, 2013 17:26

After installing the latest minetest version and latest MOBF framework (animals-mod) I got also the line 38 setting_save nil-value error) when:
- playing under advanced with creative, as soon as I pressed a forward button in the inventory
- typing /mobf_settings and making a change under the settings-menu

Removing the s behind settings in the mobf_settings folders' init.lua at line 38 looks to solve those problems.

/home/topywo/celeron55-minetest-30b9a4d-test/mods/minetest/animals_modpack-master/mobf_settings:

function mobf_settings.save()
if not minetest.is_singleplayer() then
minetest.settings_save()
end
--singleplayer saves automaticaly
end

into:

function mobf_settings.save()
if not minetest.is_singleplayer() then
minetest.setting_save()
end
--singleplayer saves automaticaly
end

Probably this was happening also with the lates minetest versions.

Though I don't know why an older version (see my previous post) worked, with the same MOBF framework version (2.04), since I don't see a change in the lua_api.txt (where I saw the "s" wasn't in use).
 

BZab
Member
 
Posts: 126
Joined: Mon Jan 28, 2013 10:04

by BZab » Sat Feb 16, 2013 16:47

PS change only that one, or all "minetest.settings_save()"?
 

User avatar
Topywo
Member
 
Posts: 1718
Joined: Fri May 18, 2012 20:27

by Topywo » Sat Feb 16, 2013 20:31

BZab wrote:PS change only that one, or all "minetest.settings_save()"?


Only that one s on line 38.

If that doesn't help, you might consider deleting the mobf_settings folder.
 

BZab
Member
 
Posts: 126
Joined: Mon Jan 28, 2013 10:04

by BZab » Sat Feb 16, 2013 20:59

Works ;)
At least that ;)
 

User avatar
Tedypig
Member
 
Posts: 284
Joined: Tue Mar 05, 2013 12:33
IRC: Piggybear87
In-game: Piggybear

by Tedypig » Fri Mar 15, 2013 16:45

Topywo wrote:After installing the latest minetest version and latest MOBF framework (animals-mod) I got also the line 38 setting_save nil-value error) when:
- playing under advanced with creative, as soon as I pressed a forward button in the inventory
- typing /mobf_settings and making a change under the settings-menu

Removing the s behind settings in the mobf_settings folders' init.lua at line 38 looks to solve those problems.

/home/topywo/celeron55-minetest-30b9a4d-test/mods/minetest/animals_modpack-master/mobf_settings:

function mobf_settings.save()
if not minetest.is_singleplayer() then
minetest.settings_save()
end
--singleplayer saves automaticaly
end

into:

function mobf_settings.save()
if not minetest.is_singleplayer() then
minetest.setting_save()
end
--singleplayer saves automaticaly
end

Probably this was happening also with the lates minetest versions.

Though I don't know why an older version (see my previous post) worked, with the same MOBF framework version (2.04), since I don't see a change in the lua_api.txt (where I saw the "s" wasn't in use).


Worked like a charm. Thank you.
01010100 01100101 01100100 01111001 01110000 01101001 01100111
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 6 guests

cron