Skip to content

Instantly share code, notes, and snippets.

@cheald
Created December 8, 2012 04:20
Show Gist options
  • Save cheald/4238602 to your computer and use it in GitHub Desktop.
Save cheald/4238602 to your computer and use it in GitHub Desktop.
(gdb) info thread
5 Thread 0x41ca3940 (LWP 12025) 0x0000003c0240aee9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
4 Thread 0x426a4940 (LWP 12117) 0x0000003c0240cd01 in sem_wait () from /lib64/libpthread.so.0
3 Thread 0x41285940 (LWP 12553) 0x0000003c0240aebb in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
2 Thread 0x418c8940 (LWP 32146) 0x0000003c010cd722 in select () from /lib64/libc.so.6
* 1 Thread 0x2b1c74921cc0 (LWP 11931) 0x0000003c0240aee9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
(gdb) thread 2
[Switching to thread 2 (Thread 0x418c8940 (LWP 32146))]#0 0x0000003c010cd722 in select () from /lib64/libc.so.6
(gdb) bt
#0 0x0000003c010cd722 in select () from /lib64/libc.so.6
#1 0x00002b1c74661216 in thread_timer (p=<value optimized out>) at thread_pthread.c:1151
#2 0x0000003c0240673d in start_thread () from /lib64/libpthread.so.0
#3 0x0000003c010d44bd in clone () from /lib64/libc.so.6
(gdb) thread 3
[Switching to thread 3 (Thread 0x41285940 (LWP 12553))]#0 0x0000003c0240aebb in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
(gdb) bt
#0 0x0000003c0240aebb in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00002b1c746617a6 in native_sleep (th=0x10ff6e10, timeout_tv=0x0) at thread_pthread.c:305
#2 0x00002b1c74662702 in sleep_forever (time=<value optimized out>) at thread.c:855
#3 rb_thread_sleep_deadly (time=<value optimized out>) at thread.c:923
#4 rb_mutex_sleep_forever (time=<value optimized out>) at thread.c:3693
#5 0x00002b1c74540577 in rb_ensure (b_proc=0x2b1c746626d0 <rb_mutex_sleep_forever>, data1=4, e_proc=0x2b1c74662f20 <rb_mutex_lock>, data2=131032800) at eval.c:744
#6 0x00002b1c74663a3a in rb_mutex_sleep (self=131032800, timeout=<value optimized out>) at thread.c:3717
#7 0x00002b1c74663a68 in mutex_sleep (argc=<value optimized out>, argv=<value optimized out>, self=131032800) at thread.c:3740
#8 0x00002b1c7465a013 in vm_call_cfunc (th=0x10ff6e10, cfp=0xf52ac30, num=0, blockptr=0x1, flag=0, id=0, me=0x3694b10, recv=131032800) at vm_insnhelper.c:404
#9 vm_call_method (th=0x10ff6e10, cfp=0xf52ac30, num=0, blockptr=0x1, flag=0, id=0, me=0x3694b10, recv=131032800) at vm_insnhelper.c:534
#10 0x00002b1c7464c41a in vm_exec_core (th=0x10ff6e10, initial=<value optimized out>) at insns.def:1018
#11 0x00002b1c74652ee9 in vm_exec (th=0x10ff6ea0) at vm.c:1223
#12 0x00002b1c74659579 in invoke_block_from_c (th=0x10ff6e10, block=0x10d5beb0, self=61664080, argc=0, argv=0x0, blockptr=0x0, cref=0x0) at vm.c:627
#13 0x00002b1c7465993f in rb_vm_invoke_proc (th=0x10ff6e10, proc=0x10d5beb0, self=61664080, argc=0, argv=0x7cf66a0, blockptr=0x0) at vm.c:673
#14 0x00002b1c7466439b in thread_start_func_2 (th=0x10ff6e10, stack_start=0x41286000) at thread.c:453
#15 0x00002b1c74664532 in thread_start_func_1 (th_ptr=<value optimized out>) at thread_pthread.c:653
#16 0x0000003c0240673d in start_thread () from /lib64/libpthread.so.0
#17 0x0000003c010d44bd in clone () from /lib64/libc.so.6
(gdb) thread 4
[Switching to thread 4 (Thread 0x426a4940 (LWP 12117))]#0 0x0000003c0240cd01 in sem_wait () from /lib64/libpthread.so.0
(gdb) bt
#0 0x0000003c0240cd01 in sem_wait () from /lib64/libpthread.so.0
#1 0x00002aaaae39f28a in v8::internal::LinuxSemaphore::Wait() () from /var/www/vhosts/mashable.com/mashable_v2/shared/bundle/ruby/1.9.1/gems/therubyracer-0.10.2/ext/v8/v8.so
#2 0x00002aaaae3b893e in v8::internal::RuntimeProfilerRateLimiter::SuspendIfNecessary() () from /var/www/vhosts/mashable.com/mashable_v2/shared/bundle/ruby/1.9.1/gems/therubyracer-0.10.2/ext/v8/v8.so
#3 0x00002aaaae3a0060 in v8::internal::SignalSender::Run() () from /var/www/vhosts/mashable.com/mashable_v2/shared/bundle/ruby/1.9.1/gems/therubyracer-0.10.2/ext/v8/v8.so
#4 0x00002aaaae39f4d2 in v8::internal::ThreadEntry(void*) () from /var/www/vhosts/mashable.com/mashable_v2/shared/bundle/ruby/1.9.1/gems/therubyracer-0.10.2/ext/v8/v8.so
#5 0x0000003c0240673d in start_thread () from /lib64/libpthread.so.0
#6 0x0000003c010d44bd in clone () from /lib64/libc.so.6
(gdb) thread 5
[Switching to thread 5 (Thread 0x41ca3940 (LWP 12025))]#0 0x0000003c0240aee9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
(gdb) bt
#0 0x0000003c0240aee9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00002b1c746617a6 in native_sleep (th=0x48ca370, timeout_tv=0x0) at thread_pthread.c:305
#2 0x00002b1c74662702 in sleep_forever (time=<value optimized out>) at thread.c:855
#3 rb_thread_sleep_deadly (time=<value optimized out>) at thread.c:923
#4 rb_mutex_sleep_forever (time=<value optimized out>) at thread.c:3693
#5 0x00002b1c74540577 in rb_ensure (b_proc=0x2b1c746626d0 <rb_mutex_sleep_forever>, data1=4, e_proc=0x2b1c74662f20 <rb_mutex_lock>, data2=63749000) at eval.c:744
#6 0x00002b1c74663a3a in rb_mutex_sleep (self=63749000, timeout=<value optimized out>) at thread.c:3717
#7 0x00002b1c74663a68 in mutex_sleep (argc=<value optimized out>, argv=<value optimized out>, self=63749000) at thread.c:3740
#8 0x00002b1c7465a013 in vm_call_cfunc (th=0x48ca370, cfp=0x4a1c6b0, num=0, blockptr=0x1, flag=0, id=0, me=0x3694b10, recv=63749000) at vm_insnhelper.c:404
#9 vm_call_method (th=0x48ca370, cfp=0x4a1c6b0, num=0, blockptr=0x1, flag=0, id=0, me=0x3694b10, recv=63749000) at vm_insnhelper.c:534
#10 0x00002b1c7464c41a in vm_exec_core (th=0x48ca370, initial=<value optimized out>) at insns.def:1018
#11 0x00002b1c74652ee9 in vm_exec (th=0x48ca404) at vm.c:1223
#12 0x00002b1c74659579 in invoke_block_from_c (th=0x48ca370, block=0x682b320, self=61664080, argc=0, argv=0x0, blockptr=0x0, cref=0x0) at vm.c:627
#13 0x00002b1c7465993f in rb_vm_invoke_proc (th=0x48ca370, proc=0x682b320, self=61664080, argc=0, argv=0x3583d18, blockptr=0x0) at vm.c:673
#14 0x00002b1c7466439b in thread_start_func_2 (th=0x48ca370, stack_start=0x41ca4000) at thread.c:453
#15 0x00002b1c74664532 in thread_start_func_1 (th_ptr=<value optimized out>) at thread_pthread.c:653
#16 0x0000003c0240673d in start_thread () from /lib64/libpthread.so.0
#17 0x0000003c010d44bd in clone () from /lib64/libc.so.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment