Skip to content

Instantly share code, notes, and snippets.

@tak1n
Created June 9, 2016 04:56
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 tak1n/195cafd14074e1df6f1538801d0e31a3 to your computer and use it in GitHub Desktop.
Save tak1n/195cafd14074e1df6f1538801d0e31a3 to your computer and use it in GitHub Desktop.
(lldb) thr list
Process 9492 stopped
* thread #1: tid = 9492, 0x00007f7fb2d483a0 libpthread.so.0`__pthread_cond_wait + 192, name = 'rbx', stop reason = signal SIGSTOP
thread #2: tid = 9497, 0x00007f7fb2d483a0 libpthread.so.0`__pthread_cond_wait + 192, name = 'rbx', stop reason = signal SIGSTOP
thread #3: tid = 9498, 0x00007f7fb20628dd libc.so.6`__GI_nanosleep + 45 at syscall-template.S:84, name = 'rbx', stop reason = signal SIGSTOP
thread #4: tid = 9499, 0x00007f7fb2d4b55d libpthread.so.0`__libc_read + 45, name = 'rbx', stop reason = signal SIGSTOP
thread #5: tid = 9500, 0x00007f7fb2d483a0 libpthread.so.0`__pthread_cond_wait + 192, name = 'rbx', stop reason = signal SIGSTOP
(lldb) thr backtrace -c 10 all
* thread #1: tid = 9492, 0x00007f7fb2d483a0 libpthread.so.0`__pthread_cond_wait + 192, name = 'rbx', stop reason = signal SIGSTOP
* frame #0: 0x00007f7fb2d483a0 libpthread.so.0`__pthread_cond_wait + 192
frame #1: 0x0000000000526ef7 rbx`rubinius::SignalThread::run(rubinius::State*) [inlined] rubinius::utilities::thread::Condition::wait(rubinius::utilities::thread::Mutex&) + 15 at thread.hpp:453 [opt]
frame #2: 0x0000000000526ee8 rbx`rubinius::SignalThread::run(this=<unavailable>, state=<unavailable>) + 584 at signal.cpp:234 [opt]
frame #3: 0x0000000000526b3d rbx`rubinius::SignalThread::start(this=0x00000000018df380, state=0x00007ffc26a88a00) + 285 at signal.cpp:127 [opt]
frame #4: 0x0000000000523bfa rbx`rubinius::SharedState::start_signals(this=0x000000000181cf80, state=0x00007ffc26a88a00) + 58 at shared_state.cpp:136 [opt]
frame #5: 0x000000000049d2e9 rbx`rubinius::Environment::boot(this=0x00007ffc26a88b40) + 793 at environment.cpp:729 [opt]
frame #6: 0x00000000005d9155 rbx`main(argc=<unavailable>, argv=<unavailable>) + 485 at cli.cpp:53 [opt]
frame #7: 0x00007f7fb1fb7830 libc.so.6`__libc_start_main(main=(rbx`main at cli.cpp:34), argc=2, argv=0x00007ffc26a893d8, init=<unavailable>, fini=<unavailable>, rtld_fini=<unavailable>, stack_end=0x00007ffc26a893c8) + 240 at libc-star
t.c:291
frame #8: 0x0000000000471109 rbx`_start + 41
thread #2: tid = 9497, 0x00007f7fb2d483a0 libpthread.so.0`__pthread_cond_wait + 192, name = 'rbx', stop reason = signal SIGSTOP [15/448]
frame #0: 0x00007f7fb2d483a0 libpthread.so.0`__pthread_cond_wait + 192
frame #1: 0x00007f7fb262990c libstdc++.so.6`std::condition_variable::wait(std::unique_lock<std::mutex>&) + 12
frame #2: 0x000000000052a4b1 rbx`rubinius::ThreadNexus::waiting_lock(rubinius::VM*) [inlined] void std::condition_variable::wait<rubinius::ThreadNexus::waiting_lock(rubinius::VM*)::$_0>(this=<unavailable>)::$_0) + 30 at condition_vari
able:98 [opt]
frame #3: 0x000000000052a493 rbx`rubinius::ThreadNexus::waiting_lock(this=<unavailable>, vm=<unavailable>) + 147 at thread_nexus.cpp:246 [opt]
frame #4: 0x000000000052a57f rbx`rubinius::ThreadNexus::managed_phase(this=0x000000000181f2c0, vm=<unavailable>) + 15 at thread_nexus.cpp:23 [opt]
frame #5: 0x00000000005db9ab rbx`rubinius::memory::FinalizerThread::run(rubinius::State*) [inlined] rubinius::VM::managed_phase(this=<unavailable>) + 12 at vm.hpp:461 [opt]
frame #6: 0x00000000005db99f rbx`rubinius::memory::FinalizerThread::run(rubinius::State*) [inlined] rubinius::UnmanagedPhase::~UnmanagedPhase() + 3 at thread_phase.hpp:72 [opt]
frame #7: 0x00000000005db99c rbx`rubinius::memory::FinalizerThread::run(this=<unavailable>, state=<unavailable>) + 188 at finalizer.cpp:201 [opt]
frame #8: 0x00000000004dd112 rbx`rubinius::MachineThread::run(ptr=0x00000000018dddf0) + 98 at machine_threads.cpp:42 [opt]
frame #9: 0x00007f7fb2d426fa libpthread.so.0`start_thread + 202
thread #3: tid = 9498, 0x00007f7fb20628dd libc.so.6`__GI_nanosleep + 45 at syscall-template.S:84, name = 'rbx', stop reason = signal SIGSTOP
frame #0: 0x00007f7fb20628dd libc.so.6`__GI_nanosleep + 45 at syscall-template.S:84
frame #1: 0x00007f7fb206282a libc.so.6`__sleep(seconds=0) + 42 at sleep.c:55
frame #2: 0x0000000000527fdb rbx`rubinius::abandon_ship_handler(sig=11) + 235 at signal.cpp:432 [opt]
frame #3: 0x00007f7fb2d4c3d0 libpthread.so.0`??? + 1
frame #4: 0x00000000005cb5d6 rbx`rubinius::capi::HandleSet::gc_scan(rubinius::memory::GarbageCollector*) [inlined] rubinius::memory::GarbageCollector::mark_object(this=<unavailable>, obj=0xf983481fe183c189) + 86 at gc.hpp:151 [opt]
frame #5: 0x00000000005cb5c2 rbx`rubinius::capi::HandleSet::gc_scan(this=<unavailable>, gc=<unavailable>) + 66 at handle.cpp:119 [opt]
frame #6: 0x00000000005dcb0d rbx`rubinius::memory::GarbageCollector::walk_call_frame(this=0x0000000001832c20, call_frame=<unavailable>, offset=<unavailable>) + 701 at gc.cpp:235 [opt]
frame #7: 0x00000000004a04f1 rbx`rubinius::FiberStacks::gc_scan(this=<unavailable>, gc=0x0000000001832c20, marked_only=<unavailable>) + 241 at fiber_stack.cpp:95 [opt]
frame #8: 0x00000000005dd364 rbx`rubinius::memory::GarbageCollector::scan_fibers(this=<unavailable>, data=<unavailable>, marked_only=<unavailable>) + 116 at gc.cpp:384 [opt]
frame #9: 0x00000000005def83 rbx`rubinius::memory::ImmixGC::collect_finish(this=<unavailable>, data=<unavailable>) + 675 at immix_collector.cpp:317 [opt]
thread #4: tid = 9499, 0x00007f7fb2d4b55d libpthread.so.0`__libc_read + 45, name = 'rbx', stop reason = signal SIGSTOP
frame #0: 0x00007f7fb2d4b55d libpthread.so.0`__libc_read + 45
frame #1: 0x000000000057bb79 rbx`rubinius::FSEvent::wait_for_event(this=<unavailable>, state=0x00007f7fb3ac4ee0) + 121 at fsevent.cpp:145 [opt]
frame #2: 0x0000000000492bfc rbx`rubinius::console::Listener::run(this=<unavailable>, state=<unavailable>) + 76 at console.cpp:387 [opt]
frame #3: 0x00000000004dd112 rbx`rubinius::MachineThread::run(ptr=0x00007f7fa0006240) + 98 at machine_threads.cpp:42 [opt]
frame #4: 0x00007f7fb2d426fa libpthread.so.0`start_thread + 202
frame #5: 0x00007f7fb209db5d libc.so.6`__clone + 109 at clone.S:109
thread #5: tid = 9500, 0x00007f7fb2d483a0 libpthread.so.0`__pthread_cond_wait + 192, name = 'rbx', stop reason = signal SIGSTOP
frame #0: 0x00007f7fb2d483a0 libpthread.so.0`__pthread_cond_wait + 192
frame #1: 0x000000000056058c rbx`rubinius::Channel::receive_timeout(rubinius::State*, rubinius::Object*) [inlined] rubinius::utilities::thread::Condition::wait(rubinius::utilities::thread::Mutex&) + 5 at thread.hpp:453 [opt]
frame #2: 0x0000000000560587 rbx`rubinius::Channel::receive_timeout(this=<unavailable>, state=<unavailable>, duration=<unavailable>) + 679 at channel.cpp:158 [opt]
frame #3: 0x00000000004e7220 rbx`rubinius::Primitives::channel_receive(state=0x00007f7fac7c6e88, exec=0x00007f7fb0eff358, mod=0x00007f7fb0d5d9b8, args=0x00007f7fac7c5c30) + 64 at method_primitives.cpp:2205 [opt]
frame #4: 0x000000000055f6be rbx`rubinius::CallSite::lookup_invoke_cache(rubinius::State*, rubinius::CallSite*, rubinius::Arguments&) [inlined] rubinius::CallSite::invoke(this=0x00007f7fade86910, state=0x00007f7fac7c6e88, args=0x00007
f7fac7c5c30, dispatch=<unavailable>) + 39 at call_site.hpp:237 [opt]
frame #5: 0x000000000055f697 rbx`rubinius::CallSite::lookup_invoke_cache(state=0x00007f7fac7c6e88, call_site=0x00007f7fade86910, args=0x00007f7fac7c5c30) + 87 at call_site.hpp:194 [opt]
frame #6: 0x00000000004a433b rbx`rubinius::MachineCode::interpreter(rubinius::State*, rubinius::MachineCode*) [inlined] rubinius::CallSite::execute(this=<unavailable>, state=0x00007f7fac7c6e88, args=<unavailable>) + 7243 at call_site.
hpp:374 [opt]
frame #7: 0x00000000004a432b rbx`rubinius::MachineCode::interpreter(state=<unavailable>, mcode=0x00007f7f98000c50) + 7227 at instruction_implementations.hpp:560 [opt]
frame #8: 0x00000000004db449 rbx`rubinius::Object* rubinius::MachineCode::execute_specialized<rubinius::NoArguments>(state=<unavailable>, exec=<unavailable>, mod=<unavailable>, args=<unavailable>) + 601 at machine_code.cpp:805 [opt]
frame #9: 0x000000000055f6be rbx`rubinius::CallSite::lookup_invoke_cache(rubinius::State*, rubinius::CallSite*, rubinius::Arguments&) [inlined] rubinius::CallSite::invoke(this=0x00007f7fade80520, state=0x00007f7fac7c6e88, args=0x00007
f7fac7c6320, dispatch=<unavailable>) + 39 at call_site.hpp:237 [opt]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment