Skip to content

Instantly share code, notes, and snippets.

@sahib
Last active September 23, 2015 11:21
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 sahib/f25a2684f2cbc1c6d5d1 to your computer and use it in GitHub Desktop.
Save sahib/f25a2684f2cbc1c6d5d1 to your computer and use it in GitHub Desktop.
GDB Backtrace of a SOMA crash
(gdb) bt
#0 0xffffffff00000001 in ?? ()
#1 0x0000000000de02dd in hpl::iEntity3D::SetTransformUpdated(bool) ()
#2 0x0000000000de023e in hpl::iEntity3D::SetTransformUpdated(bool) ()
#3 0x0000000000b4f16b in cLuxProp::OnSetMatrix(hpl::cMatrix<float> const&) ()
#4 0x0000000000a84862 in iLuxEntity::AttachToSocket(iLuxEntity*, std::string const&, bool, bool, bool) ()
#5 0x000000000144c69e in endstack ()
#6 0x000000000144d06a in CallSystemFunctionNative(asCContext*, asCScriptFunction*, void*, unsigned int*, void*, unsigned long&) ()
#7 0x000000000144bfd3 in CallSystemFunction(int, asCContext*, void*) ()
#8 0x00000000013edd04 in asCContext::ExecuteNext() ()
#9 0x00000000013eb18c in asCContext::Execute() ()
#10 0x0000000000f895c0 in hpl::cScriptContextAS::RunPrepared() ()
#11 0x0000000000d88684 in hpl::iScriptUserClassInterface::ScriptExecute() ()
#12 0x00000000009f461d in iLuxUpdateable_ScriptInterface::Update(float) ()
#13 0x00000000008faabc in non-virtual thunk to cLuxUserModule::Update(float) ()
#14 0x0000000000b67a5a in hpl::cUpdater::RunMessage(hpl::eUpdateableMessage, float) ()
#15 0x0000000000b6b963 in hpl::cEngine::Run() ()
#16 0x00000000008f5f6e in hplMain(std::string const&) ()
#17 0x0000000000e8f24a in main ()
(gdb) thread apply all bt
Thread 16 (Thread 0x7f39ede7f700 (LWP 31025)):
#0 0x00007f3a151eb07f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1 0x00000000012b3e88 in dgThreads::GetWork (this=this@entry=0x7f39b4d00888, job=job@entry=0x7f39ede7ee58) at ../../source/core/dgThreads.cpp:437
#2 0x00000000012b3fac in dgThreads::DoWork (this=0x7f39b4d00888, mythreadIndex=<optimized out>) at ../../source/core/dgThreads.cpp:472
#3 0x00000000012b3ff0 in dgThreads::ThreadExecute (param=<optimized out>) at ../../source/core/dgThreads.cpp:427
#4 0x00007f3a151e54a4 in start_thread () from /usr/lib/libpthread.so.0
#5 0x00007f3a1448913d in clone () from /usr/lib/libc.so.6
Thread 15 (Thread 0x7f39f729a700 (LWP 30988)):
#0 0x00007f3a1448018d in poll () from /usr/lib/libc.so.6
#1 0x00007f39fc305f41 in ?? () from /usr/lib/libpulse.so.0
#2 0x00007f39fc2f7481 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#3 0x00007f39fc2f7b1e in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#4 0x00007f39fc2f7bd0 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#5 0x00007f39fc305ed6 in ?? () from /usr/lib/libpulse.so.0
#6 0x00007f39fc0a60c8 in ?? () from /usr/lib/pulseaudio/libpulsecommon-6.0.so
#7 0x00007f3a151e54a4 in start_thread () from /usr/lib/libpthread.so.0
#8 0x00007f3a1448913d in clone () from /usr/lib/libc.so.6
Thread 14 (Thread 0x7f39ed67e700 (LWP 31024)):
#0 0x00007f3a151eb07f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1 0x00000000012b3e88 in dgThreads::GetWork (this=this@entry=0x7f39b4d00888, job=job@entry=0x7f39ed67de58) at ../../source/core/dgThreads.cpp:437
#2 0x00000000012b3fac in dgThreads::DoWork (this=0x7f39b4d00888, mythreadIndex=<optimized out>) at ../../source/core/dgThreads.cpp:472
#3 0x00000000012b3ff0 in dgThreads::ThreadExecute (param=<optimized out>) at ../../source/core/dgThreads.cpp:427
#4 0x00007f3a151e54a4 in start_thread () from /usr/lib/libpthread.so.0
#5 0x00007f3a1448913d in clone () from /usr/lib/libc.so.6
Thread 13 (Thread 0x7f39ef815700 (LWP 31026)):
#0 0x00007f3a151eb07f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1 0x00000000012b3e88 in dgThreads::GetWork (this=this@entry=0x7f39b4d00888, job=job@entry=0x7f39ef814e58) at ../../source/core/dgThreads.cpp:437
#2 0x00000000012b3fac in dgThreads::DoWork (this=0x7f39b4d00888, mythreadIndex=<optimized out>) at ../../source/core/dgThreads.cpp:472
#3 0x00000000012b3ff0 in dgThreads::ThreadExecute (param=<optimized out>) at ../../source/core/dgThreads.cpp:427
#4 0x00007f3a151e54a4 in start_thread () from /usr/lib/libpthread.so.0
#5 0x00007f3a1448913d in clone () from /usr/lib/libc.so.6
Thread 12 (Thread 0x7f3a0d6d7700 (LWP 30985)):
#0 0x00007f3a151ed2d7 in do_futex_wait.constprop () from /usr/lib/libpthread.so.0
#1 0x00007f3a151ed384 in __new_sem_wait_slow.constprop.0 () from /usr/lib/libpthread.so.0
#2 0x00007f3a154b9f4e in ?? () from /mnt/games/SOMA/game/lib64/libSDL2-2.0.so.0
#3 0x000000000126618a in hpl::cThreadSleepConditionSDL::Sleep() ()
#4 0x0000000000d02584 in hpl::cAnimationManager::Run(hpl::iThread*) ()
#5 0x0000000000d0267a in non-virtual thunk to hpl::cAnimationManager::Run(hpl::iThread*) ()
#6 0x00000000012695ad in hpl::iThread::MainThreadFunc(void*) ()
#7 0x00007f3a1546f62d in ?? () from /mnt/games/SOMA/game/lib64/libSDL2-2.0.so.0
#8 0x00007f3a154b9c99 in ?? () from /mnt/games/SOMA/game/lib64/libSDL2-2.0.so.0
#9 0x00007f3a151e54a4 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007f3a1448913d in clone () from /usr/lib/libc.so.6
Thread 11 (Thread 0x7f3a0b3cb700 (LWP 30991)):
#0 0x00007f3a1447c16d in read () from /usr/lib/libc.so.6
#1 0x00007f3a1441307b in __GI__IO_file_seekoff () from /usr/lib/libc.so.6
#2 0x00007f3a144107e9 in fseek () from /usr/lib/libc.so.6
#3 0x00007f3a15a547f7 in ?? () from /mnt/games/SOMA/game/lib64/libfmodex.so
#4 0x00007f3a15a4ad00 in ?? () from /mnt/games/SOMA/game/lib64/libfmodex.so
#5 0x00007f3a15a491b8 in ?? () from /mnt/games/SOMA/game/lib64/libfmodex.so
#6 0x00007f3a159d5d0e in FMOD::SystemI::createSoundInternal(char const*, unsigned int, unsigned int, unsigned int, FMOD_CREATESOUNDEXINFO*, FMOD::File**, bool, FMOD::SoundI**) ()
from /mnt/games/SOMA/game/lib64/libfmodex.so
#7 0x00007f3a1575a7a0 in ?? () from /mnt/games/SOMA/game/lib64/libfmodevent.so
#8 0x00007f3a1575aa0e in ?? () from /mnt/games/SOMA/game/lib64/libfmodevent.so
---Type <return> to continue, or q <return> to quit---
#9 0x00007f3a1575c2ff in ?? () from /mnt/games/SOMA/game/lib64/libfmodevent.so
#10 0x00007f3a1575cd47 in ?? () from /mnt/games/SOMA/game/lib64/libfmodevent.so
#11 0x00007f3a159ab006 in ?? () from /mnt/games/SOMA/game/lib64/libfmodex.so
#12 0x00007f3a15a4fcbc in ?? () from /mnt/games/SOMA/game/lib64/libfmodex.so
#13 0x00007f3a151e54a4 in start_thread () from /usr/lib/libpthread.so.0
#14 0x00007f3a1448913d in clone () from /usr/lib/libc.so.6
Thread 10 (Thread 0x7f3a0e6d9700 (LWP 30983)):
#0 0x00007f3a151ed2d7 in do_futex_wait.constprop () from /usr/lib/libpthread.so.0
#1 0x00007f3a151ed384 in __new_sem_wait_slow.constprop.0 () from /usr/lib/libpthread.so.0
#2 0x00007f3a154b9f4e in ?? () from /mnt/games/SOMA/game/lib64/libSDL2-2.0.so.0
#3 0x000000000126618a in hpl::cThreadSleepConditionSDL::Sleep() ()
#4 0x0000000000d530e0 in hpl::cTextureManager::Run(hpl::iThread*) ()
#5 0x0000000000d537da in non-virtual thunk to hpl::cTextureManager::Run(hpl::iThread*) ()
#6 0x00000000012695ad in hpl::iThread::MainThreadFunc(void*) ()
#7 0x00007f3a1546f62d in ?? () from /mnt/games/SOMA/game/lib64/libSDL2-2.0.so.0
#8 0x00007f3a154b9c99 in ?? () from /mnt/games/SOMA/game/lib64/libSDL2-2.0.so.0
#9 0x00007f3a151e54a4 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007f3a1448913d in clone () from /usr/lib/libc.so.6
Thread 9 (Thread 0x7f3a1733a700 (LWP 30989)):
#0 0x00007f3a151eb067 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1 0x00007f39fc306528 in pa_threaded_mainloop_wait () from /usr/lib/libpulse.so.0
#2 0x00007f39fc524e72 in pa_simple_write () from /usr/lib/libpulse-simple.so.0
#3 0x00007f3a15a5a640 in ?? () from /mnt/games/SOMA/game/lib64/libfmodex.so
#4 0x00007f3a15a4fcbc in ?? () from /mnt/games/SOMA/game/lib64/libfmodex.so
#5 0x00007f3a151e54a4 in start_thread () from /usr/lib/libpthread.so.0
#6 0x00007f3a1448913d in clone () from /usr/lib/libc.so.6
Thread 8 (Thread 0x7f39ece7d700 (LWP 31023)):
#0 0x00007f3a151eb07f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1 0x00000000012b3e88 in dgThreads::GetWork (this=this@entry=0x7f39b4d00888, job=job@entry=0x7f39ece7ce58) at ../../source/core/dgThreads.cpp:437
#2 0x00000000012b3fac in dgThreads::DoWork (this=0x7f39b4d00888, mythreadIndex=<optimized out>) at ../../source/core/dgThreads.cpp:472
#3 0x00000000012b3ff0 in dgThreads::ThreadExecute (param=<optimized out>) at ../../source/core/dgThreads.cpp:427
#4 0x00007f3a151e54a4 in start_thread () from /usr/lib/libpthread.so.0
#5 0x00007f3a1448913d in clone () from /usr/lib/libc.so.6
Thread 7 (Thread 0x7f3a17183700 (LWP 30992)):
#0 0x00007f3a1445891d in nanosleep () from /usr/lib/libc.so.6
#1 0x00007f3a144825e4 in usleep () from /usr/lib/libc.so.6
#2 0x00007f3a15a549ef in ?? () from /mnt/games/SOMA/game/lib64/libfmodex.so
#3 0x00007f3a15a4fccb in ?? () from /mnt/games/SOMA/game/lib64/libfmodex.so
#4 0x00007f3a151e54a4 in start_thread () from /usr/lib/libpthread.so.0
#5 0x00007f3a1448913d in clone () from /usr/lib/libc.so.6
Thread 6 (Thread 0x7f3a0fedc700 (LWP 30980)):
#0 0x00007f3a151ed2d7 in do_futex_wait.constprop () from /usr/lib/libpthread.so.0
#1 0x00007f3a151ed384 in __new_sem_wait_slow.constprop.0 () from /usr/lib/libpthread.so.0
#2 0x00007f3a154b9f4e in ?? () from /mnt/games/SOMA/game/lib64/libSDL2-2.0.so.0
#3 0x000000000126618a in hpl::cThreadSleepConditionSDL::Sleep() ()
#4 0x0000000000e5ce03 in hpl::cJobManager::GetJob(hpl::iJob**, bool) ()
#5 0x0000000000e5cd4b in hpl::cWorkerThread::Run(hpl::iThread*) ()
#6 0x00000000012695ad in hpl::iThread::MainThreadFunc(void*) ()
#7 0x00007f3a1546f62d in ?? () from /mnt/games/SOMA/game/lib64/libSDL2-2.0.so.0
#8 0x00007f3a154b9c99 in ?? () from /mnt/games/SOMA/game/lib64/libSDL2-2.0.so.0
#9 0x00007f3a151e54a4 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007f3a1448913d in clone () from /usr/lib/libc.so.6
Thread 5 (Thread 0x7f3a1732e700 (LWP 30990)):
#0 0x00007f3a1445891d in nanosleep () from /usr/lib/libc.so.6
---Type <return> to continue, or q <return> to quit---
#1 0x00007f3a144825e4 in usleep () from /usr/lib/libc.so.6
#2 0x00007f3a15a549ef in ?? () from /mnt/games/SOMA/game/lib64/libfmodex.so
#3 0x00007f3a15a4fccb in ?? () from /mnt/games/SOMA/game/lib64/libfmodex.so
#4 0x00007f3a151e54a4 in start_thread () from /usr/lib/libpthread.so.0
#5 0x00007f3a1448913d in clone () from /usr/lib/libc.so.6
Thread 4 (Thread 0x7f3a0f6db700 (LWP 30981)):
#0 0x00007f3a151ed2d7 in do_futex_wait.constprop () from /usr/lib/libpthread.so.0
#1 0x00007f3a151ed384 in __new_sem_wait_slow.constprop.0 () from /usr/lib/libpthread.so.0
#2 0x00007f3a154b9f4e in ?? () from /mnt/games/SOMA/game/lib64/libSDL2-2.0.so.0
#3 0x000000000126618a in hpl::cThreadSleepConditionSDL::Sleep() ()
#4 0x0000000000e5ce03 in hpl::cJobManager::GetJob(hpl::iJob**, bool) ()
#5 0x0000000000e5cd4b in hpl::cWorkerThread::Run(hpl::iThread*) ()
#6 0x00000000012695ad in hpl::iThread::MainThreadFunc(void*) ()
#7 0x00007f3a1546f62d in ?? () from /mnt/games/SOMA/game/lib64/libSDL2-2.0.so.0
#8 0x00007f3a154b9c99 in ?? () from /mnt/games/SOMA/game/lib64/libSDL2-2.0.so.0
#9 0x00007f3a151e54a4 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007f3a1448913d in clone () from /usr/lib/libc.so.6
Thread 3 (Thread 0x7f3a0ded8700 (LWP 30984)):
#0 0x00007f3a151ed2d7 in do_futex_wait.constprop () from /usr/lib/libpthread.so.0
#1 0x00007f3a151ed384 in __new_sem_wait_slow.constprop.0 () from /usr/lib/libpthread.so.0
#2 0x00007f3a154b9f4e in ?? () from /mnt/games/SOMA/game/lib64/libSDL2-2.0.so.0
#3 0x000000000126618a in hpl::cThreadSleepConditionSDL::Sleep() ()
#4 0x0000000000d3f744 in hpl::cMeshManager::Run(hpl::iThread*) ()
#5 0x0000000000d3f83a in non-virtual thunk to hpl::cMeshManager::Run(hpl::iThread*) ()
#6 0x00000000012695ad in hpl::iThread::MainThreadFunc(void*) ()
#7 0x00007f3a1546f62d in ?? () from /mnt/games/SOMA/game/lib64/libSDL2-2.0.so.0
#8 0x00007f3a154b9c99 in ?? () from /mnt/games/SOMA/game/lib64/libSDL2-2.0.so.0
#9 0x00007f3a151e54a4 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007f3a1448913d in clone () from /usr/lib/libc.so.6
Thread 2 (Thread 0x7f3a0eeda700 (LWP 30982)):
#0 0x00007f3a151ed2d7 in do_futex_wait.constprop () from /usr/lib/libpthread.so.0
#1 0x00007f3a151ed384 in __new_sem_wait_slow.constprop.0 () from /usr/lib/libpthread.so.0
#2 0x00007f3a154b9f4e in ?? () from /mnt/games/SOMA/game/lib64/libSDL2-2.0.so.0
#3 0x000000000126618a in hpl::cThreadSleepConditionSDL::Sleep() ()
#4 0x0000000000e5ce03 in hpl::cJobManager::GetJob(hpl::iJob**, bool) ()
#5 0x0000000000e5cd4b in hpl::cWorkerThread::Run(hpl::iThread*) ()
#6 0x00000000012695ad in hpl::iThread::MainThreadFunc(void*) ()
#7 0x00007f3a1546f62d in ?? () from /mnt/games/SOMA/game/lib64/libSDL2-2.0.so.0
#8 0x00007f3a154b9c99 in ?? () from /mnt/games/SOMA/game/lib64/libSDL2-2.0.so.0
#9 0x00007f3a151e54a4 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007f3a1448913d in clone () from /usr/lib/libc.so.6
Thread 1 (Thread 0x7f3a1733c7c0 (LWP 30979)):
#0 0xffffffff00000001 in ?? ()
#1 0x0000000000de02dd in hpl::iEntity3D::SetTransformUpdated(bool) ()
#2 0x0000000000de023e in hpl::iEntity3D::SetTransformUpdated(bool) ()
#3 0x0000000000b4f16b in cLuxProp::OnSetMatrix(hpl::cMatrix<float> const&) ()
#4 0x0000000000a84862 in iLuxEntity::AttachToSocket(iLuxEntity*, std::string const&, bool, bool, bool) ()
#5 0x000000000144c69e in endstack ()
#6 0x000000000144d06a in CallSystemFunctionNative(asCContext*, asCScriptFunction*, void*, unsigned int*, void*, unsigned long&) ()
#7 0x000000000144bfd3 in CallSystemFunction(int, asCContext*, void*) ()
#8 0x00000000013edd04 in asCContext::ExecuteNext() ()
#9 0x00000000013eb18c in asCContext::Execute() ()
#10 0x0000000000f895c0 in hpl::cScriptContextAS::RunPrepared() ()
#11 0x0000000000d88684 in hpl::iScriptUserClassInterface::ScriptExecute() ()
#12 0x00000000009f461d in iLuxUpdateable_ScriptInterface::Update(float) ()
#13 0x00000000008faabc in non-virtual thunk to cLuxUserModule::Update(float) ()
#14 0x0000000000b67a5a in hpl::cUpdater::RunMessage(hpl::eUpdateableMessage, float) ()
#15 0x0000000000b6b963 in hpl::cEngine::Run() ()
#16 0x00000000008f5f6e in hplMain(std::string const&) ()
#17 0x0000000000e8f24a in main ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment