Skip to content

Instantly share code, notes, and snippets.

@Mazwak
Created January 9, 2015 12:05
Show Gist options
  • Save Mazwak/9175fd67717f5526744d to your computer and use it in GitHub Desktop.
Save Mazwak/9175fd67717f5526744d to your computer and use it in GitHub Desktop.
Rubunius Issue #3245 full gdb trace
Starting program: /home/maz/.rbenv/versions/rbx-2.4.1/bin/ruby /home/maz/.rbenv/versions/rbx-2.4.1/bin/gem install sequel
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff4f10700 (LWP 31664)]
[New Thread 0x7ffff4b0f700 (LWP 31665)]
[New Thread 0x7ffff470e700 (LWP 31666)]
[New Thread 0x7fffe7fff700 (LWP 31667)]
[New Thread 0x7fffe7bfe700 (LWP 31668)]
[New Thread 0x7fffe77fd700 (LWP 31669)]
[New Thread 0x7fffe73fc700 (LWP 31670)]
[New Thread 0x7fffe61d0700 (LWP 31671)]
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffe77fd700 (LWP 31669)]
0x00007ffff635da97 in raise () from /usr/lib/libc.so.6
Thread 9 (Thread 0x7fffe61d0700 (LWP 31671)):
#0 0x00007ffff75878cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1 0x00000000006e8435 in wait (mutex=..., this=<optimized out>) at /tmp/ruby-build.20150108154650.6785/rubinius-2.4.1/vm/util/thread.hpp:455
#2 rubinius::Channel::receive_timeout (this=this@entry=0x7fffe6e16700, state=state@entry=0x7fffe61cfd60, gct=..., duration=duration@entry=0x1a,
call_frame=call_frame@entry=0x7fffe61ce0c0) at vm/builtin/channel.cpp:161
#3 0x00000000006e86f2 in rubinius::Channel::receive (this=this@entry=0x7fffe6e16700, state=state@entry=0x7fffe61cfd60, gct=...,
call_frame=call_frame@entry=0x7fffe61ce0c0) at vm/builtin/channel.cpp:80
#4 0x000000000065416d in rubinius::Primitives::channel_receive (state=0x7fffe61cfd60, call_frame=0x7fffe61ce0c0, exec=0x7ffff523f8e0, mod=0x18ad1c0,
args=...) at vm/gen/method_primitives.cpp:3285
#5 0x00000000006e6b5c in rubinius::CallSite::empty_cache (state=0x7fffe61cfd60, call_site=0x7ffff5dc64b8, call_frame=0x7fffe61ce0c0, args=...)
at vm/builtin/call_site.cpp:95
#6 0x00000000005fb374 in execute (args=..., call_frame=0x7fffe61ce0c0, state=0x7fffe61cfd60, this=<optimized out>) at vm/builtin/call_site.hpp:108
#7 rubinius::MachineCode::interpreter (state=0x7fffe61cfd60, mcode=0x7fffd4000ae0, call_frame=0x7fffe61ce0c0) at vm/gen/instruction_implementations.hpp:593
#8 0x0000000000647398 in rubinius::MachineCode::execute_specialized<rubinius::NoArguments> (state=0x7fffe61cfd60, previous=<optimized out>,
exec=0x7ffff5db4188, mod=0x209b490, args=...) at vm/machine_code.cpp:782
#9 0x00000000006ebbcf in rubinius::CompiledCode::default_executor (state=0x7fffe61cfd60, call_frame=0x7fffe61ce900, exec=0x7ffff5db4188, mod=0x209b490,
args=...) at vm/builtin/compiled_code.cpp:224
#10 0x00000000006e705c in rubinius::CallSite::empty_cache_vcall (state=0x7fffe61cfd60, call_site=0x7ffff5dc45e8, call_frame=0x7fffe61ce900, args=...)
at vm/builtin/call_site.cpp:160
#11 0x00000000005fb449 in execute (args=..., call_frame=0x7fffe61ce900, state=0x7fffe61cfd60, this=<optimized out>) at vm/builtin/call_site.hpp:108
#12 rubinius::MachineCode::interpreter (state=0x7fffe61cfd60, mcode=0x209b630, call_frame=0x7fffe61ce900) at vm/gen/instruction_implementations.hpp:576
#13 0x00000000006e3433 in rubinius::BlockEnvironment::execute_interpreter (state=0x7fffe61cfd60, previous=<optimized out>, env=0x7ffff5dc4630, args=...,
invocation=...) at vm/builtin/block_environment.cpp:479
#14 0x00000000006e3b4d in rubinius::BlockEnvironment::invoke (state=state@entry=0x7fffe61cfd60, previous=previous@entry=0x7fffe61cf1e0, env=0x7ffff5dc4630,
args=..., invocation=...) at vm/builtin/block_environment.cpp:92
#15 0x00000000006e3ded in rubinius::BlockEnvironment::call (this=<optimized out>, state=state@entry=0x7fffe61cfd60,
call_frame=call_frame@entry=0x7fffe61cf1e0, args=..., flags=<optimized out>) at vm/builtin/block_environment.cpp:498
#16 0x0000000000729d37 in rubinius::Proc::call (this=0x7ffff5dc4db8, state=state@entry=0x7fffe61cfd60, call_frame=call_frame@entry=0x7fffe61cf1e0, args=...)
at vm/builtin/proc.cpp:119
#17 0x000000000072a0ed in rubinius::Proc::call_prim (this=<optimized out>, state=state@entry=0x7fffe61cfd60, call_frame=call_frame@entry=0x7fffe61cf1e0,
exec=exec@entry=0x7ffff52b6788, mod=mod@entry=0x18acb40, args=...) at vm/builtin/proc.cpp:157
#18 0x0000000000671bf4 in rubinius::Primitives::proc_call (state=0x7fffe61cfd60, call_frame=0x7fffe61cf1e0, exec=0x7ffff52b6788, mod=0x18acb40, args=...)
at vm/gen/method_primitives.cpp:15451
#19 0x00000000005fb99d in execute (args=..., call_frame=0x7fffe61cf1e0, state=0x7fffe61cfd60, this=0x7ffff52c0538) at vm/builtin/call_site.hpp:108
#20 rubinius::MachineCode::interpreter (state=0x7fffe61cfd60, mcode=0x195d000, call_frame=0x7fffe61cf1e0) at vm/gen/instruction_implementations.hpp:640
#21 0x0000000000648a57 in rubinius::MachineCode::execute_specialized<rubinius::SplatOnlyArgument> (state=0x7fffe61cfd60, previous=0x7fffe61cf8b0,
exec=0x7ffff52abdf8, mod=0x18acb40, args=...) at vm/machine_code.cpp:782
#22 0x00000000006e6b5c in rubinius::CallSite::empty_cache (state=0x7fffe61cfd60, call_site=0x7ffff524ebb8, call_frame=0x7fffe61cf8b0, args=...)
at vm/builtin/call_site.cpp:95
#23 0x00000000005fb99d in execute (args=..., call_frame=0x7fffe61cf8b0, state=0x7fffe61cfd60, this=0x7ffff524ebb8) at vm/builtin/call_site.hpp:108
#24 rubinius::MachineCode::interpreter (state=0x7fffe61cfd60, mcode=0x197a330, call_frame=0x7fffe61cf8b0) at vm/gen/instruction_implementations.hpp:640
#25 0x0000000000647398 in rubinius::MachineCode::execute_specialized<rubinius::NoArguments> (state=0x7fffe61cfd60, previous=<optimized out>,
exec=0x7ffff524e3d0, mod=0x18ab690, args=...) at vm/machine_code.cpp:782
#26 0x00000000005dae5c in rubinius::Dispatch::send (this=this@entry=0x7fffe61cfc90, state=0x7fffe61cfd60, call_frame=0x0, lookup=..., args=...,
reason=reason@entry=rubinius::eNormal) at vm/dispatch.cpp:49
#27 0x000000000071db2b in rubinius::Object::send (this=<optimized out>, state=<optimized out>, caller=<optimized out>, name=<optimized out>,
allow_private=<optimized out>) at vm/builtin/object.cpp:515
#28 0x000000000073e9da in rubinius::Thread::in_new_thread (ptr=0x209c3b0) at vm/builtin/thread.cpp:283
#29 0x00007ffff7582314 in start_thread () from /usr/lib/libpthread.so.0
#30 0x00007ffff641224d in clone () from /usr/lib/libc.so.6
Thread 8 (Thread 0x7fffe73fc700 (LWP 31670)):
#0 0x00007ffff75878cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1 0x0000000000768261 in wait (mutex=..., this=0x1e11620) at /tmp/ruby-build.20150108154650.6785/rubinius-2.4.1/vm/util/thread.hpp:455
#2 rubinius::ImmixMarker::perform (this=0x1e11580, state=state@entry=0x7fffe73fbd60) at vm/gc/immix_marker.cpp:179
#3 0x00000000007683d6 in rubinius::immix_marker_tramp (state=0x7fffe73fbd60) at vm/gc/immix_marker.cpp:19
#4 0x000000000073e9da in rubinius::Thread::in_new_thread (ptr=0x1e116b0) at vm/builtin/thread.cpp:283
#5 0x00007ffff7582314 in start_thread () from /usr/lib/libpthread.so.0
#6 0x00007ffff641224d in clone () from /usr/lib/libc.so.6
Thread 7 (Thread 0x7fffe77fd700 (LWP 31669)):
#0 0x00007ffff635da97 in raise () from /usr/lib/libc.so.6
#1 0x00007ffff635ee6a in abort () from /usr/lib/libc.so.6
#2 0x00007ffff63568bd in __assert_fail_base () from /usr/lib/libc.so.6
#3 0x00007ffff6356972 in __assert_fail () from /usr/lib/libc.so.6
#4 0x0000000000594da6 in llvm::isa_impl_cl<llvm::Constant, llvm::Value const*>::doit (Val=0x0) at /usr/include/llvm/Support/Casting.h:95
#5 0x0000000000779bcf in doit (Val=0x0, Val@entry=0x5f00000031) at /usr/include/llvm/IR/InstrTypes.h:858
#6 doit (Val=<optimized out>) at /usr/include/llvm/Support/Casting.h:122
#7 doit (Val=<optimized out>) at /usr/include/llvm/Support/Casting.h:114
#8 isa<llvm::Constant, llvm::Value*> (Val=<synthetic pointer>) at /usr/include/llvm/Support/Casting.h:134
#9 dyn_cast<llvm::Constant, llvm::Value> (Val=0x0, Val@entry=0x5f00000031) at /usr/include/llvm/Support/Casting.h:278
#10 llvm::IRBuilder<true, llvm::ConstantFolder, rubinius::IRBuilderInserterWithDebug>::CreateICmp (this=this@entry=0x7fffe77fc288,
P=P@entry=llvm::CmpInst::ICMP_EQ, LHS=LHS@entry=0x0, RHS=RHS@entry=0x7fffdc076d40, Name=...) at /usr/include/llvm/IR/IRBuilder.h:1323
#11 0x000000000079db46 in CreateICmpEQ (Name=..., RHS=0x7fffdc076d40, LHS=0x0, this=0x7fffe77fc288) at /usr/include/llvm/IR/IRBuilder.h:1248
#12 rubinius::JITVisit::check_for_exception_then (this=this@entry=0x7fffe77fc270, val=val@entry=0x0, cont=cont@entry=0x7fffdc16f6e0,
pass_top=pass_top@entry=true) at /tmp/ruby-build.20150108154650.6785/rubinius-2.4.1/vm/llvm/jit_visit.hpp:314
#13 0x000000000079e03d in rubinius::JITVisit::check_for_exception (this=0x7fffe77fc270, val=0x0, pass_top=<optimized out>)
at /tmp/ruby-build.20150108154650.6785/rubinius-2.4.1/vm/llvm/jit_visit.hpp:384
#14 0x00000000007a9ac5 in rubinius::JITVisit::visit_send_stack (this=this@entry=0x7fffe77fc270, which=<optimized out>, args=args@entry=0)
at /tmp/ruby-build.20150108154650.6785/rubinius-2.4.1/vm/llvm/jit_visit.hpp:1621
#15 0x00000000007ae8d8 in visit_send_method (which=<optimized out>, this=0x7fffe77fc270)
at /tmp/ruby-build.20150108154650.6785/rubinius-2.4.1/vm/llvm/jit_visit.hpp:1685
#16 rubinius::VisitInstructions<rubinius::JITVisit>::dispatch (this=0x7fffe77fc3c0, ip=65)
at /tmp/ruby-build.20150108154650.6785/rubinius-2.4.1/vm/gen/instruction_visitors.hpp:56
#17 0x00000000007af273 in call (iter=..., this=0x7fffe77fc1f0) at vm/llvm/jit_builder.cpp:547
#18 rubinius::jit::ControlFlowWalker::run<rubinius::jit::Walker> (this=0x7fffe77fc210, each=...)
at /tmp/ruby-build.20150108154650.6785/rubinius-2.4.1/vm/llvm/control_flow.hpp:55
#19 0x0000000000794014 in rubinius::jit::Builder::generate_body (this=this@entry=0x7fffe77fc6c0) at vm/llvm/jit_builder.cpp:584
#20 0x00000000007b0110 in rubinius::jit::Compiler::compile_builder (this=this@entry=0x7fffe77fcb30, info=..., work=...) at vm/llvm/jit_compiler.cpp:295
#21 0x00000000007b0876 in rubinius::jit::Compiler::compile_block (this=0x7fffe77fcb30, req=0x7fffc5a470c0) at vm/llvm/jit_compiler.cpp:208
#22 0x00000000007b0b56 in rubinius::jit::Compiler::compile (this=this@entry=0x7fffe77fcb30, req=<optimized out>) at vm/llvm/jit_compiler.cpp:156
#23 0x00000000007d0bb0 in rubinius::LLVMState::perform (this=0x18fd960, state=state@entry=0x7fffe77fcd60) at vm/llvm/state.cpp:337
#24 0x00000000007d166f in rubinius::jit_llvm_trampoline (state=0x7fffe77fcd60) at vm/llvm/state.cpp:188
#25 0x000000000073e9da in rubinius::Thread::in_new_thread (ptr=0x1c90180) at vm/builtin/thread.cpp:283
#26 0x00007ffff7582314 in start_thread () from /usr/lib/libpthread.so.0
#27 0x00007ffff641224d in clone () from /usr/lib/libc.so.6
Thread 6 (Thread 0x7fffe7bfe700 (LWP 31668)):
#0 0x00007ffff758a3cd in read () from /usr/lib/libpthread.so.0
#1 0x00000000007d9931 in rubinius::utilities::timer::Timer::wait_for_tick (this=<optimized out>) at vm/util/timer.cpp:122
#2 0x0000000000699656 in rubinius::metrics::Metrics::process_metrics (this=0x18fed90, state=state@entry=0x7fffe7bfdd60) at vm/metrics.cpp:502
#3 0x0000000000699eec in rubinius::metrics::metrics_trampoline (state=0x7fffe7bfdd60) at vm/metrics.cpp:68
#4 0x000000000073e9da in rubinius::Thread::in_new_thread (ptr=0x1c8e880) at vm/builtin/thread.cpp:283
#5 0x00007ffff7582314 in start_thread () from /usr/lib/libpthread.so.0
#6 0x00007ffff641224d in clone () from /usr/lib/libc.so.6
Thread 5 (Thread 0x7fffe7fff700 (LWP 31667)):
#0 0x00007ffff75878cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1 0x00000000005daa18 in wait (mutex=..., this=0x1c4fe28) at /tmp/ruby-build.20150108154650.6785/rubinius-2.4.1/vm/util/thread.hpp:455
#2 rubinius::console::Console::process_responses (this=0x1c4fcb0, state=state@entry=0x7fffe7ffed60) at vm/console.cpp:411
#3 0x00000000005dab2c in rubinius::console::console_response_trampoline (state=0x7fffe7ffed60) at vm/console.cpp:42
#4 0x000000000073e9da in rubinius::Thread::in_new_thread (ptr=0x18fe470) at vm/builtin/thread.cpp:283
#5 0x00007ffff7582314 in start_thread () from /usr/lib/libpthread.so.0
#6 0x00007ffff641224d in clone () from /usr/lib/libc.so.6
Thread 4 (Thread 0x7ffff470e700 (LWP 31666)):
#0 0x00007ffff758a3cd in read () from /usr/lib/libpthread.so.0
#1 0x0000000000700afd in rubinius::FSEvent::wait_for_event (this=0x7ffff5681380, state=state@entry=0x7ffff470dd60) at vm/builtin/fsevent.cpp:139
#2 0x00000000005da40b in rubinius::console::Console::process_requests (this=0x1c4fcb0, state=state@entry=0x7ffff470dd60) at vm/console.cpp:310
#3 0x00000000005da5bc in rubinius::console::console_request_trampoline (state=0x7ffff470dd60) at vm/console.cpp:35
#4 0x000000000073e9da in rubinius::Thread::in_new_thread (ptr=0x18fde40) at vm/builtin/thread.cpp:283
#5 0x00007ffff7582314 in start_thread () from /usr/lib/libpthread.so.0
#6 0x00007ffff641224d in clone () from /usr/lib/libc.so.6
Thread 3 (Thread 0x7ffff4b0f700 (LWP 31665)):
#0 0x00007ffff75878cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1 0x0000000000761bf7 in wait (mutex=..., this=0x18cdc08) at /tmp/ruby-build.20150108154650.6785/rubinius-2.4.1/vm/util/thread.hpp:455
#2 rubinius::FinalizerHandler::worker_wait (this=this@entry=0x18cdaf0) at vm/gc/finalize.cpp:481
#3 0x0000000000761d20 in rubinius::FinalizerHandler::perform (this=0x18cdaf0, state=state@entry=0x7ffff4b0ed60) at vm/gc/finalize.cpp:196
#4 0x0000000000761e9c in rubinius::finalizer_handler_tramp (state=0x7ffff4b0ed60) at vm/gc/finalize.cpp:74
#5 0x000000000073e9da in rubinius::Thread::in_new_thread (ptr=0x1911520) at vm/builtin/thread.cpp:283
#6 0x00007ffff7582314 in start_thread () from /usr/lib/libpthread.so.0
#7 0x00007ffff641224d in clone () from /usr/lib/libc.so.6
Thread 2 (Thread 0x7ffff4f10700 (LWP 31664)):
#0 0x00007ffff75878cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1 0x00000000006b12d1 in wait (mutex=..., this=0x18ce110) at /tmp/ruby-build.20150108154650.6785/rubinius-2.4.1/vm/util/thread.hpp:455
#2 rubinius::SignalHandler::perform (this=0x18cdf60, state=state@entry=0x7ffff4f0fd60) at vm/signal.cpp:165
#3 0x00000000006b147c in rubinius::signal_handler_tramp (state=0x7ffff4f0fd60) at vm/signal.cpp:54
#4 0x000000000073e9da in rubinius::Thread::in_new_thread (ptr=0x18ce180) at vm/builtin/thread.cpp:283
#5 0x00007ffff7582314 in start_thread () from /usr/lib/libpthread.so.0
#6 0x00007ffff641224d in clone () from /usr/lib/libc.so.6
Thread 1 (Thread 0x7ffff7fb2740 (LWP 31660)):
#0 0x00000000006a8d04 in wait_till_alone (state=0x186fd20, this=0x186e850) at vm/world_state.hpp:148
#1 rubinius::SharedState::stop_the_world (this=<optimized out>, state=0x186fd20) at vm/shared_state.cpp:269
#2 0x000000000069f23c in stop_the_world (this=0x7ffffffe2dd0) at vm/state.hpp:139
#3 rubinius::ObjectMemory::collect_maybe (this=0x1870670, state=state@entry=0x7ffffffe2dd0, gct=..., call_frame=call_frame@entry=0x7ffffffe3238)
at vm/object_memory.cpp:510
#4 0x00000000006dc372 in rubinius::VM::collect_maybe (this=<optimized out>, gct=..., call_frame=call_frame@entry=0x7ffffffe3238) at vm/vm.cpp:319
#5 0x00000000006e901d in collect_and_allocate (calling_environment=0x7ffffffe3238, self=0x19199c0, gct=..., state=0x1870370) at vm/builtin/class.cpp:66
#6 rubinius::(anonymous namespace)::allocate_packed (state=state@entry=0x1870370, gct=..., self=self@entry=0x19199c0,
calling_environment=calling_environment@entry=0x7ffffffe3238) at vm/builtin/class.cpp:114
#7 0x00000000006ea6e9 in rubinius::Class::allocate (this=0x19199c0, state=state@entry=0x1870370, gct=...,
calling_environment=calling_environment@entry=0x7ffffffe3238) at vm/builtin/class.cpp:133
#8 0x00000000007cce05 in rbx_create_instance (state=0x1870370, call_frame=0x7ffffffe3238, cls=<optimized out>) at vm/llvm/jit_util.cpp:1474
#9 0x00007ffff7e29c5f in ?? ()
#10 0x00007ffffffe32a8 in ?? ()
#11 0x00007ffffffe32f8 in ?? ()
#12 0x00007ffffffe32a8 in ?? ()
#13 0x00007ffffffe32f0 in ?? ()
#14 0x00007ffffffe3120 in ?? ()
#15 0x00000000007cce05 in rbx_create_instance (state=0x1870370, call_frame=0x7fffdc09cfa0, cls=<optimized out>) at vm/llvm/jit_util.cpp:1474
#16 0x00007ffff7f51de4 in ?? ()
#17 0x0000000000003d96 in ?? ()
#18 0x00000000018cc3d0 in ?? ()
#19 0x0000000000006d2e in ?? ()
#20 0x00007ffffffe3818 in ?? ()
#21 0x0000000000000000 in ?? ()
quit
A debugging session is active.
Inferior 1 [process 31660] will be killed.
Quit anyway? (y or n)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment