Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Occasional crash on shutdown / other reported crashes #7272

Closed
paramat opened this issue Apr 23, 2018 · 41 comments

Comments

Projects
None yet
@paramat
Copy link
Member

commented Apr 23, 2018

Commit 12a8f88 but on my new core mapgen branch https://github.com/paramat/minetest/tree/mgwatershed2
OS:
ubuntu 16.04LTS
Hardware:
Intel® Core™ i5-4670T CPU @ 2.30GHz × 4

Just had this crash for the first time, on engine shutdown. Happened now that my branch is rebased on commit 12a8f88 but after a few hours of on-and-off MT use.
Another MT user has told me they have had occasional memory-related crashes recently, possibly the same cause?

EDIT: Since this is on my mapgen branch may not be of much significance, maybe it is my fault.

*** Error in `./minetest': free(): invalid next size (fast): 0x000000000242f070 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f978ad397e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7f978ad4237a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f978ad4653c]
./minetest[0xa05d49]
./minetest[0xa0f5be]
./minetest[0xa0c62f]
./minetest[0xa0ca53]
./minetest[0xa0d848]
./minetest[0xa1416e]
./minetest(_ZN13ScriptApiBaseD1Ev+0x18)[0x6ac758]
./minetest(_ZN15ServerScriptingD0Ev+0x15)[0x729235]
./minetest(_ZN6ServerD1Ev+0x494)[0x996f44]
./minetest(_ZN6ServerD0Ev+0x9)[0x997509]
./minetest(_ZN4GameD1Ev+0xa3)[0x877803]
./minetest(_Z8the_gamePbbP12InputHandlerRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_S9_S9_tRS7_R11ChatBackendS_RK11SubgameSpecb+0x133)[0x885983]
./minetest(_ZN14ClientLauncher3runER10GameParamsRK8Settings+0x17e4)[0x4f98e4]
./minetest(main+0x22bf)[0x4f057f]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f978ace2830]
./minetest(_start+0x29)[0x4f4b89]
======= Memory map: ========
00400000-00b30000 r-xp 00000000 08:01 35913733                           /home/.../minetest/bin/minetest
00d30000-00d31000 r--p 00730000 08:01 35913733                           /home/.../minetest/bin/minetest
00d31000-00d34000 rw-p 00731000 08:01 35913733                           /home/.../minetest/bin/minetest
00d34000-00d67000 rw-p 00000000 00:00 0 
01253000-0b311000 rw-p 00000000 00:00 0                                  [heap]
7f9730000000-7f9733325000 rw-p 00000000 00:00 0 
7f9733325000-7f9734000000 ---p 00000000 00:00 0 
7f9734000000-7f97369c1000 rw-p 00000000 00:00 0 
7f97369c1000-7f9738000000 ---p 00000000 00:00 0 
7f9738000000-7f973bffa000 rw-p 00000000 00:00 0 
7f973bffa000-7f973c000000 ---p 00000000 00:00 0 
7f973c000000-7f973ffe4000 rw-p 00000000 00:00 0 
7f973ffe4000-7f9740000000 ---p 00000000 00:00 0 
7f9744000000-7f9747c7e000 rw-p 00000000 00:00 0 
7f9747c7e000-7f9748000000 ---p 00000000 00:00 0 
7f974c000000-7f974fffc000 rw-p 00000000 00:00 0 
7f974fffc000-7f9750000000 ---p 00000000 00:00 0 
7f9750000000-7f9753f57000 rw-p 00000000 00:00 0 
7f9753f57000-7f9754000000 ---p 00000000 00:00 0 
7f9754000000-7f9754031000 rw-p 00000000 00:00 0 
7f9754031000-7f9758000000 ---p 00000000 00:00 0 
7f9759423000-7f975942b000 rw-s 00000000 00:05 353751                     /drm mm object (deleted)
7f975942b000-7f975943b000 rw-s 00000000 00:05 353749                     /drm mm object (deleted)
7f975943b000-7f9759443000 rw-s 00000000 00:05 353748                     /drm mm object (deleted)
7f9759443000-7f9759453000 rw-s 00000000 00:05 353746                     /drm mm object (deleted)
7f9759453000-7f9759463000 rw-s 00000000 00:05 355668                     /drm mm object (deleted)
7f9759463000-7f975946b000 rw-s 00000000 00:05 356622                     /drm mm object (deleted)
7f975946b000-7f975947b000 rw-s 00000000 00:05 356621                     /drm mm object (deleted)
7f975947b000-7f9759483000 rw-s 00000000 00:05 356620                     /drm mm object (deleted)
7f9759483000-7f9759583000 rw-s 00000000 00:05 358642                     /drm mm object (deleted)
7f9759583000-7f9759593000 rw-s 00000000 00:05 357635                     /drm mm object (deleted)
7f9759593000-7f97595a3000 rw-s 00000000 00:05 356618                     /drm mm object (deleted)
7f97595a3000-7f97595ab000 rw-s 00000000 00:05 356608                     /drm mm object (deleted)
7f97595ab000-7f97595bb000 rw-s 00000000 00:05 353739                     /drm mm object (deleted)
7f97595cb000-7f97595db000 rw-s 00000000 00:05 355659                     /drm mm object (deleted)
7f97595db000-7f97595eb000 rw-s 00000000 00:05 355658                     /drm mm object (deleted)
...
...
lots of these
...
...
Aborted (core dumped)
@paramat

This comment has been minimized.

Copy link
Member Author

commented Apr 23, 2018

From stackoverflow:

"It means that you have a memory error. You may be trying to free a pointer that wasn't allocated by malloc (or delete an object that wasn't created by new) or you may be trying to free/delete such an object more than once. You may be overflowing a buffer or otherwise writing to memory to which you shouldn't be writing, causing heap corruption."

@sfan5

This comment has been minimized.

Copy link
Member

commented Apr 23, 2018

ScriptApiBase::~ScriptApiBase only calls into Lua:

ScriptApiBase::~ScriptApiBase()
{
lua_close(m_luastack);
}

Looks like we're somehow causing a double-free inside Lua.

@paramat

This comment has been minimized.

Copy link
Member Author

commented Apr 24, 2018

Now a crash with no error message during gaming, again on my watershed2 branch but rebased on d6272fc
Segmentation fault (core dumped)
EDIT: Since this is on my mapgen branch may not be of much significance, maybe it is my fault.

@Amaz1

This comment has been minimized.

Copy link
Contributor

commented Apr 25, 2018

I've been getting a lot of crashes on the latest git, both on shutdown and randomly while playing.

@paramat

This comment has been minimized.

Copy link
Member Author

commented May 1, 2018

Similar crash on shutdown, 8 days later, so it's rare:
EDIT: Not sure what branch i was on unfortunately.

*** Error in `./minetest': free(): invalid next size (fast): 0x00000000034df3d0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fdd0913b7e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7fdd0914437a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fdd0914853c]
./minetest[0xa005c9]
./minetest[0xa09e3e]
./minetest[0xa0732b]
./minetest[0xa080c8]
./minetest[0xa0e9ee]
./minetest(_ZN13ScriptApiBaseD1Ev+0x18)[0x6a6ec8]
./minetest(_ZN15ServerScriptingD0Ev+0x15)[0x7238c5]
./minetest(_ZN6ServerD1Ev+0x494)[0x9917f4]
./minetest(_ZN6ServerD0Ev+0x9)[0x991db9]
./minetest(_ZN4GameD1Ev+0xa3)[0x8720a3]
./minetest(_Z8the_gamePbbP12InputHandlerRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_S9_S9_tRS7_R11ChatBackendS_RK11SubgameSpecb+0x133)[0x880223]
./minetest(_ZN14ClientLauncher3runER10GameParamsRK8Settings+0x17e4)[0x4f9364]
./minetest(main+0x22bf)[0x4effff]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7fdd090e4830]
./minetest(_start+0x29)[0x4f4609]
======= Memory map: ========
00400000-00b2a000 r-xp 00000000 08:01 35913733                           /home/matstandard/minetestf/gitmods/minetest/bin/minetest
00d2a000-00d2b000 r--p 0072a000 08:01 35913733                           /home/matstandard/minetestf/gitmods/minetest/bin/minetest
00d2b000-00d2e000 rw-p 0072b000 08:01 35913733                           /home/matstandard/minetestf/gitmods/minetest/bin/minetest
00d2e000-00d61000 rw-p 00000000 00:00 0 
0236b000-0c30d000 rw-p 00000000 00:00 0                                  [heap]
7fdcb8000000-7fdcb9ac5000 rw-p 00000000 00:00 0 
7fdcb9ac5000-7fdcbc000000 ---p 00000000 00:00 0 
7fdcc0000000-7fdcc3ffc000 rw-p 00000000 00:00 0 
7fdcc3ffc000-7fdcc4000000 ---p 00000000 00:00 0 
7fdcc4000000-7fdcc7fb4000 rw-p 00000000 00:00 0 
7fdcc7fb4000-7fdcc8000000 ---p 00000000 00:00 0 
7fdcc8000000-7fdccbffd000 rw-p 00000000 00:00 0 
7fdccbffd000-7fdccc000000 ---p 00000000 00:00 0 
7fdccf890000-7fdccf8a0000 rw-s 00000000 00:05 264879                     /drm mm object (deleted)
7fdccf8a0000-7fdccf8b0000 rw-s 00000000 00:05 265395                     /drm mm object (deleted)
7fdccf8b0000-7fdccf8b8000 rw-s 00000000 00:05 261890                     /drm mm object (deleted)
7fdccf8b8000-7fdccf8c0000 rw-s 00000000 00:05 266460                     /drm mm object (deleted)
...
... (lots)
...
7fdced7fa000-7fdced7fb000 ---p 00000000 00:00 0 
7fdced7fb000-7fdcedffb000 rw-p 00000000 00:00 0 
7fdcedffb000-7fdcedffc000 ---p 00000000 00:00 0 
7fdcedffc000-7fdcee7fc000 rw-p 00000000 00:00 0 
7fdcee7fc000-7fdcee7fd000 ---p 00000000 00:00 0 
7fdcee7fd000-7fdceeffd000 rw-p 00000000 00:00 0 
7fdceeffd000-7fdceeffe000 ---p 00000000 00:00 0 
7fdceeffe000-7fdcef7fe000 rw-p 00000000 00:00 0 
7fdcef7fe000-7fdcef7ff000 ---p 00000000 00:00 0 
7fdcef7ff000-7fdceffff000 rw-p 00000000 00:00 0 
7fdceffff000-7fdcf4000000 rw-s 00000000 00:15 10                         /dev/shm/pulse-shm-149260199
7fdcf4000000-7fdcf4021000 rw-p 00000000 00:00 0 
7fdcf4021000-7fdcf8000000 ---p 00000000 00:00 0 
...
...
...
7fdcf82a0000-7fdcf82a1000 rw-s 00000000 00:05 259342                     /drm mm object (deleted)
7fdcf82a1000-7fdcf82a2000 rw-s 00000000 00:05 259341                     /drm mm object (deleted)
7fdcf82a2000-7fdcf82a3000 rw-s 00000000 00:05 259340                     /drm mm object (deleted)Aborted (core dumped)

@paramat paramat changed the title Occasional crash on shutdown Occasional crash on shutdown / other reported crashes May 4, 2018

@paramat paramat added this to the 0.5.0 milestone May 4, 2018

@Fixer-007

This comment has been minimized.

Copy link
Contributor

commented May 6, 2018

I had crash on exit from the world, backtrace (to reproduce create/start/delete/startnew worlds several times and exit to menu):

Thread 1 received signal SIGSEGV, Segmentation fault.
0x000000000092aebc in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_S_right (__x=0x5f42534e45687361)
    at D:/Games/Minetest/msys64/mingw64/include/c++/7.2.0/bits/stl_tree.h:772
772	      { return static_cast<_Link_type>(__x->_M_right); }
(gdb) 
Thread 3 (Thread 6100.0xc8c):
#0  0x0000000076e098ea in ntdll!ZwWaitForSingleObject ()
   from C:\Windows\SYSTEM32\ntdll.dll
#1  0x000007fefcb110ac in WaitForSingleObjectEx ()
   from C:\Windows\system32\KernelBase.dll
#2  0x000000006b626ce0 in MMDevApiProc ()
   from D:\Games\Minetest\msys64\home\User\debug\bin\OpenAL32.dll
#3  0x000000006b61f31d in StarterFunc ()
   from D:\Games\Minetest\msys64\home\User\debug\bin\OpenAL32.dll
#4  0x0000000076b959cd in KERNEL32!BaseThreadInitThunk ()
   from C:\Windows\system32\kernel32.dll
#5  0x0000000076df383d in ntdll!RtlUserThreadStart ()
   from C:\Windows\SYSTEM32\ntdll.dll
#6  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 2 (Thread 6100.0xd2c):
#0  0x0000000076cb9e4a in USER32!SfmDxSetSwapChainStats ()
   from C:\Windows\system32\user32.dll
#1  0x0000000076cb611e in USER32!GetMessageA ()
   from C:\Windows\system32\user32.dll
#2  0x000000006b625a6a in MMDevApiMsgProc ()
   from D:\Games\Minetest\msys64\home\User\debug\bin\OpenAL32.dll
#3  0x0000000076b959cd in KERNEL32!BaseThreadInitThunk ()
   from C:\Windows\system32\kernel32.dll
#4  0x0000000076df383d in ntdll!RtlUserThreadStart ()
   from C:\Windows\SYSTEM32\ntdll.dll
#5  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 1 (Thread 6100.0xbac):
#0  0x000000000092aebc in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_S_right (__x=0x5f42534e45687361)
    at D:/Games/Minetest/msys64/mingw64/include/c++/7.2.0/bits/stl_tree.h:772
#1  0x000000000092ae53 in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_erase (this=0xc1dec0 <g_texturename_to_path_cache[abi:cxx11]>, 
    __x=0x5f42534e45687361)
    at D:/Games/Minetest/msys64/mingw64/include/c++/7.2.0/bits/stl_tree.h:1856
#2  0x000000000092ae5f in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_erase (this=0xc1dec0 <g_texturename_to_path_cache[abi:cxx11]>, 
    __x=0x1000100)
    at D:/Games/Minetest/msys64/mingw64/include/c++/7.2.0/bits/stl_tree.h:1856
#3  0x000000000092ae5f in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_erase (this=0xc1dec0 <g_texturename_to_path_cache[abi:cxx11]>, 
    __x=0x155ff4b0)
    at D:/Games/Minetest/msys64/mingw64/include/c++/7.2.0/bits/stl_tree.h:1856
#4  0x000000000092ae5f in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_erase (this=0xc1dec0 <g_texturename_to_path_cache[abi:cxx11]>, 
    __x=0x1ef90300)
    at D:/Games/Minetest/msys64/mingw64/include/c++/7.2.0/bits/stl_tree.h:1856
#5  0x000000000092ae5f in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_erase (this=0xc1dec0 <g_texturename_to_path_cache[abi:cxx11]>, 
    __x=0x1544f070)
    at D:/Games/Minetest/msys64/mingw64/include/c++/7.2.0/bits/stl_tree.h:1856
#6  0x000000000092ae5f in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_erase (this=0xc1dec0 <g_texturename_to_path_cache[abi:cxx11]>, 
    __x=0x19ba8370)
    at D:/Games/Minetest/msys64/mingw64/include/c++/7.2.0/bits/stl_tree.h:1856
#7  0x000000000092ae5f in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_erase (this=0xc1dec0 <g_texturename_to_path_cache[abi:cxx11]>, 
    __x=0x164214e0)
    at D:/Games/Minetest/msys64/mingw64/include/c++/7.2.0/bits/stl_tree.h:1856
#8  0x000000000092ae5f in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_erase (this=0xc1dec0 <g_texturename_to_path_cache[abi:cxx11]>, 
    __x=0x1100f090)
    at D:/Games/Minetest/msys64/mingw64/include/c++/7.2.0/bits/stl_tree.h:1856
#9  0x000000000092ad31 in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::clear (this=0xc1dec0 <g_texturename_to_path_cache[abi:cxx11]>)
    at D:/Games/Minetest/msys64/mingw64/include/c++/7.2.0/bits/stl_tree.h:1171
#10 0x00000000008ace08 in std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::clear (this=0xc1dec0 <g_texturename_to_path_cache[abi:cxx11]>)
    at D:/Games/Minetest/msys64/mingw64/include/c++/7.2.0/bits/stl_map.h:1113
#11 0x000000000077c0c8 in MutexedMap<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::clear (
    this=0xc1dec0 <g_texturename_to_path_cache[abi:cxx11]>)
    at D:/Games/Minetest/msys64/home/User/minetest/build/minetest/src/util/container.h:114
#12 0x0000000000417366 in clearTextureNameCache ()
    at D:\Games\Minetest\msys64\home\User\minetest\build\minetest\src\client\tile.cpp:161
#13 0x0000000000632c6a in Game::extendedResourceCleanup (this=0x22ef20)
    at D:\Games\Minetest\msys64\home\User\minetest\build\minetest\src\game.cpp:3981
#14 0x00000000006216c1 in Game::~Game (this=0x22ef20, 
    __in_chrg=<optimized out>)
    at D:\Games\Minetest\msys64\home\User\minetest\build\minetest\src\game.cpp:959
#15 0x0000000000634f40 in the_game (kill=0xc4f540 <porting::g_killed>, 
    random_input=false, input=0xb6f62d0, map_dir=..., playername=..., 
    password=..., address=..., port=55591, error_message=..., 
    chat_backend=..., reconnect_requested=0x22f2bf, gamespec=..., 
    simple_singleplayer_mode=true)
    at D:\Games\Minetest\msys64\home\User\minetest\build\minetest\src\game.cpp:4135
#16 0x000000000040276a in ClientLauncher::run (this=0x22f780, 
    game_params=..., cmd_args=...)
    at D:\Games\Minetest\msys64\home\User\minetest\build\minetest\src\client\clientlauncher.cpp:235
#17 0x000000000064f005 in main (argc=1, argv=0xb797230)
    at D:\Games\Minetest\msys64\home\User\minetest\build\minetest\src\main.cpp:212
(gdb) 
@Ezhh

This comment has been minimized.

Copy link
Member

commented May 6, 2018

Just to add, I'm crashing constantly on the Windows version as well. Very frequently on closing the game, but also sometimes right after joining. No issues like this on stable.

@hkzorman

This comment has been minimized.

Copy link

commented May 10, 2018

Update: After noticing how cryptic this error was (backtrace was providing just the assembly code) and understanding that this is very particular to my situation I decided to debug the Minetest C++ code. I found out the issue was because I was giving nan as the yaw value at some point in my code.
This is not Minetest's fault. The error, was extremely cryptic though, Minetest just crashed on call of writeF1000() on gob_cmd_update_position() method on genericobject.cpp.

Crash found while testing my mod advanced_npc.

OS: Ubuntu 16.04.4
Hardware: Intel(R) Celeron(R) CPU N3150 @ 1.60GHz x 4

Update:
Found another crash on same condition, was running under gdb (however it was not a Minetest debug build). When crashed, This was the backtrace:

Thread 221 "Server" received signal SIGSEGV, Segmentation fault.
[Switching to LWP 17247]
0x00007ffff4fa9512 in ?? ()
(gdb) bt
#0  0x00007ffff4fa9512 in ?? ()
#1  0x00000000147b12e0 in ?? ()
#2  0x00000000147b1398 in ?? ()
#3  0x00007fffc6e50320 in ?? ()
#4  0x00007ffff4fa953c in ?? ()
#5  0x0000000000000040 in ?? ()
#6  0x0000000000000000 in ?? ()

Probably not helpful, will make a debug build and keep running it under gdb.

Original crash

*** Error in `Development/minetest/bin/minetest': corrupted size vs. prev_size: 0x00007862500489d0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x78628b2257e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x7e9dc)[0x78628b22c9dc]
/lib/x86_64-linux-gnu/libc.so.6(+0x81cde)[0x78628b22fcde]
/lib/x86_64-linux-gnu/libc.so.6(__libc_malloc+0x54)[0x78628b232184]
/lib/x86_64-linux-gnu/libc.so.6(realloc+0x358)[0x78628b232a18]
Development/minetest/bin/minetest[0xa09a1e]
Development/minetest/bin/minetest[0xa10f6d]
Development/minetest/bin/minetest[0xa11809]
Development/minetest/bin/minetest[0xa11cce]
Development/minetest/bin/minetest[0xa13af5]
Development/minetest/bin/minetest[0xa14609]
Development/minetest/bin/minetest[0xa05ddd]
Development/minetest/bin/minetest[0xa0512b]
Development/minetest/bin/minetest[0xa05f3b]
Development/minetest/bin/minetest(lua_pcall+0x56)[0x9ffb66]
Development/minetest/bin/minetest(_ZN15ScriptApiEntity14luaentity_StepEtf+0x15f)[0x6abf4f]
Development/minetest/bin/minetest(_ZN12LuaEntitySAO4stepEfb+0x925)[0x829e25]
Development/minetest/bin/minetest(_ZN17ServerEnvironment4stepEf+0xba8)[0x9b0868]
Development/minetest/bin/minetest(_ZN6Server12AsyncRunStepEb+0x3fe)[0x995d7e]
Development/minetest/bin/minetest(_ZN12ServerThread3runEv+0x4e)[0x99962e]
Development/minetest/bin/minetest(_ZN6Thread10threadProcEPS_+0x51)[0x7294b1]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb8c80)[0x78628bb4fc80]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba)[0x78628c53b6ba]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x78628b2b541d]
======= Memory map: ========
00400000-00b2a000 r-xp 00000000 b3:01 269265                             /home/hfranqui/Development/minetest/bin/minetest
00d29000-00d2a000 r--p 00729000 b3:01 269265                             /home/hfranqui/Development/minetest/bin/minetest
00d2a000-00d2d000 rw-p 0072a000 b3:01 269265                             /home/hfranqui/Development/minetest/bin/minetest
00d2d000-00d60000 rw-p 00000000 00:00 0 
01ca0000-23844000 rw-p 00000000 00:00 0                                  [heap]
786234000000-786234021000 rw-p 00000000 00:00 0 
786234021000-786238000000 ---p 00000000 00:00 0 
78623c000000-78623fff7000 rw-p 00000000 00:00 0 
78623fff7000-786240000000 ---p 00000000 00:00 0 
786240000000-786240a97000 rw-p 00000000 00:00 0 
786240a97000-786244000000 ---p 00000000 00:00 0 
786244000000-786247fff000 rw-p 00000000 00:00 0 
786247fff000-786248000000 ---p 00000000 00:00 0 
78624c000000-786250000000 rw-p 00000000 00:00 0 
786250000000-786254000000 rw-p 00000000 00:00 0 
786254000000-786257fff000 rw-p 00000000 00:00 0 
786257fff000-786258000000 ---p 00000000 00:00 0 
7862580d3000-7862580d4000 ---p 00000000 00:00 0 
7862580d4000-7862588d4000 rw-p 00000000 00:00 0                          [stack:28556]
7862588d4000-7862588d5000 ---p 00000000 00:00 0 
7862588d5000-7862590d5000 rw-p 00000000 00:00 0                          [stack:28545]
7862590d5000-786259115000 rw-s 102ad0000 00:4d 46108                     /dev/dri/card0
78625982c000-78625983c000 rw-s 00000000 00:04 856203                     /drm mm object (deleted)
786259ffc000-786259ffd000 ---p 00000000 00:00 0 
786259ffd000-78625a7fd000 rw-p 00000000 00:00 0                          [stack:28544]
78625a7fd000-78625a7fe000 ---p 00000000 00:00 0 
78625a7fe000-78625affe000 rw-p 00000000 00:00 0                          [stack:28531]
78625affe000-78625afff000 ---p 00000000 00:00 0 
78625afff000-78625b7ff000 rw-p 00000000 00:00 0                          [stack:28541]
78625b7ff000-78625b800000 ---p 00000000 00:00 0 
78625b800000-78625c000000 rw-p 00000000 00:00 0                          [stack:28542]
78625c000000-78625f787000 rw-p 00000000 00:00 0 
78625f787000-786260000000 ---p 00000000 00:00 0 
786260000000-786263a2e000 rw-p 00000000 00:00 0 
786263a2e000-786264000000 ---p 00000000 00:00 0 
786264000000-786267ce8000 rw-p 00000000 00:00 0 
786267ce8000-786268000000 ---p 00000000 00:00 0 
786268000000-78626be57000 rw-p 00000000 00:00 0 
78626be57000-78626c000000 ---p 00000000 00:00 0 
78626c000000-78626c021000 rw-p 00000000 00:00 0 
78626c021000-786270000000 ---p 00000000 00:00 0 
7862700ec000-7862700fc000 rw-s 00000000 00:04 3075132                    /drm mm object (deleted)
78627013c000-78627014c000 rw-s 00000000 00:04 3067296                    /drm mm object (deleted)
78627017c000-78627018c000 rw-s 00000000 00:04 3074227                    /drm mm object (deleted)
<snip, repetitive>
786270912000-786270922000 rw-s 00000000 00:04 3114059                    /drm mm object (deleted)
786270922000-786270932000 rw-s 00000000 00:04 3143291                    /drm mm object (deleted)
786270932000-786270942000 rw-s 00000000 00:04 3143290                    /drm mm object (deleted)
786270942000-786270948000 rw-s 103381000 00:4d 46108                     /dev/dri/card0
78627094f000-786270950000 rw-s 11de89000 00:4d 46108                     /dev/dri/card0
786270950000-786270952000 rw-s 11de87000 00:4d 46108                     /dev/dri/card0
786270952000-786270954000 rw-s 11de85000 00:4d 46108                     /dev/dri/card0
786270954000-786270964000 rw-s 00000000 00:04 3143289                    /drm mm object (deleted)
786270964000-786270974000 rw-s 00000000 00:04 3141472                    /drm mm object (deleted)
786270974000-786270984000 rw-s 00000000 00:04 3141428                    /drm mm object (deleted)
786270984000-786270994000 rw-s 00000000 00:04 3143288                    /drm mm object (deleted)
786270994000-7862709a4000 rw-s 00000000 00:04 3143287                    /drm mm object (deleted)
7862709a4000-7862709b4000 rw-s 00000000 00:04 3113839                    /drm mm object (deleted)
7862709b4000-7862709c4000 rw-s 00000000 00:04 3112775                    /drm mm object (deleted)
7862709c4000-7862709d4000 rw-s 00000000 00:04 3143286                    /drm mm object (deleted)
7862709d4000-7862709e4000 rw-s 00000000 00:04 3108293                    /drm mm object (deleted)
7862709e4000-7862709f4000 rw-s 00000000 00:04 3136807                    /drm mm object (deleted)
7862709f4000-786270a04000 rw-s 00000000 00:04 3141426                    /drm mm object (deleted)
786270a04000-786270a14000 rw-s 00000000 00:04 3143285                    /drm mm object (deleted)
786270a14000-786270a24000 rw-s 00000000 00:04 3136805                    /drm mm object (deleted)
786270a24000-786270a34000 rw-s 00000000 00:04 3143284                    /drm mm object (deleted)
786270a34000-786270a44000 rw-s 00000000 00:04 3115075                    /drm mm object (deleted)
786270a44000-786270a54000 rw-s 00000000 00:04 3141264                    /drm mm object (deleted)
786270a54000-786270a64000 rw-s 00000000 00:04 3143942                    /drm mm object (deleted)
786270a64000-786270a74000 rw-s 00000000 00:04 3113744                    /drm mm object (deleted)
786270a74000-786270a84000 rw-s 00000000 00:04 3143283                    /drm mm object (deleted)
786270a84000-786270a94000 rw-s 00000000 00:04 3141424                    /drm mm object (deleted)
786270a94000-786270aa4000 rw-s 00000000 00:04 3141259                    /drm mm object (deleted)
786270aa4000-786270ab4000 rw-s 00000000 00:04 3143282                    /drm mm object (deleted)
786270ab4000-786270ac4000 rw-s 00000000 00:04 3112575                    /drm mm object (deleted)
786270ad1000-786270ad2000 rw-p 00000000 00:00 0 
786270ad2000-786270ad3000 rw-s 10adbd000 00:4d 46108                     /dev/dri/card0
786270ad3000-786270ae3000 rw-s 00000000 00:04 3143939                    /drm mm object (deleted)
786270ae3000-786270af3000 rw-s 00000000 00:04 3139407                    /drm mm object (deleted)
786270af3000-786270af4000 rw-s 104657000 00:4d 46108                     /dev/dri/card0
786270af4000-786270b04000 rw-s 00000000 00:04 3112658                    /drm mm object (deleted)
786270b04000-786270b14000 rw-s 00000000 00:04 3143938                    /drm mm object (deleted)
786270b14000-786270b24000 rw-s 00000000 00:04 3143937                    /drm mm object (deleted)
786270b24000-786270b34000 rw-s 00000000 00:04 3143255                    /drm mm object (deleted)
786270b34000-786270b44000 rw-s 00000000 00:04 3143281                    /drm mm object (deleted)
786270b44000-786270b54000 rw-s 00000000 00:04 3143280                    /drm mm object (deleted)
786270b54000-786270b64000 rw-s 00000000 00:04 3141401                    /drm mm object (deleted)
786270b64000-786270b74000 rw-s 00000000 00:04 3141420                    /drm mm object (deleted)
786270b74000-786270b84000 rw-s 00000000 00:04 3113908                    /drm mm object (deleted)
786270b84000-786270b94000 rw-s 00000000 00:04 3112571                    /drm mm object (deleted)
786270b94000-786270ba4000 rw-s 00000000 00:04 3143279                    /drm mm object (deleted)
786270ba4000-786270bb4000 rw-s 00000000 00:04 3143278                    /drm mm object (deleted)
786270bb4000-786270bc4000 rw-s 00000000 00:04 3143277                    /drm mm object (deleted)
786270bc4000-786270bc5000 rw-s 10475c000 00:4d 46108                     /dev/dri/card0
786270bc5000-786270bc6000 rw-s 10475b000 00:4d 46108                     /dev/dri/card0
786270bc6000-786270bc7000 rw-s 10475a000 00:4d 46108                     /dev/dri/card0
786270bc7000-786270bc8000 rw-s 104759000 00:4d 46108                     /dev/dri/card0
786270bc8000-786270bc9000 rw-s 104758000 00:4d 46108                     /dev/dri/card0
786270bc9000-786270bca000 rw-s 104757000 00:4d 46108                     /dev/dri/card0
786270bca000-786270bcb000 rw-s 104756000 00:4d 46108                     /dev/dri/card0
786270bcb000-786270bd5000 rw-s 10474c000 00:4d 46108                     /dev/dri/card0
786270bd5000-786270c15000 rw-s 10470c000 00:4d 46108                     /dev/dri/card0
786270c15000-786270c25000 rw-s 00000000 00:04 3143276                    /drm mm object (deleted)
786270c25000-786270c35000 rw-s 1046da000 00:4d 46108                     /dev/dri/card0
786270c35000-786270c36000 ---p 00000000 00:00 0 
786270c36000-786271436000 rw-p 00000000 00:00 0                          [stack:28530]
786271436000-786271439000 rw-s 1046ea000 00:4d 46108                     /dev/dri/card0
786271439000-78627143a000 rw-s 101d5d000 00:4d 46108                     /dev/dri/card0
<snip, repetitive>
786271f0e000-78627200e000 rw-s 101e9f000 00:4d 46108                     /dev/dri/card0
78627200e000-78627210e000 rw-s 101d9f000 00:4d 46108                     /dev/dri/card0
78627210e000-78627210f000 ---p 00000000 00:00 0 
78627210f000-78627290f000 rw-p 00000000 00:00 0                          [stack:28543]
78627290f000-78627291f000 rw-s 1046ca000 00:4d 46108                     /dev/dri/card0
78627291f000-78627292f000 rw-s 1046ba000 00:4d 46108                     /dev/dri/card0
<snip, repetitive>
786272981000-786272982000 rw-s 102819000 00:4d 46108                     /dev/dri/card0
786272982000-7862729c2000 rw-s 1032be000 00:4d 46108                     /dev/dri/card0
7862729c2000-786272a03000 rw-p 00000000 00:00 0 
786272a03000-786272a04000 rw-s 102818000 00:4d 46108                     /dev/dri/card0
786272a04000-786272a05000 rw-s 102817000 00:4d 46108                     /dev/dri/card0
<snip, repetitive>
786272a32000-786272a33000 rw-s 1027e9000 00:4d 46108                     /dev/dri/card0
786272a33000-786272a34000 rw-s 1027e8000 00:4d 46108                     /dev/dri/card0
786272a34000-786272a44000 rw-s 00000000 00:04 3141247                    /drm mm object (deleted)
786272a44000-786272a4d000 r-xp 00000000 b3:01 274430                     /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0
786272a4d000-786272c4c000 ---p 00009000 b3:01 274430                     /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0
786272c4c000-786272c4d000 r--p 00008000 b3:01 274430                     /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0
786272c4d000-786272c4e000 rw-p 00009000 b3:01 274430                     /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0
786272c4e000-786273fff000 rw-p 00000000 00:00 0 
786273fff000-786278000000 rw-s 00000000 00:12 53405                      /dev/shm/pulse-shm-2068956596
786278000000-786278021000 rw-p 00000000 00:00 0 
786278021000-78627c000000 ---p 00000000 00:00 0 
78627c000000-78627c001000 rw-s 1027e7000 00:4d 46108                     /dev/dri/card0
78627c001000-78627c002000 rw-s 1027e6000 00:4d 46108                     /dev/dri/card0
<snip, repetitive>
78627c00c000-78627c00d000 rw-s 1027db000 00:4d 46108                     /dev/dri/card0
78627c00d000-78627c01d000 rw-s 1022b0000 00:4d 46108                     /dev/dri/card0
78627c01d000-78627c0b1000 rw-p 00000000 00:00 0 
78627c0b1000-78627c0ba000 r-xp 00000000 b3:01 292259                     /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2
78627c0ba000-78627c2b9000 ---p 00009000 b3:01 292259                     /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2
78627c2b9000-78627c2ba000 r--p 00008000 b3:01 292259                     /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2
78627c2ba000-78627c2bb000 rw-p 00009000 b3:01 292259                     /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2
78627c2bb000-78627c2f2000 r-xp 00000000 b3:01 274678                     /usr/lib/x86_64-linux-gnu/libtxc_dxtn_s2tc.so.0.0.0
78627c2f2000-78627c4f1000 ---p 00037000 b3:01 274678                     /usr/lib/x86_64-linux-gnu/libtxc_dxtn_s2tc.so.0.0.0
78627c4f1000-78627c4f2000 r--p 00036000 b3:01 274678                     /usr/lib/x86_64-linux-gnu/libtxc_dxtn_s2tc.so.0.0.0
78627c4f2000-78627c4f3000 rw-p 00037000 b3:01 274678                     /usr/lib/x86_64-linux-gnu/libtxc_dxtn_s2tc.so.0.0.0
78627c4f3000-78627c4f4000 rw-s 1027da000 00:4d 46108                     /dev/dri/card0
78627c4f4000-78627c4f5000 rw-s 1027d9000 00:4d 46108                     /dev/dri/card0
78627c4f5000-78627c4f6000 rw-s 1027d8000 00:4d 46108                     /dev/dri/card0
78627c4f6000-78627c506000 rw-s 1022a0000 00:4d 46108                     /dev/dri/card0
78627c506000-78627c516000 rw-s 00000000 00:04 3114832                    /drm mm object (deleted)
78627c516000-78627c51e000 r-xp 00000000 b3:01 272896                     /usr/lib/x86_64-linux-gnu/libpciaccess.so.0.11.1
78627c51e000-78627c71e000 ---p 00008000 b3:01 272896                     /usr/lib/x86_64-linux-gnu/libpciaccess.so.0.11.1
78627c71e000-78627c71f000 r--p 00008000 b3:01 272896                     /usr/lib/x86_64-linux-gnu/libpciaccess.so.0.11.1
78627c71f000-78627c720000 rw-p 00009000 b3:01 272896                     /usr/lib/x86_64-linux-gnu/libpciaccess.so.0.11.1
78627c720000-78627c72b000 r-xp 00000000 b3:01 270787                     /usr/lib/x86_64-linux-gnu/libdrm_radeon.so.1.0.1
78627c72b000-78627c92a000 ---p 0000b000 b3:01 270787                     /usr/lib/x86_64-linux-gnu/libdrm_radeon.so.1.0.1
78627c92a000-78627c92b000 r--p 0000a000 b3:01 270787                     /usr/lib/x86_64-linux-gnu/libdrm_radeon.so.1.0.1
78627c92b000-78627c92c000 rw-p 0000b000 b3:01 270787                     /usr/lib/x86_64-linux-gnu/libdrm_radeon.so.1.0.1
78627c92c000-78627c933000 r-xp 00000000 b3:01 286333                     /usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2.0.0
78627c933000-78627cb32000 ---p 00007000 b3:01 286333                     /usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2.0.0
78627cb32000-78627cb33000 r--p 00006000 b3:01 286333                     /usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2.0.0
78627cb33000-78627cb34000 rw-p 00007000 b3:01 286333                     /usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2.0.0
78627cb34000-78627cb56000 r-xp 00000000 b3:01 270695                     /usr/lib/x86_64-linux-gnu/libdrm_intel.so.1.0.0
78627cb56000-78627cd56000 ---p 00022000 b3:01 270695                     /usr/lib/x86_64-linux-gnu/libdrm_intel.so.1.0.0
78627cd56000-78627cd57000 r--p 00022000 b3:01 270695                     /usr/lib/x86_64-linux-gnu/libdrm_intel.so.1.0.0
78627cd57000-78627cd58000 rw-p 00023000 b3:01 270695                     /usr/lib/x86_64-linux-gnu/libdrm_intel.so.1.0.0
78627cd58000-78627d57f000 r-xp 00000000 b3:01 269933                     /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
78627d57f000-78627d77f000 ---p 00827000 b3:01 269933                     /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
78627d77f000-78627d7cf000 r--p 00827000 b3:01 269933                     /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
78627d7cf000-78627d7d8000 rw-p 00877000 b3:01 269933                     /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
78627d7d8000-78627d83f000 rw-p 00000000 00:00 0 
78627d83f000-786281840000 rw-s 00000000 00:12 52745                      /dev/shm/pulse-shm-2295319493
786281840000-786281841000 ---p 00000000 00:00 0 
786281841000-786282041000 rw-p 00000000 00:00 0                          [stack:6026]
786282041000-786282053000 r-xp 00000000 b3:01 263655                     /lib/x86_64-linux-gnu/libgpg-error.so.0.17.0
786282053000-786282253000 ---p 00012000 b3:01 263655                     /lib/x86_64-linux-gnu/libgpg-error.so.0.17.0
786282253000-786282254000 r--p 00012000 b3:01 263655                     /lib/x86_64-linux-gnu/libgpg-error.so.0.17.0
786282254000-786282255000 rw-p 00013000 b3:01 263655                     /lib/x86_64-linux-gnu/libgpg-error.so.0.17.0
786282255000-7862822c3000 r-xp 00000000 b3:01 263672                     /lib/x86_64-linux-gnu/libpcre.so.3.13.2
7862822c3000-7862824c3000 ---p 0006e000 b3:01 263672                     /lib/x86_64-linux-gnu/libpcre.so.3.13.2
7862824c3000-7862824c4000 r--p 0006e000 b3:01 263672                     /lib/x86_64-linux-gnu/libpcre.so.3.13.2
7862824c4000-7862824c5000 rw-p 0006f000 b3:01 263672                     /lib/x86_64-linux-gnu/libpcre.so.3.13.2
7862824c5000-786282552000 r-xp 00000000 b3:01 273671                     /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.11
786282552000-786282751000 ---p 0008d000 b3:01 273671                     /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.11
786282751000-78628276d000 r--p 0008c000 b3:01 273671                     /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.11
78628276d000-78628276e000 rw-p 000a8000 b3:01 273671                     /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.11
78628276e000-7862827e1000 r-xp 00000000 b3:01 279718                     /usr/lib/x86_64-linux-gnu/libFLAC.so.8.3.0
7862827e1000-7862829e1000 ---p 00073000 b3:01 279718                     /usr/lib/x86_64-linux-gnu/libFLAC.so.8.3.0
7862829e1000-7862829e2000 r--p 00073000 b3:01 279718                     /usr/lib/x86_64-linux-gnu/libFLAC.so.8.3.0
7862829e2000-7862829e3000 rw-p 00074000 b3:01 279718                     /usr/lib/x86_64-linux-gnu/libFLAC.so.8.3.0
7862829e3000-7862829f9000 r-xp 00000000 b3:01 272439                     /lib/x86_64-linux-gnu/libnsl-2.23.so
7862829f9000-786282bf8000 ---p 00016000 b3:01 272439                     /lib/x86_64-linux-gnu/libnsl-2.23.so
786282bf8000-786282bf9000 r--p 00015000 b3:01 272439                     /lib/x86_64-linux-gnu/libnsl-2.23.so
786282bf9000-786282bfa000 rw-p 00016000 b3:01 272439                     /lib/x86_64-linux-gnu/libnsl-2.23.so
786282bfa000-786282bfc000 rw-p 00000000 00:00 0 
786282bfc000-786282cd4000 r-xp 00000000 b3:01 266157                     /lib/x86_64-linux-gnu/libgcrypt.so.20.0.5
786282cd4000-786282ed3000 ---p 000d8000 b3:01 266157                     /lib/x86_64-linux-gnu/libgcrypt.so.20.0.5
786282ed3000-786282ed4000 r--p 000d7000 b3:01 266157                     /lib/x86_64-linux-gnu/libgcrypt.so.20.0.5
786282ed4000-786282edc000 rw-p 000d8000 b3:01 266157                     /lib/x86_64-linux-gnu/libgcrypt.so.20.0.5
786282edc000-786282edd000 rw-p 00000000 00:00 0 
786282edd000-786282efe000 r-xp 00000000 b3:01 265322                     /lib/x86_64-linux-gnu/liblzma.so.5.0.0
786282efe000-7862830fd000 ---p 00021000 b3:01 265322                     /lib/x86_64-linux-gnu/liblzma.so.5.0.0
7862830fd000-7862830fe000 r--p 00020000 b3:01 265322                     /lib/x86_64-linux-gnu/liblzma.so.5.0.0
7862830fe000-7862830ff000 rw-p 00021000 b3:01 265322                     /lib/x86_64-linux-gnu/liblzma.so.5.0.0
7862830ff000-78628311e000 r-xp 00000000 b3:01 263966                     /lib/x86_64-linux-gnu/libselinux.so.1
78628311e000-78628331d000 ---p 0001f000 b3:01 263966                     /lib/x86_64-linux-gnu/libselinux.so.1
78628331d000-78628331e000 r--p 0001e000 b3:01 263966                     /lib/x86_64-linux-gnu/libselinux.so.1
78628331e000-78628331f000 rw-p 0001f000 b3:01 263966                     /lib/x86_64-linux-gnu/libselinux.so.1
78628331f000-786283321000 rw-p 00000000 00:00 0 
786283321000-786283326000 r-xp 00000000 b3:01 278607                     /usr/lib/x86_64-linux-gnu/libasyncns.so.0.3.1
786283326000-786283525000 ---p 00005000 b3:01 278607                     /usr/lib/x86_64-linux-gnu/libasyncns.so.0.3.1
786283525000-786283526000 r--p 00004000 b3:01 278607                     /usr/lib/x86_64-linux-gnu/libasyncns.so.0.3.1
786283526000-786283527000 rw-p 00005000 b3:01 278607                     /usr/lib/x86_64-linux-gnu/libasyncns.so.0.3.1
786283527000-786283589000 r-xp 00000000 b3:01 269162                     /usr/lib/x86_64-linux-gnu/libsndfile.so.1.0.25
786283589000-786283789000 ---p 00062000 b3:01 269162                     /usr/lib/x86_64-linux-gnu/libsndfile.so.1.0.25
786283789000-78628378b000 r--p 00062000 b3:01 269162                     /usr/lib/x86_64-linux-gnu/libsndfile.so.1.0.25
78628378b000-78628378c000 rw-p 00064000 b3:01 269162                     /usr/lib/x86_64-linux-gnu/libsndfile.so.1.0.25
78628378c000-786283790000 rw-p 00000000 00:00 0 
786283790000-786283798000 r-xp 00000000 b3:01 278970                     /lib/x86_64-linux-gnu/libwrap.so.0.7.6
786283798000-786283997000 ---p 00008000 b3:01 278970                     /lib/x86_64-linux-gnu/libwrap.so.0.7.6
786283997000-786283998000 r--p 00007000 b3:01 278970                     /lib/x86_64-linux-gnu/libwrap.so.0.7.6
786283998000-786283999000 rw-p 00008000 b3:01 278970                     /lib/x86_64-linux-gnu/libwrap.so.0.7.6
786283999000-78628399a000 rw-p 00000000 00:00 0 
78628399a000-7862839e4000 r-xp 00000000 b3:01 274699                     /lib/x86_64-linux-gnu/libdbus-1.so.3.14.6
7862839e4000-786283be4000 ---p 0004a000 b3:01 274699                     /lib/x86_64-linux-gnu/libdbus-1.so.3.14.6
786283be4000-786283be5000 r--p 0004a000 b3:01 274699                     /lib/x86_64-linux-gnu/libdbus-1.so.3.14.6
786283be5000-786283be6000 rw-p 0004b000 b3:01 274699                     /lib/x86_64-linux-gnu/libdbus-1.so.3.14.6
786283be6000-786283c60000 r-xp 00000000 b3:01 269986                     /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so
786283c60000-786283e5f000 ---p 0007a000 b3:01 269986                     /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so
786283e5f000-786283e60000 r--p 00079000 b3:01 269986                     /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so
786283e60000-786283e61000 rw-p 0007a000 b3:01 269986                     /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so
786283e61000-786283e6b000 r-xp 00000000 b3:01 267107                     /lib/x86_64-linux-gnu/libjson-c.so.2.0.0
786283e6b000-78628406a000 ---p 0000a000 b3:01 267107                     /lib/x86_64-linux-gnu/libjson-c.so.2.0.0
78628406a000-78628406b000 r--p 00009000 b3:01 267107                     /lib/x86_64-linux-gnu/libjson-c.so.2.0.0
78628406b000-78628406c000 rw-p 0000a000 b3:01 267107                     /lib/x86_64-linux-gnu/libjson-c.so.2.0.0
78628406c000-7862840ba000 r-xp 00000000 b3:01 269990                     /usr/lib/x86_64-linux-gnu/libpulse.so.0.19.0
7862840ba000-7862842ba000 ---p 0004e000 b3:01 269990                     /usr/lib/x86_64-linux-gnu/libpulse.so.0.19.0
7862842ba000-7862842bb000 r--p 0004e000 b3:01 269990                     /usr/lib/x86_64-linux-gnu/libpulse.so.0.19.0
7862842bb000-7862842bc000 rw-p 0004f000 b3:01 269990                     /usr/lib/x86_64-linux-gnu/libpulse.so.0.19.0
7862842bc000-7862842c5000 r-xp 00000000 b3:01 272468                     /lib/x86_64-linux-gnu/libcrypt-2.23.so
7862842c5000-7862844c4000 ---p 00009000 b3:01 272468                     /lib/x86_64-linux-gnu/libcrypt-2.23.so
7862844c4000-7862844c5000 r--p 00008000 b3:01 272468                     /lib/x86_64-linux-gnu/libcrypt-2.23.so
7862844c5000-7862844c6000 rw-p 00009000 b3:01 272468                     /lib/x86_64-linux-gnu/libcrypt-2.23.so
7862844c6000-7862844f4000 rw-p 00000000 00:00 0 
7862844f4000-78628453b000 r-xp 00000000 b3:01 266792                     /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
78628453b000-78628473a000 ---p 00047000 b3:01 266792                     /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
78628473a000-78628473c000 r--p 00046000 b3:01 266792                     /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
78628473c000-78628473e000 rw-p 00048000 b3:01 266792                     /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
78628473e000-78628473f000 rw-p 00000000 00:00 0 
78628473f000-78628474d000 r-xp 00000000 b3:01 266173                     /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
78628474d000-78628494c000 ---p 0000e000 b3:01 266173                     /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
78628494c000-78628494d000 r--p 0000d000 b3:01 266173                     /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
78628494d000-78628494e000 rw-p 0000e000 b3:01 266173                     /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
78628494e000-786284975000 r-xp 00000000 b3:01 266497                     /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
786284975000-786284b75000 ---p 00027000 b3:01 266497                     /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
786284b75000-786284b76000 r--p 00027000 b3:01 266497                     /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
786284b76000-786284b77000 rw-p 00028000 b3:01 266497                     /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
786284b77000-786284b8c000 r-xp 00000000 b3:01 264927                     /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
786284b8c000-786284d8b000 ---p 00015000 b3:01 264927                     /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
786284d8b000-786284d8c000 r--p 00014000 b3:01 264927                     /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
786284d8c000-786284d8d000 rw-p 00015000 b3:01 264927                     /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
786284d8d000-786284dbd000 r-xp 00000000 b3:01 265415                     /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
786284dbd000-786284fbd000 ---p 00030000 b3:01 265415                     /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
786284fbd000-786284fbe000 r--p 00030000 b3:01 265415                     /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
786284fbe000-786284fbf000 rw-p 00031000 b3:01 265415                     /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
786284fbf000-786284fc0000 rw-p 00000000 00:00 0 
786284fc0000-78628505f000 r-xp 00000000 b3:01 265386                     /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
78628505f000-78628525e000 ---p 0009f000 b3:01 265386                     /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
78628525e000-78628525f000 r--p 0009e000 b3:01 265386                     /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
78628525f000-786285262000 rw-p 0009f000 b3:01 265386                     /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
786285262000-7862852e6000 r-xp 00000000 b3:01 266926                     /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0
7862852e6000-7862854e5000 ---p 00084000 b3:01 266926                     /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0
7862854e5000-7862854e8000 r--p 00083000 b3:01 266926                     /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0
7862854e8000-7862854eb000 rw-p 00086000 b3:01 266926                     /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0
7862854eb000-7862854ec000 rw-p 00000000 00:00 0 
7862854ec000-7862854f4000 r-xp 00000000 b3:01 266998                     /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7862854f4000-7862856f3000 ---p 00008000 b3:01 266998                     /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7862856f3000-7862856f4000 r--p 00007000 b3:01 266998                     /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7862856f4000-7862856f5000 rw-p 00008000 b3:01 266998                     /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7862856f5000-7862856f8000 r-xp 00000000 b3:01 262916                     /lib/x86_64-linux-gnu/libkeyutils.so.1.5
7862856f8000-7862858f7000 ---p 00003000 b3:01 262916                     /lib/x86_64-linux-gnu/libkeyutils.so.1.5
7862858f7000-7862858f8000 r--p 00002000 b3:01 262916                     /lib/x86_64-linux-gnu/libkeyutils.so.1.5
7862858f8000-7862858f9000 rw-p 00003000 b3:01 262916                     /lib/x86_64-linux-gnu/libkeyutils.so.1.5
7862858f9000-786285900000 r-xp 00000000 b3:01 267024                     /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
786285900000-786285aff000 ---p 00007000 b3:01 267024                     /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
786285aff000-786285b00000 r--p 00006000 b3:01 267024                     /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
786285b00000-786285b01000 rw-p 00007000 b3:01 267024                     /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
786285b01000-786285b3e000 r-xp 00000000 b3:01 267986                     /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0
786285b3e000-786285d3e000 ---p 0003d000 b3:01 267986                     /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0
786285d3e000-786285d3f000 r--p 0003d000 b3:01 267986                     /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0
786285d3f000-786285d41000 rw-p 0003e000 b3:01 267986                     /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0
786285d41000-786285d42000 rw-p 00000000 00:00 0 
786285d42000-786285d5b000 r-xp 00000000 b3:01 264269                     /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
786285d5b000-786285f5b000 ---p 00019000 b3:01 264269                     /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
786285f5b000-786285f5c000 r--p 00019000 b3:01 264269                     /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
786285f5c000-786285f5d000 rw-p 0001a000 b3:01 264269                     /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
786285f5d000-786285f74000 r-xp 00000000 b3:01 272448                     /lib/x86_64-linux-gnu/libresolv-2.23.so
786285f74000-786286174000 ---p 00017000 b3:01 272448                     /lib/x86_64-linux-gnu/libresolv-2.23.so
786286174000-786286175000 r--p 00017000 b3:01 272448                     /lib/x86_64-linux-gnu/libresolv-2.23.so
786286175000-786286176000 rw-p 00018000 b3:01 272448                     /lib/x86_64-linux-gnu/libresolv-2.23.so
786286176000-786286178000 rw-p 00000000 00:00 0 
786286178000-786286182000 r-xp 00000000 b3:01 262817                     /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
786286182000-786286381000 ---p 0000a000 b3:01 262817                     /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
786286381000-786286382000 r--p 00009000 b3:01 262817                     /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
786286382000-786286383000 rw-p 0000a000 b3:01 262817                     /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
786286383000-786286386000 r-xp 00000000 b3:01 263928                     /lib/x86_64-linux-gnu/libcom_err.so.2.1
786286386000-786286585000 ---p 00003000 b3:01 263928                     /lib/x86_64-linux-gnu/libcom_err.so.2.1
786286585000-786286586000 r--p 00002000 b3:01 263928                     /lib/x86_64-linux-gnu/libcom_err.so.2.1
786286586000-786286587000 rw-p 00003000 b3:01 263928                     /lib/x86_64-linux-gnu/libcom_err.so.2.1
786286587000-7862865b3000 r-xp 00000000 b3:01 262841                     /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1
7862865b3000-7862867b2000 ---p 0002c000 b3:01 262841                     /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1
7862867b2000-7862867b4000 r--p 0002b000 b3:01 262841                     /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1
7862867b4000-7862867b5000 rw-p 0002d000 b3:01 262841                     /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1
7862867b5000-7862867b6000 rw-p 00000000 00:00 0 
7862867b6000-786286879000 r-xp 00000000 b3:01 262952                     /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3
786286879000-786286a79000 ---p 000c3000 b3:01 262952                     /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3
786286a79000-786286a86000 r--p 000c3000 b3:01 262952                     /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3
786286a86000-786286a88000 rw-p 000d0000 b3:01 262952                     /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3
786286a88000-786286a99000 r-xp 00000000 b3:01 265403                     /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.1
786286a99000-786286c99000 ---p 00011000 b3:01 265403                     /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.1
786286c99000-786286c9a000 r--p 00011000 b3:01 265403                     /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.1
786286c9a000-786286c9b000 rw-p 00012000 b3:01 265403                     /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.1
786286c9b000-786286cf4000 r-xp 00000000 b3:01 262930                     /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.1.0
786286cf4000-786286ef3000 ---p 00059000 b3:01 262930                     /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.1.0
786286ef3000-786286efd000 r--p 00058000 b3:01 262930                     /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.1.0
786286efd000-786286eff000 rw-p 00062000 b3:01 262930                     /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.1.0
786286eff000-786286f31000 r-xp 00000000 b3:01 262889                     /usr/lib/x86_64-linux-gnu/libhogweed.so.4.2
786286f31000-786287130000 ---p 00032000 b3:01 262889                     /usr/lib/x86_64-linux-gnu/libhogweed.so.4.2
786287130000-786287131000 r--p 00031000 b3:01 262889                     /usr/lib/x86_64-linux-gnu/libhogweed.so.4.2
786287131000-786287132000 rw-p 00032000 b3:01 262889                     /usr/lib/x86_64-linux-gnu/libhogweed.so.4.2
786287132000-786287137000 r-xp 00000000 b3:01 273650                     /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
786287137000-786287336000 ---p 00005000 b3:01 273650                     /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
786287336000-786287337000 r--p 00004000 b3:01 273650                     /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
786287337000-786287338000 rw-p 00005000 b3:01 273650                     /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
786287338000-78628733a000 r-xp 00000000 b3:01 273630                     /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
78628733a000-78628753a000 ---p 00002000 b3:01 273630                     /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
78628753a000-78628753b000 r--p 00002000 b3:01 273630                     /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
78628753b000-78628753c000 rw-p 00003000 b3:01 273630                     /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
78628753c000-78628754c000 r-xp 00000000 b3:01 286440                     /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0
78628754c000-78628774b000 ---p 00010000 b3:01 286440                     /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0
78628774b000-78628774c000 r--p 0000f000 b3:01 286440                     /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0
78628774c000-78628774d000 rw-p 00010000 b3:01 286440                     /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0
78628774d000-786287751000 r-xp 00000000 b3:01 274837                     /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0
786287751000-786287950000 ---p 00004000 b3:01 274837                     /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0
786287950000-786287951000 r--p 00003000 b3:01 274837                     /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0
786287951000-786287952000 rw-p 00004000 b3:01 274837                     /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0
786287952000-786287969000 r-xp 00000000 b3:01 274943                     /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0
786287969000-786287b68000 ---p 00017000 b3:01 274943                     /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0
786287b68000-786287b6a000 r--p 00016000 b3:01 274943                     /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0
786287b6a000-786287b6b000 rw-p 00018000 b3:01 274943                     /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0
786287b6b000-786287b6c000 r-xp 00000000 b3:01 274827                     /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1.0.0
786287b6c000-786287d6b000 ---p 00001000 b3:01 274827                     /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1.0.0
786287d6b000-786287d6c000 r--p 00000000 b3:01 274827                     /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1.0.0
786287d6c000-786287d6d000 rw-p 00001000 b3:01 274827                     /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1.0.0
786287d6d000-786287d72000 r-xp 00000000 b3:01 274410                     /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0
786287d72000-786287f71000 ---p 00005000 b3:01 274410                     /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0
786287f71000-786287f72000 r--p 00004000 b3:01 274410                     /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0
786287f72000-786287f73000 rw-p 00005000 b3:01 274410                     /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0
786287f73000-786287f75000 r-xp 00000000 b3:01 274470                     /usr/lib/x86_64-linux-gnu/libXdamage.so.1.1.0
786287f75000-786288174000 ---p 00002000 b3:01 274470                     /usr/lib/x86_64-linux-gnu/libXdamage.so.1.1.0
786288174000-786288175000 r--p 00001000 b3:01 274470                     /usr/lib/x86_64-linux-gnu/libXdamage.so.1.1.0
786288175000-786288176000 rw-p 00002000 b3:01 274470                     /usr/lib/x86_64-linux-gnu/libXdamage.so.1.1.0
786288176000-786288187000 r-xp 00000000 b3:01 273730                     /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
786288187000-786288386000 ---p 00011000 b3:01 273730                     /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
786288386000-786288387000 r--p 00010000 b3:01 273730                     /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
786288387000-786288388000 rw-p 00011000 b3:01 273730                     /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
786288388000-7862883b3000 r-xp 00000000 b3:01 286520                     /usr/lib/x86_64-linux-gnu/libglapi.so.0.0.0
7862883b3000-7862885b2000 ---p 0002b000 b3:01 286520                     /usr/lib/x86_64-linux-gnu/libglapi.so.0.0.0
7862885b2000-7862885b6000 r--p 0002a000 b3:01 286520                     /usr/lib/x86_64-linux-gnu/libglapi.so.0.0.0
7862885b6000-7862885b7000 rw-p 0002e000 b3:01 286520                     /usr/lib/x86_64-linux-gnu/libglapi.so.0.0.0
7862885b7000-7862885b8000 rw-p 00000000 00:00 0 
7862885b8000-7862885b9000 r-xp 00000000 b3:01 274617                     /usr/lib/x86_64-linux-gnu/libxshmfence.so.1.0.0
7862885b9000-7862887b9000 ---p 00001000 b3:01 274617                     /usr/lib/x86_64-linux-gnu/libxshmfence.so.1.0.0
7862887b9000-7862887ba000 r--p 00001000 b3:01 274617                     /usr/lib/x86_64-linux-gnu/libxshmfence.so.1.0.0
7862887ba000-7862887bb000 rw-p 00002000 b3:01 274617                     /usr/lib/x86_64-linux-gnu/libxshmfence.so.1.0.0
7862887bb000-7862887c0000 r-xp 00000000 b3:01 274867                     /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0
7862887c0000-7862889c0000 ---p 00005000 b3:01 274867                     /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0
7862889c0000-7862889c1000 r--p 00005000 b3:01 274867                     /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0
7862889c1000-7862889c2000 rw-p 00006000 b3:01 274867                     /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0
7862889c2000-7862889c4000 r-xp 00000000 b3:01 274857                     /usr/lib/x86_64-linux-gnu/libxcb-present.so.0.0.0
7862889c4000-786288bc3000 ---p 00002000 b3:01 274857                     /usr/lib/x86_64-linux-gnu/libxcb-present.so.0.0.0
786288bc3000-786288bc4000 r--p 00001000 b3:01 274857                     /usr/lib/x86_64-linux-gnu/libxcb-present.so.0.0.0
786288bc4000-786288bc5000 rw-p 00002000 b3:01 274857                     /usr/lib/x86_64-linux-gnu/libxcb-present.so.0.0.0
786288bc5000-786288bc7000 r-xp 00000000 b3:01 274847                     /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0.0.0
786288bc7000-786288dc6000 ---p 00002000 b3:01 274847                     /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0.0.0
786288dc6000-786288dc7000 r--p 00001000 b3:01 274847                     /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0.0.0
786288dc7000-786288dc8000 rw-p 00002000 b3:01 274847                     /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0.0.0
786288dc8000-786288dee000 r-xp 00000000 b3:01 266506                     /lib/x86_64-linux-gnu/libexpat.so.1.6.0
786288dee000-786288fee000 ---p 00026000 b3:01 266506                     /lib/x86_64-linux-gnu/libexpat.so.1.6.0
786288fee000-786288ff0000 r--p 00026000 b3:01 266506                     /lib/x86_64-linux-gnu/libexpat.so.1.6.0
786288ff0000-786288ff1000 rw-p 00028000 b3:01 266506                     /lib/x86_64-linux-gnu/libexpat.so.1.6.0
786288ff1000-78628903e000 r-xp 00000000 b3:01 263796                     /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.5
78628903e000-78628923d000 ---p 0004d000 b3:01 263796                     /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.5
78628923d000-78628923f000 r--p 0004c000 b3:01 263796                     /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.5
78628923f000-786289240000 rw-p 0004e000 b3:01 263796                     /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.5
786289240000-786289242000 rw-p 00000000 00:00 0 
786289242000-78628924f000 r-xp 00000000 b3:01 263803                     /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.5
78628924f000-78628944f000 ---p 0000d000 b3:01 263803                     /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.5
78628944f000-786289450000 r--p 0000d000 b3:01 263803                     /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.5
786289450000-786289451000 rw-p 0000e000 b3:01 263803                     /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.5
786289451000-786289498000 r-xp 00000000 b3:01 263021                     /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2
786289498000-786289697000 ---p 00047000 b3:01 263021                     /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2
786289697000-786289699000 r--p 00046000 b3:01 263021                     /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2
786289699000-78628969b000 rw-p 00048000 b3:01 263021                     /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2
78628969b000-7862897be000 r-xp 00000000 b3:01 291623                     /usr/lib/x86_64-linux-gnu/libgnutls.so.30.6.2
7862897be000-7862899bd000 ---p 00123000 b3:01 291623                     /usr/lib/x86_64-linux-gnu/libgnutls.so.30.6.2
7862899bd000-7862899c8000 r--p 00122000 b3:01 291623                     /usr/lib/x86_64-linux-gnu/libgnutls.so.30.6.2
7862899c8000-7862899ca000 rw-p 0012d000 b3:01 291623                     /usr/lib/x86_64-linux-gnu/libgnutls.so.30.6.2
7862899ca000-7862899cb000 rw-p 00000000 00:00 0 
7862899cb000-7862899ff000 r-xp 00000000 b3:01 262902                     /usr/lib/x86_64-linux-gnu/libnettle.so.6.2
7862899ff000-786289bfe000 ---p 00034000 b3:01 262902                     /usr/lib/x86_64-linux-gnu/libnettle.so.6.2
786289bfe000-786289c00000 r--p 00033000 b3:01 262902                     /usr/lib/x86_64-linux-gnu/libnettle.so.6.2
786289c00000-786289c01000 rw-p 00035000 b3:01 262902                     /usr/lib/x86_64-linux-gnu/libnettle.so.6.2
786289c01000-786289c1c000 r-xp 00000000 b3:01 264274                     /usr/lib/x86_64-linux-gnu/librtmp.so.1
786289c1c000-786289e1b000 ---p 0001b000 b3:01 264274                     /usr/lib/x86_64-linux-gnu/librtmp.so.1
786289e1b000-786289e1c000 r--p 0001a000 b3:01 264274                     /usr/lib/x86_64-linux-gnu/librtmp.so.1
786289e1c000-786289e1d000 rw-p 0001b000 b3:01 264274                     /usr/lib/x86_64-linux-gnu/librtmp.so.1
786289e1d000-786289e4e000 r-xp 00000000 b3:01 270703                     /usr/lib/x86_64-linux-gnu/libidn.so.11.6.15
786289e4e000-78628a04e000 ---p 00031000 b3:01 270703                     /usr/lib/x86_64-linux-gnu/libidn.so.11.6.15
78628a04e000-78628a04f000 r--p 00031000 b3:01 270703                     /usr/lib/x86_64-linux-gnu/libidn.so.11.6.15
78628a04f000-78628a050000 rw-p 00032000 b3:01 270703                     /usr/lib/x86_64-linux-gnu/libidn.so.11.6.15
78628a050000-78628a057000 r-xp 00000000 b3:01 278959                     /usr/lib/x86_64-linux-gnu/libogg.so.0.8.2
78628a057000-78628a257000 ---p 00007000 b3:01 278959                     /usr/lib/x86_64-linux-gnu/libogg.so.0.8.2
78628a257000-78628a258000 r--p 00007000 b3:01 278959                     /usr/lib/x86_64-linux-gnu/libogg.so.0.8.2
78628a258000-78628a259000 rw-p 00008000 b3:01 278959                     /usr/lib/x86_64-linux-gnu/libogg.so.0.8.2
78628a259000-78628a283000 r-xp 00000000 b3:01 273749                     /usr/lib/x86_64-linux-gnu/libvorbis.so.0.4.8
78628a283000-78628a483000 ---p 0002a000 b3:01 273749                     /usr/lib/x86_64-linux-gnu/libvorbis.so.0.4.8
78628a483000-78628a484000 r--p 0002a000 b3:01 273749                     /usr/lib/x86_64-linux-gnu/libvorbis.so.0.4.8
78628a484000-78628a485000 rw-p 0002b000 b3:01 273749                     /usr/lib/x86_64-linux-gnu/libvorbis.so.0.4.8
78628a485000-78628a4a6000 r-xp 00000000 b3:01 273670                     /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
78628a4a6000-78628a6a5000 ---p 00021000 b3:01 273670                     /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
78628a6a5000-78628a6a6000 r--p 00020000 b3:01 273670                     /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
78628a6a6000-78628a6a7000 rw-p 00021000 b3:01 273670                     /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
78628a6a7000-78628a6b6000 r-xp 00000000 b3:01 268912                     /lib/x86_64-linux-gnu/libbz2.so.1.0.4
78628a6b6000-78628a8b5000 ---p 0000f000 b3:01 268912                     /lib/x86_64-linux-gnu/libbz2.so.1.0.4
78628a8b5000-78628a8b6000 r--p 0000e000 b3:01 268912                     /lib/x86_64-linux-gnu/libbz2.so.1.0.4
78628a8b6000-78628a8b7000 rw-p 0000f000 b3:01 268912                     /lib/x86_64-linux-gnu/libbz2.so.1.0.4
78628a8b7000-78628a90e000 r-xp 00000000 b3:01 275967                     /usr/lib/x86_64-linux-gnu/libjpeg.so.8.0.2
78628a90e000-78628ab0e000 ---p 00057000 b3:01 275967                     /usr/lib/x86_64-linux-gnu/libjpeg.so.8.0.2
78628ab0e000-78628ab0f000 r--p 00057000 b3:01 275967                     /usr/lib/x86_64-linux-gnu/libjpeg.so.8.0.2
78628ab0f000-78628ab10000 rw-p 00058000 b3:01 275967                     /usr/lib/x86_64-linux-gnu/libjpeg.so.8.0.2
78628ab10000-78628ab34000 r-xp 00000000 b3:01 267225                     /lib/x86_64-linux-gnu/libpng12.so.0.54.0
78628ab34000-78628ad33000 ---p 00024000 b3:01 267225                     /lib/x86_64-linux-gnu/libpng12.so.0.54.0
78628ad33000-78628ad34000 r--p 00023000 b3:01 267225                     /lib/x86_64-linux-gnu/libpng12.so.0.54.0
78628ad34000-78628ad35000 rw-p 00024000 b3:01 267225                     /lib/x86_64-linux-gnu/libpng12.so.0.54.0
78628ad35000-78628ad3a000 r-xp 00000000 b3:01 274667                     /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0
78628ad3a000-78628af39000 ---p 00005000 b3:01 274667                     /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0
78628af39000-78628af3a000 r--p 00004000 b3:01 274667                     /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0
78628af3a000-78628af3b000 rw-p 00005000 b3:01 274667                     /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0
78628af3b000-78628afa9000 r-xp 00000000 b3:01 397478                     /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2.0
78628afa9000-78628b1a9000 ---p 0006e000 b3:01 397478                     /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2.0
78628b1a9000-78628b1ac000 r--p 0006e000 b3:01 397478                     /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2.0
78628b1ac000-78628b1ad000 rw-p 00071000 b3:01 397478                     /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2.0
78628b1ad000-78628b1ae000 rw-p 00000000 00:00 0 
78628b1ae000-78628b36e000 r-xp 00000000 b3:01 272443                     /lib/x86_64-linux-gnu/libc-2.23.so
78628b36e000-78628b56e000 ---p 001c0000 b3:01 272443                     /lib/x86_64-linux-gnu/libc-2.23.so
78628b56e000-78628b572000 r--p 001c0000 b3:01 272443                     /lib/x86_64-linux-gnu/libc-2.23.so
78628b572000-78628b574000 rw-p 001c4000 b3:01 272443                     /lib/x86_64-linux-gnu/libc-2.23.so
78628b574000-78628b578000 rw-p 00000000 00:00 0 
78628b578000-78628b58e000 r-xp 00000000 b3:01 265211                     /lib/x86_64-linux-gnu/libgcc_s.so.1
78628b58e000-78628b78d000 ---p 00016000 b3:01 265211                     /lib/x86_64-linux-gnu/libgcc_s.so.1
78628b78d000-78628b78e000 rw-p 00015000 b3:01 265211                     /lib/x86_64-linux-gnu/libgcc_s.so.1
78628b78e000-78628b896000 r-xp 00000000 b3:01 272438                     /lib/x86_64-linux-gnu/libm-2.23.so
78628b896000-78628ba95000 ---p 00108000 b3:01 272438                     /lib/x86_64-linux-gnu/libm-2.23.so
78628ba95000-78628ba96000 r--p 00107000 b3:01 272438                     /lib/x86_64-linux-gnu/libm-2.23.so
78628ba96000-78628ba97000 rw-p 00108000 b3:01 272438                     /lib/x86_64-linux-gnu/libm-2.23.so
78628ba97000-78628bc09000 r-xp 00000000 b3:01 268128                     /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
78628bc09000-78628be09000 ---p 00172000 b3:01 268128                     /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
78628be09000-78628be13000 r--p 00172000 b3:01 268128                     /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
78628be13000-78628be15000 rw-p 0017c000 b3:01 268128                     /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
78628be15000-78628be19000 rw-p 00000000 00:00 0 
78628be19000-78628bebd000 r-xp 00000000 b3:01 282377                     /usr/lib/x86_64-linux-gnu/libfreetype.so.6.12.1
78628bebd000-78628c0bc000 ---p 000a4000 b3:01 282377                     /usr/lib/x86_64-linux-gnu/libfreetype.so.6.12.1
78628c0bc000-78628c0c2000 r--p 000a3000 b3:01 282377                     /usr/lib/x86_64-linux-gnu/libfreetype.so.6.12.1
78628c0c2000-78628c0c3000 rw-p 000a9000 b3:01 282377                     /usr/lib/x86_64-linux-gnu/libfreetype.so.6.12.1
78628c0c3000-78628c12c000 r-xp 00000000 b3:01 266977                     /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4.4.0
78628c12c000-78628c32c000 ---p 00069000 b3:01 266977                     /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4.4.0
78628c32c000-78628c32f000 r--p 00069000 b3:01 266977                     /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4.4.0
78628c32f000-78628c330000 rw-p 0006c000 b3:01 266977                     /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4.4.0
78628c330000-78628c333000 r-xp 00000000 b3:01 272446                     /lib/x86_64-linux-gnu/libdl-2.23.so
78628c333000-78628c532000 ---p 00003000 b3:01 272446                     /lib/x86_64-linux-gnu/libdl-2.23.so
78628c532000-78628c533000 r--p 00002000 b3:01 272446                     /lib/x86_64-linux-gnu/libdl-2.23.so
78628c533000-78628c534000 rw-p 00003000 b3:01 272446                     /lib/x86_64-linux-gnu/libdl-2.23.so
78628c534000-78628c54c000 r-xp 00000000 b3:01 272442                     /lib/x86_64-linux-gnu/libpthread-2.23.so
78628c54c000-78628c74b000 ---p 00018000 b3:01 272442                     /lib/x86_64-linux-gnu/libpthread-2.23.so
78628c74b000-78628c74c000 r--p 00017000 b3:01 272442                     /lib/x86_64-linux-gnu/libpthread-2.23.so
78628c74c000-78628c74d000 rw-p 00018000 b3:01 272442                     /lib/x86_64-linux-gnu/libpthread-2.23.so
78628c74d000-78628c751000 rw-p 00000000 00:00 0 
78628c751000-78628c758000 r-xp 00000000 b3:01 272467                     /lib/x86_64-linux-gnu/librt-2.23.so
78628c758000-78628c957000 ---p 00007000 b3:01 272467                     /lib/x86_64-linux-gnu/librt-2.23.so
78628c957000-78628c958000 r--p 00006000 b3:01 272467                     /lib/x86_64-linux-gnu/librt-2.23.so
78628c958000-78628c959000 rw-p 00007000 b3:01 272467                     /lib/x86_64-linux-gnu/librt-2.23.so
78628c959000-78628c9d8000 r-xp 00000000 b3:01 267046                     /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.0
78628c9d8000-78628cbd7000 ---p 0007f000 b3:01 267046                     /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.0
78628cbd7000-78628cbd8000 r--p 0007e000 b3:01 267046                     /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.0
78628cbd8000-78628cbd9000 rw-p 0007f000 b3:01 267046                     /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.0
78628cbd9000-78628cca8000 r-xp 00000000 b3:01 267307                     /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
78628cca8000-78628cea8000 ---p 000cf000 b3:01 267307                     /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
78628cea8000-78628ceab000 r--p 000cf000 b3:01 267307                     /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
78628ceab000-78628cead000 rw-p 000d2000 b3:01 267307                     /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
78628cead000-78628ceae000 rw-p 00000000 00:00 0 
78628ceae000-78628ceb5000 r-xp 00000000 b3:01 273729                     /usr/lib/x86_64-linux-gnu/libvorbisfile.so.3.3.7
78628ceb5000-78628d0b5000 ---p 00007000 b3:01 273729                     /usr/lib/x86_64-linux-gnu/libvorbisfile.so.3.3.7
78628d0b5000-78628d0b6000 r--p 00007000 b3:01 273729                     /usr/lib/x86_64-linux-gnu/libvorbisfile.so.3.3.7
78628d0b6000-78628d0b7000 rw-p 00008000 b3:01 273729                     /usr/lib/x86_64-linux-gnu/libvorbisfile.so.3.3.7
78628d0b7000-78628d120000 r-xp 00000000 b3:01 282271                     /usr/lib/x86_64-linux-gnu/libopenal.so.1.16.0
78628d120000-78628d31f000 ---p 00069000 b3:01 282271                     /usr/lib/x86_64-linux-gnu/libopenal.so.1.16.0
78628d31f000-78628d323000 r--p 00068000 b3:01 282271                     /usr/lib/x86_64-linux-gnu/libopenal.so.1.16.0
78628d323000-78628d324000 rw-p 0006c000 b3:01 282271                     /usr/lib/x86_64-linux-gnu/libopenal.so.1.16.0
78628d324000-78628d327000 rw-p 00000000 00:00 0 
78628d327000-78628d45c000 r-xp 00000000 b3:01 273708                     /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
78628d45c000-78628d65c000 ---p 00135000 b3:01 273708                     /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
78628d65c000-78628d65d000 r--p 00135000 b3:01 273708                     /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
78628d65d000-78628d661000 rw-p 00136000 b3:01 273708                     /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
78628d661000-78628dbf5000 r-xp 00000000 b3:01 282438                     /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8.3
78628dbf5000-78628ddf5000 ---p 00594000 b3:01 282438                     /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8.3
78628ddf5000-78628de36000 r--p 00594000 b3:01 282438                     /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8.3
78628de36000-78628de39000 rw-p 005d5000 b3:01 282438                     /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8.3
78628de39000-78628de46000 rw-p 00000000 00:00 0 
78628de46000-78628de5f000 r-xp 00000000 b3:01 282365                     /lib/x86_64-linux-gnu/libz.so.1.2.8
78628de5f000-78628e05e000 ---p 00019000 b3:01 282365                     /lib/x86_64-linux-gnu/libz.so.1.2.8
78628e05e000-78628e05f000 r--p 00018000 b3:01 282365                     /lib/x86_64-linux-gnu/libz.so.1.2.8
78628e05f000-78628e060000 rw-p 00019000 b3:01 282365                     /lib/x86_64-linux-gnu/libz.so.1.2.8
78628e060000-78628e086000 r-xp 00000000 b3:01 272440                     /lib/x86_64-linux-gnu/ld-2.23.so
78628e086000-78628e087000 rw-s 1027d7000 00:4d 46108                     /dev/dri/card0
78628e087000-78628e088000 rw-s 1027d6000 00:4d 46108                     /dev/dri/card0
<snip, repetitive>
78628e092000-78628e093000 rw-s 1027cb000 00:4d 46108                     /dev/dri/card0
78628e093000-78628e094000 rw-s 1027ca000 00:4d 46108                     /dev/dri/card0
78628e094000-78628e0bc000 rw-p 00000000 00:00 0 
78628e0bc000-78628e0bd000 ---p 00000000 00:00 0 
78628e0bd000-78628e1bd000 rw-p 00000000 00:00 0                          [stack:6027]
78628e1bd000-78628e23d000 r-xp 00000000 b3:01 266049                     /lib/x86_64-linux-gnu/libsystemd.so.0.14.0
78628e23d000-78628e240000 r--p 0007f000 b3:01 266049                     /lib/x86_64-linux-gnu/libsystemd.so.0.14.0
78628e240000-78628e241000 rw-p 00082000 b3:01 266049                     /lib/x86_64-linux-gnu/libsystemd.so.0.14.0
78628e241000-78628e262000 rw-p 00000000 00:00 0 
78628e262000-78628e263000 rw-s 1027c9000 00:4d 46108                     /dev/dri/card0
78628e263000-78628e264000 rw-s 1027c8000 00:4d 46108                     /dev/dri/card0
<snip, repetitive>
78628e27a000-78628e27b000 rw-s 1027c1000 00:4d 46108                     /dev/dri/card0
78628e27b000-78628e27c000 rw-s 1027c0000 00:4d 46108                     /dev/dri/card0
78628e27c000-78628e27d000 rwxp 00000000 00:00 0 
78628e27d000-78628e27e000 rw-s 10229f000 00:4d 46108                     /dev/dri/card0
78628e27e000-78628e285000 r--s 00000000 b3:01 272519                     /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
78628e285000-78628e286000 r--p 00025000 b3:01 272440                     /lib/x86_64-linux-gnu/ld-2.23.so
78628e286000-78628e287000 rw-p 00026000 b3:01 272440                     /lib/x86_64-linux-gnu/ld-2.23.so
78628e287000-78628e288000 rw-p 00000000 00:00 0 
7ffd9eadd000-7ffd9eb04000 rw-p 00000000 00:00 0                          [stack]
7ffd9eb60000-7ffd9eb62000 r--p 00000000 00:00 0                          [vvar]
7ffd9eb62000-7ffd9eb64000 r-xp 00000000 00:00 0                          [vdso]
Aborted (core dumped)
@SmallJoker

This comment has been minimized.

Copy link
Member

commented May 13, 2018

This time a crash in the mapgen code:

Thread 16 "Emerge-0" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffca375700 (LWP 8394)]
0x00005555557b0f00 in Mapgen::propagateSunlight(irr::core::vector3d<short>, irr::core::vector3d<short>, bool) ()
(gdb) bt
#0  0x00005555557b0f00 in Mapgen::propagateSunlight(irr::core::vector3d<short>, irr::core::vector3d<short>, bool) ()
#1  0x00005555557b2840 in Mapgen::calcLighting(irr::core::vector3d<short>, irr::core::vector3d<short>, irr::core::vector3d<short>, irr::core::vector3d<short>, bool) ()
#2  0x00005555558ca65c in LuaVoxelManip::l_calc_lighting(lua_State*) ()
#3  0x000055555583e156 in script_exception_wrapper(lua_State*, int (*)(lua_State*)) ()
#4  0x00007ffff666ce97 in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
#5  0x00007ffff66ba27c in lua_pcall () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
#6  0x00005555558441f7 in ScriptApiBase::runCallbacksRaw(int, RunCallbacksMode, char const*) ()
#7  0x000055555584a586 in ScriptApiEnv::environment_OnGenerated(irr::core::vector3d<short>, irr::core::vector3d<short>, unsigned int) ()
#8  0x0000555555a139c5 in EmergeThread::finishGen(irr::core::vector3d<short>, BlockMakeData*, std::map<irr::core::vector3d<short>, MapBlock*, std::less<irr::core::vector3d<short> >, std::allocator<std::pair<irr::core::vector3d<short> const, MapBlock*> > >*) ()
#9  0x0000555555a1693f in EmergeThread::run() ()
#10 0x00005555558d3d93 in Thread::threadProc(Thread*) ()
#11 0x00007ffff5a3a733 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007ffff62446db in start_thread (arg=0x7fffca375700) at pthread_create.c:463
#13 0x00007ffff50f688f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Network related crash:

Thread 57 "ConnectionSend" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffcb7a9700 (LWP 11995)]
__GI___libc_free (mem=0x10001000101) at malloc.c:3103
3103	malloc.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0  __GI___libc_free (mem=0x10001000101) at malloc.c:3103
#1  0x0000555555cc1d84 in __gnu_cxx::new_allocator<con::ConnectionCommand*>::deallocate (
    this=0x7fffcb7a8047, __p=0x10001000101) at /usr/include/c++/7/ext/new_allocator.h:125
#2  0x0000555555cc03b0 in std::allocator_traits<std::allocator<con::ConnectionCommand*> >::deallocate (__a=..., __p=0x10001000101, __n=8) at /usr/include/c++/7/bits/alloc_traits.h:462
#3  0x0000555555cbcbc9 in std::_Deque_base<con::ConnectionCommand, std::allocator<con::ConnectionCommand> >::_M_deallocate_map (this=0x7fffb80162e8, __p=0x10001000101, __n=8)
    at /usr/include/c++/7/bits/stl_deque.h:623
#4  0x0000555555cb8f23 in std::_Deque_base<con::ConnectionCommand, std::allocator<con::ConnectionCommand> >::~_Deque_base (this=0x7fffb80162e8, __in_chrg=<optimized out>)
    at /usr/include/c++/7/bits/stl_deque.h:667
#5  0x0000555555cb69b4 in std::deque<con::ConnectionCommand, std::allocator<con::ConnectionCommand> >::~deque (this=0x7fffb80162e8, __in_chrg=<optimized out>)
    at /usr/include/c++/7/bits/stl_deque.h:1045
#6  0x0000555555cb4f00 in con::Channel::~Channel (this=0x7fffb8016208, __in_chrg=<optimized out>)
    at /data/Minetest/minetest/src/network/connection.h:437
#7  0x0000555555cc4175 in con::UDPPeer::~UDPPeer (this=0x7fffb8016160, __in_chrg=<optimized out>)
    at /data/Minetest/minetest/src/network/connection.h:655
#8  0x0000555555cc41a4 in con::UDPPeer::~UDPPeer (this=0x7fffb8016160, __in_chrg=<optimized out>)
    at /data/Minetest/minetest/src/network/connection.h:655
#9  0x0000555555caf36a in con::Peer::Drop (this=0x7fffb8016160)
    at /data/Minetest/minetest/src/network/connection.cpp:907
#10 0x0000555555cb14aa in con::Connection::deletePeer (this=0x555556b5d8d0, peer_id=1, 
    timeout=true) at /data/Minetest/minetest/src/network/connection.cpp:1263
#11 0x0000555555cc5c65 in con::ConnectionSendThread::runTimeouts (this=0x5555571de3f0, 
    dtime=0.0500000007) at /data/Minetest/minetest/src/network/connectionthreads.cpp:294
#12 0x0000555555cc49c9 in con::ConnectionSendThread::run (this=0x5555571de3f0)
    at /data/Minetest/minetest/src/network/connectionthreads.cpp:111
#13 0x0000555555d847dd in Thread::threadProc (thr=0x5555571de3f0)
    at /data/Minetest/minetest/src/threading/thread.cpp:196
#14 0x0000555555d84fd1 in std::__invoke_impl<void, void (*)(Thread*), Thread*> (
    __f=@0x55555d3c7290: 0x555555d8476e <Thread::threadProc(Thread*)>, 
    __args#0=@0x55555d3c7288: 0x5555571de3f0) at /usr/include/c++/7/bits/invoke.h:60
#15 0x0000555555d84c98 in std::__invoke<void (*)(Thread*), Thread*> (
    __fn=@0x55555d3c7290: 0x555555d8476e <Thread::threadProc(Thread*)>, 
    __args#0=@0x55555d3c7288: 0x5555571de3f0) at /usr/include/c++/7/bits/invoke.h:95
#16 0x0000555555d8552d in std::thread::_Invoker<std::tuple<void (*)(Thread*), Thread*> >::_M_invoke<0ul, 1ul> (this=0x55555d3c7288) at /usr/include/c++/7/thread:234
#17 0x0000555555d854ce in std::thread::_Invoker<std::tuple<void (*)(Thread*), Thread*> >::operator() (this=0x55555d3c7288) at /usr/include/c++/7/thread:243
#18 0x0000555555d8549e in std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(Thread*), Thread*> > >::_M_run (this=0x55555d3c7280) at /usr/include/c++/7/thread:186
#19 0x00007ffff55ed733 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#20 0x00007ffff62446db in start_thread (arg=0x7fffcb7a9700) at pthread_create.c:463
#21 0x00007ffff4ca988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

On singleplayer world join (hosting server): (obsserved in debug build only) Fixed since a1598e1
Migrating a world from player_backend = files to sqlite3: Fixed since a1598e1

In-game:

free(): invalid next size (fast)

Thread 1 "minetest" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51	../sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007ffff4bc8801 in __GI_abort () at abort.c:79
#2  0x00007ffff4c11897 in __libc_message (action=action@entry=do_abort, 
    fmt=fmt@entry=0x7ffff4d3eb9a "%s\n") at ../sysdeps/posix/libc_fatal.c:181
#3  0x00007ffff4c1890a in malloc_printerr (
    str=str@entry=0x7ffff4d40800 "free(): invalid next size (fast)") at malloc.c:5350
#4  0x00007ffff4c1ff60 in _int_free (have_lock=0, p=0x7fffc00dea90, av=0x7fffc0000020)
    at malloc.c:4213
#5  __GI___libc_free (mem=0x7fffc00deaa0) at malloc.c:3124
#6  0x0000555555c2c796 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, int> > >::deallocate (
    this=0x5555565c3f58 <main_profiler+88>, __p=0x7fffc00deaa0)
    at /usr/include/c++/7/ext/new_allocator.h:125
#7  0x0000555555c2c28d in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, int> > > >::deallocate (__a=..., __p=0x7fffc00deaa0, __n=1) at /usr/include/c++/7/bits/alloc_traits.h:462
#8  0x0000555555c2b701 in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, int>, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<---Type <return> to continue, or q <return> to quit---
char>, std::allocator<char> > const, int> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, int> > >::_M_put_node (
    this=0x5555565c3f58 <main_profiler+88>, __p=0x7fffc00deaa0)
    at /usr/include/c++/7/bits/stl_tree.h:592
#9  0x0000555555c295ce in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, int>, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, int> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, int> > >::_M_drop_node (
    this=0x5555565c3f58 <main_profiler+88>, __p=0x7fffc00deaa0)
    at /usr/include/c++/7/bits/stl_tree.h:659
#10 0x0000555555c27822 in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, int>, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, int> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, int> > >::_M_erase (
    this=0x5555565c3f58 <main_profiler+88>, __x=0x7fffc00deaa0)
    at /usr/include/c++/7/bits/stl_tree.h:1858
#11 0x0000555555c277ff in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, int>, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, int> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, int> > >::_M_erase (
    this=0x5555565c3f58 <main_profiler+88>, __x=0x55555daf2060)
    at /usr/include/c++/7/bits/stl_tree.h:1856
#12 0x0000555555c277ff in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, int>, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, int> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, int> > >::_M_erase (
    this=0x5555565c3f58 <main_profiler+88>, __x=0x55555da10750)
    at /usr/include/c++/7/bits/stl_tree.h:1856
#13 0x0000555555c28cd6 in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std---Type <return> to continue, or q <return> to quit---
::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, int>, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, int> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, int> > >::clear (
    this=0x5555565c3f58 <main_profiler+88>) at /usr/include/c++/7/bits/stl_tree.h:1171
#14 0x0000555555c2723a in std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, int> > >::clear (this=0x5555565c3f58 <main_profiler+88>)
    at /usr/include/c++/7/bits/stl_map.h:1128
#15 0x0000555555eebc4e in Profiler::clear (this=0x5555565c3f00 <main_profiler>)
    at /data/Minetest/minetest/src/profiler.h:86
#16 0x0000555555eda19b in Game::updateProfilers (this=0x7fffffffd540, stats=..., draw_times=..., 
    dtime=0.0170000009) at /data/Minetest/minetest/src/game.cpp:1740
#17 0x0000555555ed6cdf in Game::run (this=0x7fffffffd540)
    at /data/Minetest/minetest/src/game.cpp:1100
#18 0x0000555555eea087 in the_game (kill=0x5555565c3e20 <porting::g_killed>, random_input=false, 
    input=0x5555569b0cf0, map_dir="/data/Minetest/run/bin/../worlds/mtg_dummy", 
    ayer", password="", address="", port=56181, error_message="", 
    chat_backend=..., reconnect_requested=0x7fffffffd7d4, gamespec=..., 
    simple_singleplayer_mode=true) at /data/Minetest/minetest/src/game.cpp:4152
#19 0x0000555555b446f8 in ClientLauncher::run (this=0x7fffffffdd40, game_params=..., cmd_args=...)
    at /data/Minetest/minetest/src/client/clientlauncher.cpp:235
#20 0x0000555555f2fe1f in main (argc=1, argv=0x7fffffffe0a8)
    at /data/Minetest/minetest/src/main.cpp:212

Leaving world:

free(): invalid next size (fast)

Thread 1 "minetest" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51	../sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007ffff4bc8801 in __GI_abort () at abort.c:79
#2  0x00007ffff4c11897 in __libc_message (action=action@entry=do_abort, 
    fmt=fmt@entry=0x7ffff4d3eb9a "%s\n") at ../sysdeps/posix/libc_fatal.c:181
#3  0x00007ffff4c1890a in malloc_printerr (
    str=str@entry=0x7ffff4d40800 "free(): invalid next size (fast)") at malloc.c:5350
#4  0x00007ffff4c1ff60 in _int_free (have_lock=0, p=0x55555a2ffb70, av=0x7ffff4f73c40 <main_arena>)
    at malloc.c:4213
#5  __GI___libc_free (mem=0x55555a2ffb80) at malloc.c:3124
#6  0x0000555555b9b75c in __gnu_cxx::new_allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::deallocate (this=0x555558293618, __p=0x55555a2ffb80)
    at /usr/include/c++/7/ext/new_allocator.h:125
#7  0x0000555555b98911 in std::allocator_traits<std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::deallocate (__a=..., __p=0x55555a2ffb80, __n=2)
    at /usr/include/c++/7/bits/alloc_traits.h:462
#8  0x0000555555b95324 in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_M_deallocate (this=0x555558293618, __p=0x55555a2ffb80, __n=2)
    at /usr/include/c++/7/bits/stl_vector.h:180
#9  0x0000555555b920a1 in std::_Vector_base<std::__cxx11::basic_string<char, std::char_traits<char>,---Type <return> to continue, or q <return> to quit---
 std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::~_Vector_base (this=0x555558293618, __in_chrg=<optimized out>)
    at /usr/include/c++/7/bits/stl_vector.h:162
#10 0x0000555555b8f821 in std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::~vector (this=0x555558293618, __in_chrg=<optimized out>)
    at /usr/include/c++/7/bits/stl_vector.h:435
#11 0x0000555555ea755a in CraftDefinitionShaped::~CraftDefinitionShaped (this=0x5555582935d0, 
    __in_chrg=<optimized out>) at /data/Minetest/minetest/src/craftdef.h:180
#12 0x0000555555ea75a2 in CraftDefinitionShaped::~CraftDefinitionShaped (this=0x5555582935d0, 
    __in_chrg=<optimized out>) at /data/Minetest/minetest/src/craftdef.h:180
#13 0x0000555555ea0491 in CCraftDefManager::clear (this=0x555556bcca10)
    at /data/Minetest/minetest/src/craftdef.cpp:1074
#14 0x0000555555e9efea in CCraftDefManager::~CCraftDefManager (this=0x555556bcca10, 
    __in_chrg=<optimized out>) at /data/Minetest/minetest/src/craftdef.cpp:861
#15 0x0000555555e9f032 in CCraftDefManager::~CCraftDefManager (this=0x555556bcca10, 
    __in_chrg=<optimized out>) at /data/Minetest/minetest/src/craftdef.cpp:862
#16 0x0000555555fccf6f in Server::~Server (this=0x5555582f6c90, __in_chrg=<optimized out>)
    at /data/Minetest/minetest/src/server.cpp:338
#17 0x0000555555fcd23e in Server::~Server (this=0x5555582f6c90, __in_chrg=<optimized out>)
    at /data/Minetest/minetest/src/server.cpp:348
#18 0x0000555555ed5dff in Game::~Game (this=0x7fffffffd540, __in_chrg=<optimized out>)
    at /data/Minetest/minetest/src/game.cpp:946
#19 0x0000555555eea0b4 in the_game (kill=0x5555565c3e20 <porting::g_killed>, random_input=false, 
    input=0x5555569b0bc0, map_dir="/data/Minetest/run/bin/../worlds/mtg_dummy", 
    playername="singleplayer", password="", address="", port=60541, error_message="", 
    chat_backend=..., reconnect_requested=0x7fffffffd7d4, gamespec=..., 
    simple_singleplayer_mode=true) at /data/Minetest/minetest/src/game.cpp:4138
#20 0x0000555555b446f8 in ClientLauncher::run (this=0x7fffffffdd40, game_params=..., cmd_args=...)
    at /data/Minetest/minetest/src/client/clientlauncher.cpp:235
#21 0x0000555555f2fe1f in main (argc=1, argv=0x7fffffffe0a8)
    at /data/Minetest/minetest/src/main.cpp:212

@paramat paramat removed the Blocker label May 16, 2018

@SmallJoker

This comment has been minimized.

Copy link
Member

commented May 18, 2018

Item stack movement crash

Thread 78 "Server" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd118b700 (LWP 29033)]
__memset_sse2_unaligned_erms () at ../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:252
252	../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0  __memset_sse2_unaligned_erms () at ../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:252
#1  0x0000555555bc8f90 in std::_Hashtable<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, short>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, short> >, std::__detail::_Select1st, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::clear (this=0x7fffc4068698)
    at /usr/include/c++/7/bits/hashtable.h:2030
#2  0x0000555555bc8aa0 in std::_Hashtable<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, short>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, short> >, std::__detail::_Select1st, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::~_Hashtable (this=0x7fffc4068698, __in_chrg=<optimized out>)
    at /usr/include/c++/7/bits/hashtable.h:1355
#3  0x0000555555bc840e in std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, short, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, short> > >::~unordered_map (this=0x7fffc4068698, 
    __in_chrg=<optimized out>) at /usr/include/c++/7/bits/unordered_map.h:101
#4  0x0000555555bc8504 in ToolCapabilities::~ToolCapabilities (this=0x7fffc4068658, 
    __in_chrg=<optimized out>) at /data/Minetest/minetest/src/tool.h:55
#5  0x0000555555bcbb82 in ItemStackMetadata::~ItemStackMetadata (this=0x7fffc4068608, 
    __in_chrg=<optimized out>) at /data/Minetest/minetest/src/itemstackmetadata.h:28
#6  0x0000555555bc86b8 in ItemStack::~ItemStack (this=0x7fffc40685e0, __in_chrg=<optimized out>)
    at /data/Minetest/minetest/src/inventory.h:40
#7  0x0000555555d3ee8a in LuaItemStack::~LuaItemStack (this=0x7fffc40685e0, 
    __in_chrg=<optimized out>) at /data/Minetest/minetest/src/script/lua_api/l_item.h:124
#8  0x0000555555d3c666 in LuaItemStack::gc_object (L=0x4009e378)
    at /data/Minetest/minetest/src/script/lua_api/l_item.cpp:37
#9  0x0000555555d017d0 in script_exception_wrapper (L=0x4009e378, 
    f=0x555555d3c630 <LuaItemStack::gc_object(lua_State*)>)
    at /data/Minetest/minetest/src/script/common/c_internal.cpp:35
#10 0x00007ffff666ce97 in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
#11 0x00007ffff6679d28 in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
#12 0x00007ffff6698f36 in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
#13 0x00007ffff6699663 in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
#14 0x00007ffff6699b2c in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
#15 0x00007ffff66b5d6d in lua_pushstring () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
#16 0x0000555555d62cd5 in ObjectRef::l_get_player_name (L=0x4009e378)
    at /data/Minetest/minetest/src/script/lua_api/l_object.cpp:1018
#17 0x0000555555d017d0 in script_exception_wrapper (L=0x4009e378, 
    f=0x555555d62c60 <ObjectRef::l_get_player_name(lua_State*)>)
    at /data/Minetest/minetest/src/script/common/c_internal.cpp:35
#18 0x00007ffff666ce97 in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
#19 0x00007ffff66ba27c in lua_pcall () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
#20 0x0000555555d07b91 in ScriptApiBase::runCallbacksRaw (this=0x55556c83bf30, nargs=1, 
    mode=RUN_CALLBACKS_MODE_FIRST, 
    fxn=0x5555560c8ef0 <ScriptApiEnv::environment_Step(float)::__FUNCTION__> "environment_Step")
    at /data/Minetest/minetest/src/script/cpp_api/s_base.cpp:259
#21 0x0000555555d0f1bf in ScriptApiEnv::environment_Step (this=0x55556c83bf00, dtime=0.0160000008)
    at /data/Minetest/minetest/src/script/cpp_api/s_env.cpp:55
#22 0x0000555555ff7834 in ServerEnvironment::step (this=0x55555a5f9b80, dtime=0.0160000008)
    at /data/Minetest/minetest/src/serverenvironment.cpp:1323
#23 0x0000555555fcc914 in Server::AsyncRunStep (this=0x5555597fee70, initial_step=false)
    at /data/Minetest/minetest/src/server.cpp:482
#24 0x0000555555fc97ae in ServerThread::run (this=0x55556c7bcb30)
    at /data/Minetest/minetest/src/server.cpp:100
#25 0x0000555555d83641 in Thread::threadProc (thr=0x55556c7bcb30)
    at /data/Minetest/minetest/src/threading/thread.cpp:196
#26 0x0000555555d83e35 in std::__invoke_impl<void, void (*)(Thread*), Thread*> (
    __f=@0x5555596fed10: 0x555555d835d2 <Thread::threadProc(Thread*)>, 
    __args#0=@0x5555596fed08: 0x55556c7bcb30) at /usr/include/c++/7/bits/invoke.h:60
#27 0x0000555555d83afc in std::__invoke<void (*)(Thread*), Thread*> (
    __fn=@0x5555596fed10: 0x555555d835d2 <Thread::threadProc(Thread*)>, 
    __args#0=@0x5555596fed08: 0x55556c7bcb30) at /usr/include/c++/7/bits/invoke.h:95
#28 0x0000555555d84391 in std::thread::_Invoker<std::tuple<void (*)(Thread*), Thread*> >::_M_invoke<0ul, 1ul> (this=0x5555596fed08) at /usr/include/c++/7/thread:234
#29 0x0000555555d84332 in std::thread::_Invoker<std::tuple<void (*)(Thread*), Thread*> >::operator() (this=0x5555596fed08) at /usr/include/c++/7/thread:243
#30 0x0000555555d84302 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(Thread*), Thread*> > >::_M_run (this=0x5555596fed00) at /usr/include/c++/7/thread:186
#31 0x00007ffff55ed733 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#32 0x00007ffff62446db in start_thread (arg=0x7fffd118b700) at pthread_create.c:463
#33 0x00007ffff4ca988f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Another crash on leave: (double free)

double free or corruption (out)

Thread 1 "minetest" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51	../sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007ffff4bc8801 in __GI_abort () at abort.c:79
#2  0x00007ffff4c11897 in __libc_message (action=action@entry=do_abort, 
    fmt=fmt@entry=0x7ffff4d3eb9a "%s\n") at ../sysdeps/posix/libc_fatal.c:181
#3  0x00007ffff4c1890a in malloc_printerr (
    str=str@entry=0x7ffff4d40870 "double free or corruption (out)") at malloc.c:5350
#4  0x00007ffff4c1fe75 in _int_free (have_lock=0, p=0x555558f89ef0, av=0x7ffff4f73c40 <main_arena>)
    at malloc.c:4278
#5  __GI___libc_free (mem=0x555558f89f00) at malloc.c:3124
#6  0x00007ffff48edfb9 in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#7  0x00007ffff042cc38 in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.340.106
#8  0x00007ffff07fc608 in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.340.106
#9  0x00007ffff04f7c5c in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.340.106
#10 0x00007ffff04cedc6 in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.340.106
#11 0x00007ffff774816e in irr::video::COpenGLTexture::~COpenGLTexture() ()
   from /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8
#12 0x00007ffff7748189 in irr::video::COpenGLTexture::~COpenGLTexture() ()
   from /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8
#13 0x00007ffff771dc56 in irr::video::CNullDriver::removeTexture(irr::video::ITexture*) ()
   from /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8
#14 0x00007ffff772f546 in irr::video::COpenGLDriver::removeTexture(irr::video::ITexture*) ()
   from /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8
#15 0x0000555555b83e93 in TextureSource::~TextureSource (this=0x55556c8f1fd0, 
    __in_chrg=<optimized out>) at /data/Minetest/minetest/src/client/tile.cpp:455
#16 0x0000555555b8405e in TextureSource::~TextureSource (this=0x55556c8f1fd0, 
    __in_chrg=<optimized out>) at /data/Minetest/minetest/src/client/tile.cpp:466
#17 0x0000555555ed62c8 in Game::~Game (this=0x7fffffffd520, __in_chrg=<optimized out>)
    at /data/Minetest/minetest/src/game.cpp:953
#18 0x0000555555eea49c in the_game (kill=0x5555565c3e20 <porting::g_killed>, random_input=false, 
    input=0x55555695dc20, map_dir="/data/Minetest/run/bin/../worlds/mtg_dummy", 
    playername="singleplayer", password="", address="", port=50963, error_message="", 
    chat_backend=..., reconnect_requested=0x7fffffffd7b4, gamespec=..., 
    simple_singleplayer_mode=true) at /data/Minetest/minetest/src/game.cpp:4138
#19 0x0000555555b44708 in ClientLauncher::run (this=0x7fffffffdd30, game_params=..., cmd_args=...)
    at /data/Minetest/minetest/src/client/clientlauncher.cpp:235
#20 0x0000555555f30207 in main (argc=1, argv=0x7fffffffe0a8)
    at /data/Minetest/minetest/src/main.cpp:212

Leaving world:

Thread 1 "minetest" received signal SIGSEGV, Segmentation fault.
0x0000555555bad7aa in std::__detail::_Hash_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, true>::_M_next (this=0x10001000100)
    at /usr/include/c++/7/bits/hashtable_policy.h:285
285	      { return static_cast<_Hash_node*>(this->_M_nxt); }
(gdb) bt
#0  0x0000555555bad7aa in std::__detail::_Hash_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, true>::_M_next (this=0x10001000100)
    at /usr/include/c++/7/bits/hashtable_policy.h:285
#1  0x0000555555bad713 in std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, true> > >::_M_deallocate_nodes (this=0x7fff9c000a28, __n=0x10001000100)
    at /usr/include/c++/7/bits/hashtable_policy.h:2096
#2  0x0000555555baa73a in std::_Hashtable<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::__detail::_Select1st, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::clear (
    this=0x7fff9c000a28) at /usr/include/c++/7/bits/hashtable.h:2029
#3  0x0000555555ba76a8 in std::_Hashtable<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::__detail::_Select1st, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::~_Hashtable (
    this=0x7fff9c000a28, __in_chrg=<optimized out>) at /usr/include/c++/7/bits/hashtable.h:1355
#4  0x0000555555ba57be in std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::~unordered_map (this=0x7fff9c000a28, __in_chrg=<optimized out>)
    at /usr/include/c++/7/bits/unordered_map.h:101
#5  0x0000555555ba5822 in Metadata::~Metadata (this=0x7fff9c000a18, __in_chrg=<optimized out>)
    at /data/Minetest/minetest/src/metadata.h:31
#6  0x0000555555bcd10e in ItemStackMetadata::~ItemStackMetadata (this=0x7fff9c000a18, 
    __in_chrg=<optimized out>) at /data/Minetest/minetest/src/itemstackmetadata.h:28
#7  0x0000555555bc9c38 in ItemStack::~ItemStack (this=0x7fff9c0009f0, __in_chrg=<optimized out>)
    at /data/Minetest/minetest/src/inventory.h:40
#8  0x0000555555d404e4 in LuaItemStack::~LuaItemStack (this=0x7fff9c0009f0, 
    __in_chrg=<optimized out>) at /data/Minetest/minetest/src/script/lua_api/l_item.h:124
#9  0x0000555555d3dcc0 in LuaItemStack::gc_object (L=0x4009e378)
    at /data/Minetest/minetest/src/script/lua_api/l_item.cpp:37
#10 0x0000555555d02e2a in script_exception_wrapper (L=0x4009e378, 
    f=0x555555d3dc8a <LuaItemStack::gc_object(lua_State*)>)
    at /data/Minetest/minetest/src/script/common/c_internal.cpp:35
#11 0x00007ffff666ce97 in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
#12 0x00007ffff6679d28 in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
#13 0x00007ffff6698f36 in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
#14 0x00007ffff6699048 in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
#15 0x00007ffff666d1a6 in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
#16 0x00007ffff66ba996 in lua_close () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
#17 0x0000555555d0834e in ScriptApiBase::~ScriptApiBase (this=0x555556a85850, 
    __in_chrg=<optimized out>) at /data/Minetest/minetest/src/script/cpp_api/s_base.cpp:129
#18 0x0000555555d7d0cb in ServerScripting::~ServerScripting (this=0x555556a85810, 
    __in_chrg=<optimized out>, __vtt_parm=<optimized out>)
    at /data/Minetest/minetest/src/script/scripting_server.h:35
#19 0x0000555555d7d132 in ServerScripting::~ServerScripting (this=0x555556a85810, 
    __in_chrg=<optimized out>, __vtt_parm=<optimized out>)
    at /data/Minetest/minetest/src/script/scripting_server.h:35
#20 0x0000555555fcd401 in Server::~Server (this=0x5555591585a0, __in_chrg=<optimized out>)
    at /data/Minetest/minetest/src/server.cpp:342
#21 0x0000555555fcd66a in Server::~Server (this=0x5555591585a0, __in_chrg=<optimized out>)
    at /data/Minetest/minetest/src/server.cpp:348
#22 0x0000555555ed61e7 in Game::~Game (this=0x7fffffffd520, __in_chrg=<optimized out>)
    at /data/Minetest/minetest/src/game.cpp:946
#23 0x0000555555eea49c in the_game (kill=0x5555565c3e20 <porting::g_killed>, random_input=false, 
    input=0x5555569b0840, map_dir="/data/Minetest/run/bin/../worlds/mtg_dummy", 
    playername="singleplayer", password="", address="", port=56283, error_message="", 
    chat_backend=..., reconnect_requested=0x7fffffffd7b4, gamespec=..., 
    simple_singleplayer_mode=true) at /data/Minetest/minetest/src/game.cpp:4138
#24 0x0000555555b44708 in ClientLauncher::run (this=0x7fffffffdd30, game_params=..., cmd_args=...)
    at /data/Minetest/minetest/src/client/clientlauncher.cpp:235
#25 0x0000555555f30207 in main (argc=1, argv=0x7fffffffe0a8)
    at /data/Minetest/minetest/src/main.cpp:212
@HybridDog

This comment has been minimized.

Copy link
Contributor

commented May 21, 2018

I'm also experiencing crashes recently: https://pastebin.com/raw/xr2bq9Wx
minetest version 201805082203-0~50c33d9~ubuntu17.10.1

@sfan5

This comment has been minimized.

Copy link
Member

commented May 21, 2018

Your libc is probably trying to report a double free.

@HybridDog

This comment has been minimized.

Copy link
Contributor

commented May 21, 2018

Yes, I get the double free or corruption (out) message.

Edit: I also get the free(): invalid next size (fast) message.

@hkzorman

This comment has been minimized.

Copy link

commented May 25, 2018

Found another crash on shutdown:
Note: I think it is the same crash reported above by SmallJoker labeled "In Game"

(gdb) bt
#0  0x0000000000995cdf in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_S_right (
    __x=0x10001000101) at /usr/include/c++/5/bits/stl_tree.h:687
#1  0x0000000000992c0d in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_erase (
    this=0x13c2ba0 <g_texturename_to_path_cache[abi:cxx11]>, 
    __x=0x10001000101) at /usr/include/c++/5/bits/stl_tree.h:1612
#2  0x0000000000992c1f in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string---Type <return> to continue, or q <return> to quit---
<char, std::char_traits<char>, std::allocator<char> > > > >::_M_erase (
    this=0x13c2ba0 <g_texturename_to_path_cache[abi:cxx11]>, 
    __x=0x57c7cd0) at /usr/include/c++/5/bits/stl_tree.h:1612
#3  0x0000000000992c1f in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_erase (
    this=0x13c2ba0 <g_texturename_to_path_cache[abi:cxx11]>, 
    __x=0x48c2930) at /usr/include/c++/5/bits/stl_tree.h:1612
#4  0x0000000000992c1f in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_erase (
    this=0x13c2ba0 <g_texturename_to_path_cache[abi:cxx11]>, 
    __x=0x66ea180) at /usr/include/c++/5/bits/stl_tree.h:1612
#5  0x0000000000992c1f in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_stri---Type <return> to continue, or q <return> to quit---
ng<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_erase (
    this=0x13c2ba0 <g_texturename_to_path_cache[abi:cxx11]>, 
    __x=0x5c880c0) at /usr/include/c++/5/bits/stl_tree.h:1612
#6  0x0000000000992c1f in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_erase (
    this=0x13c2ba0 <g_texturename_to_path_cache[abi:cxx11]>, 
    __x=0x5737f50) at /usr/include/c++/5/bits/stl_tree.h:1612
#7  0x0000000000996102 in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::clear (
    this=0x13c2ba0 <g_texturename_to_path_cache[abi:cxx11]>)
    at /usr/include/c++/5/bits/stl_tree.h:1075
#8  0x0000000000992f12 in std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<cha---Type <return> to continue, or q <return> to quit---
r, std::char_traits<char>, std::allocator<char> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::clear (
    this=0x13c2ba0 <g_texturename_to_path_cache[abi:cxx11]>)
    at /usr/include/c++/5/bits/stl_map.h:810
#9  0x000000000099077e in MutexedMap<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::clear (
    this=0x13c2ba0 <g_texturename_to_path_cache[abi:cxx11]>)
    at /home/hfranqui/Development/minetest/src/util/container.h:114
#10 0x0000000000984a06 in clearTextureNameCache ()
    at /home/hfranqui/Development/minetest/src/client/tile.cpp:161


#11 0x0000000000ce419d in Game::extendedResourceCleanup (
    this=0x7fffffffd6e0)
    at /home/hfranqui/Development/minetest/src/game.cpp:3984
#12 0x0000000000cd2428 in Game::~Game (this=0x7fffffffd6e0, 
    __in_chrg=<optimized out>)
    at /home/hfranqui/Development/minetest/src/game.cpp:959
#13 0x0000000000ce63ec in the_game (kill=0x13f40c0 <porting::g_killed>, 
    random_input=false, input=0x19e1d00, map_dir=..., playername=..., 
    password=..., address=..., port=30005, error_message=..., 
    chat_backend=..., reconnect_requested=0x7fffffffd980, gamespec=..., 
    simple_singleplayer_mode=false)
    at /home/hfranqui/Development/minetest/src/game.cpp:4138
#14 0x0000000000945c57 in ClientLauncher::run (this=0x7fffffffe0a0, 
    game_params=..., cmd_args=...)
    at /home/hfranqui/Development/minetest/src/client/clientlauncher.cpp:249
#15 0x0000000000d2c3c6 in main (argc=1, argv=0x7fffffffe408)
    at /home/hfranqui/Development/minetest/src/main.cpp:212
@SmallJoker

This comment has been minimized.

Copy link
Member

commented Jun 6, 2018

Leaving from singleplayer to mainmenu: (This time CraftDefinitionShapeless instead of Shaped)

Thread 1 "minetest" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51	../sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007ffff4bc8801 in __GI_abort () at abort.c:79
#2  0x00007ffff4c11897 in __libc_message (action=action@entry=do_abort, 
    fmt=fmt@entry=0x7ffff4d3eb9a "%s\n") at ../sysdeps/posix/libc_fatal.c:181
#3  0x00007ffff4c1890a in malloc_printerr (
    str=str@entry=0x7ffff4d40800 "free(): invalid next size (fast)") at malloc.c:5350
#4  0x00007ffff4c1ff60 in _int_free (have_lock=0, p=0x55555a89e780, av=0x7ffff4f73c40 <main_arena>)
    at malloc.c:4213
#5  __GI___libc_free (mem=0x55555a89e790) at malloc.c:3124
#6  0x0000555555ea8cc4 in CraftDefinitionShapeless::~CraftDefinitionShapeless (
    this=0x55555a89e790, __in_chrg=<optimized out>) at /data/Minetest/minetest/src/craftdef.h:226
#7  0x0000555555ea1c37 in CCraftDefManager::clear (this=0x5555595732e0)
    at /data/Minetest/minetest/src/craftdef.cpp:1074
#8  0x0000555555ea0790 in CCraftDefManager::~CCraftDefManager (this=0x5555595732e0, 
    __in_chrg=<optimized out>) at /data/Minetest/minetest/src/craftdef.cpp:861
#9  0x0000555555ea07d8 in CCraftDefManager::~CCraftDefManager (this=0x5555595732e0, 
    __in_chrg=<optimized out>) at /data/Minetest/minetest/src/craftdef.cpp:862
#10 0x0000555555fcea37 in Server::~Server (this=0x55555c172af0, __in_chrg=<optimized out>)
    at /data/Minetest/minetest/src/server.cpp:338
#11 0x0000555555fced06 in Server::~Server (this=0x55555c172af0, __in_chrg=<optimized out>)
    at /data/Minetest/minetest/src/server.cpp:348
#12 0x0000555555ed75a5 in Game::~Game (this=0x7fffffffd520, __in_chrg=<optimized out>)
    at /data/Minetest/minetest/src/game.cpp:946
#13 0x0000555555eeb966 in the_game (kill=0x5555565c5fe0 <porting::g_killed>, random_input=false, 
    input=0x5555569b2e90, map_dir="/data/Minetest/run/bin/../worlds/mtg_dummy", 
    playername="singleplayer", password="", address="", port=58755, error_message="", 
    chat_backend=..., reconnect_requested=0x7fffffffd7b4, gamespec=..., 
    simple_singleplayer_mode=true) at /data/Minetest/minetest/src/game.cpp:4142
#14 0x0000555555b447f8 in ClientLauncher::run (this=0x7fffffffdd30, game_params=..., cmd_args=...)
    at /data/Minetest/minetest/src/client/clientlauncher.cpp:235
#15 0x0000555555f3187b in main (argc=1, argv=0x7fffffffe0a8)
    at /data/Minetest/minetest/src/main.cpp:212

Leaving from singleplayer to mainmenu:

Thread 1 "minetest" received signal SIGSEGV, Segmentation fault.
__GI___libc_free (mem=0x10001000100) at malloc.c:3103
3103	malloc.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0  __GI___libc_free (mem=0x10001000100) at malloc.c:3103
#1  0x0000555555fe48c8 in MediaInfo::~MediaInfo (this=0x55555f1690b8, __in_chrg=<optimized out>) at /data/Minetest/minetest/src/server.h:73
#2  0x0000555555ff157e in std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, MediaInfo>::~pair (
    this=0x55555f169098, __in_chrg=<optimized out>) at /usr/include/c++/7/bits/stl_pair.h:198
#3  0x0000555555ff15aa in __gnu_cxx::new_allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, MediaInfo> >::destroy<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, MediaInfo> > (
    this=0x7fffffffd19f, __p=0x55555f169098) at /usr/include/c++/7/ext/new_allocator.h:140
#4  0x0000555555fef6e4 in std::allocator_traits<std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, MediaInfo> > >::destroy<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, MediaInfo> > (__a=..., __p=0x55555f169098) at /usr/include/c++/7/bits/alloc_traits.h:487
#5  0x0000555555fecdec in std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, MediaInfo>, true> > >::_M_deallocate_node (this=0x55555a857318, __n=0x55555f169090)
    at /usr/include/c++/7/bits/hashtable_policy.h:2084
#6  0x0000555555fe99e8 in std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, MediaInfo>, true> > >::_M_deallocate_nodes (this=0x55555a857318, __n=0x55555f168fe0)
    at /usr/include/c++/7/bits/hashtable_policy.h:2097
#7  0x0000555555fe6f7c in std::_Hashtable<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, MediaInfo>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, MediaInfo> >, std::__detail::_Select1st, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::clear (this=0x55555a857318) at /usr/include/c++/7/bits/hashtable.h:2029
#8  0x0000555555fe4f7a in std::_Hashtable<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, MediaInfo>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, MediaInfo> >, std::__detail::_Select1st, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::~_Hashtable (this=0x55555a857318, __in_chrg=<optimized out>) at /usr/include/c++/7/bits/hashtable.h:1355
#9  0x0000555555fe4108 in std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, MediaInfo, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, MediaInfo> > >::~unordered_map (this=0x55555a857318, __in_chrg=<optimized out>) at /usr/include/c++/7/bits/unordered_map.h:101
#10 0x0000555555fce6d1 in Server::~Server (this=0x55555a856e70, __in_chrg=<optimized out>) at /data/Minetest/minetest/src/server.cpp:282
#11 0x0000555555fce818 in Server::~Server (this=0x55555a856e70, __in_chrg=<optimized out>) at /data/Minetest/minetest/src/server.cpp:348
#12 0x0000555555ed7053 in Game::~Game (this=0x7fffffffd4f0, __in_chrg=<optimized out>) at /data/Minetest/minetest/src/game.cpp:946
#13 0x0000555555eeb478 in the_game (kill=0x5555565c4e20 <porting::g_killed>, random_input=false, input=0x5555569b1930, 
    map_dir="/data/Minetest/run/bin/../worlds/mtg_dummy", playername="singleplayer", password="", address="", port=62633, error_message="", 
    chat_backend=..., reconnect_requested=0x7fffffffd784, gamespec=..., simple_singleplayer_mode=true)
    at /data/Minetest/minetest/src/game.cpp:4142
#14 0x0000555555b44708 in ClientLauncher::run (this=0x7fffffffdd00, game_params=..., cmd_args=...)
    at /data/Minetest/minetest/src/client/clientlauncher.cpp:235
#15 0x0000555555f3138d in main (argc=1, argv=0x7fffffffe078) at /data/Minetest/minetest/src/main.cpp:212

@rubenwardy rubenwardy added Blocker and removed High priority labels Jun 6, 2018

@HybridDog

This comment has been minimized.

Copy link
Contributor

commented Jun 8, 2018

Maybe compiling minetest with -fsanitize=address before running it can help to find the bug.

@Spirita

This comment has been minimized.

Copy link

commented Jun 12, 2018

A crash with debian, minetest v 0.5.0

Happen by jumping lot of times (as for activation of flying but more than 6 times).
It was not on minetest_game, but on made-home game in dev (the crash don't happen with minetest v 0.4.17 on the made-home game).

I don't know if it's link to your crashes.

2018-06-12 16:25:41: ERROR[Main]: Subgame specified in default_game [minetest] is invalid.
2018-06-12 16:25:42: WARNING[Main]: Could not load icon file '/usr/local/share/icons/hicolor/128x128/apps/minetest.png'
2018-06-12 16:25:43: WARNING[Main]: Undeclared global variable "default" accessed at .../.minetest/games/tnmg/mods/naturalslopeslib/init.lua:37
2018-06-12 16:25:43: WARNING[Main]: Undeclared global variable "output" accessed at ...ywern/.minetest/games/tnmg/mods/craftinglib/init.lua:46
2018-06-12 16:25:43: WARNING[Main]: Undeclared global variable "mg_name" accessed at ...ome/wywern/.minetest/games/tnmg/mods/base/mapgen.lua:330
2018-06-12 16:25:43: ACTION[Main]: World at [/home/wywern/.minetest/worlds/test]
2018-06-12 16:25:43: ACTION[Main]: Server for gameid="tnmg" listening on 0.0.0.0:53285.
2018-06-12 16:25:43: WARNING[Main]: Client side mods are disabled by configuration.
2018-06-12 16:25:43: ERROR[Main]: generateImage(): Could not load image "compacted_dirt.png" while building texture; Creating a dummy image
2018-06-12 16:25:43: ERROR[Main]: generateImage(): Could not load image "compacted_dirt.png" while building texture; Creating a dummy image
2018-06-12 16:25:43: WARNING[Server]: Trying to update non-existent object: 0
2018-06-12 16:25:43: ACTION[Server]: singleplayer [127.0.0.1] joins game. 
2018-06-12 16:25:43: ACTION[Server]: singleplayer joins game. List of players: singleplayer
2018-06-12 16:25:43: ERROR[Main]: Server sent wrong Hud hotbar image (sent value: 'gui_hotbar.png')
2018-06-12 16:25:43: ERROR[Main]: Server sent wrong Hud hotbar selected image (sent value: 'gui_hotbar_selected.png')
@SmallJoker

This comment has been minimized.

Copy link
Member

commented Jun 12, 2018

@Spirita That is a regular error. I don't see any indicators for a crash of the application. If you are sure that these errors result in a crash, please attach a backtrace using (for example) gdb.

@Spirita

This comment has been minimized.

Copy link

commented Jun 12, 2018

Don't happen if i have the flying privilege.

I'm installing gdb.

@Spirita

This comment has been minimized.

Copy link

commented Jun 12, 2018

GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
<snip>
Cannot connect to server socket err = Aucun fichier ou dossier de ce type
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock
<snip>

Thread 12 "Server" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffce779700 (LWP 21536)]
0x0000555555bf167a in Database_SQLite3::endSave (this=0x1000000) at /opt/minetest/src/database/database-sqlite3.cpp:135
135		sqlite3_reset(m_stmt_end);

EDIT by SmallJoker: Show relevant parts only (bt, backtrace inexistent)

@red-001

This comment has been minimized.

Copy link
Contributor

commented Jun 22, 2018

Got a similar crash when Lua caused an error during server startup.

Edit: The Lua error seems to be a reproducible way to cause the crash on my system.
Edit 2: m_mapgens seems to be empty.
Edit 3: crash seems to be unrelated, opened a PR with a fix (#7473).
EDIT by paramat #7473 merged.

Thread 1 "minetest" received signal SIGSEGV, Segmentation fault.
0x0000555555ec0cd2 in EmergeManager::~EmergeManager (this=0x555558be9b20, __in_chrg=<optimized out>)
    at /home/red/minetest/src/emerge.cpp:172
172			delete m_mapgens[i];
(gdb) bt
#0  0x0000555555ec0cd2 in EmergeManager::~EmergeManager (this=0x555558be9b20, __in_chrg=<optimized out>)
    at /home/red/minetest/src/emerge.cpp:172
#1  0x0000555555fd10f1 in Server::~Server (this=0x555558be44e0, __in_chrg=<optimized out>)
    at /home/red/minetest/src/server.cpp:290
#2  0x0000555555fd1506 in Server::~Server (this=0x555558be44e0, __in_chrg=<optimized out>)
    at /home/red/minetest/src/server.cpp:306
#3  0x0000555555edc2bd in Game::~Game (this=0x7fffffffdab0, __in_chrg=<optimized out>) at /home/red/minetest/src/game.cpp:946
#4  0x0000555555ef0522 in the_game (kill=0x5555565bc8c0 <porting::g_killed>, random_input=false, input=0x55555712f0d0, 
    map_dir="/home/red/minetest/bin/../worlds/test", playername="hunter2", password="yRpjxvUFo", address="", port=30000, 
    error_message="Failed to load and run script from /home/red/minetest/bin/../games/craig-server_game/mods/irc/init.lua:\n...inetest/bin/../games/craig-server_game/mods/irc/init.lua:10: The IRC mod requires access to i"..., chat_backend=..., 
    reconnect_requested=0x7fffffffdd4c, gamespec=..., simple_singleplayer_mode=false) at /home/red/minetest/src/game.cpp:4143
#5  0x0000555555b45b1d in ClientLauncher::run (this=0x7fffffffe2c0, game_params=..., cmd_args=...)
    at /home/red/minetest/src/client/clientlauncher.cpp:233
#6  0x0000555555f35ddb in main (argc=1, argv=0x7fffffffe638) at /home/red/minetest/src/main.cpp:212
@SmallJoker

This comment has been minimized.

Copy link
Member

commented Jun 22, 2018

Closing Minetest after shooting some arrows around: (current master)

double free or corruption (out)

Thread 1 "minetest" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51	../sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007ffff4bc8801 in __GI_abort () at abort.c:79
#2  0x00007ffff4c11897 in __libc_message (action=action@entry=do_abort, 
    fmt=fmt@entry=0x7ffff4d3eb9a "%s\n") at ../sysdeps/posix/libc_fatal.c:181
#3  0x00007ffff4c1890a in malloc_printerr (
    str=str@entry=0x7ffff4d40870 "double free or corruption (out)") at malloc.c:5350
#4  0x00007ffff4c1fe75 in _int_free (have_lock=0, p=0x7fffa058d520, av=0x7ffff4f73c40 <main_arena>)
    at malloc.c:4278
#5  __GI___libc_free (mem=0x7fffa058d530) at malloc.c:3124
#6  0x0000555555f693d8 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<unsigned int const, irr::video::SColor> > >::deallocate (this=0x7fffa0508cb8, __p=0x7fffa058d530)
    at /usr/include/c++/7/ext/new_allocator.h:125
#7  0x0000555555f68af3 in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<unsigned int const, irr::video::SColor> > > >::deallocate (__a=..., __p=0x7fffa058d530, __n=1)
    at /usr/include/c++/7/bits/alloc_traits.h:462
#8  0x0000555555f682b3 in std::_Rb_tree<unsigned int, std::pair<unsigned int const, irr::video::SColor>, std::_Select1st<std::pair<unsigned int const, irr::video::SColor> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, irr::video::SColor> > >::_M_put_node (
    this=0x7fffa0508cb8, __p=0x7fffa058d530) at /usr/include/c++/7/bits/stl_tree.h:592
#9  0x0000555555f668a4 in std::_Rb_tree<unsigned int, std::pair<unsigned int const, irr::video::SColor>, std::_Select1st<std::pair<unsigned int const, irr::video::SColor> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, irr::video::SColor> > >::_M_drop_node (this=0x7fffa0508cb8, __p=0x7fffa058d530) at /usr/include/c++/7/bits/stl_tree.h:659
#10 0x0000555555f698ce in std::_Rb_tree<unsigned int, std::pair<unsigned int const, irr::video::SColor>, std::_Select1st<std::pair<unsigned int const, irr::video::SColor> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, irr::video::SColor> > >::_M_erase (this=0x7fffa0508cb8, __x=0x7fffa058d530) at /usr/include/c++/7/bits/stl_tree.h:1858
#11 0x0000555555f698ab in std::_Rb_tree<unsigned int, std::pair<unsigned int const, irr::video::SColor>, std::_Select1st<std::pair<unsigned int const, irr::video::SColor> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, irr::video::SColor> > >::_M_erase (this=0x7fffa0508cb8, __x=0x7fffa058d500) at /usr/include/c++/7/bits/stl_tree.h:1856
#12 0x0000555555f698ab in std::_Rb_tree<unsigned int, std::pair<unsigned int const, irr::video::SColor>, std::_Select1st<std::pair<unsigned int const, irr::video::SColor> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, irr::video::SColor> > >::_M_erase (this=0x7fffa0508cb8, __x=0x7fffa058d440) at /usr/include/c++/7/bits/stl_tree.h:1856
#13 0x0000555555f698ab in std::_Rb_tree<unsigned int, std::pair<unsigned int const, irr::video::SColor>, std::_Select1st<std::pair<unsigned int const, irr::video::SColor> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, irr::video::SColor> > >::_M_erase (this=0x7fffa0508cb8, __x=0x7fffa058d2c0) at /usr/include/c++/7/bits/stl_tree.h:1856
#14 0x0000555555f698ab in std::_Rb_tree<unsigned int, std::pair<unsigned int const, irr::video::SColor>, std::_Select1st<std::pair<unsigned int const, irr::video::SColor> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, irr::video::SColor> > >::_M_erase (this=0x7fffa0508cb8, __x=0x7fffa06d0550) at /usr/include/c++/7/bits/stl_tree.h:1856
#15 0x0000555555f69596 in std::_Rb_tree<unsigned int, std::pair<unsigned int const, irr::video::SColor>, std::_Select1st<std::pair<unsigned int const, irr::video::SColor> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, irr::video::SColor> > >::~_Rb_tree (this=0x7fffa0508cb8, __in_chrg=<optimized out>) at /usr/include/c++/7/bits/stl_tree.h:949
#16 0x0000555555f68c76 in std::map<unsigned int, irr::video::SColor, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, irr::video::SColor> > >::~map (this=0x7fffa0508cb8, __in_chrg=<optimized out>)
    at /usr/include/c++/7/bits/stl_map.h:294
#17 0x0000555555f68c96 in std::pair<std::pair<unsigned char, unsigned int> const, std::map<unsigned int, irr::video::SColor, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, irr::video::SColor> > > >::~pair (this=0x7fffa0508cb0, 
    __in_chrg=<optimized out>) at /usr/include/c++/7/bits/stl_pair.h:198
#18 0x0000555555f68cb6 in __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::pair<unsigned char, unsigned int> const, std::map<unsigned int, irr::video::SColor, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, irr::video::SColor> > > > > >::destroy<std::pair<std::pair<unsigned char, unsigned int> const, std::map<unsigned int, irr::video::SColor, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, irr::video::SColor> > > > > (this=0x7fffa0225e20, 
    __p=0x7fffa0508cb0) at /usr/include/c++/7/ext/new_allocator.h:140
#19 0x0000555555f68581 in std::allocator_traits<std::allocator<std::_Rb_tree_node<std::pair<std::pair<unsigned char, unsigned int> const, std::map<unsigned int, irr::video::SColor, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, irr::video::SColor> > > > > > >::destroy<std::pair<std::pair<unsigned char, unsigned int> const, std::map<unsigned int, irr::video::SColor, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, irr::video::SColor> > > > > (__a=..., 
    __p=0x7fffa0508cb0) at /usr/include/c++/7/bits/alloc_traits.h:487
#20 0x0000555555f66cfd in std::_Rb_tree<std::pair<unsigned char, unsigned int>, std::pair<std::pair<unsigned char, unsigned int> const, std::map<unsigned int, irr::video::SColor, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, irr::video::SColor> > > >, std::_Select1st<std::pair<std::pair<unsigned char, unsigned int> const, std::map<unsigned int, irr::video::SColor, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, irr::video::SColor> > > > >, std::less<std::pair<unsigned char, unsigned int> >, std::allocator<std::pair<std::pair<unsigned char, unsigned int> const, std::map<unsigned int, irr::video::SColor, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, irr::video::SColor> > > > > >::_M_destroy_node (this=0x7fffa0225e20, __p=0x7fffa0508c90) at /usr/include/c++/7/bits/stl_tree.h:650
#21 0x0000555555f64b91 in std::_Rb_tree<std::pair<unsigned char, unsigned int>, std::pair<std::pair<unsigned char, unsigned int> const, std::map<unsigned int, irr::video::SColor, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, irr::video::SColor> > > >, std::_Select1st<std::pair<std::pair<unsigned char, unsigned int> const, std::map<unsigned int, irr::video::SColor, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, irr::video::SColor> > > > >, std::less<std::pair<unsigned char, unsigned int> >, std::allocator<std::pair<std::pair<unsigned char, unsigned int> const, std::map<unsigned int, irr::video::SColor, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, irr::video::SColor> > > > > >::_M_drop_node (this=0x7fffa0225e20, __p=0x7fffa0508c90) at /usr/include/c++/7/bits/stl_tree.h:658
#22 0x0000555555f63526 in std::_Rb_tree<std::pair<unsigned char, unsigned int>, std::pair<std::pair<unsigned char, unsigned int> const, std::map<unsigned int, irr::video::SColor, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, irr::video::SColor> > > >, std::_Select1st<std::pair<std::pair<unsigned char, unsigned int> const, std::map<unsigned int, irr::video::SColor, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, irr::video::SColor> > > > >, std::less<std::pair<unsigned char, unsigned int> >, std::allocator<std::pair<std::pair<unsigned char, unsigned int> const, std::map<unsigned int, irr::video::SColor, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, irr::video::SColor> > > > > >::_M_erase (
    this=0x7fffa0225e20, __x=0x7fffa0508c90) at /usr/include/c++/7/bits/stl_tree.h:1858
#23 0x0000555555f61904 in std::_Rb_tree<std::pair<unsigned char, unsigned int>, std::pair<std::pair<unsigned char, unsigned int> const, std::map<unsigned int, irr::video::SColor, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, irr::video::SColor> > > >, std::_Select1st<std::pair<std::pair<unsigned char, unsigned int> const, std::map<unsigned int, irr::video::SColor, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, irr::video::SColor> > > > >, std::less<std::pair<unsigned char, unsigned int> >, std::allocator<std::pair<std::pair<unsigned char, unsigned int> const, std::map<unsigned int, irr::video::SColor, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, irr::video::SColor> > > > > >::~_Rb_tree
    (this=0x7fffa0225e20, __in_chrg=<optimized out>) at /usr/include/c++/7/bits/stl_tree.h:949
#24 0x0000555555f61260 in std::map<std::pair<unsigned char, unsigned int>, std::map<unsigned int, irr::video::SColor, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, irr::video::SColor> > >, std::less<std::pair<unsigned char, unsigned int> >, std::allocator<std::pair<std::pair<unsigned char, unsigned int> const, std::map<unsigned int, irr::video::SColor, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, irr::video::SColor> > > > > >::~map (this=0x7fffa0225e20, 
    __in_chrg=<optimized out>) at /usr/include/c++/7/bits/stl_map.h:294
#25 0x0000555555f5f93a in MapBlockMesh::~MapBlockMesh (this=0x7fffa0225d20, __in_chrg=<optimized out>)
    at /data/Minetest/minetest/src/mapblock_mesh.cpp:1247
#26 0x0000555555f53727 in MapBlock::~MapBlock (this=0x7fffa0134690, __in_chrg=<optimized out>)
    at /data/Minetest/minetest/src/mapblock.cpp:82
#27 0x0000555555f6e82a in MapSector::deleteBlocks (this=0x7fffa04179c0) at /data/Minetest/minetest/src/mapsector.cpp:44
#28 0x0000555555f6e760 in MapSector::~MapSector (this=0x7fffa04179c0, __in_chrg=<optimized out>)
    at /data/Minetest/minetest/src/mapsector.cpp:34
#29 0x0000555555f6e78c in MapSector::~MapSector (this=0x7fffa04179c0, __in_chrg=<optimized out>)
    at /data/Minetest/minetest/src/mapsector.cpp:35
#30 0x0000555555f41322 in Map::~Map (this=0x55555d8c5680, __in_chrg=<optimized out>) at /data/Minetest/minetest/src/map.cpp:78
#31 0x0000555555e64825 in ClientMap::~ClientMap (this=0x55555d8c5680, __in_chrg=<optimized out>, __vtt_parm=<optimized out>)
    at /data/Minetest/minetest/src/clientmap.h:58
#32 0x0000555555e64894 in ClientMap::~ClientMap (this=0x55555d8c5680, __in_chrg=<optimized out>, __vtt_parm=<optimized out>)
    at /data/Minetest/minetest/src/clientmap.h:58
#33 0x00007ffff76b663e in irr::scene::CSceneManager::removeAll() () from /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8
#34 0x0000555555b47aa5 in ClientLauncher::run (this=0x7fffffffdd00, game_params=..., cmd_args=...)
    at /data/Minetest/minetest/src/client/clientlauncher.cpp:248
#35 0x0000555555f375ad in main (argc=1, argv=0x7fffffffe078) at /data/Minetest/minetest/src/main.cpp:212
@Sokomine

This comment has been minimized.

Copy link
Contributor

commented Jun 22, 2018

Crash while playing (world created about a year ago; played it for a few seconds only):

2018-06-22 20:31:23: WARNING[Main]: invalid use of background without a size[] element
*** Error in `./minetest.0.5': double free or corruption (out): 0x00005615a061bf20 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x70bfb)[0x7fc24115cbfb]
/lib/x86_64-linux-gnu/libc.so.6(+0x76fc6)[0x7fc241162fc6]
/lib/x86_64-linux-gnu/libc.so.6(+0x7780e)[0x7fc24116380e]
./minetest.0.5(_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEtED1Ev+0x18)[0x5615997aa492]
./minetest.0.5(_ZN9__gnu_cxx13new_allocatorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEtEE7destroyIS9_EEvPT_+0x1c)[0x5615997aa4b2]
./minetest.0.5(_ZNSt16allocator_traitsISaISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEtEEE7destroyIS8_EEvRS9_PT_+0x23)[0x5615997a9bf6]
./minetest.0.5(_ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEtELb1EEEEE18_M_deallocate_nodeEPSB_+0x5d)[0x5615997a90af]
./minetest.0.5(_ZNSt8__detail16_Hashtable_allocISaINS_10_Hash_nodeISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEtELb1EEEEE19_M_deallocate_nodesEPSB_+0x42)[0x5615997a7e36]
./minetest.0.5(_ZNSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_tESaIS8_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb1ELb0ELb1EEEE5clearEv+0x2a)[0x5615997a7036]
./minetest.0.5(_ZNSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_tESaIS8_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb1ELb0ELb1EEEED1Ev+0x18)[0x5615997a6a2e]
./minetest.0.5(_ZNSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEtSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_tEEED1Ev+0x18)[0x5615997a6758]
./minetest.0.5(_ZN14NodeDefManagerD1Ev+0x112)[0x5615999cf768]
./minetest.0.5(_ZN4GameD1Ev+0x233)[0x56159991ea91]
./minetest.0.5(_Z8the_gamePbbP12InputHandlerRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_S9_S9_tRS7_R11ChatBackendS_RK11SubgameSpecb+0x110)[0x56159993296a]
./minetest.0.5(_ZN14ClientLauncher3runER10GameParamsRK8Settings+0xe07)[0x5615995a7b99]
./minetest.0.5(main+0x8e3)[0x561599975843]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7fc24110c2e1]
./minetest.0.5(_start+0x2a)[0x5615995a6a0a]
======= Memory map: ========
432be000-432de000 rw-p 00000000 00:00 0 
4354f000-4356f000 rw-p 00000000 00:00 0 
561598e1e000-56159a142000 r-xp 00000000 08:03 656332                     /usr/local/src/mt2/minetest/bin/minetest.0.5
56159a341000-56159a403000 r--p 01323000 08:03 656332                     /usr/local/src/mt2/minetest/bin/minetest.0.5
56159a403000-56159a409000 rw-p 013e5000 08:03 656332                     /usr/local/src/mt2/minetest/bin/minetest.0.5
56159a409000-56159a449000 rw-p 00000000 00:00 0 
56159b939000-5615aa58b000 rw-p 00000000 00:00 0                          [heap]
7fc1f0000000-7fc1f3c3d000 rw-p 00000000 00:00 0 
7fc1f3c3d000-7fc1f4000000 ---p 00000000 00:00 0 
7fc1f8000000-7fc1fbff6000 rw-p 00000000 00:00 0 
7fc1fbff6000-7fc1fc000000 ---p 00000000 00:00 0 
7fc1fc000000-7fc1ffe99000 rw-p 00000000 00:00 0 
7fc1ffe99000-7fc200000000 ---p 00000000 00:00 0 
7fc200db7000-7fc200db8000 ---p 00000000 00:00 0 
7fc200db8000-7fc2015b8000 rw-p 00000000 00:00 0 
7fc201db9000-7fc2027d2000 rw-p 00000000 00:00 0 
7fc202a6c000-7fc202b6c000 rw-s 00000000 00:2a 23832565                   /i915 (deleted)
7fc202b6c000-7fc202b7c000 rw-s 100070000 00:06 12286                     /dev/dri/card0
7fc202b7c000-7fc202b8c000 rw-s 100060000 00:06 12286                     /dev/dri/card0
7fc202b8c000-7fc202b9c000 rw-s 100050000 00:06 12286                     /dev/dri/card0
7fc202b9c000-7fc202bac000 rw-s 100040000 00:06 12286                     /dev/dri/card0
7fc202bac000-7fc202bbc000 rw-s 100030000 00:06 12286                     /dev/dri/card0
7fc202bbc000-7fc202bcc000 rw-s 100020000 00:06 12286                     /dev/dri/card0
7fc202bcc000-7fc202bdc000 rw-s 100010000 00:06 12286                     /dev/dri/card0
7fc202bdc000-7fc202bec000 rw-s 100000000 00:06 12286                     /dev/dri/card0
7fc202bec000-7fc202bfc000 rw-s 112a6c000 00:06 12286                     /dev/dri/card0
7fc202bfc000-7fc202c0c000 rw-s 112a5c000 00:06 12286                     /dev/dri/card0
7fc202c0c000-7fc202c1c000 rw-s 112a4c000 00:06 12286                     /dev/dri/card0
7fc202c1c000-7fc202c2c000 rw-s 00000000 00:2a 23832560                   /i915 (deleted)
7fc202c2c000-7fc202c3c000 rw-s 00000000 00:2a 23832559                   /i915 (deleted)
7fc202c3c000-7fc202c4c000 rw-s 00000000 00:2a 23832558                   /i915 (deleted)
7fc202c4c000-7fc202c5c000 rw-s 00000000 00:2a 23832557                   /i915 (deleted)
7fc202c5c000-7fc202c6c000 rw-s 00000000 00:2a 23832556                   /i915 (deleted)
7fc202c6c000-7fc202c7c000 rw-s 00000000 00:2a 23832555                   /i915 (deleted)
@HybridDog

This comment has been minimized.

Copy link
Contributor

commented Jun 23, 2018

AddressSanitizer found a wild pointer, it happened two times:
https://pastebin.com/raw/YsJqp8DE
https://pastebin.com/raw/Nc2K0q2v
I did not attempt to leave the game to cause the problem.
Edit: Krock fixed it there: 1d1cf00

Here's how I enabled AddressSanitizer:

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 60fff18f..9e786fdb 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -740,11 +740,11 @@ else()
 		set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DWIN32_LEAN_AND_MEAN")
 	endif()
 
-	set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG ${RELEASE_WARNING_FLAGS} ${WARNING_FLAGS} ${OTHER_FLAGS} -Wall -pipe -funroll-loops")
+	set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG ${RELEASE_WARNING_FLAGS} ${WARNING_FLAGS} ${OTHER_FLAGS} -Wall -pipe -funroll-loops -fsanitize=address")
 	if(CMAKE_SYSTEM_NAME MATCHES "(Darwin|FreeBSD)")
 		set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Os")
 	else()
-		set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -ffast-math -fomit-frame-pointer")
+		set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Og -g -ffast-math -fomit-frame-pointer")
 	endif(CMAKE_SYSTEM_NAME MATCHES "(Darwin|FreeBSD)")
 	set(CMAKE_CXX_FLAGS_SEMIDEBUG "-g -O1 -Wall -Wabi ${WARNING_FLAGS} ${OTHER_FLAGS}")
 	set(CMAKE_CXX_FLAGS_DEBUG "-g -O0 -Wall -Wabi ${WARNING_FLAGS} ${OTHER_FLAGS}")

I've then deleted src/CMakeFiles/ and executed cmake -DCMAKE_BUILD_TYPE=RELEASE .

@red-001

This comment has been minimized.

Copy link
Contributor

commented Jun 24, 2018

  1. AddressSanitizer: Fixed by #7481
==27919==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6060003f5140 at pc 0x55555ba089b1 bp 0x7fffffffa690 sp 0x7fffffffa680
READ of size 1 at 0x6060003f5140 thread T0
    #0 0x55555ba089b0 in ModChannel::canWrite() const /home/red/minetest/src/modchannels.cpp:56
    #1 0x55555aee44d3 in ModChannelRef::l_is_writeable(lua_State*) /home/red/minetest/src/script/lua_api/l_modchannels.cpp:94
    #2 0x55555acdd41a in script_exception_wrapper(lua_State*, int (*)(lua_State*)) /home/red/minetest/src/script/common/c_internal.cpp:35
    #3 0x7ffff3fb636b  (/usr/lib/libluajit-5.1.so.2+0x936b)
    #4 0x7ffff3ffbfdf in lua_pcall (/usr/lib/libluajit-5.1.so.2+0x4efdf)
    #5 0x55555acf93c8 in ScriptApiBase::runCallbacksRaw(int, RunCallbacksMode, char const*) /home/red/minetest/src/script/cpp_api/s_base.cpp:259
    #6 0x55555ad139d4 in ScriptApiClient::environment_step(float) /home/red/minetest/src/script/cpp_api/s_client.cpp:123
    #7 0x55555b3551bf in ClientEnvironment::step(float) /home/red/minetest/src/clientenvironment.cpp:244
<snip>
Address 0x6060003f5140 is a wild pointer.
SUMMARY: AddressSanitizer: heap-buffer-overflow /home/red/minetest/src/modchannels.cpp:56 in ModChannel::canWrite() const

valgrind reported a similar issue

  1. Another buffer overflow reported by address sanitizer https://gist.githubusercontent.com/red-001/d2b9e223920d79a0f01b6e6dbbad872f/raw/aa8129c311ab804fb127facaa926cbaffa2c7daf/gistfile1.txt
    EDIT by SmallJoker: 2) fixed by #7484
@SmallJoker

This comment has been minimized.

Copy link
Member

commented Jun 24, 2018

Teleportation from 0,0,0 to 700,10,400 Fixed by #7480

==7944==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x62b0003a9854 at pc 0x555556425128 bp 0x7fffc2775a10 sp 0x7fffc2775a00
READ of size 4 at 0x62b0003a9854 thread T39 (Emerge-0)
    #0 0x555556425127 in BiomeGenOriginal::getBiomeAtIndex(unsigned long, irr::core::vector3d<short>) const /data/Minetest/minetest/src/mapgen/mg_biome.cpp:270
    #1 0x555556424f8b in BiomeGenOriginal::getBiomeAtPoint(irr::core::vector3d<short>) const /data/Minetest/minetest/src/mapgen/mg_biome.cpp:264
    #2 0x555556391748 in CavesRandomWalk::carveRoute(irr::core::vector3d<float>, float, bool) /data/Minetest/minetest/src/mapgen/cavegen.cpp:510
@paramat

This comment has been minimized.

Copy link
Member Author

commented Jun 24, 2018

Hmm i have just seen a possible issue with cavegen getting biome at index, some cave segments are possibly very occasionally outside the heat and humidity maps. Will investigate.

@red-001

This comment has been minimized.

Copy link
Contributor

commented Jun 24, 2018

Created a separate issue for the mod channel crash #7479.

@paramat

This comment has been minimized.

Copy link
Member Author

commented Jun 24, 2018

Yes looks like i caused some occasional crashes, will fix.

@paramat

This comment has been minimized.

Copy link
Member Author

commented Jun 26, 2018

#7480 merged.

@red-001

This comment has been minimized.

Copy link
Contributor

commented Jun 27, 2018

This issue should probably be closed with individual issues opened for any remaining crashes.

@numberZero

This comment has been minimized.

Copy link
Contributor

commented Jun 27, 2018

Probably. This kind of issues seems hard to manage because before investigation it’s highly unclear whether they have the same cause or not.

@paramat

This comment has been minimized.

Copy link
Member Author

commented Sep 16, 2018

@red-001 is your crash report #7272 (comment) still valid now that #7473 is merged?

@paramat

This comment has been minimized.

Copy link
Member Author

commented Sep 16, 2018

@hkzorman can your crash report #7272 (comment) be ignored now? It suggests that was not MT's fault.

@paramat

This comment has been minimized.

Copy link
Member Author

commented Sep 16, 2018

I haven't had a crash for a while now, anyone else noticing an improvement?

@numberZero

This comment has been minimized.

Copy link
Contributor

commented Sep 16, 2018

@paramat Don’t remember any crashes in master, but I don’t run MT often, only to test something.

Regarding the issue, public metaissue like this one isn’t a good idea IMO. It seems to be totally unmanageable. I suggest opening an issue for each new crash (unless there is a clear evidence that the reason is the same as in some existing issue), using a special label for that, and marking duplicates only if they become clear before fixing. Too many issues is a lesser evil than too large issues IMO.

Disclaimer: that’s just an opinion.

@paramat

This comment has been minimized.

Copy link
Member Author

commented Sep 16, 2018

I agree.

@SmallJoker

This comment has been minimized.

Copy link
Member

commented Sep 17, 2018

It's also worth noting that I haven't observed any similar error in the past two months; always running Minetest in gdb now but never caught any new crash. Maybe it was a temporary bug related to the build setup?

@Ezhh

This comment has been minimized.

Copy link
Member

commented Sep 17, 2018

The crashes I previously experienced have definitely stopped.

@paramat

This comment has been minimized.

Copy link
Member Author

commented Sep 17, 2018

Good to hear.
I should close my issue then, but we still need to split off the remaining valid problems into separate issues.

@paramat

This comment has been minimized.

Copy link
Member Author

commented Sep 17, 2018

Closing as my issue is no longer happening.
@Fixer-007 @Amaz1 @Ezhh @hkzorman @SmallJoker @HybridDog @Spirita @red-001 @Sokomine if you are still experiencing multiple crahes or anything that still seems significant please open individual new issues.

@paramat paramat closed this Sep 17, 2018

@paramat paramat removed this from Issues in Minetest 5.0.0 blockers Sep 17, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.