Skip to content

Instantly share code, notes, and snippets.

@jasonLaster
Created July 24, 2012 16:28
Show Gist options
  • Save jasonLaster/3171027 to your computer and use it in GitHub Desktop.
Save jasonLaster/3171027 to your computer and use it in GitHub Desktop.
pry-debugger 1.9.2 segfault
➜ pry-debugger git:(master) ✗ bundle exec ruby examples/example_basic.rb
/Users/quintessentialbum/src/_projects/debugger/lib/ruby_debug.bundle: warning: already initialized constant VERSION
From: examples/example_basic.rb @ line 2 :
1: require 'pry'
=> 2: binding.pry
3:
4: a = 2
5: b = 3
6:
7: a ** b
[1] pry(main)> n
From: examples/example_basic.rb @ line 4 :
1: require 'pry'
2: binding.pry
3:
=> 4: a = 2
5: b = 3
6:
7: a ** b
8:
[3] pry(main)> n
examples/example_basic.rb:4: [BUG] Bus Error
ruby 1.9.2p320 (2012-04-20 revision 35421) [x86_64-darwin11.2.0]
-- control frame ----------
c:0003 p:0030 s:0008 b:0008 l:002468 d:0012d8 EVAL examples/example_basic.rb:4
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:002468 d:002468 TOP
---------------------------
-- Ruby level backtrace information ----------------------------------------
examples/example_basic.rb:4:in `<main>'
-- C level backtrace information -------------------------------------------
0 libruby.1.9.1.dylib 0x0000000103795343 rb_vm_bugreport + 120
1 libruby.1.9.1.dylib 0x00000001036514a7 report_bug + 313
2 libruby.1.9.1.dylib 0x00000001036515cc rb_bug + 241
3 libruby.1.9.1.dylib 0x0000000103710dae sigsegv + 0
4 libsystem_c.dylib 0x00007fff83e0fcfa _sigtramp + 26
5 ??? 0x00007f8cdb0ccdb0 0x0 + 140242947198384
6 libruby.1.9.1.dylib 0x000000010379b4a1 rb_threadptr_exec_event_hooks + 219
7 libruby.1.9.1.dylib 0x0000000103781b55 vm_exec_core + 9700
8 libruby.1.9.1.dylib 0x0000000103791e42 vm_exec + 147
9 libruby.1.9.1.dylib 0x0000000103792823 rb_iseq_eval_main + 45
10 libruby.1.9.1.dylib 0x0000000103656121 ruby_exec_internal + 193
11 libruby.1.9.1.dylib 0x0000000103656245 ruby_exec_node + 30
12 libruby.1.9.1.dylib 0x0000000103656218 ruby_run_node + 56
13 ruby 0x0000000103618edf main + 79
14 ruby 0x0000000103618e88 start + 52
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
@utx0
Copy link

utx0 commented May 28, 2013

Did you ever get this issue resolved? I am having this happen right now? Thanks for any help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment