Skip to content

Instantly share code, notes, and snippets.

@SebastienLussier
Created March 9, 2012 05:39
Show Gist options
  • Save SebastienLussier/2005207 to your computer and use it in GitHub Desktop.
Save SebastienLussier/2005207 to your computer and use it in GitHub Desktop.
gdb output
sebastien@sebastien-VirtualBox:~/code/ArxLibertatis/build$ sudo gdb --batch -n -ex "set confirm off" -ex "set print frame-arguments all" -ex "set print static-members off" -ex "info threads" -ex "thread apply all bt full" ~/code/ArxLibertatis/build/arx 2387
[Thread debugging using libthread_db enabled]
__lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136
136 ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: No such file or directory.
in ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
Id Target Id Frame
* 1 Thread 0x7f8433372760 (LWP 2387) "arx" __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136
Thread 1 (Thread 0x7f8433372760 (LWP 2387)):
#0 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:136
No locals.
#1 0x00007f843279b200 in _L_lock_928 () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#2 0x00007f843279b099 in __pthread_mutex_lock (mutex=0x7f842becec80) at pthread_mutex_lock.c:82
__PRETTY_FUNCTION__ = "__pthread_mutex_lock"
type = 736947328
#3 0x00007f842bcf8d56 in ?? () from /usr/lib/x86_64-linux-gnu/dri/vboxvideo_dri.so
No symbol table info available.
#4 0x00007f8430e0f821 in __run_exit_handlers (status=1, listp=0x7f843116e5a8, run_list_atexit=true) at exit.c:78
atfct = <optimized out>
onfct = <optimized out>
cxafct = <optimized out>
f = <optimized out>
#5 0x00007f8430e0f8a5 in __GI_exit (status=<optimized out>) at exit.c:100
No locals.
#6 0x0000000000871aa9 in CrashHandlerPOSIX::handleCrash (this=0x25bdf70, crashType=11, FPECode=0) at /home/sebastien/code/ArxLibertatis/src/platform/crashhandler/CrashHandlerPOSIX.cpp:265
killer = 0
crashSummary = 0x8ae000 "Illegal storage access"
#7 0x0000000000871246 in SignalHandler (signalCode=11) at /home/sebastien/code/ArxLibertatis/src/platform/crashhandler/CrashHandlerPOSIX.cpp:37
No locals.
#8 <signal handler called>
No symbol table info available.
#9 0x000000000058bdfa in ArxGame::InitGameData (this=0x25bef00) at /home/sebastien/code/ArxLibertatis/src/core/ArxGame.cpp:402
init = false
#10 0x000000000058b333 in ArxGame::Initialize (this=0x25bef00) at /home/sebastien/code/ArxLibertatis/src/core/ArxGame.cpp:242
init = true
#11 0x000000000059b11b in main (argc=1, argv=0x7fff58310768) at /home/sebastien/code/ArxLibertatis/src/core/Core.cpp:678
logFile = {pathstr = {_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x25beb78 "arx.log"}}}
rel = {flags = 0}
sebastien@sebastien-VirtualBox:~/code/ArxLibertatis/build$ gdb --batch -n -ex "set confirm off" -ex "set print frame-arguments all" -ex "set print static-members off" -ex "info threads" -ex "thread apply all bt full" ~/code/ArxLibertatis/build/arx 2387
Could not attach to process. If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Operation not permitted.
/home/sebastien/code/ArxLibertatis/build/2387: No such file or directory.
No threads.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment