This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/builtin/misc.lua b/builtin/misc.lua | |
index a6a1718..6ffb25e 100644 | |
--- a/builtin/misc.lua | |
+++ b/builtin/misc.lua | |
@@ -53,7 +53,9 @@ end) | |
function minetest.get_connected_players() | |
local temp_table = {} | |
for index, value in pairs(player_list) do | |
- table.insert(temp_table, value) | |
+ if value:is_player() then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua | |
index 227a26b..cb83d3b 100644 | |
--- a/mods/default/nodes.lua | |
+++ b/mods/default/nodes.lua | |
@@ -255,6 +255,7 @@ minetest.register_node("default:jungleleaves", { | |
visual_scale = 1.3, | |
tiles = {"default_jungleleaves.png"}, | |
paramtype = "light", | |
+ paramtype2 = "waving", | |
groups = {snappy=3, leafdecay=3, flammable=2, leaves=1}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PANIC: unprotected error in call to Lua API ( | |
Program received signal SIGSEGV, Segmentation fault. | |
[Switching to Thread 0x7fffe5b4b700 (LWP 13790)] | |
0x00007ffff6c1b1d9 in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2 | |
(gdb) bt | |
#0 0x00007ffff6c1b1d9 in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2 | |
#1 0x00007ffff6c1d342 in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2 | |
#2 0x00007ffff56700ac in ?? () from /lib/x86_64-linux-gnu/libgcc_s.so.1 | |
#3 0x00007ffff56705cd in _Unwind_Resume () from /lib/x86_64-linux-gnu/libgcc_s.so.1 | |
#4 0x0000000000627f53 in ModApiMainMenu::l_get_modstore_details (L=<optimized out>) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR: Async ENGINE step: /home/adam/Minetest/minetest/builtin/async_event.lua:14: attempt to call a nil value | |
*** Error in `/home/adam/Minetest/minetest/bin/minetest': double free or corruption (fasttop): 0x00000000011cf430 *** | |
======= Backtrace: ========= | |
/lib/x86_64-linux-gnu/libc.so.6(+0x80a46)[0x7ffff5318a46] | |
/home/adam/Minetest/minetest/bin/minetest(_ZN11AsyncEngine4StepEP9lua_State+0x1d5)[0x6115e1] | |
/home/adam/Minetest/minetest/bin/minetest(_ZN17MainMenuScripting4StepEv+0x19)[0x65171d] | |
/home/adam/Minetest/minetest/bin/minetest(_ZN9GUIEngine3runEv+0xa0)[0x71fe24] | |
/home/adam/Minetest/minetest/bin/minetest(_ZN9GUIEngineC1EPN3irr14IrrlichtDeviceEPNS0_3gui11IGUIElementEP12IMenuManagerPNS0_5scene13ISceneManagerEP12MainMenuDataRb+0x521)[0x7203b9] | |
/home/adam/Minetest/minetest/bin/minetest(main+0x5698)[0x76c70e] | |
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7ffff52b9ea5] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gdb) bt | |
#0 0x00007ffff6c05587 in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2 | |
#1 0x00007ffff6c349ab in lua_pushlstring () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2 | |
#2 0x000000000061227f in AsyncWorkerThread::worker_thread_main (this=this@entry=0x11cbbf0) | |
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.cpp:320 | |
#3 0x00000000006125d5 in AsyncWorkerThread::worker_thread_wrapper (thread=thread@entry=0x11cbbf0) | |
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.cpp:365 | |
#4 0x000000000061337f in AsyncWorkerThread::Thread (this=0x11cbbf0) | |
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.h:80 | |
#5 0x00000000005fd26b in JThread::TheThread (param=0x11cbbf0) at /home/adam/Minetest/minetest/src/jthread/pthread/jthread.cpp:171 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Program received signal SIGSEGV, Segmentation fault. | |
[Switching to Thread 0x7fffe5b4b700 (LWP 19397)] | |
__memcpy_ssse3_back () at ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:1516 | |
1516 ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Datei oder Verzeichnis nicht gefunden. | |
(gdb) bt | |
#0 __memcpy_ssse3_back () at ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:1516 | |
#1 0x00007ffff5c38ec2 in std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) () | |
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | |
#2 0x00007ffff5c39644 in std::string::assign(std::string const&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | |
#3 0x0000000000611794 in operator= (__str=..., this=0x7fffe5b4ad60) at /usr/include/c++/4.7/bits/basic_string.h:544 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gdb) info threads | |
Id Target Id Frame | |
10 Thread 0x7fffe4b49700 (LWP 19399) "minetest" 0x00007ffff5385fbd in poll () at ../sysdeps/unix/syscall-template.S:81 | |
9 Thread 0x7fffe534a700 (LWP 19398) "minetest" 0x00007ffff5385fbd in poll () at ../sysdeps/unix/syscall-template.S:81 | |
* 8 Thread 0x7fffe5b4b700 (LWP 19397) "minetest" __memcpy_ssse3_back () at ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:1516 | |
7 Thread 0x7fffe634c700 (LWP 19396) "minetest" 0x00007ffff5385fbd in poll () at ../sysdeps/unix/syscall-template.S:81 | |
6 Thread 0x7fffed736700 (LWP 19395) "minetest" 0x00007ffff69dd43d in nanosleep () at ../sysdeps/unix/syscall-template.S:81 | |
5 Thread 0x7fffedf37700 (LWP 19394) "threaded-ml" 0x00007ffff5385fbd in poll () at ../sysdeps/unix/syscall-template.S:81 | |
1 Thread 0x7ffff7fbb7c0 (LWP 19381) "minetest" 0x00007ffff69dd43d in nanosleep () at ../sysdeps/unix/syscall-template.S:81 | |
(gdb) t 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Program received signal SIGSEGV, Segmentation fault. | |
0x00007ffff5c3958b in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) () | |
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | |
(gdb) bt | |
#0 0x00007ffff5c3958b in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) () | |
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | |
#1 0x0000000000613639 in LuaJobInfo (this=0x11dd270) at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.h:51 | |
#2 _Construct<LuaJobInfo, LuaJobInfo> (__value=..., __p=0x11dd270) at /usr/include/c++/4.7/bits/stl_construct.h:85 | |
#3 __uninit_copy<LuaJobInfo*, LuaJobInfo*> (__result=0x11dd270, __last=0x12ae9f0, __first=<optimized out>) | |
at /usr/include/c++/4.7/bits/stl_uninitialized.h:77 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gdb) thread apply all bt | |
Thread 10 (Thread 0x7fffe493e700 (LWP 5948)): | |
#0 0x00007ffff566f3e5 in ?? () from /lib/x86_64-linux-gnu/libgcc_s.so.1 | |
#1 0x00007ffff566fa47 in ?? () from /lib/x86_64-linux-gnu/libgcc_s.so.1 | |
#2 0x00007ffff566feb7 in ?? () from /lib/x86_64-linux-gnu/libgcc_s.so.1 | |
#3 0x00007ffff5670327 in _Unwind_RaiseException () from /lib/x86_64-linux-gnu/libgcc_s.so.1 | |
#4 0x00007ffff5bdb1d1 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | |
#5 0x000000000065c17a in get (name=..., this=0xfb0980 <main_settings>) at /home/adam/Minetest/minetest/src/settings.h:464 | |
#6 Settings::getBool (this=0xfb0980 <main_settings>, name=...) at /home/adam/Minetest/minetest/src/settings.h:473 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#9 AsyncEngine::doAsyncJob (this=this@entry=0x11d6a48, fct=..., params=...) | |
---Type <return> to continue, or q <return> to quit--- | |
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.cpp:134 | |
toadd = {serializedFunction = {static npos = <optimized out>, | |
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, | |
_M_p = 0x11f3228 "\216\006\002\251"}}, serializedParams = {static npos = <optimized out>, | |
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, | |
_M_p = 0x11e1fc8 "\216\005\002*"}}, serializedResult = {static npos = <optimized out>, | |
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, | |
_M_p = 0xfae238 <_ZNSs4_Rep20_S_empty_rep_storageE@@GLIBCXX_3.4+24> ""}}, JobId = 7} |