Skip to content

Instantly share code, notes, and snippets.

@yorickpeterse
Created October 3, 2014 08:49
Show Gist options
  • Save yorickpeterse/5d39e6dea2e6bd18a1d2 to your computer and use it in GitHub Desktop.
Save yorickpeterse/5d39e6dea2e6bd18a1d2 to your computer and use it in GitHub Desktop.
(gdb) info threads
Id Target Id Frame
7 Thread 0x7fbda89fd700 (LWP 4462) "rbx" 0x00007fbdaa95d8bf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
6 Thread 0x7fbda857c700 (LWP 4463) "rbx" 0x00007fbdaa95d8bf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
5 Thread 0x7fbda23bc700 (LWP 4468) "rbx" 0x00007fbdaa95d8bf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
4 Thread 0x7fbda33fc700 (LWP 4484) "rbx" 0x00007fbdaa95d8bf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
3 Thread 0x7fbda3fff700 (LWP 4485) "rbx" 0x00007fbdaa9603bd in read () from /usr/lib/libpthread.so.0
2 Thread 0x7fbda3bfe700 (LWP 4486) "rbx" 0x00007fbdaa95d8bf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
* 1 Thread 0x7fbdab6a1740 (LWP 4461) "rbx" 0x00007fbdaa9594f5 in pthread_join () from /usr/lib/libpthread.so.0
(gdb) thread apply 3 bt 5
Thread 3 (Thread 0x7fbda3fff700 (LWP 4485)):
#0 0x00007fbdaa9603bd in read () from /usr/lib/libpthread.so.0
#1 0x000000000070bec5 in rubinius::FSEvent::wait_for_event (this=<optimized out>, state=<optimized out>) at vm/builtin/fsevent.cpp:122
#2 0x00000000005d788f in rubinius::console::Console::process_requests (this=0x3bc90d0, state=0x7fbda3ffeec0) at vm/console.cpp:300
#3 0x00000000005d77b9 in rubinius::console::console_request_trampoline (state=0x7fbda3ffeec0) at vm/console.cpp:32
#4 0x00000000007451bd in rubinius::Thread::in_new_thread (ptr=0x3c05e80) at vm/builtin/thread.cpp:268
(More stack frames follow...)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment