Page 1 of 1

Minetest 4.6 - Crash on exit to menu

PostPosted: Thu Apr 11, 2013 16:53
by shadowwraith
After playing Minetest for a bit i tried to exit to the main menu and the game froze the "shutting down stuff" screen then it crashed

looking at xsession-errors there is the following crash message

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
*** glibc detected *** minetest: double free or corruption (!prev): 0x000000000258b5e0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7eb96)[0x7fc73e689b96]
minetest(_ZN13EmergeManagerD1Ev+0x130)[0x5fdf50]
minetest(_ZN6ServerD1Ev+0x1eb)[0x67e72b]
minetest(_ZN6ServerD0Ev+0x9)[0x67ec39]
minetest(_Z8the_gameRbbP12InputHandlerPN3irr14IrrlichtDeviceEPNS2_3gui8IGUIFontESsSsSsSstRSbIwSt11char_traitsIwESaIwEESsR11ChatBackendRK11SubgameSpecb+0x2072)[0x7d5842]
minetest(main+0x500f)[0x56bc3f]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7fc73e62c76d]
minetest[0x5708dd]


Minetest 4.6 running on Ubuntu Studio 12.10 (64bit)
was just updated this morning from the minetest PPA ~8am GMT and glibc is fully up to date so i don't know what to try.

PostPosted: Thu Apr 11, 2013 16:55
by PilzAdam
Known, will be fixed soon.

PostPosted: Thu Apr 11, 2013 16:58
by shadowwraith
Christ, that was quick

Does this crash occur on any other game mode?
i was on the "Build" game mode and was wondering if it happened on others as well, so that i'm not left twiddling my thumbs waiting for the bug fix

PostPosted: Fri Apr 12, 2013 12:34
by shadowwraith
UPDATE:

This *** glibc detected *** minetest: double free or corruption (!prev): 0x0000000004319a00 *** crash is occuring on both minetest_build and minetest_game and is triggered by selecting either "exit to menu" or "exit to OS"

this problem has only appeared in minetest 0.4.6, older versions did not have this problem, also as a side note minetest no longer displays an error if a required mod dependency is not met, the game just CTD's without warning.

PostPosted: Wed Apr 17, 2013 14:28
by chase.reardon
try running as admin.

PostPosted: Wed Apr 17, 2013 14:30
by PilzAdam
chase.reardon wrote:try running as admin.

That doesnt help at all. Please stop telling everyone in the forum to run Minetest as admin, nobody should do that.


The double free bug is fixed, btw.