Skip to content

Instantly share code, notes, and snippets.

PilzAdam

Block or report user

Report or block PilzAdam

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:7662628
(gdb) thread apply all bt
Thread 10 (Thread 0x7fffe493e700 (LWP 8109)):
#0 0x00007ffff5385fbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007ffff639af14 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
#2 0x00007ffff6395531 in curl_multi_wait () from /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
#3 0x00007ffff638ea16 in curl_easy_perform () from /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
#4 0x00000000008938a9 in fetchJsonValue (url=..., chunk=0x7fffc4000b20) at /home/adam/Minetest/minetest/src/convert_json.cpp:65
#5 0x00000000009bde41 in getModstoreUrl (url=...) at /home/adam/Minetest/minetest/src/mods.cpp:361
#6 0x00000000007d4960 in ModApiMainMenu::l_get_modstore_details (L=0x4011e378)
View gist:7662696
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffe493e700 (LWP 8171)]
0x00007ffff52cf037 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden.
(gdb) thread apply bt all
(gdb) thread apply all bt
View gist:7722780
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd9dfb700 (LWP 6055)]
malloc_consolidate (av=av@entry=0x7fffe0000020) at malloc.c:4086
4086 malloc.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0 malloc_consolidate (av=av@entry=0x7fffe0000020) at malloc.c:4086
#1 0x00007ffff5319191 in _int_malloc (av=0x7fffe0000020, bytes=15016) at malloc.c:3379
#2 0x00007ffff531b580 in __GI___libc_malloc (bytes=15016) at malloc.c:2859
#3 0x00007ffff5bdb66d in operator new(unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00000000006d3ad5 in DebugStacker::DebugStacker (this=0x7fffd9dfabe0,
View gist:7753958
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe515e700 (LWP 7435)]
0x00000000005fa58d in __gnu_cxx::__exchange_and_add_dispatch(int*, int) [clone .constprop.71] ()
(gdb) thread apply all bt
Thread 8 (Thread 0x7fffe495d700 (LWP 7436)):
#0 0x00007ffff6bf5182 in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
#1 0x00007ffff6c38fe0 in lua_pcall () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
#2 0x00000000006250f9 in AsyncWorkerThread::worker_thread_main() ()
#3 0x0000000000606e94 in JThread::TheThread(void*) ()
View gist:7757735
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Program received signal SIGABRT, Aborted.
0x00007ffff52cf037 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0 0x00007ffff52cf037 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ffff52d2698 in __GI_abort () at abort.c:90
#2 0x00007ffff5bdce8d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
View gist:7880453
(gdb) bt full
#0 0x00007ffff52cf037 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
resultvar = 0
pid = 4011
selftid = 4011
#1 0x00007ffff52d2698 in __GI_abort () at abort.c:90
save_stage = 2
act = {__sigaction_handler = {sa_handler = 0xb92908, sa_sigaction = 0xb92908}, sa_mask = {__val = {12134338, 0,
140737351945365, 5, 0, 14, 140737306553576, 16490560, 0, 16490560, 140737351972645, 0, 18446744073709551615, 16489376,
0, 0}}, sa_flags = -134498368, sa_restorer = 0x7ffff52e61e4 <_IO_vfprintf_internal+18868>}
View gist:7881433
diff --git a/src/guiFormSpecMenu.cpp b/src/guiFormSpecMenu.cpp
index 920a7f1..82def74 100644
--- a/src/guiFormSpecMenu.cpp
+++ b/src/guiFormSpecMenu.cpp
@@ -421,6 +421,12 @@ void GUIFormSpecMenu::parseList(parserData* data,std::string element) {
s32 start_i = 0;
if(startindex != "")
start_i = stoi(startindex);
+
+ if (geom.X < 0 || geom.Y < 0 || start_i < 0) {
View gist:7896988
(gdb) bt full
#0 0x0000000004559d50 in ?? ()
No symbol table info available.
#1 0x00000000007805ce in ServerMap::~ServerMap (this=0x1311de0, __in_chrg=<optimized out>)
at /home/adam/Minetest/minetest/src/map.cpp:2569
No locals.
#2 0x00000000007806bf in ServerMap::~ServerMap (this=0x1311de0, __in_chrg=<optimized out>)
at /home/adam/Minetest/minetest/src/map.cpp:2570
No locals.
#3 0x00000000007856a9 in Map::drop (this=<optimized out>) at /home/adam/Minetest/minetest/src/map.h:161
View gist:7947904
(gdb) bt
#0 0x000000000078bca7 in getContainerPos (d=0, p=<optimized out>) at /home/adam/Minetest/minetest/src/util/numeric.h:50
#1 getContainerPos (d=0, p=...) at /home/adam/Minetest/minetest/src/util/numeric.h:64
#2 ServerMap::initBlockMake (this=0x131d240, data=data@entry=0x7fffdb7fcc70, blockpos=...)
at /home/adam/Minetest/minetest/src/map.cpp:2580
#3 0x00000000006e878b in EmergeThread::getBlockOrStartGen (this=this@entry=0x11c5a40, p=..., b=b@entry=0x7fffdb7fcbd8,
data=data@entry=0x7fffdb7fcc70, allow_gen=<optimized out>) at /home/adam/Minetest/minetest/src/emerge.cpp:478
#4 0x00000000006eb18e in EmergeThread::Thread (this=0x11c5a40) at /home/adam/Minetest/minetest/src/emerge.cpp:523
#5 0x00000000006004b4 in JThread::TheThread (param=0x11c5a40) at /home/adam/Minetest/minetest/src/jthread/pthread/jthread.cpp:203
#6 0x00007ffff69d5f8e in start_thread (arg=0x7fffdb7fd700) at pthread_create.c:311
View gist:7960115
15:50:00: INFO[main]: RollbackManager::RollbackManager(/home/adam/Minetest/minetest/worlds/TestyTest/rollback.txt)
15:50:00: INFO[main]: Directory: /home/adam/Minetest/minetest/worlds/TestyTest/
15:50:00: INFO[main]: CheckFor: /home/adam/Minetest/minetest/worlds/TestyTest/rollback.txt
15:50:00: INFO[main]: FileOld: rollback.txt
15:50:00: INFO[main]: FileNew: rollback.sqlite
15:50:00: INFO[main]: Database connection setup
15:50:00: INFO[main]: SQLROLLBACK: SQLite3 database failed to open: unable to open database file
terminate called after throwing an instance of 'FileNotGoodException'
what(): Cannot open database file
Abgebrochen (Speicherabzug geschrieben)
You can’t perform that action at this time.