Skip to content

Instantly share code, notes, and snippets.

@PilzAdam
Created November 26, 2013 17:38
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/7662628 to your computer and use it in GitHub Desktop.
Save PilzAdam/7662628 to your computer and use it in GitHub Desktop.
(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)
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=0x14f7d50)
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.cpp:353
#10 0x00000000007be64c in AsyncWorkerThread::worker_thread_wrapper (thread=0x14f7d50)
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.cpp:393
#11 0x00000000007be6c4 in AsyncWorkerThread::Thread (this=0x14f7d50)
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.h:81
#12 0x000000000079df6d in JThread::TheThread (param=0x14f7d50) at /home/adam/Minetest/minetest/src/jthread/pthread/jthread.cpp:177
#13 0x00007ffff69d5f8e in start_thread (arg=0x7fffe493e700) at pthread_create.c:311
#14 0x00007ffff5392a0d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 9 (Thread 0x7fffe513f700 (LWP 8108)):
#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
---Type <return> to continue, or q <return> to quit---
#3 0x00007ffff638ea16 in curl_easy_perform () from /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
#4 0x00000000008938a9 in fetchJsonValue (url=..., chunk=0x7fffd0000b20) 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=0x400fe378)
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=0x14f7ae0)
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.cpp:353
#10 0x00000000007be64c in AsyncWorkerThread::worker_thread_wrapper (thread=0x14f7ae0)
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.cpp:393
#11 0x00000000007be6c4 in AsyncWorkerThread::Thread (this=0x14f7ae0)
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.h:81
#12 0x000000000079df6d in JThread::TheThread (param=0x14f7ae0) at /home/adam/Minetest/minetest/src/jthread/pthread/jthread.cpp:177
#13 0x00007ffff69d5f8e in start_thread (arg=0x7fffe513f700) at pthread_create.c:311
#14 0x00007ffff5392a0d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 8 (Thread 0x7fffe5940700 (LWP 8107)):
#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 0x00007ffff530c5ab in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7ffff5420440 "*** Error in `%s': %s: 0x%s ***\n")
at ../sysdeps/unix/sysv/linux/libc_fatal.c:199
#3 0x00007ffff5318a46 in malloc_printerr (ptr=0x14d96d0, str=0x7ffff5420608 "double free or corruption (fasttop)", action=3)
at malloc.c:4923
#4 _int_free (av=<optimized out>, p=0x14d96c0, have_lock=0) at malloc.c:3779
#5 0x00007ffff5c38290 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() ()
---Type <return> to continue, or q <return> to quit---
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00000000007be7a9 in LuaJobInfo::~LuaJobInfo (this=0x15c8670, __in_chrg=<optimized out>)
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.h:51
#7 0x00000000007c0970 in __gnu_cxx::new_allocator<LuaJobInfo>::destroy (this=0x14f2918, __p=0x15c8670)
at /usr/include/c++/4.7/ext/new_allocator.h:123
#8 0x00000000007bfc75 in __gnu_cxx::__alloc_traits<std::allocator<LuaJobInfo> >::destroy (__a=..., __p=0x15c8670)
at /usr/include/c++/4.7/ext/alloc_traits.h:206
#9 0x00000000007bef2d in std::vector<LuaJobInfo, std::allocator<LuaJobInfo> >::erase (this=0x14f2918, __position=...)
at /usr/include/c++/4.7/bits/vector.tcc:141
#10 0x00000000007bd41e in AsyncEngine::getJob (this=0x14f28a8)
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.cpp:153
#11 0x00000000007bdf88 in AsyncWorkerThread::worker_thread_main (this=0x14f7880)
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.cpp:326
#12 0x00000000007be64c in AsyncWorkerThread::worker_thread_wrapper (thread=0x14f7880)
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.cpp:393
#13 0x00000000007be6c4 in AsyncWorkerThread::Thread (this=0x14f7880)
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.h:81
#14 0x000000000079df6d in JThread::TheThread (param=0x14f7880) at /home/adam/Minetest/minetest/src/jthread/pthread/jthread.cpp:177
#15 0x00007ffff69d5f8e in start_thread (arg=0x7fffe5940700) at pthread_create.c:311
#16 0x00007ffff5392a0d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 7 (Thread 0x7fffe6141700 (LWP 8106)):
#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
---Type <return> to continue, or q <return> to quit---
#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=0x14f7620)
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.cpp:353
#10 0x00000000007be64c in AsyncWorkerThread::worker_thread_wrapper (thread=0x14f7620)
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.cpp:393
#11 0x00000000007be6c4 in AsyncWorkerThread::Thread (this=0x14f7620)
at /home/adam/Minetest/minetest/src/script/lua_api/l_async_events.h:81
#12 0x000000000079df6d in JThread::TheThread (param=0x14f7620) at /home/adam/Minetest/minetest/src/jthread/pthread/jthread.cpp:177
#13 0x00007ffff69d5f8e in start_thread (arg=0x7fffe6141700) at pthread_create.c:311
#14 0x00007ffff5392a0d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
Thread 6 (Thread 0x7fffed522700 (LWP 8105)):
#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 8104)):
#0 0x00007ffff5385fbd in poll () at ../sysdeps/unix/syscall-template.S:81
---Type <return> to continue, or q <return> to quit---
#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 8097)):
#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=0x14e2b60) at /home/adam/Minetest/minetest/src/guiEngine.cpp:375
#3 0x0000000000908568 in GUIEngine::run (this=0x14e2b60) at /home/adam/Minetest/minetest/src/guiEngine.cpp:286
#4 0x0000000000907c7d in GUIEngine::GUIEngine (this=0x14e2b60, dev=0x130e7d0, parent=0x14e16b0, menumgr=0x12d3500 <g_menumgr>,
smgr=0x146fef0, 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