Skip to content

Instantly share code, notes, and snippets.

@yorickpeterse
Created February 18, 2015 19:44
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 yorickpeterse/59bdb982a3afcda1a6cc to your computer and use it in GitHub Desktop.
Save yorickpeterse/59bdb982a3afcda1a6cc to your computer and use it in GitHub Desktop.
Starting program: /home/yorickpeterse/.rubies/rbx-git/bin/ruby -e Rubinius::VariableScope.new.locals
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 0x7ffff7f8f700 (LWP 15561)]
[New Thread 0x7ffff4cf7700 (LWP 15562)]
[New Thread 0x7ffff4bf6700 (LWP 15563)]
[New Thread 0x7ffff4af5700 (LWP 15564)]
[New Thread 0x7ffff49f4700 (LWP 15565)]
[New Thread 0x7ffff48f3700 (LWP 15566)]
[New Thread 0x7ffff45bc700 (LWP 15567)]
Program received signal SIGSEGV, Segmentation fault.
0x0000000000877787 in get_local (this=<optimized out>, pos=0) at vm/builtin/variable_scope.cpp:174
174 return ary[pos];
Thread 8 (Thread 0x7ffff45bc700 (LWP 15567)):
#0 0x00007ffff706a8cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1 0x0000000000898835 in wait (this=<optimized out>, mutex=...) at /home/yorickpeterse/Private/Projects/ruby/rubinius/vm/util/thread.hpp:448
#2 rubinius::ImmixMarker::run (this=0x1ef4d90, state=0x7ffff45bbec0) at vm/gc/immix_marker.cpp:129
#3 0x000000000060b201 in rubinius::InternalThread::run (ptr=0x1ef4d90) at vm/internal_threads.cpp:46
#4 0x00007ffff7065314 in start_thread () from /usr/lib/libpthread.so.0
#5 0x00007ffff61fa24d in clone () from /usr/lib/libc.so.6
Thread 7 (Thread 0x7ffff48f3700 (LWP 15566)):
#0 0x00007ffff706a8cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1 0x00000000008febdf in wait (this=<optimized out>, mutex=...) at /home/yorickpeterse/Private/Projects/ruby/rubinius/vm/util/thread.hpp:448
#2 rubinius::LLVMState::run (this=0x1a40420, state=0x7ffff48f2ec0) at vm/llvm/state.cpp:235
#3 0x000000000060b201 in rubinius::InternalThread::run (ptr=0x1a40420) at vm/internal_threads.cpp:46
#4 0x00007ffff7065314 in start_thread () from /usr/lib/libpthread.so.0
#5 0x00007ffff61fa24d in clone () from /usr/lib/libc.so.6
Thread 6 (Thread 0x7ffff49f4700 (LWP 15565)):
#0 0x00007ffff706d3cd in read () from /usr/lib/libpthread.so.0
#1 0x00000000009080d1 in rubinius::utilities::timer::Timer::wait_for_tick (this=<optimized out>) at vm/util/timer.cpp:122
#2 0x00000000007bc29c in rubinius::metrics::Metrics::run (this=0x1a55260, state=0x7ffff49f3ec0) at vm/metrics.cpp:455
#3 0x000000000060b201 in rubinius::InternalThread::run (ptr=0x1a55260) at vm/internal_threads.cpp:46
#4 0x00007ffff7065314 in start_thread () from /usr/lib/libpthread.so.0
#5 0x00007ffff61fa24d in clone () from /usr/lib/libc.so.6
Thread 5 (Thread 0x7ffff4af5700 (LWP 15564)):
#0 0x00007ffff706a8cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1 0x00000000005d9f6a in wait (this=<optimized out>, mutex=...) at /home/yorickpeterse/Private/Projects/ruby/rubinius/vm/util/thread.hpp:448
#2 rubinius::console::Response::run (this=0x1a42be0, state=0x7ffff4af4ec0) at vm/console.cpp:336
#3 0x000000000060b201 in rubinius::InternalThread::run (ptr=0x1a42be0) at vm/internal_threads.cpp:46
#4 0x00007ffff7065314 in start_thread () from /usr/lib/libpthread.so.0
#5 0x00007ffff61fa24d in clone () from /usr/lib/libc.so.6
Thread 4 (Thread 0x7ffff4bf6700 (LWP 15563)):
#0 0x00007ffff706d3cd in read () from /usr/lib/libpthread.so.0
#1 0x0000000000831975 in rubinius::FSEvent::wait_for_event (this=<optimized out>, state=<optimized out>) at vm/builtin/fsevent.cpp:139
#2 0x00000000005d8f9f in rubinius::console::Request::run (this=0x1dc4c50, state=0x7ffff4bf5ec0) at vm/console.cpp:156
#3 0x000000000060b201 in rubinius::InternalThread::run (ptr=0x1dc4c50) at vm/internal_threads.cpp:46
#4 0x00007ffff7065314 in start_thread () from /usr/lib/libpthread.so.0
#5 0x00007ffff61fa24d in clone () from /usr/lib/libc.so.6
Thread 3 (Thread 0x7ffff4cf7700 (LWP 15562)):
#0 0x00007ffff706a8cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1 0x00000000007d6e66 in wait (this=<optimized out>, mutex=...) at /home/yorickpeterse/Private/Projects/ruby/rubinius/vm/util/thread.hpp:448
#2 rubinius::SignalThread::run (this=0x1a3f870, state=0x7ffff4cf6ec0) at vm/signal.cpp:109
#3 0x000000000060b201 in rubinius::InternalThread::run (ptr=0x1a3f870) at vm/internal_threads.cpp:46
#4 0x00007ffff7065314 in start_thread () from /usr/lib/libpthread.so.0
#5 0x00007ffff61fa24d in clone () from /usr/lib/libc.so.6
Thread 2 (Thread 0x7ffff7f8f700 (LWP 15561)):
#0 0x00007ffff706a8cf in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1 0x0000000000893afd in wait (this=<optimized out>, mutex=...) at /home/yorickpeterse/Private/Projects/ruby/rubinius/vm/util/thread.hpp:448
#2 worker_wait (this=<optimized out>) at vm/gc/finalize.cpp:422
#3 rubinius::FinalizerThread::run (this=0x1a0fc00, state=0x7ffff7f8eec0) at vm/gc/finalize.cpp:144
#4 0x000000000060b201 in rubinius::InternalThread::run (ptr=0x1a0fc00) at vm/internal_threads.cpp:46
#5 0x00007ffff7065314 in start_thread () from /usr/lib/libpthread.so.0
#6 0x00007ffff61fa24d in clone () from /usr/lib/libc.so.6
Thread 1 (Thread 0x7ffff7fbc740 (LWP 15557)):
#0 0x0000000000877787 in get_local (this=<optimized out>, pos=0) at vm/builtin/variable_scope.cpp:174
#1 get_local_internal (this=<optimized out>, pos=<optimized out>, state=<optimized out>) at vm/builtin/variable_scope.cpp:149
#2 rubinius::VariableScope::get_local (this=<optimized out>, state=0x19b1eb0, pos=0) at vm/builtin/variable_scope.cpp:158
#3 0x00000000008776ad in rubinius::VariableScope::locals (this=0x7ffff4267ce0, state=0x19b1eb0) at vm/builtin/variable_scope.cpp:74
#4 0x00000000007a27ed in rubinius::Primitives::variable_scope_locals (state=0x19b1eb0, call_frame=0x7fffffffa9a0, exec=0x7ffff5046438, mod=0x19eeb60, args=...)
at /home/yorickpeterse/Private/Projects/ruby/rubinius/vm/gen/method_primitives.cpp:25479
#5 0x0000000000817c36 in rubinius::CallSite::empty_cache (state=0x19b1eb0, call_site=<optimized out>, call_frame=0x7fffffffa9a0, args=...) at vm/builtin/call_site.cpp:95
#6 0x00000000005eb513 in execute (this=0x19b1eb0, state=0x19b1eb0, args=<error reading variable: Cannot access memory at address 0x0>, call_frame=<optimized out>)
at /home/yorickpeterse/Private/Projects/ruby/rubinius/vm/builtin/call_site.hpp:108
#7 rubinius::MachineCode::interpreter (state=0x19b1eb0, mcode=0x1da3fb0, call_frame=0x7fffffffa9a0) at /home/yorickpeterse/Private/Projects/ruby/rubinius/vm/gen/instruction_implementations.hpp:593
#8 0x00000000008153fe in rubinius::BlockEnvironment::execute_interpreter (state=0x19b1eb0, previous=<optimized out>, env=<optimized out>, args=..., invocation=...) at vm/builtin/block_environment.cpp:488
#9 0x0000000000814ead in rubinius::BlockEnvironment::invoke (state=0x19b1eb0, previous=0x7fffffffb3b0, env=<optimized out>, args=..., invocation=...) at vm/builtin/block_environment.cpp:92
#10 0x000000000081592b in rubinius::BlockEnvironment::call_under (this=0x7ffff4267280, state=0x19b1eb0, call_frame=0x7fffffffb3b0, exec=<optimized out>, mod=<optimized out>, args=...) at vm/builtin/block_environment.cpp:554
#11 0x0000000000663156 in rubinius::Primitives::block_call_under (state=0x19b1eb0, call_frame=0x7fffffffb3b0, exec=0x7ffff506fbf8, mod=0x19e98b0, args=...)
at /home/yorickpeterse/Private/Projects/ruby/rubinius/vm/gen/method_primitives.cpp:2322
#12 0x00000000008184e6 in rubinius::CallSite::empty_cache_private (state=0x19b1eb0, call_site=<optimized out>, call_frame=0x7fffffffb3b0, args=...) at vm/builtin/call_site.cpp:127
#13 0x00000000005eb7a1 in execute (this=0x7ffff52948a0, state=0x19b1eb0, args=<error reading variable: Cannot access memory at address 0x0>, call_frame=<optimized out>)
at /home/yorickpeterse/Private/Projects/ruby/rubinius/vm/builtin/call_site.hpp:108
#14 rubinius::MachineCode::interpreter (state=0x19b1eb0, mcode=0x1c06fa0, call_frame=0x7fffffffb3b0) at /home/yorickpeterse/Private/Projects/ruby/rubinius/vm/gen/instruction_implementations.hpp:640
#15 0x00000000006472eb in rubinius::MachineCode::execute_specialized<rubinius::GenericArguments> (state=0x19b1eb0, previous=0x7fffffffbd90, exec=<optimized out>, mod=<optimized out>, args=...) at vm/machine_code.cpp:800
#16 0x0000000000817c36 in rubinius::CallSite::empty_cache (state=0x19b1eb0, call_site=<optimized out>, call_frame=0x7fffffffbd90, args=...) at vm/builtin/call_site.cpp:95
#17 0x00000000005eb513 in execute (this=0x19b1eb0, state=0x19b1eb0, args=<error reading variable: Cannot access memory at address 0x0>, call_frame=<optimized out>)
at /home/yorickpeterse/Private/Projects/ruby/rubinius/vm/builtin/call_site.hpp:108
#18 rubinius::MachineCode::interpreter (state=0x19b1eb0, mcode=0x1b756c0, call_frame=0x7fffffffbd90) at /home/yorickpeterse/Private/Projects/ruby/rubinius/vm/gen/instruction_implementations.hpp:593
#19 0x00000000006472eb in rubinius::MachineCode::execute_specialized<rubinius::GenericArguments> (state=0x19b1eb0, previous=0x7fffffffc8b0, exec=<optimized out>, mod=<optimized out>, args=...) at vm/machine_code.cpp:800
#20 0x000000000081c6cf in rubinius::CompiledCode::default_executor (state=0x19b1eb0, call_frame=0x7fffffffc8b0, exec=<optimized out>, mod=<optimized out>, args=...) at vm/builtin/compiled_code.cpp:228
#21 0x00000000008184e6 in rubinius::CallSite::empty_cache_private (state=0x19b1eb0, call_site=<optimized out>, call_frame=0x7fffffffc8b0, args=...) at vm/builtin/call_site.cpp:127
#22 0x00000000005eb513 in execute (this=0x19b1eb0, state=0x19b1eb0, args=<error reading variable: Cannot access memory at address 0x0>, call_frame=<optimized out>)
at /home/yorickpeterse/Private/Projects/ruby/rubinius/vm/builtin/call_site.hpp:108
#23 rubinius::MachineCode::interpreter (state=0x19b1eb0, mcode=0x1b755a0, call_frame=0x7fffffffc8b0) at /home/yorickpeterse/Private/Projects/ruby/rubinius/vm/gen/instruction_implementations.hpp:593
#24 0x00000000006480ba in rubinius::MachineCode::execute_specialized<rubinius::NoArguments> (state=0x19b1eb0, previous=0x7fffffffd350, exec=<optimized out>, mod=<optimized out>, args=...) at vm/machine_code.cpp:800
#25 0x000000000081c6cf in rubinius::CompiledCode::default_executor (state=0x19b1eb0, call_frame=0x7fffffffd350, exec=<optimized out>, mod=<optimized out>, args=...) at vm/builtin/compiled_code.cpp:228
#26 0x000000000081865d in rubinius::CallSite::empty_cache_vcall (state=0x19b1eb0, call_site=<optimized out>, call_frame=0x7fffffffd350, args=...) at vm/builtin/call_site.cpp:161
#27 0x00000000005eb416 in execute (this=0x19b1eb0, state=0x19b1eb0, args=<error reading variable: Cannot access memory at address 0x0>, call_frame=<optimized out>)
at /home/yorickpeterse/Private/Projects/ruby/rubinius/vm/builtin/call_site.hpp:108
#28 rubinius::MachineCode::interpreter (state=0x19b1eb0, mcode=0x1dd8000, call_frame=0x7fffffffd350) at /home/yorickpeterse/Private/Projects/ruby/rubinius/vm/gen/instruction_implementations.hpp:576
#29 0x00000000006480ba in rubinius::MachineCode::execute_specialized<rubinius::NoArguments> (state=0x19b1eb0, previous=0x0, exec=<optimized out>, mod=<optimized out>, args=...) at vm/machine_code.cpp:800
#30 0x000000000081c6cf in rubinius::CompiledCode::default_executor (state=0x19b1eb0, call_frame=0x0, exec=<optimized out>, mod=<optimized out>, args=...) at vm/builtin/compiled_code.cpp:228
#31 0x0000000000853636 in rubinius::Object::send (this=<optimized out>, state=0x19b1eb0, caller=0x0, name=<optimized out>, allow_private=<optimized out>) at vm/builtin/object.cpp:515
#32 0x00000000005e0677 in rubinius::Environment::run_from_filesystem (this=<optimized out>) at vm/environment.cpp:844
#33 0x000000000088f768 in main (argc=<optimized out>, argv=<optimized out>) at vm/drivers/cli.cpp:55
A debugging session is active.
Inferior 1 [process 15557] 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