Skip to content

Instantly share code, notes, and snippets.

@PilzAdam
Created November 26, 2013 17:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PilzAdam/7662696 to your computer and use it in GitHub Desktop.
Save PilzAdam/7662696 to your computer and use it in GitHub Desktop.
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
Thread 10 (Thread 0x7fffe493e700 (LWP 8171)):
#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
#3 0x00007ffff5bdaf76 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00007ffff5bdafa3 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5 0x00007ffff5bdb1de in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00007ffff5bdb6cd in operator new(unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7 0x00007ffff5c38109 in std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#8 0x00007ffff5c38e78 in std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned long) ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9 0x00007ffff5c39644 in std::string::assign(std::string const&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00000000007be811 in LuaJobInfo::operator= (this=0x7fffe493dd40)
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.h:51
#11 0x00000000007bd3fb in AsyncEngine::getJob (this=0x14fa0f8)
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.cpp:152
#12 0x00000000007bdf88 in AsyncWorkerThread::worker_thread_main (this=0x14ff560)
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.cpp:326
#13 0x00000000007be64c in AsyncWorkerThread::worker_thread_wrapper (thread=0x14ff560)
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.cpp:393
#14 0x00000000007be6c4 in AsyncWorkerThread::Thread (this=0x14ff560)
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.h:81
#15 0x000000000079df6d in JThread::TheThread (param=0x14ff560) at /home/adam/Minetest/minetest/src/jthread/pthread/jthread.cpp:177
#16 0x00007ffff69d5f8e in start_thread (arg=0x7fffe493e700) at pthread_create.c:311
---Type <return> to continue, or q <return> to quit---
#17 0x00007ffff5392a0d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 9 (Thread 0x7fffe513f700 (LWP 8170)):
#0 0x00007ffff5385fbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007fffef9bd08d in send_dg (resplen2=0x7fffe513d430, anssizp2=0x7fffe513d420, ansp2=0x7fffe513d460, anscp=0x7fffe513d450,
gotsomewhere=<synthetischer Zeiger>, v_circuit=<synthetischer Zeiger>, ns=0, terrno=0x7fffe513be70, anssizp=0x7fffe513bfd0,
ansp=0x7fffe513be68, buflen2=36, buf2=0x7fffe513c024 "u\027\001", buflen=36, buf=0x7fffe513c000 "l\227\001", statp=0x7fffe513fdb8)
at res_send.c:1067
#2 __libc_res_nsend (statp=statp@entry=0x7fffe513fdb8, buf=buf@entry=0x7fffe513c000 "l\227\001", buflen=buflen@entry=36,
buf2=buf2@entry=0x7fffe513c024 "u\027\001", buflen2=buflen2@entry=36,
ans=ans@entry=0x7fffe513cbe0 "ld_`ame, param2 = 0 })\n\t\t\t\t\telse\001", anssiz=anssiz@entry=2048,
ansp=ansp@entry=0x7fffe513d450, ansp2=ansp2@entry=0x7fffe513d460, nansp2=nansp2@entry=0x7fffe513d420,
resplen2=resplen2@entry=0x7fffe513d430) at res_send.c:556
#3 0x00007fffef9bad49 in __GI___libc_res_nquery (statp=statp@entry=0x7fffe513fdb8, name=0x7fffd0021300 "forum.minetest.net",
class=class@entry=1, type=type@entry=62321, answer=answer@entry=0x7fffe513cbe0 "ld_`ame, param2 = 0 })\n\t\t\t\t\telse\001",
anslen=anslen@entry=2048, answerp=answerp@entry=0x7fffe513d450, answerp2=answerp2@entry=0x7fffe513d460,
nanswerp2=nanswerp2@entry=0x7fffe513d420, resplen2=resplen2@entry=0x7fffe513d430) at res_query.c:226
#4 0x00007fffef9bb6f9 in __libc_res_nquerydomain (resplen2=0x7fffe513d430, nanswerp2=0x7fffe513d420, answerp2=0x7fffe513d460,
answerp=0x7fffe513d450, anslen=2048, answer=0x7fffe513cbe0 "ld_`ame, param2 = 0 })\n\t\t\t\t\telse\001", type=62321, class=1,
name=0x7fffd0021300 "forum.minetest.net", statp=0x7fffe513fdb8, domain=<optimized out>) at res_query.c:582
#5 __GI___libc_res_nsearch (statp=0x7fffe513fdb8, name=name@entry=0x7fffd0021300 "forum.minetest.net", class=class@entry=1,
type=type@entry=62321, answer=answer@entry=0x7fffe513cbe0 "ld_`ame, param2 = 0 })\n\t\t\t\t\telse\001", anslen=anslen@entry=2048,
answerp=answerp@entry=0x7fffe513d450, answerp2=answerp2@entry=0x7fffe513d460, nanswerp2=nanswerp2@entry=0x7fffe513d420,
resplen2=resplen2@entry=0x7fffe513d430) at res_query.c:378
#6 0x00007fffdb3eab58 in _nss_dns_gethostbyname4_r (name=name@entry=0x7fffd0021300 "forum.minetest.net",
pat=pat@entry=0x7fffe513da70, buffer=buffer@entry=0x7fffe513d500 "\377\002", buflen=buflen@entry=1064,
---Type <return> to continue, or q <return> to quit---
errnop=errnop@entry=0x7fffe513da40, herrnop=herrnop@entry=0x7fffe513da50, ttlp=ttlp@entry=0x0) at nss_dns/dns-host.c:314
#7 0x00007ffff5364b38 in gaih_inet (name=name@entry=0x7fffd0021300 "forum.minetest.net", service=<optimized out>,
req=req@entry=0x7fffe513dd80, pai=pai@entry=0x7fffe513db80, naddrs=naddrs@entry=0x7fffe513db60)
at ../sysdeps/posix/getaddrinfo.c:849
#8 0x00007ffff5368954 in __GI_getaddrinfo (name=0x7fffd0021300 "forum.minetest.net", service=<optimized out>, hints=0x7fffe513dd80,
pai=0x7fffe513dd28) at ../sysdeps/posix/getaddrinfo.c:2465
#9 0x00007ffff63a0544 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
#10 0x00007ffff639a310 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
#11 0x00007ffff6370695 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
#12 0x00007ffff637089f in ?? () from /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
#13 0x00007ffff6386638 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
#14 0x00007ffff6386fc9 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
#15 0x00007ffff6396347 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
#16 0x00007ffff6396e35 in curl_multi_perform () from /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
#17 0x00007ffff638ea3d in curl_easy_perform () from /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
#18 0x00000000008938a9 in fetchJsonValue (url=..., chunk=0x7fffd0000b20) at /home/adam/Minetest/minetest/src/convert_json.cpp:65
#19 0x00000000009bde41 in getModstoreUrl (url=...) at /home/adam/Minetest/minetest/src/mods.cpp:361
#20 0x00000000007d4960 in ModApiMainMenu::l_get_modstore_details (L=0x400fe378)
at /home/adam/Minetest/minetest/src/script/lua_api/l_mainmenu.cpp:307
#21 0x00007ffff6bf4a7b in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
#22 0x00007ffff6c38fe0 in lua_pcall () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
#23 0x00000000007be182 in AsyncWorkerThread::worker_thread_main (this=0x14ff2f0)
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.cpp:353
#24 0x00000000007be64c in AsyncWorkerThread::worker_thread_wrapper (thread=0x14ff2f0)
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.cpp:393
#25 0x00000000007be6c4 in AsyncWorkerThread::Thread (this=0x14ff2f0)
---Type <return> to continue, or q <return> to quit---
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.h:81
#26 0x000000000079df6d in JThread::TheThread (param=0x14ff2f0) at /home/adam/Minetest/minetest/src/jthread/pthread/jthread.cpp:177
#27 0x00007ffff69d5f8e in start_thread (arg=0x7fffe513f700) at pthread_create.c:311
#28 0x00007ffff5392a0d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 8 (Thread 0x7fffe5940700 (LWP 8169)):
#0 0x00007ffff5385fbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007fffef9bd08d in send_dg (resplen2=0x7fffe593e430, anssizp2=0x7fffe593e420, ansp2=0x7fffe593e460, anscp=0x7fffe593e450,
gotsomewhere=<synthetischer Zeiger>, v_circuit=<synthetischer Zeiger>, ns=0, terrno=0x7fffe593ce70, anssizp=0x7fffe593cfd0,
ansp=0x7fffe593ce68, buflen2=36, buf2=0x7fffe593d024 "\302\342\001", buflen=36, buf=0x7fffe593d000 "\005\270\001",
statp=0x7fffe5940db8) at res_send.c:1067
#2 __libc_res_nsend (statp=statp@entry=0x7fffe5940db8, buf=buf@entry=0x7fffe593d000 "\005\270\001", buflen=buflen@entry=36,
buf2=buf2@entry=0x7fffe593d024 "\302\342\001", buflen2=buflen2@entry=36, ans=ans@entry=0x7fffe593dbe0 "\310\373:\360\377\177",
anssiz=anssiz@entry=2048, ansp=ansp@entry=0x7fffe593e450, ansp2=ansp2@entry=0x7fffe593e460, nansp2=nansp2@entry=0x7fffe593e420,
resplen2=resplen2@entry=0x7fffe593e430) at res_send.c:556
#3 0x00007fffef9bad49 in __GI___libc_res_nquery (statp=statp@entry=0x7fffe5940db8, name=0x7fffcc017350 "forum.minetest.net",
class=class@entry=1, type=type@entry=62321, answer=answer@entry=0x7fffe593dbe0 "\310\373:\360\377\177", anslen=anslen@entry=2048,
answerp=answerp@entry=0x7fffe593e450, answerp2=answerp2@entry=0x7fffe593e460, nanswerp2=nanswerp2@entry=0x7fffe593e420,
resplen2=resplen2@entry=0x7fffe593e430) at res_query.c:226
#4 0x00007fffef9bb6f9 in __libc_res_nquerydomain (resplen2=0x7fffe593e430, nanswerp2=0x7fffe593e420, answerp2=0x7fffe593e460,
answerp=0x7fffe593e450, anslen=2048, answer=0x7fffe593dbe0 "\310\373:\360\377\177", type=62321, class=1,
name=0x7fffcc017350 "forum.minetest.net", statp=0x7fffe5940db8, domain=<optimized out>) at res_query.c:582
#5 __GI___libc_res_nsearch (statp=0x7fffe5940db8, name=name@entry=0x7fffcc017350 "forum.minetest.net", class=class@entry=1,
type=type@entry=62321, answer=answer@entry=0x7fffe593dbe0 "\310\373:\360\377\177", anslen=anslen@entry=2048,
answerp=answerp@entry=0x7fffe593e450, answerp2=answerp2@entry=0x7fffe593e460, nanswerp2=nanswerp2@entry=0x7fffe593e420,
resplen2=resplen2@entry=0x7fffe593e430) at res_query.c:378
---Type <return> to continue, or q <return> to quit---
#6 0x00007fffdb3eab58 in _nss_dns_gethostbyname4_r (name=name@entry=0x7fffcc017350 "forum.minetest.net",
pat=pat@entry=0x7fffe593ea70, buffer=buffer@entry=0x7fffe593e500 "\377\002", buflen=buflen@entry=1064,
errnop=errnop@entry=0x7fffe593ea40, herrnop=herrnop@entry=0x7fffe593ea50, ttlp=ttlp@entry=0x0) at nss_dns/dns-host.c:314
#7 0x00007ffff5364b38 in gaih_inet (name=name@entry=0x7fffcc017350 "forum.minetest.net", service=<optimized out>,
req=req@entry=0x7fffe593ed80, pai=pai@entry=0x7fffe593eb80, naddrs=naddrs@entry=0x7fffe593eb60)
at ../sysdeps/posix/getaddrinfo.c:849
#8 0x00007ffff5368954 in __GI_getaddrinfo (name=0x7fffcc017350 "forum.minetest.net", service=<optimized out>, hints=0x7fffe593ed80,
pai=0x7fffe593ed28) at ../sysdeps/posix/getaddrinfo.c:2465
#9 0x00007ffff63a0544 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
#10 0x00007ffff639a310 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
#11 0x00007ffff6370695 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
#12 0x00007ffff637089f in ?? () from /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
#13 0x00007ffff6386638 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
#14 0x00007ffff6386fc9 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
#15 0x00007ffff6396347 in ?? () from /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
#16 0x00007ffff6396e35 in curl_multi_perform () from /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
#17 0x00007ffff638ea3d in curl_easy_perform () from /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
#18 0x00000000008938a9 in fetchJsonValue (url=..., chunk=0x7fffcc02b460) at /home/adam/Minetest/minetest/src/convert_json.cpp:65
#19 0x00000000009bde41 in getModstoreUrl (url=...) at /home/adam/Minetest/minetest/src/mods.cpp:361
#20 0x00000000007d4960 in ModApiMainMenu::l_get_modstore_details (L=0x400de378)
at /home/adam/Minetest/minetest/src/script/lua_api/l_mainmenu.cpp:307
#21 0x00007ffff6bf4a7b in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
#22 0x00007ffff6c38fe0 in lua_pcall () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
#23 0x00000000007be182 in AsyncWorkerThread::worker_thread_main (this=0x14ff0b0)
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.cpp:353
#24 0x00000000007be64c in AsyncWorkerThread::worker_thread_wrapper (thread=0x14ff0b0)
---Type <return> to continue, or q <return> to quit---
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.cpp:393
#25 0x00000000007be6c4 in AsyncWorkerThread::Thread (this=0x14ff0b0)
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.h:81
#26 0x000000000079df6d in JThread::TheThread (param=0x14ff0b0) at /home/adam/Minetest/minetest/src/jthread/pthread/jthread.cpp:177
#27 0x00007ffff69d5f8e in start_thread (arg=0x7fffe5940700) at pthread_create.c:311
#28 0x00007ffff5392a0d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 7 (Thread 0x7fffe6141700 (LWP 8168)):
#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=0x7fffd4000a80) 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=0x400be378)
at /home/adam/Minetest/minetest/src/script/lua_api/l_mainmenu.cpp:307
#7 0x00007ffff6bf4a7b in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
#8 0x00007ffff6c38fe0 in lua_pcall () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2
#9 0x00000000007be182 in AsyncWorkerThread::worker_thread_main (this=0x14fee70)
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.cpp:353
#10 0x00000000007be64c in AsyncWorkerThread::worker_thread_wrapper (thread=0x14fee70)
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.cpp:393
#11 0x00000000007be6c4 in AsyncWorkerThread::Thread (this=0x14fee70)
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.h:81
#12 0x000000000079df6d in JThread::TheThread (param=0x14fee70) at /home/adam/Minetest/minetest/src/jthread/pthread/jthread.cpp:177
#13 0x00007ffff69d5f8e in start_thread (arg=0x7fffe6141700) at pthread_create.c:311
---Type <return> to continue, or q <return> to quit---
#14 0x00007ffff5392a0d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 6 (Thread 0x7fffed522700 (LWP 8167)):
#0 0x00007ffff69dd43d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007ffff733454a in ?? () from /usr/lib/x86_64-linux-gnu/libopenal.so.1
#2 0x00007ffff73415eb in ?? () from /usr/lib/x86_64-linux-gnu/libopenal.so.1
#3 0x00007ffff7333e6a in ?? () from /usr/lib/x86_64-linux-gnu/libopenal.so.1
#4 0x00007ffff69d5f8e in start_thread (arg=0x7fffed522700) at pthread_create.c:311
#5 0x00007ffff5392a0d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 5 (Thread 0x7fffedd23700 (LWP 8166)):
#0 0x00007ffff5385fbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007fffe77cdcdf in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2 0x00007fffe77bf205 in pa_mainloop_poll () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3 0x00007fffe77bf869 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4 0x00007fffe77bf920 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5 0x00007fffe77cdc8f in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6 0x00007fffe7375143 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-3.0.so
#7 0x00007ffff69d5f8e in start_thread (arg=0x7fffedd23700) at pthread_create.c:311
#8 0x00007ffff5392a0d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 1 (Thread 0x7ffff7fbb7c0 (LWP 8159)):
#0 0x00007ffff69dd43d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1 0x0000000000a79566 in irr::CIrrDeviceLinux::sleep (this=0x130e7d0, timeMs=16, pauseTimer=false) at CIrrDeviceLinux.cpp:1184
#2 0x0000000000908cd7 in GUIEngine::cloudPostProcess (this=0x14ea380) at /home/adam/Minetest/minetest/src/guiEngine.cpp:375
#3 0x0000000000908568 in GUIEngine::run (this=0x14ea380) at /home/adam/Minetest/minetest/src/guiEngine.cpp:286
---Type <return> to continue, or q <return> to quit---
#4 0x0000000000907c7d in GUIEngine::GUIEngine (this=0x14ea380, dev=0x130e7d0, parent=0x14e8e80, menumgr=0x12d3500 <g_menumgr>, smgr=
0x1477600, data=0x7fffffffd5d0, kill=@0x12d3788: false) at /home/adam/Minetest/minetest/src/guiEngine.cpp:201
#5 0x00000000009638c1 in main (argc=1, argv=0x7fffffffe018) at /home/adam/Minetest/minetest/src/main.cpp:1654
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment