cuberite / cuberite

A lightweight, fast and extensible game server for Minecraft
https://cuberite.org
Other
5.03k stars 640 forks source link

Segfault: Spamming command reload #3552

Open Seadragon91 opened 7 years ago

Seadragon91 commented 7 years ago

Server OS: Linux Commit id: 7f14faf83146a0d6a7217c2761a00b6360603b90

Actual behavior

Server crashes by spamming it with in-game command /reload.

Currently logging to "gdb.txt".
Logs will be appended to the log file.
Output is being logged and displayed.
Starting program: /home/lukas/minecraft/servers/Server_master/Cuberite_debug 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff6d7e700 (LWP 546)]
[New Thread 0x7ffff4f0c700 (LWP 547)]
[New Thread 0x7fffeffff700 (LWP 548)]
[New Thread 0x7fffef7fe700 (LWP 549)]
[New Thread 0x7fffee7f8700 (LWP 550)]
[New Thread 0x7fffedff7700 (LWP 551)]
[New Thread 0x7fffed7f6700 (LWP 552)]
[New Thread 0x7fffecff5700 (LWP 553)]
[New Thread 0x7fffdffff700 (LWP 554)]
[New Thread 0x7fffdeff9700 (LWP 555)]
[New Thread 0x7fffde7f8700 (LWP 556)]
[New Thread 0x7fffddff7700 (LWP 557)]
[New Thread 0x7fffdd7f6700 (LWP 558)]
[New Thread 0x7fffdcff5700 (LWP 559)]
[New Thread 0x7fffcf7fa700 (LWP 560)]
[New Thread 0x7fffceff9700 (LWP 561)]
[New Thread 0x7fffce7f8700 (LWP 562)]
[New Thread 0x7fffcdff7700 (LWP 563)]
[New Thread 0x7fffcd7f6700 (LWP 564)]
[New Thread 0x7fffccff5700 (LWP 565)]

Thread 8 "Cuberite_debug" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffed7f6700 (LWP 552)]
0x0000000000a18b5f in std::__atomic_base<cCriticalSection*>::load (this=0x0, __m=std::memory_order_seq_cst)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/bits/atomic_base.h:713
713     return __atomic_load_n(&_M_p, __m);
  Id   Target Id         Frame 
  1    Thread 0x7ffff7fe7740 (LWP 542) "Cuberite_debug" pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  2    Thread 0x7ffff6d7e700 (LWP 546) "Cuberite_debug" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  3    Thread 0x7ffff4f0c700 (LWP 547) "Cuberite_debug" pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  4    Thread 0x7fffeffff700 (LWP 548) "Cuberite_debug" pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  5    Thread 0x7fffef7fe700 (LWP 549) "Cuberite_debug" pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  6    Thread 0x7fffee7f8700 (LWP 550) "Cuberite_debug" pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  7    Thread 0x7fffedff7700 (LWP 551) "Cuberite_debug" cByteBuffer::WriteBEUInt8 (this=0x7fffedff6878, 
    a_Value=0 '\000') at /home/lukas/cpp/cuberite/src/ByteBuffer.cpp:548
* 8    Thread 0x7fffed7f6700 (LWP 552) "Cuberite_debug" 0x0000000000a18b5f in std::__atomic_base<cCriticalSection*>::load (this=0x0, __m=std::memory_order_seq_cst)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/bits/atomic_base.h:713
  9    Thread 0x7fffecff5700 (LWP 553) "Cuberite_debug" pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  10   Thread 0x7fffdffff700 (LWP 554) "Cuberite_debug" pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  11   Thread 0x7fffdeff9700 (LWP 555) "Cuberite_debug" pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  12   Thread 0x7fffde7f8700 (LWP 556) "Cuberite_debug" pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  13   Thread 0x7fffddff7700 (LWP 557) "Cuberite_debug" 0x00007ffff712d81d in nanosleep ()
    at ../sysdeps/unix/syscall-template.S:84
  14   Thread 0x7fffdd7f6700 (LWP 558) "Cuberite_debug" 0x000000000093cfdd in cLightingThread::PropagateLight (
    this=0x7ffff56b1ff0, a_Light=0x7ffff57421b9 "", a_SrcIdx=249565, a_DstIdx=249517, 
    a_NumSeedsOut=@0x7fffdd7e5c18: 1124, a_IsSeedOut=0x7ffff5b32abc "", a_SeedIdxOut=0x7ffff5bc2abc)
    at /home/lukas/cpp/cuberite/src/./LightingThread.h:178
  15   Thread 0x7fffdcff5700 (LWP 559) "Cuberite_debug" 0x0000000000994c06 in cSetChunkData::CalculateHeightMap (
    this=0x7fffc80c6d20) at /home/lukas/cpp/cuberite/src/SetChunkData.cpp:104
  16   Thread 0x7fffcf7fa700 (LWP 560) "Cuberite_debug" pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  17   Thread 0x7fffceff9700 (LWP 561) "Cuberite_debug" 0x00000000008bbc4c in cByteBuffer::CheckValid (
    this=0x7fffceff8878) at /home/lukas/cpp/cuberite/src/ByteBuffer.cpp:960
  18   Thread 0x7fffce7f8700 (LWP 562) "Cuberite_debug" std::__detail::_Mod_range_hashing::operator() (
    this=0x7ffff0000c60, __num=140736441633904, __den=199)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/bits/hashtable_policy.h:446
  19   Thread 0x7fffcdff7700 (LWP 563) "Cuberite_debug" 0x00007ffff712d81d in nanosleep ()
    at ../sysdeps/unix/syscall-template.S:84
  20   Thread 0x7fffcd7f6700 (LWP 564) "Cuberite_debug" 0x0000000000f0f033 in llex (ls=0x7fffcd7f30e0, 
    seminfo=0x7fffcd7f30f8) at /home/lukas/cpp/cuberite/lib/lua/src/llex.c:428
  21   Thread 0x7fffccff5700 (LWP 565) "Cuberite_debug" 0x00007ffff6e5a5dd in read ()
    at ../sysdeps/unix/syscall-template.S:84

Thread 21 (Thread 0x7fffccff5700 (LWP 565)):
#0  0x00007ffff6e5a5dd in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffff6df2a10 in _IO_new_file_underflow (fp=0x7ffff71178c0 <_IO_2_1_stdin_>) at fileops.c:600
#2  0x00007ffff6df3b12 in __GI__IO_default_uflow (fp=0x7ffff71178c0 <_IO_2_1_stdin_>) at genops.c:413
#3  0x00007ffff6dee4f0 in _IO_getc (fp=0x7ffff71178c0 <_IO_2_1_stdin_>) at getc.c:38
#4  0x00007ffff763a20d in __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >::underflow() ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007ffff75f9bd9 in std::basic_istream<char, std::char_traits<char> >& std::getline<char, std::char_traits<char>, std::allocator<char> >(std::basic_istream<char, std::char_traits<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, char) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x0000000000977306 in cRoot::InputThread (a_Params=...) at /home/lukas/cpp/cuberite/src/Root.cpp:89
#7  0x000000000097fa6a in std::_Bind_simple<void (*(std::reference_wrapper<cRoot>))(cRoot&)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x54b7538)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1399
#8  0x000000000097fa15 in std::_Bind_simple<void (*(std::reference_wrapper<cRoot>))(cRoot&)>::operator()() (
    this=0x54b7538) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1389
#9  0x000000000097f7d9 in std::thread::_State_impl<std::_Bind_simple<void (*(std::reference_wrapper<cRoot>))(cRoot&)> >::_M_run() (this=0x54b7530) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/thread:196
#10 0x00007ffff760acdf in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x00007ffff7124464 in start_thread (arg=0x7fffccff5700) at pthread_create.c:333
#12 0x00007ffff6e679df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 20 (Thread 0x7fffcd7f6700 (LWP 564)):
#0  0x0000000000f0f033 in llex (ls=0x7fffcd7f30e0, seminfo=0x7fffcd7f30f8)
    at /home/lukas/cpp/cuberite/lib/lua/src/llex.c:428
#1  0x0000000000f0e6bb in luaX_next (ls=0x7fffcd7f30e0) at /home/lukas/cpp/cuberite/lib/lua/src/llex.c:457
#2  0x0000000000efb1ba in primaryexp (ls=0x7fffcd7f30e0, v=0x7fffcd7f2220)
    at /home/lukas/cpp/cuberite/lib/lua/src/lparser.c:710
#3  0x0000000000efaab9 in simpleexp (ls=0x7fffcd7f30e0, v=0x7fffcd7f2220)
    at /home/lukas/cpp/cuberite/lib/lua/src/lparser.c:770
#4  0x0000000000efa769 in subexpr (ls=0x7fffcd7f30e0, v=0x7fffcd7f2220, limit=0)
    at /home/lukas/cpp/cuberite/lib/lua/src/lparser.c:838
#5  0x0000000000efa6df in expr (ls=0x7fffcd7f30e0, v=0x7fffcd7f2220)
    at /home/lukas/cpp/cuberite/lib/lua/src/lparser.c:857
#6  0x0000000000efb3cb in recfield (ls=0x7fffcd7f30e0, cc=0x7fffcd7f22a0)
    at /home/lukas/cpp/cuberite/lib/lua/src/lparser.c:458
#7  0x0000000000efae99 in constructor (ls=0x7fffcd7f30e0, t=0x7fffcd7f2450)
    at /home/lukas/cpp/cuberite/lib/lua/src/lparser.c:520
#8  0x0000000000efaa83 in simpleexp (ls=0x7fffcd7f30e0, v=0x7fffcd7f2450)
    at /home/lukas/cpp/cuberite/lib/lua/src/lparser.c:761
#9  0x0000000000efa769 in subexpr (ls=0x7fffcd7f30e0, v=0x7fffcd7f2450, limit=0)
    at /home/lukas/cpp/cuberite/lib/lua/src/lparser.c:838
#10 0x0000000000efa6df in expr (ls=0x7fffcd7f30e0, v=0x7fffcd7f2450)
    at /home/lukas/cpp/cuberite/lib/lua/src/lparser.c:857
#11 0x0000000000efc449 in explist1 (ls=0x7fffcd7f30e0, v=0x7fffcd7f2450)
    at /home/lukas/cpp/cuberite/lib/lua/src/lparser.c:602
#12 0x0000000000efbe60 in funcargs (ls=0x7fffcd7f30e0, f=0x7fffcd7f2518)
    at /home/lukas/cpp/cuberite/lib/lua/src/lparser.c:622
#13 0x0000000000efb204 in primaryexp (ls=0x7fffcd7f30e0, v=0x7fffcd7f2518)
    at /home/lukas/cpp/cuberite/lib/lua/src/lparser.c:718
#14 0x0000000000efa58c in exprstat (ls=0x7fffcd7f30e0) at /home/lukas/cpp/cuberite/lib/lua/src/lparser.c:1228
#15 0x0000000000ef9bed in statement (ls=0x7fffcd7f30e0) at /home/lukas/cpp/cuberite/lib/lua/src/lparser.c:1318
#16 0x0000000000ef941e in chunk (ls=0x7fffcd7f30e0) at /home/lukas/cpp/cuberite/lib/lua/src/lparser.c:1330
#17 0x0000000000efb068 in body (ls=0x7fffcd7f30e0, e=0x7fffcd7f29a0, needself=0, line=197)
    at /home/lukas/cpp/cuberite/lib/lua/src/lparser.c:588
#18 0x0000000000efaaa7 in simpleexp (ls=0x7fffcd7f30e0, v=0x7fffcd7f29a0)
    at /home/lukas/cpp/cuberite/lib/lua/src/lparser.c:766
#19 0x0000000000efa769 in subexpr (ls=0x7fffcd7f30e0, v=0x7fffcd7f29a0, limit=0)
    at /home/lukas/cpp/cuberite/lib/lua/src/lparser.c:838
#20 0x0000000000efa6df in expr (ls=0x7fffcd7f30e0, v=0x7fffcd7f29a0)
    at /home/lukas/cpp/cuberite/lib/lua/src/lparser.c:857
#21 0x0000000000efc414 in explist1 (ls=0x7fffcd7f30e0, v=0x7fffcd7f29a0)
    at /home/lukas/cpp/cuberite/lib/lua/src/lparser.c:599
#22 0x0000000000efbe60 in funcargs (ls=0x7fffcd7f30e0, f=0x7fffcd7f2a68)
    at /home/lukas/cpp/cuberite/lib/lua/src/lparser.c:622
#23 0x0000000000efb1e5 in primaryexp (ls=0x7fffcd7f30e0, v=0x7fffcd7f2a68)
    at /home/lukas/cpp/cuberite/lib/lua/src/lparser.c:713
#24 0x0000000000efa58c in exprstat (ls=0x7fffcd7f30e0) at /home/lukas/cpp/cuberite/lib/lua/src/lparser.c:1228
#25 0x0000000000ef9bed in statement (ls=0x7fffcd7f30e0) at /home/lukas/cpp/cuberite/lib/lua/src/lparser.c:1318
#26 0x0000000000ef941e in chunk (ls=0x7fffcd7f30e0) at /home/lukas/cpp/cuberite/lib/lua/src/lparser.c:1330
#27 0x0000000000efb068 in body (ls=0x7fffcd7f30e0, e=0x7fffcd7f2da0, needself=0, line=193)
    at /home/lukas/cpp/cuberite/lib/lua/src/lparser.c:588
#28 0x0000000000efa14b in funcstat (ls=0x7fffcd7f30e0, line=193)
    at /home/lukas/cpp/cuberite/lib/lua/src/lparser.c:1218
#29 0x0000000000ef9b62 in statement (ls=0x7fffcd7f30e0) at /home/lukas/cpp/cuberite/lib/lua/src/lparser.c:1297
#30 0x0000000000ef941e in chunk (ls=0x7fffcd7f30e0) at /home/lukas/cpp/cuberite/lib/lua/src/lparser.c:1330
#31 0x0000000000ef91c8 in luaY_parser (L=0x7fffbc119a70, z=0x7fffcd7f3388, buff=0x7fffcd7f3338, 
    name=0x7fffbc3543b8 "@Plugins/Core/console.lua") at /home/lukas/cpp/cuberite/lib/lua/src/lparser.c:391
#32 0x0000000000ef0ae6 in f_parser (L=0x7fffbc119a70, ud=0x7fffcd7f3330)
    at /home/lukas/cpp/cuberite/lib/lua/src/ldo.c:497
#33 0x0000000000eef3c5 in luaD_rawrunprotected (L=0x7fffbc119a70, f=0xef0a50 <f_parser>, ud=0x7fffcd7f3330)
    at /home/lukas/cpp/cuberite/lib/lua/src/ldo.c:116
#34 0x0000000000ef087a in luaD_pcall (L=0x7fffbc119a70, func=0xef0a50 <f_parser>, u=0x7fffcd7f3330, old_top=32, 
    ef=0) at /home/lukas/cpp/cuberite/lib/lua/src/ldo.c:463
#35 0x0000000000ef0a17 in luaD_protectedparser (L=0x7fffbc119a70, z=0x7fffcd7f3388, 
    name=0x7fffbc3543b8 "@Plugins/Core/console.lua") at /home/lukas/cpp/cuberite/lib/lua/src/ldo.c:513
#36 0x0000000000eea867 in lua_load (L=0x7fffbc119a70, reader=0xeecc20 <getF>, data=0x7fffcd7f3428, 
    chunkname=0x7fffbc3543b8 "@Plugins/Core/console.lua") at /home/lukas/cpp/cuberite/lib/lua/src/lapi.c:869
#37 0x0000000000eecafc in luaL_loadfile (L=0x7fffbc119a70, filename=0x7fffbc3506c0 "Plugins/Core/console.lua")
    at /home/lukas/cpp/cuberite/lib/lua/src/lauxlib.c:581
#38 0x0000000000a0d430 in cLuaState::LoadFile (this=0x1590268, 
    a_FileName=Python Exception <class 'gdb.error'> There is no member named _M_dataplus.: 
, a_LogWarnings=true) at /home/lukas/cpp/cuberite/src/Bindings/LuaState.cpp:642
#39 0x0000000000a6aea8 in cPluginLua::Load (this=0x15901f0)
    at /home/lukas/cpp/cuberite/src/Bindings/PluginLua.cpp:143
#40 0x0000000000a950b3 in cPluginManager::LoadPlugin (this=0x16a1740, 
    a_FolderName=Python Exception <class 'gdb.error'> There is no member named _M_dataplus.: 
) at /home/lukas/cpp/cuberite/src/Bindings/PluginManager.cpp:1653
#41 0x0000000000a94b22 in cPluginManager::ReloadPluginsNow (this=0x16a1740, a_Settings=...)
    at /home/lukas/cpp/cuberite/src/Bindings/PluginManager.cpp:137
#42 0x0000000000a949f3 in cPluginManager::ReloadPluginsNow (this=0x16a1740)
    at /home/lukas/cpp/cuberite/src/Bindings/PluginManager.cpp:115
#43 0x0000000000a96011 in cPluginManager::Tick (this=0x16a1740, a_Dt=50)
    at /home/lukas/cpp/cuberite/src/Bindings/PluginManager.cpp:214
#44 0x000000000098aa5c in cServer::Tick (this=0x149e040, a_Dt=50) at /home/lukas/cpp/cuberite/src/Server.cpp:329
#45 0x000000000098a936 in cServer::cTickThread::Execute (this=0x149e4e0)
    at /home/lukas/cpp/cuberite/src/Server.cpp:114
#46 0x00000000009edc27 in cIsThread::DoExecute (this=0x149e4e0)
    at /home/lukas/cpp/cuberite/src/OSSupport/IsThread.cpp:74
#47 0x00000000009ee581 in std::__invoke_impl<void, void (cIsThread::* const&)(), cIsThread*>(std::__invoke_memfun_deref, void (cIsThread::* const&)(), cIsThread*&&) (
    __f=@0x5549a90: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __t=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48e3d5>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:235
#48 0x00000000009ee502 in std::__invoke<void (cIsThread::* const&)(), cIsThread*>(void (cIsThread::* const&)(), cIsThread*&&) (__fn=@0x5549a90: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48b40b>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:259
#49 0x00000000009ee480 in std::_Mem_fn_base<void (cIsThread::*)(), true>::operator()<cIsThread*> (this=0x5549a90, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x491a19>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:613
#50 0x00000000009ee422 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x5549a88)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1399
#51 0x00000000009ee3d5 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::operator()() (
    this=0x5549a88) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1389
#52 0x00000000009ee199 in std::thread::_State_impl<std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)> >::_M_run() (this=0x5549a80) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/thread:196
#53 0x00007ffff760acdf in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#54 0x00007ffff7124464 in start_thread (arg=0x7fffcd7f6700) at pthread_create.c:333
#55 0x00007ffff6e679df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 19 (Thread 0x7fffcdff7700 (LWP 563)):
#0  0x00007ffff712d81d in nanosleep () at ../sysdeps/unix/syscall-template.S:84
#1  0x000000000091a950 in std::this_thread::sleep_for<long, std::ratio<1l, 1000l> > (__rtime=...)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/thread:322
#2  0x0000000000919f41 in cDeadlockDetect::Execute (this=0x7fffffffdf18)
    at /home/lukas/cpp/cuberite/src/DeadlockDetect.cpp:138
#3  0x00000000009edc27 in cIsThread::DoExecute (this=0x7fffffffdf18)
    at /home/lukas/cpp/cuberite/src/OSSupport/IsThread.cpp:74
#4  0x00000000009ee581 in std::__invoke_impl<void, void (cIsThread::* const&)(), cIsThread*>(std::__invoke_memfun_deref, void (cIsThread::* const&)(), cIsThread*&&) (
    __f=@0x42c8b30: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __t=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48e3d5>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:235
#5  0x00000000009ee502 in std::__invoke<void (cIsThread::* const&)(), cIsThread*>(void (cIsThread::* const&)(), cIsThread*&&) (__fn=@0x42c8b30: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48b40b>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:259
#6  0x00000000009ee480 in std::_Mem_fn_base<void (cIsThread::*)(), true>::operator()<cIsThread*> (this=0x42c8b30, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x491a19>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:613
#7  0x00000000009ee422 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x42c8b28)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1399
#8  0x00000000009ee3d5 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::operator()() (
    this=0x42c8b28) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1389
#9  0x00000000009ee199 in std::thread::_State_impl<std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)> >::_M_run() (this=0x42c8b20) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/thread:196
#10 0x00007ffff760acdf in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x00007ffff7124464 in start_thread (arg=0x7fffcdff7700) at pthread_create.c:333
#12 0x00007ffff6e679df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 18 (Thread 0x7fffce7f8700 (LWP 562)):
#0  std::__detail::_Mod_range_hashing::operator() (this=0x7ffff0000c60, __num=140736441633904, __den=199)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/bits/hashtable_policy.h:446
#1  0x000000000090358b in std::__detail::_Hash_code_base<cChunkCoords, cChunkCoords, std::__detail::_Identity, cChunkCoordsHash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, true>::_M_bucket_index (
    this=0x7ffff0000c60, __p=0x7fffc19c4c70, __n=199)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/bits/hashtable_policy.h:1266
#2  0x0000000000903437 in std::_Hashtable<cChunkCoords, cChunkCoords, std::allocator<cChunkCoords>, std::__detail::_Identity, std::equal_to<cChunkCoords>, cChunkCoordsHash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, true, true> >::_M_bucket_index (this=0x7ffff0000c60, __n=0x7fffc19c4c70)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/bits/hashtable.h:619
#3  0x0000000000903367 in std::_Hashtable<cChunkCoords, cChunkCoords, std::allocator<cChunkCoords>, std::__detail::_Identity, std::equal_to<cChunkCoords>, cChunkCoordsHash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, true, true> >::_M_find_before_node (this=0x7ffff0000c60, __n=58, __k=..., __code=18446744073709289465)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/bits/hashtable.h:1423
#4  0x00000000009031ad in std::_Hashtable<cChunkCoords, cChunkCoords, std::allocator<cChunkCoords>, std::__detail::_Identity, std::equal_to<cChunkCoords>, cChunkCoordsHash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, true, true> >::_M_find_node (
    this=0x7ffff0000c60, __bkt=58, __key=..., __c=18446744073709289465)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/bits/hashtable.h:634
#5  0x00000000009030d5 in std::_Hashtable<cChunkCoords, cChunkCoords, std::allocator<cChunkCoords>, std::__detail::_Identity, std::equal_to<cChunkCoords>, cChunkCoordsHash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, true, true> >::find (
    this=0x7ffff0000c60, __k=...)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/bits/hashtable.h:1294
#6  0x00000000008fec3d in std::unordered_set<cChunkCoords, cChunkCoordsHash, std::equal_to<cChunkCoords>, std::allocator<cChunkCoords> >::find (this=0x7ffff0000c60, __x=...)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/bits/unordered_set.h:586
#7  0x00000000008f3f36 in cClientHandle::StreamNextChunk (this=0x7ffff0000b50)
    at /home/lukas/cpp/cuberite/src/ClientHandle.cpp:528
#8  0x00000000008fa8fe in cClientHandle::Tick (this=0x7ffff0000b50, a_Dt=50)
    at /home/lukas/cpp/cuberite/src/ClientHandle.cpp:2126
#9  0x00000000009bab8f in cWorld::TickClients (this=0x7ffff5688010, a_Dt=50)
    at /home/lukas/cpp/cuberite/src/World.cpp:1308
#10 0x00000000009ac171 in cWorld::Tick (this=0x7ffff5688010, a_Dt=..., a_LastTickDurationMSec=...)
    at /home/lukas/cpp/cuberite/src/World.cpp:1071
#11 0x00000000009abae3 in cWorld::cTickThread::Execute (this=0x7ffff5e02ac8)
    at /home/lukas/cpp/cuberite/src/World.cpp:112
#12 0x00000000009edc27 in cIsThread::DoExecute (this=0x7ffff5e02ac8)
    at /home/lukas/cpp/cuberite/src/OSSupport/IsThread.cpp:74
#13 0x00000000009ee581 in std::__invoke_impl<void, void (cIsThread::* const&)(), cIsThread*>(std::__invoke_memfun_deref, void (cIsThread::* const&)(), cIsThread*&&) (
    __f=@0x306cd60: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __t=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48e3d5>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:235
#14 0x00000000009ee502 in std::__invoke<void (cIsThread::* const&)(), cIsThread*>(void (cIsThread::* const&)(), cIsThread*&&) (__fn=@0x306cd60: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48b40b>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:259
#15 0x00000000009ee480 in std::_Mem_fn_base<void (cIsThread::*)(), true>::operator()<cIsThread*> (this=0x306cd60, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x491a19>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:613
#16 0x00000000009ee422 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x306cd58)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1399
#17 0x00000000009ee3d5 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::operator()() (
    this=0x306cd58) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1389
#18 0x00000000009ee199 in std::thread::_State_impl<std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)> >::_M_run() (this=0x306cd50) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/thread:196
#19 0x00007ffff760acdf in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#20 0x00007ffff7124464 in start_thread (arg=0x7fffce7f8700) at pthread_create.c:333
#21 0x00007ffff6e679df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 17 (Thread 0x7fffceff9700 (LWP 561)):
#0  0x00000000008bbc4c in cByteBuffer::CheckValid (this=0x7fffceff8878)
    at /home/lukas/cpp/cuberite/src/ByteBuffer.cpp:960
#1  0x00000000008bc4b0 in cByteBuffer::CanWriteBytes (this=0x7fffceff8878, a_Count=8)
    at /home/lukas/cpp/cuberite/src/ByteBuffer.cpp:236
#2  0x00000000008bd3d1 in cByteBuffer::WriteBuf (this=0x7fffceff8878, a_Buffer=0x7fffceff8680, a_Count=8)
    at /home/lukas/cpp/cuberite/src/ByteBuffer.cpp:788
#3  0x00000000008bd870 in cByteBuffer::WriteBEUInt64 (this=0x7fffceff8878, a_Value=0)
    at /home/lukas/cpp/cuberite/src/ByteBuffer.cpp:629
#4  0x0000000000b88a95 in cChunkDataSerializer::Serialize110 (this=0x7fffceff8bd8, 
    a_Data=Python Exception <class 'gdb.error'> There is no member named _M_dataplus.: 
, a_ChunkX=-7, a_ChunkZ=1) at /home/lukas/cpp/cuberite/src/Protocol/ChunkDataSerializer.cpp:365
#5  0x0000000000b877bc in cChunkDataSerializer::Serialize[abi:cxx11](int, int, int) (this=0x7fffceff8bd8, 
    a_Version=110, a_ChunkX=-7, a_ChunkZ=1) at /home/lukas/cpp/cuberite/src/Protocol/ChunkDataSerializer.cpp:51
#6  0x0000000000bc45b6 in cProtocol_1_9_4::SendChunkData (this=0x7fffbc0008c0, a_ChunkX=-7, a_ChunkZ=1, 
    a_Serializer=...) at /home/lukas/cpp/cuberite/src/Protocol/Protocol_1_9.cpp:4298
#7  0x0000000000bc6eea in cProtocolRecognizer::SendChunkData (this=0x7ffff0000f30, a_ChunkX=-7, a_ChunkZ=1, 
    a_Serializer=...) at /home/lukas/cpp/cuberite/src/Protocol/ProtocolRecognizer.cpp:218
#8  0x00000000008fbbca in cClientHandle::SendChunkData (this=0x7ffff0000b50, a_ChunkX=-7, a_ChunkZ=1, 
    a_Serializer=...) at /home/lukas/cpp/cuberite/src/ClientHandle.cpp:2416
#9  0x00000000008e57ba in cChunkSender::SendChunk (this=0x7ffff5689ce0, a_ChunkX=-7, a_ChunkZ=1, 
    a_Clients=std::unordered_set with 1 elements = {...}) at /home/lukas/cpp/cuberite/src/ChunkSender.cpp:265
#10 0x00000000008e537a in cChunkSender::Execute (this=0x7ffff5689ce0)
    at /home/lukas/cpp/cuberite/src/ChunkSender.cpp:209
#11 0x00000000009edc27 in cIsThread::DoExecute (this=0x7ffff5689ce0)
    at /home/lukas/cpp/cuberite/src/OSSupport/IsThread.cpp:74
#12 0x00000000009ee581 in std::__invoke_impl<void, void (cIsThread::* const&)(), cIsThread*>(std::__invoke_memfun_deref, void (cIsThread::* const&)(), cIsThread*&&) (
    __f=@0x425c330: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __t=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48e3d5>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:235
#13 0x00000000009ee502 in std::__invoke<void (cIsThread::* const&)(), cIsThread*>(void (cIsThread::* const&)(), cIsThread*&&) (__fn=@0x425c330: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48b40b>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:259
#14 0x00000000009ee480 in std::_Mem_fn_base<void (cIsThread::*)(), true>::operator()<cIsThread*> (this=0x425c330, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x491a19>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:613
#15 0x00000000009ee422 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x425c328)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1399
#16 0x00000000009ee3d5 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::operator()() (
    this=0x425c328) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1389
#17 0x00000000009ee199 in std::thread::_State_impl<std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)> >::_M_run() (this=0x425c320) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/thread:196
#18 0x00007ffff760acdf in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#19 0x00007ffff7124464 in start_thread (arg=0x7fffceff9700) at pthread_create.c:333
#20 0x00007ffff6e679df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 16 (Thread 0x7fffcf7fa700 (LWP 560)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff760539c in std::condition_variable::wait(std::unique_lock<std::mutex>&) ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#2  0x00000000009eb251 in std::condition_variable::wait<cEvent::Wait()::$_0>(std::unique_lock<std::mutex>&, cEvent::Wait()::$_0) (this=0x7ffff5689ad8, __lock=..., __p=...)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/condition_variable:99
#3  0x00000000009eb1ce in cEvent::Wait (this=0x7ffff5689aa8) at /home/lukas/cpp/cuberite/src/OSSupport/Event.cpp:28
#4  0x0000000000bd1dcb in cChunkGenerator::Execute (this=0x7ffff56899b8)
    at /home/lukas/cpp/cuberite/src/Generating/ChunkGenerator.cpp:218
#5  0x00000000009edc27 in cIsThread::DoExecute (this=0x7ffff56899b8)
    at /home/lukas/cpp/cuberite/src/OSSupport/IsThread.cpp:74
#6  0x00000000009ee581 in std::__invoke_impl<void, void (cIsThread::* const&)(), cIsThread*>(std::__invoke_memfun_deref, void (cIsThread::* const&)(), cIsThread*&&) (
    __f=@0x548cd20: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __t=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48e3d5>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:235
#7  0x00000000009ee502 in std::__invoke<void (cIsThread::* const&)(), cIsThread*>(void (cIsThread::* const&)(), cIsThread*&&) (__fn=@0x548cd20: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48b40b>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:259
#8  0x00000000009ee480 in std::_Mem_fn_base<void (cIsThread::*)(), true>::operator()<cIsThread*> (this=0x548cd20, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x491a19>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:613
#9  0x00000000009ee422 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x548cd18)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1399
#10 0x00000000009ee3d5 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::operator()() (
    this=0x548cd18) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1389
#11 0x00000000009ee199 in std::thread::_State_impl<std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)> >::_M_run() (this=0x548cd10) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/thread:196
#12 0x00007ffff760acdf in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#13 0x00007ffff7124464 in start_thread (arg=0x7fffcf7fa700) at pthread_create.c:333
#14 0x00007ffff6e679df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 15 (Thread 0x7fffdcff5700 (LWP 559)):
#0  0x0000000000994c06 in cSetChunkData::CalculateHeightMap (this=0x7fffc80c6d20)
    at /home/lukas/cpp/cuberite/src/SetChunkData.cpp:104
#1  0x00000000009c0caf in cWorld::QueueSetChunkData (this=0x7ffff5688010, a_SetChunkData=warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<cSetChunkData*, (__gnu_cxx::_Lock_policy)2>'
warning: RTTI symbol not found for class 'std::_Sp_counted_ptr<cSetChunkData*, (__gnu_cxx::_Lock_policy)2>'

std::shared_ptr (count 1, weak 0) 0x7fffc80c6d20) at /home/lukas/cpp/cuberite/src/World.cpp:2881
#2  0x0000000000ce1679 in cWSSAnvil::LoadChunkFromNBT (this=0x53fff00, a_Chunk=..., a_NBT=..., 
    a_RawChunkData=Python Exception <class 'gdb.error'> There is no member named _M_dataplus.: 
) at /home/lukas/cpp/cuberite/src/WorldStorage/WSSAnvil.cpp:471
#3  0x0000000000cded55 in cWSSAnvil::LoadChunkFromData (this=0x53fff00, a_Chunk=..., 
    a_Data=Python Exception <class 'gdb.error'> There is no member named _M_dataplus.: 
) at /home/lukas/cpp/cuberite/src/WorldStorage/WSSAnvil.cpp:333
#4  0x0000000000cde976 in cWSSAnvil::LoadChunk (this=0x53fff00, a_Chunk=...)
    at /home/lukas/cpp/cuberite/src/WorldStorage/WSSAnvil.cpp:149
#5  0x0000000000cdbac5 in cWorldStorage::LoadChunk (this=0x7ffff5689590, a_ChunkX=9, a_ChunkZ=-6)
    at /home/lukas/cpp/cuberite/src/WorldStorage/WorldStorage.cpp:295
#6  0x0000000000cdb84f in cWorldStorage::LoadOneChunk (this=0x7ffff5689590)
    at /home/lukas/cpp/cuberite/src/WorldStorage/WorldStorage.cpp:240
#7  0x0000000000cdb7a0 in cWorldStorage::Execute (this=0x7ffff5689590)
    at /home/lukas/cpp/cuberite/src/WorldStorage/WorldStorage.cpp:219
#8  0x00000000009edc27 in cIsThread::DoExecute (this=0x7ffff5689590)
    at /home/lukas/cpp/cuberite/src/OSSupport/IsThread.cpp:74
#9  0x00000000009ee581 in std::__invoke_impl<void, void (cIsThread::* const&)(), cIsThread*>(std::__invoke_memfun_deref, void (cIsThread::* const&)(), cIsThread*&&) (
    __f=@0x53fff80: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __t=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48e3d5>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:235
#10 0x00000000009ee502 in std::__invoke<void (cIsThread::* const&)(), cIsThread*>(void (cIsThread::* const&)(), cIsThread*&&) (__fn=@0x53fff80: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48b40b>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:259
#11 0x00000000009ee480 in std::_Mem_fn_base<void (cIsThread::*)(), true>::operator()<cIsThread*> (this=0x53fff80, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x491a19>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:613
#12 0x00000000009ee422 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x53fff78)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1399
#13 0x00000000009ee3d5 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::operator()() (
    this=0x53fff78) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1389
#14 0x00000000009ee199 in std::thread::_State_impl<std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)> >::_M_run() (this=0x53fff70) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/thread:196
#15 0x00007ffff760acdf in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#16 0x00007ffff7124464 in start_thread (arg=0x7fffdcff5700) at pthread_create.c:333
#17 0x00007ffff6e679df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 14 (Thread 0x7fffdd7f6700 (LWP 558)):
#0  0x000000000093cfdd in cLightingThread::PropagateLight (this=0x7ffff56b1ff0, a_Light=0x7ffff57421b9 "", 
    a_SrcIdx=249565, a_DstIdx=249517, a_NumSeedsOut=@0x7fffdd7e5c18: 1124, a_IsSeedOut=0x7ffff5b32abc "", 
    a_SeedIdxOut=0x7ffff5bc2abc) at /home/lukas/cpp/cuberite/src/./LightingThread.h:178
#1  0x000000000093c9f5 in cLightingThread::CalcLightStep (this=0x7ffff56b1ff0, a_Light=0x7ffff57421b9 "", 
    a_NumSeedsIn=4052, a_IsSeedIn=0x7ffff5862ab9 "", a_SeedIdxIn=0x7ffff58f2abc, a_NumSeedsOut=@0x7fffdd7e5cc0: 0, 
    a_IsSeedOut=0x7ffff5b32abc "", a_SeedIdxOut=0x7ffff5bc2abc)
    at /home/lukas/cpp/cuberite/src/LightingThread.cpp:541
#2  0x000000000093c2d1 in cLightingThread::CalcLight (this=0x7ffff56b1ff0, a_Light=0x7ffff57421b9 "")
    at /home/lukas/cpp/cuberite/src/LightingThread.cpp:494
#3  0x000000000093bdcc in cLightingThread::LightChunk (this=0x7ffff56b1ff0, a_Item=...)
    at /home/lukas/cpp/cuberite/src/LightingThread.cpp:256
#4  0x000000000093bc9e in cLightingThread::Execute (this=0x7ffff56b1ff0)
    at /home/lukas/cpp/cuberite/src/LightingThread.cpp:228
#5  0x00000000009edc27 in cIsThread::DoExecute (this=0x7ffff56b1ff0)
    at /home/lukas/cpp/cuberite/src/OSSupport/IsThread.cpp:74
#6  0x00000000009ee581 in std::__invoke_impl<void, void (cIsThread::* const&)(), cIsThread*>(std::__invoke_memfun_deref, void (cIsThread::* const&)(), cIsThread*&&) (
    __f=@0x53ffbb0: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __t=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48e3d5>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:235
#7  0x00000000009ee502 in std::__invoke<void (cIsThread::* const&)(), cIsThread*>(void (cIsThread::* const&)(), cIsThread*&&) (__fn=@0x53ffbb0: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48b40b>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:259
#8  0x00000000009ee480 in std::_Mem_fn_base<void (cIsThread::*)(), true>::operator()<cIsThread*> (this=0x53ffbb0, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x491a19>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:613
#9  0x00000000009ee422 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x53ffba8)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1399
#10 0x00000000009ee3d5 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::operator()() (
    this=0x53ffba8) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1389
#11 0x00000000009ee199 in std::thread::_State_impl<std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)> >::_M_run() (this=0x53ffba0) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/thread:196
#12 0x00007ffff760acdf in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#13 0x00007ffff7124464 in start_thread (arg=0x7fffdd7f6700) at pthread_create.c:333
#14 0x00007ffff6e679df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 13 (Thread 0x7fffddff7700 (LWP 557)):
#0  0x00007ffff712d81d in nanosleep () at ../sysdeps/unix/syscall-template.S:84
#1  0x000000000091a950 in std::this_thread::sleep_for<long, std::ratio<1l, 1000l> > (__rtime=...)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/thread:322
#2  0x00000000009abb6e in cWorld::cTickThread::Execute (this=0x7ffff5687ac8)
    at /home/lukas/cpp/cuberite/src/World.cpp:118
#3  0x00000000009edc27 in cIsThread::DoExecute (this=0x7ffff5687ac8)
    at /home/lukas/cpp/cuberite/src/OSSupport/IsThread.cpp:74
#4  0x00000000009ee581 in std::__invoke_impl<void, void (cIsThread::* const&)(), cIsThread*>(std::__invoke_memfun_deref, void (cIsThread::* const&)(), cIsThread*&&) (
    __f=@0x41fb000: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __t=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48e3d5>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:235
#5  0x00000000009ee502 in std::__invoke<void (cIsThread::* const&)(), cIsThread*>(void (cIsThread::* const&)(), cIsThread*&&) (__fn=@0x41fb000: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48b40b>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:259
#6  0x00000000009ee480 in std::_Mem_fn_base<void (cIsThread::*)(), true>::operator()<cIsThread*> (this=0x41fb000, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x491a19>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:613
#7  0x00000000009ee422 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x41faff8)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1399
#8  0x00000000009ee3d5 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::operator()() (
    this=0x41faff8) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1389
#9  0x00000000009ee199 in std::thread::_State_impl<std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)> >::_M_run() (this=0x41faff0) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/thread:196
#10 0x00007ffff760acdf in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x00007ffff7124464 in start_thread (arg=0x7fffddff7700) at pthread_create.c:333
#12 0x00007ffff6e679df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 12 (Thread 0x7fffde7f8700 (LWP 556)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff760539c in std::condition_variable::wait(std::unique_lock<std::mutex>&) ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#2  0x00000000009eb251 in std::condition_variable::wait<cEvent::Wait()::$_0>(std::unique_lock<std::mutex>&, cEvent::Wait()::$_0) (this=0x7ffff4f36e48, __lock=..., __p=...)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/condition_variable:99
#3  0x00000000009eb1ce in cEvent::Wait (this=0x7ffff4f36e18) at /home/lukas/cpp/cuberite/src/OSSupport/Event.cpp:28
#4  0x00000000008e5191 in cChunkSender::Execute (this=0x7ffff4f0ece0)
    at /home/lukas/cpp/cuberite/src/ChunkSender.cpp:189
#5  0x00000000009edc27 in cIsThread::DoExecute (this=0x7ffff4f0ece0)
    at /home/lukas/cpp/cuberite/src/OSSupport/IsThread.cpp:74
#6  0x00000000009ee581 in std::__invoke_impl<void, void (cIsThread::* const&)(), cIsThread*>(std::__invoke_memfun_deref, void (cIsThread::* const&)(), cIsThread*&&) (
    __f=@0x41fae90: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __t=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48e3d5>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:235
#7  0x00000000009ee502 in std::__invoke<void (cIsThread::* const&)(), cIsThread*>(void (cIsThread::* const&)(), cIsThread*&&) (__fn=@0x41fae90: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48b40b>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:259
#8  0x00000000009ee480 in std::_Mem_fn_base<void (cIsThread::*)(), true>::operator()<cIsThread*> (this=0x41fae90, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x491a19>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:613
#9  0x00000000009ee422 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x41fae88)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1399
#10 0x00000000009ee3d5 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::operator()() (
    this=0x41fae88) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1389
#11 0x00000000009ee199 in std::thread::_State_impl<std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)> >::_M_run() (this=0x41fae80) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/thread:196
#12 0x00007ffff760acdf in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#13 0x00007ffff7124464 in start_thread (arg=0x7fffde7f8700) at pthread_create.c:333
#14 0x00007ffff6e679df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 11 (Thread 0x7fffdeff9700 (LWP 555)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff760539c in std::condition_variable::wait(std::unique_lock<std::mutex>&) ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#2  0x00000000009eb251 in std::condition_variable::wait<cEvent::Wait()::$_0>(std::unique_lock<std::mutex>&, cEvent::Wait()::$_0) (this=0x7ffff4f0ead8, __lock=..., __p=...)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/condition_variable:99
#3  0x00000000009eb1ce in cEvent::Wait (this=0x7ffff4f0eaa8) at /home/lukas/cpp/cuberite/src/OSSupport/Event.cpp:28
#4  0x0000000000bd1dcb in cChunkGenerator::Execute (this=0x7ffff4f0e9b8)
    at /home/lukas/cpp/cuberite/src/Generating/ChunkGenerator.cpp:218
#5  0x00000000009edc27 in cIsThread::DoExecute (this=0x7ffff4f0e9b8)
    at /home/lukas/cpp/cuberite/src/OSSupport/IsThread.cpp:74
#6  0x00000000009ee581 in std::__invoke_impl<void, void (cIsThread::* const&)(), cIsThread*>(std::__invoke_memfun_deref, void (cIsThread::* const&)(), cIsThread*&&) (
    __f=@0x31c3510: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __t=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48e3d5>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:235
#7  0x00000000009ee502 in std::__invoke<void (cIsThread::* const&)(), cIsThread*>(void (cIsThread::* const&)(), cIsThread*&&) (__fn=@0x31c3510: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48b40b>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:259
#8  0x00000000009ee480 in std::_Mem_fn_base<void (cIsThread::*)(), true>::operator()<cIsThread*> (this=0x31c3510, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x491a19>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:613
#9  0x00000000009ee422 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x31c3508)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1399
#10 0x00000000009ee3d5 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::operator()() (
    this=0x31c3508) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1389
#11 0x00000000009ee199 in std::thread::_State_impl<std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)> >::_M_run() (this=0x31c3500) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/thread:196
#12 0x00007ffff760acdf in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#13 0x00007ffff7124464 in start_thread (arg=0x7fffdeff9700) at pthread_create.c:333
#14 0x00007ffff6e679df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 10 (Thread 0x7fffdffff700 (LWP 554)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff760539c in std::condition_variable::wait(std::unique_lock<std::mutex>&) ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#2  0x00000000009eb251 in std::condition_variable::wait<cEvent::Wait()::$_0>(std::unique_lock<std::mutex>&, cEvent::Wait()::$_0) (this=0x7ffff4f0e8c0, __lock=..., __p=...)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/condition_variable:99
#3  0x00000000009eb1ce in cEvent::Wait (this=0x7ffff4f0e890) at /home/lukas/cpp/cuberite/src/OSSupport/Event.cpp:28
#4  0x0000000000cdb775 in cWorldStorage::Execute (this=0x7ffff4f0e590)
    at /home/lukas/cpp/cuberite/src/WorldStorage/WorldStorage.cpp:209
#5  0x00000000009edc27 in cIsThread::DoExecute (this=0x7ffff4f0e590)
    at /home/lukas/cpp/cuberite/src/OSSupport/IsThread.cpp:74
#6  0x00000000009ee581 in std::__invoke_impl<void, void (cIsThread::* const&)(), cIsThread*>(std::__invoke_memfun_deref, void (cIsThread::* const&)(), cIsThread*&&) (
    __f=@0x31c34e0: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __t=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48e3d5>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:235
#7  0x00000000009ee502 in std::__invoke<void (cIsThread::* const&)(), cIsThread*>(void (cIsThread::* const&)(), cIsThread*&&) (__fn=@0x31c34e0: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48b40b>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:259
#8  0x00000000009ee480 in std::_Mem_fn_base<void (cIsThread::*)(), true>::operator()<cIsThread*> (this=0x31c34e0, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x491a19>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:613
#9  0x00000000009ee422 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x31c34d8)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1399
#10 0x00000000009ee3d5 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::operator()() (
    this=0x31c34d8) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1389
#11 0x00000000009ee199 in std::thread::_State_impl<std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)> >::_M_run() (this=0x31c34d0) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/thread:196
#12 0x00007ffff760acdf in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#13 0x00007ffff7124464 in start_thread (arg=0x7fffdffff700) at pthread_create.c:333
#14 0x00007ffff6e679df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 9 (Thread 0x7fffecff5700 (LWP 553)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff760539c in std::condition_variable::wait(std::unique_lock<std::mutex>&) ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#2  0x00000000009eb251 in std::condition_variable::wait<cEvent::Wait()::$_0>(std::unique_lock<std::mutex>&, cEvent::Wait()::$_0) (this=0x7ffff4f37128, __lock=..., __p=...)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/condition_variable:99
#3  0x00000000009eb1ce in cEvent::Wait (this=0x7ffff4f370f8) at /home/lukas/cpp/cuberite/src/OSSupport/Event.cpp:28
#4  0x000000000093bb2d in cLightingThread::Execute (this=0x7ffff4f36ff0)
    at /home/lukas/cpp/cuberite/src/LightingThread.cpp:203
#5  0x00000000009edc27 in cIsThread::DoExecute (this=0x7ffff4f36ff0)
    at /home/lukas/cpp/cuberite/src/OSSupport/IsThread.cpp:74
#6  0x00000000009ee581 in std::__invoke_impl<void, void (cIsThread::* const&)(), cIsThread*>(std::__invoke_memfun_deref, void (cIsThread::* const&)(), cIsThread*&&) (
    __f=@0x31c3110: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __t=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48e3d5>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:235
#7  0x00000000009ee502 in std::__invoke<void (cIsThread::* const&)(), cIsThread*>(void (cIsThread::* const&)(), cIsThread*&&) (__fn=@0x31c3110: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48b40b>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:259
#8  0x00000000009ee480 in std::_Mem_fn_base<void (cIsThread::*)(), true>::operator()<cIsThread*> (this=0x31c3110, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x491a19>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:613
#9  0x00000000009ee422 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x31c3108)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1399
#10 0x00000000009ee3d5 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::operator()() (
    this=0x31c3108) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1389
#11 0x00000000009ee199 in std::thread::_State_impl<std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)> >::_M_run() (this=0x31c3100) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/thread:196
#12 0x00007ffff760acdf in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#13 0x00007ffff7124464 in start_thread (arg=0x7fffecff5700) at pthread_create.c:333
#14 0x00007ffff6e679df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 8 (Thread 0x7fffed7f6700 (LWP 552)):
#0  0x0000000000a18b5f in std::__atomic_base<cCriticalSection*>::load (this=0x0, __m=std::memory_order_seq_cst)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/bits/atomic_base.h:713
#1  0x0000000000a146eb in std::atomic<cCriticalSection*>::load (this=0x0, __m=std::memory_order_seq_cst)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/atomic:416
#2  0x0000000000a43eda in cLuaState::cCallback::Call<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> > > > const&, cPlayer*&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cLuaState::cRet const&, bool&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&> (
    this=0x0, args=Python Exception <class 'gdb.error'> There is no member named _M_dataplus.: 
, args=Python Exception <class 'gdb.error'> There is no member named _M_dataplus.: 
, args=Python Exception <class 'gdb.error'> There is no member named _M_dataplus.: 
, args=Python Exception <class 'gdb.error'> There is no member named _M_dataplus.: 
, args=Python Exception <class 'gdb.error'> There is no member named _M_dataplus.: 
, args=Python Exception <class 'gdb.error'> There is no member named _M_dataplus.: 
) at /home/lukas/cpp/cuberite/src/./Bindings/LuaState.h:264
#3  0x0000000000a43c66 in LuaCommandHandler::ExecuteCommand (this=0x1a6d8c0, a_Split=warning: Type size unknown, assuming 1. Try casting to a known type, or void *.
warning: Type size unknown, assuming 1. Try casting to a known type, or void *.

Python Exception <class 'gdb.error'> Cannot perform pointer math on incomplete type "std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >", try casting to a known type, or void *.: 
std::vector of length 32, capacity 32, a_Player=0x7fffbc01d620, 
    a_Command=Python Exception <class 'gdb.error'> There is no member named _M_dataplus.: 
, a_Output=0x0) at /home/lukas/cpp/cuberite/src/Bindings/ManualBindings.cpp:68
#4  0x0000000000a97085 in cPluginManager::HandleCommand (this=0x16a1740, a_Player=..., 
    a_Command=Python Exception <class 'gdb.error'> There is no member named _M_dataplus.: 
, a_ShouldCheckPermissions=true) at /home/lukas/cpp/cuberite/src/Bindings/PluginManager.cpp:1599
#5  0x0000000000a966e8 in cPluginManager::CallHookChat (this=0x16a1740, a_Player=..., 
    a_Message=Python Exception <class 'gdb.error'> There is no member named _M_dataplus.: 
) at /home/lukas/cpp/cuberite/src/Bindings/PluginManager.cpp:314
#6  0x000000000098cf2e in cServer::Command (this=0x149e040, a_Client=..., 
    a_Cmd=Python Exception <class 'gdb.error'> There is no member named _M_dataplus.: 
) at /home/lukas/cpp/cuberite/src/Server.cpp:430
#7  0x00000000008f895f in cClientHandle::HandleChat (this=0x7ffff0013610, 
    a_Message=Python Exception <class 'gdb.error'> There is no member named _M_dataplus.: 
) at /home/lukas/cpp/cuberite/src/ClientHandle.cpp:1545
#8  0x0000000000bbd00e in cProtocol_1_9_0::HandlePacketChatMessage (this=0x7fffbc020750, a_ByteBuffer=...)
    at /home/lukas/cpp/cuberite/src/Protocol/Protocol_1_9.cpp:2345
#9  0x0000000000bbb46c in cProtocol_1_9_0::HandlePacket (this=0x7fffbc020750, a_ByteBuffer=..., a_PacketType=2)
    at /home/lukas/cpp/cuberite/src/Protocol/Protocol_1_9.cpp:2054
#10 0x0000000000bac9ff in cProtocol_1_9_0::AddReceivedData (this=0x7fffbc020750, a_Data=0x7ffff0026b80 "\n", 
    a_Size=1089) at /home/lukas/cpp/cuberite/src/Protocol/Protocol_1_9.cpp:1953
#11 0x0000000000babba4 in cProtocol_1_9_0::DataReceived (this=0x7fffbc020750, a_Data=0x7ffff0026b80 "\n", 
    a_Size=1089) at /home/lukas/cpp/cuberite/src/Protocol/Protocol_1_9.cpp:174
#12 0x0000000000bc6620 in cProtocolRecognizer::DataReceived (this=0x7ffff00139d0, a_Data=0x7ffff0026b80 "\n", 
    a_Size=1089) at /home/lukas/cpp/cuberite/src/Protocol/ProtocolRecognizer.cpp:118
#13 0x00000000008fabba in cClientHandle::ProcessProtocolInOut (this=0x7ffff0013610)
    at /home/lukas/cpp/cuberite/src/ClientHandle.cpp:3270
#14 0x00000000008fa391 in cClientHandle::Tick (this=0x7ffff0013610, a_Dt=50)
    at /home/lukas/cpp/cuberite/src/ClientHandle.cpp:2046
#15 0x00000000009bab8f in cWorld::TickClients (this=0x7ffff5e03010, a_Dt=50)
    at /home/lukas/cpp/cuberite/src/World.cpp:1308
#16 0x00000000009ac171 in cWorld::Tick (this=0x7ffff5e03010, a_Dt=..., a_LastTickDurationMSec=...)
    at /home/lukas/cpp/cuberite/src/World.cpp:1071
#17 0x00000000009abae3 in cWorld::cTickThread::Execute (this=0x7ffff657dac8)
    at /home/lukas/cpp/cuberite/src/World.cpp:112
#18 0x00000000009edc27 in cIsThread::DoExecute (this=0x7ffff657dac8)
    at /home/lukas/cpp/cuberite/src/OSSupport/IsThread.cpp:74
#19 0x00000000009ee581 in std::__invoke_impl<void, void (cIsThread::* const&)(), cIsThread*>(std::__invoke_memfun_deref, void (cIsThread::* const&)(), cIsThread*&&) (
    __f=@0x302eff0: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __t=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48e3d5>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:235
#20 0x00000000009ee502 in std::__invoke<void (cIsThread::* const&)(), cIsThread*>(void (cIsThread::* const&)(), cIsThread*&&) (__fn=@0x302eff0: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48b40b>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:259
#21 0x00000000009ee480 in std::_Mem_fn_base<void (cIsThread::*)(), true>::operator()<cIsThread*> (this=0x302eff0, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x491a19>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:613
#22 0x00000000009ee422 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x302efe8)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1399
#23 0x00000000009ee3d5 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::operator()() (
    this=0x302efe8) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1389
#24 0x00000000009ee199 in std::thread::_State_impl<std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)> >::_M_run() (this=0x302efe0) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/thread:196
#25 0x00007ffff760acdf in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#26 0x00007ffff7124464 in start_thread (arg=0x7fffed7f6700) at pthread_create.c:333
#27 0x00007ffff6e679df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 7 (Thread 0x7fffedff7700 (LWP 551)):
#0  cByteBuffer::WriteBEUInt8 (this=0x7fffedff6878, a_Value=0 '\000')
    at /home/lukas/cpp/cuberite/src/ByteBuffer.cpp:548
#1  0x0000000000b88b4c in cChunkDataSerializer::Serialize110 (this=0x7fffedff6bd8, 
    a_Data=Python Exception <class 'gdb.error'> There is no member named _M_dataplus.: 
, a_ChunkX=80, a_ChunkZ=93) at /home/lukas/cpp/cuberite/src/Protocol/ChunkDataSerializer.cpp:378
#2  0x0000000000b877bc in cChunkDataSerializer::Serialize[abi:cxx11](int, int, int) (this=0x7fffedff6bd8, 
    a_Version=110, a_ChunkX=80, a_ChunkZ=93) at /home/lukas/cpp/cuberite/src/Protocol/ChunkDataSerializer.cpp:51
#3  0x0000000000bc45b6 in cProtocol_1_9_4::SendChunkData (this=0x7fffbc020750, a_ChunkX=80, a_ChunkZ=93, 
    a_Serializer=...) at /home/lukas/cpp/cuberite/src/Protocol/Protocol_1_9.cpp:4298
#4  0x0000000000bc6eea in cProtocolRecognizer::SendChunkData (this=0x7ffff00139d0, a_ChunkX=80, a_ChunkZ=93, 
    a_Serializer=...) at /home/lukas/cpp/cuberite/src/Protocol/ProtocolRecognizer.cpp:218
#5  0x00000000008fbbca in cClientHandle::SendChunkData (this=0x7ffff0013610, a_ChunkX=80, a_ChunkZ=93, 
    a_Serializer=...) at /home/lukas/cpp/cuberite/src/ClientHandle.cpp:2416
#6  0x00000000008e57ba in cChunkSender::SendChunk (this=0x7ffff5e04ce0, a_ChunkX=80, a_ChunkZ=93, 
    a_Clients=std::unordered_set with 1 elements = {...}) at /home/lukas/cpp/cuberite/src/ChunkSender.cpp:265
#7  0x00000000008e537a in cChunkSender::Execute (this=0x7ffff5e04ce0)
    at /home/lukas/cpp/cuberite/src/ChunkSender.cpp:209
#8  0x00000000009edc27 in cIsThread::DoExecute (this=0x7ffff5e04ce0)
    at /home/lukas/cpp/cuberite/src/OSSupport/IsThread.cpp:74
#9  0x00000000009ee581 in std::__invoke_impl<void, void (cIsThread::* const&)(), cIsThread*>(std::__invoke_memfun_deref, void (cIsThread::* const&)(), cIsThread*&&) (
    __f=@0x3036cf0: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __t=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48e3d5>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:235
#10 0x00000000009ee502 in std::__invoke<void (cIsThread::* const&)(), cIsThread*>(void (cIsThread::* const&)(), cIsThread*&&) (__fn=@0x3036cf0: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48b40b>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:259
#11 0x00000000009ee480 in std::_Mem_fn_base<void (cIsThread::*)(), true>::operator()<cIsThread*> (this=0x3036cf0, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x491a19>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:613
#12 0x00000000009ee422 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x3036ce8)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1399
#13 0x00000000009ee3d5 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::operator()() (
    this=0x3036ce8) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1389
#14 0x00000000009ee199 in std::thread::_State_impl<std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)> >::_M_run() (this=0x3036ce0) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/thread:196
#15 0x00007ffff760acdf in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#16 0x00007ffff7124464 in start_thread (arg=0x7fffedff7700) at pthread_create.c:333
#17 0x00007ffff6e679df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 6 (Thread 0x7fffee7f8700 (LWP 550)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff760539c in std::condition_variable::wait(std::unique_lock<std::mutex>&) ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#2  0x00000000009eb251 in std::condition_variable::wait<cEvent::Wait()::$_0>(std::unique_lock<std::mutex>&, cEvent::Wait()::$_0) (this=0x7ffff5e04ad8, __lock=..., __p=...)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/condition_variable:99
#3  0x00000000009eb1ce in cEvent::Wait (this=0x7ffff5e04aa8) at /home/lukas/cpp/cuberite/src/OSSupport/Event.cpp:28
#4  0x0000000000bd1dcb in cChunkGenerator::Execute (this=0x7ffff5e049b8)
    at /home/lukas/cpp/cuberite/src/Generating/ChunkGenerator.cpp:218
#5  0x00000000009edc27 in cIsThread::DoExecute (this=0x7ffff5e049b8)
    at /home/lukas/cpp/cuberite/src/OSSupport/IsThread.cpp:74
#6  0x00000000009ee581 in std::__invoke_impl<void, void (cIsThread::* const&)(), cIsThread*>(std::__invoke_memfun_deref, void (cIsThread::* const&)(), cIsThread*&&) (
    __f=@0x2f94450: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __t=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48e3d5>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:235
#7  0x00000000009ee502 in std::__invoke<void (cIsThread::* const&)(), cIsThread*>(void (cIsThread::* const&)(), cIsThread*&&) (__fn=@0x2f94450: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48b40b>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:259
#8  0x00000000009ee480 in std::_Mem_fn_base<void (cIsThread::*)(), true>::operator()<cIsThread*> (this=0x2f94450, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x491a19>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:613
#9  0x00000000009ee422 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x2f94448)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1399
#10 0x00000000009ee3d5 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::operator()() (
    this=0x2f94448) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1389
#11 0x00000000009ee199 in std::thread::_State_impl<std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)> >::_M_run() (this=0x2f94440) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/thread:196
#12 0x00007ffff760acdf in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#13 0x00007ffff7124464 in start_thread (arg=0x7fffee7f8700) at pthread_create.c:333
#14 0x00007ffff6e679df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 5 (Thread 0x7fffef7fe700 (LWP 549)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff760539c in std::condition_variable::wait(std::unique_lock<std::mutex>&) ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#2  0x00000000009eb251 in std::condition_variable::wait<cEvent::Wait()::$_0>(std::unique_lock<std::mutex>&, cEvent::Wait()::$_0) (this=0x7ffff5e048c0, __lock=..., __p=...)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/condition_variable:99
#3  0x00000000009eb1ce in cEvent::Wait (this=0x7ffff5e04890) at /home/lukas/cpp/cuberite/src/OSSupport/Event.cpp:28
#4  0x0000000000cdb775 in cWorldStorage::Execute (this=0x7ffff5e04590)
    at /home/lukas/cpp/cuberite/src/WorldStorage/WorldStorage.cpp:209
#5  0x00000000009edc27 in cIsThread::DoExecute (this=0x7ffff5e04590)
    at /home/lukas/cpp/cuberite/src/OSSupport/IsThread.cpp:74
#6  0x00000000009ee581 in std::__invoke_impl<void, void (cIsThread::* const&)(), cIsThread*>(std::__invoke_memfun_deref, void (cIsThread::* const&)(), cIsThread*&&) (
    __f=@0x2cf92b0: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __t=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48e3d5>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:235
#7  0x00000000009ee502 in std::__invoke<void (cIsThread::* const&)(), cIsThread*>(void (cIsThread::* const&)(), cIsThread*&&) (__fn=@0x2cf92b0: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48b40b>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:259
#8  0x00000000009ee480 in std::_Mem_fn_base<void (cIsThread::*)(), true>::operator()<cIsThread*> (this=0x2cf92b0, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x491a19>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:613
#9  0x00000000009ee422 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x2cf92a8)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1399
#10 0x00000000009ee3d5 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::operator()() (
    this=0x2cf92a8) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1389
#11 0x00000000009ee199 in std::thread::_State_impl<std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)> >::_M_run() (this=0x2cf92a0) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/thread:196
#12 0x00007ffff760acdf in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#13 0x00007ffff7124464 in start_thread (arg=0x7fffef7fe700) at pthread_create.c:333
#14 0x00007ffff6e679df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 4 (Thread 0x7fffeffff700 (LWP 548)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff760539c in std::condition_variable::wait(std::unique_lock<std::mutex>&) ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#2  0x00000000009eb251 in std::condition_variable::wait<cEvent::Wait()::$_0>(std::unique_lock<std::mutex>&, cEvent::Wait()::$_0) (this=0x7ffff5e2d128, __lock=..., __p=...)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/condition_variable:99
#3  0x00000000009eb1ce in cEvent::Wait (this=0x7ffff5e2d0f8) at /home/lukas/cpp/cuberite/src/OSSupport/Event.cpp:28
#4  0x000000000093bb2d in cLightingThread::Execute (this=0x7ffff5e2cff0)
    at /home/lukas/cpp/cuberite/src/LightingThread.cpp:203
#5  0x00000000009edc27 in cIsThread::DoExecute (this=0x7ffff5e2cff0)
    at /home/lukas/cpp/cuberite/src/OSSupport/IsThread.cpp:74
#6  0x00000000009ee581 in std::__invoke_impl<void, void (cIsThread::* const&)(), cIsThread*>(std::__invoke_memfun_deref, void (cIsThread::* const&)(), cIsThread*&&) (
    __f=@0x2cf8ee0: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __t=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48e3d5>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:235
#7  0x00000000009ee502 in std::__invoke<void (cIsThread::* const&)(), cIsThread*>(void (cIsThread::* const&)(), cIsThread*&&) (__fn=@0x2cf8ee0: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48b40b>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:259
#8  0x00000000009ee480 in std::_Mem_fn_base<void (cIsThread::*)(), true>::operator()<cIsThread*> (this=0x2cf8ee0, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x491a19>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:613
#9  0x00000000009ee422 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x2cf8ed8)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1399
#10 0x00000000009ee3d5 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::operator()() (
    this=0x2cf8ed8) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1389
#11 0x00000000009ee199 in std::thread::_State_impl<std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)> >::_M_run() (this=0x2cf8ed0) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/thread:196
#12 0x00007ffff760acdf in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#13 0x00007ffff7124464 in start_thread (arg=0x7fffeffff700) at pthread_create.c:333
#14 0x00007ffff6e679df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 3 (Thread 0x7ffff4f0c700 (LWP 547)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff760539c in std::condition_variable::wait(std::unique_lock<std::mutex>&) ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#2  0x00000000009eb251 in std::condition_variable::wait<cEvent::Wait()::$_0>(std::unique_lock<std::mutex>&, cEvent::Wait()::$_0) (this=0x7fffffffe370, __lock=..., __p=...)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/condition_variable:99
#3  0x00000000009eb1ce in cEvent::Wait (this=0x7fffffffe340) at /home/lukas/cpp/cuberite/src/OSSupport/Event.cpp:28
#4  0x0000000000b84cc4 in cAuthenticator::Execute (this=0x7fffffffe220)
    at /home/lukas/cpp/cuberite/src/Protocol/Authenticator.cpp:106
#5  0x00000000009edc27 in cIsThread::DoExecute (this=0x7fffffffe220)
    at /home/lukas/cpp/cuberite/src/OSSupport/IsThread.cpp:74
#6  0x00000000009ee581 in std::__invoke_impl<void, void (cIsThread::* const&)(), cIsThread*>(std::__invoke_memfun_deref, void (cIsThread::* const&)(), cIsThread*&&) (
    __f=@0x1d42730: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __t=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48e3d5>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:235
#7  0x00000000009ee502 in std::__invoke<void (cIsThread::* const&)(), cIsThread*>(void (cIsThread::* const&)(), cIsThread*&&) (__fn=@0x1d42730: (void (cIsThread::*)(cIsThread * const)) 0x9edbf0 <cIsThread::DoExecute()>, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x48b40b>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:259
#8  0x00000000009ee480 in std::_Mem_fn_base<void (cIsThread::*)(), true>::operator()<cIsThread*> (this=0x1d42730, 
    __args=<unknown type in /home/lukas/minecraft/servers/Server_master/Cuberite_debug, CU 0x48b2e3, DIE 0x491a19>)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:613
#9  0x00000000009ee422 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x1d42728)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1399
#10 0x00000000009ee3d5 in std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)>::operator()() (
    this=0x1d42728) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1389
#11 0x00000000009ee199 in std::thread::_State_impl<std::_Bind_simple<std::_Mem_fn<void (cIsThread::*)()> (cIsThread*)> >::_M_run() (this=0x1d42720) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/thread:196
#12 0x00007ffff760acdf in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#13 0x00007ffff7124464 in start_thread (arg=0x7ffff4f0c700) at pthread_create.c:333
#14 0x00007ffff6e679df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 2 (Thread 0x7ffff6d7e700 (LWP 546)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x0000000000f41627 in epoll_wait (epfd=3, events=0x149c840, maxevents=32, timeout=-1)
    at /home/lukas/cpp/cuberite/lib/libevent/epoll_sub.c:64
#2  0x0000000000f40692 in epoll_dispatch (base=0x149ce40, tv=0x0)
    at /home/lukas/cpp/cuberite/lib/libevent/epoll.c:462
#3  0x0000000000f2973e in event_base_loop (base=0x149ce40, flags=4)
    at /home/lukas/cpp/cuberite/lib/libevent/event.c:1943
#4  0x00000000009eed2f in cNetworkSingleton::RunEventLoop (a_Self=0x147c808 <cNetworkSingleton::Get()::Instance>)
    at /home/lukas/cpp/cuberite/src/OSSupport/NetworkSingleton.cpp:174
#5  0x00000000009f1842 in std::_Bind_simple<void (*(cNetworkSingleton*))(cNetworkSingleton*)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x149a2c8)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1399
#6  0x00000000009f17f5 in std::_Bind_simple<void (*(cNetworkSingleton*))(cNetworkSingleton*)>::operator()() (
    this=0x149a2c8) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/functional:1389
#7  0x00000000009f15b9 in std::thread::_State_impl<std::_Bind_simple<void (*(cNetworkSingleton*))(cNetworkSingleton*)> >::_M_run() (this=0x149a2c0) at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/thread:196
#8  0x00007ffff760acdf in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007ffff7124464 in start_thread (arg=0x7ffff6d7e700) at pthread_create.c:333
#10 0x00007ffff6e679df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 1 (Thread 0x7ffff7fe7740 (LWP 542)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff760539c in std::condition_variable::wait(std::unique_lock<std::mutex>&) ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#2  0x00000000009eb251 in std::condition_variable::wait<cEvent::Wait()::$_0>(std::unique_lock<std::mutex>&, cEvent::Wait()::$_0) (this=0x7fffffffe1b0, __lock=..., __p=...)
    at /usr/lib/gcc/x86_64-linux-gnu/6.2.1/../../../../include/c++/6.2.1/condition_variable:99
#3  0x00000000009eb1ce in cEvent::Wait (this=0x7fffffffe180) at /home/lukas/cpp/cuberite/src/OSSupport/Event.cpp:28
#4  0x00000000009788c6 in cRoot::Start (this=0x7fffffffe0e8, 
    a_OverridesRepo=std::unique_ptr<cSettingsRepositoryInterface> containing 0x0)
    at /home/lukas/cpp/cuberite/src/Root.cpp:233
#5  0x00000000009daeda in UniversalMain (
    a_OverridesRepo=std::unique_ptr<cSettingsRepositoryInterface> containing 0x0)
    at /home/lukas/cpp/cuberite/src/main.cpp:243
#6  0x00000000009d9453 in main (argc=1, argv=0x7fffffffe5e8) at /home/lukas/cpp/cuberite/src/main.cpp:558

I looked a little around and maybe this is a bug inside of atomic::load. The builds I test are compiled with clang.

madmaxoft commented 7 years ago

Please specify in your next reports whether it's an in-game command or a console command.

If indeed an std::atomic<cCriticalSection *> doesn't work, then I have no idea on how to implement the Lua callbacks :(

Seadragon91 commented 7 years ago

It's a in-game command updated it.