Project

General

Profile

Actions

Bug #3826

closed

Repeatable SEGV(seg fault) with ruby-debug19/ruby-debug-ide

Added by baldmark (Mark Chapman) over 14 years ago. Updated over 13 years ago.

Status:
Third Party's Issue
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-linux]
Backport:
[ruby-core:32366]

Description

=begin
Everything that came up is below. I will take a snapshot of my code in case anyone wants it.

/usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug/xml_printer.rb:50: [BUG] Segmentation fault
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-linux]

-- control frame ----------
c:0025 p:---- s:0095 b:0095 l:000094 d:000094 CFUNC :frame_file
c:0024 p:0014 s:0091 b:0091 l:000090 d:000090 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug/xml_printer.rb:50
c:0023 p:0018 s:0084 b:0084 l:000069 d:000083 BLOCK /usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug/xml_printer.rb:39
c:0022 p:---- s:0081 b:0081 l:000080 d:000080 FINISH
c:0021 p:---- s:0079 b:0079 l:000078 d:000078 CFUNC :each
c:0020 p:0023 s:0076 b:0076 l:000069 d:000075 BLOCK /usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug/xml_printer.rb:38
c:0019 p:0028 s:0074 b:0074 l:000073 d:000073 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug/xml_printer.rb:253
c:0018 p:0013 s:0070 b:0070 l:000069 d:000069 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug/xml_printer.rb:37
c:0017 p:0034 s:0065 b:0065 l:000064 d:000064 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug/command.rb:85
c:0016 p:---- s:0059 b:0059 l:000058 d:000058 FINISH
c:0015 p:0029 s:0057 b:0057 l:000056 d:000056 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug/commands/frame.rb:41
c:0014 p:0103 s:0054 b:0054 l:000035 d:000053 BLOCK /usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug/processor.rb:74
c:0013 p:---- s:0049 b:0049 l:000048 d:000048 FINISH
c:0012 p:---- s:0047 b:0047 l:000046 d:000046 CFUNC :each
c:0011 p:0020 s:0044 b:0044 l:000035 d:000043 BLOCK /usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug/processor.rb:67
c:0010 p:---- s:0042 b:0042 l:000041 d:000041 FINISH
c:0009 p:---- s:0040 b:0040 l:000039 d:000039 CFUNC :catch
c:0008 p:0196 s:0036 b:0036 l:000035 d:000035 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug/processor.rb:66
c:0007 p:0042 s:0026 b:0026 l:000016 d:000025 BLOCK /usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug/processor.rb:35
c:0006 p:---- s:0023 b:0023 l:000022 d:000022 FINISH
c:0005 p:---- s:0021 b:0021 l:000020 d:000020 CFUNC :catch
c:0004 p:0119 s:0017 b:0017 l:000016 d:000016 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug/processor.rb:31
c:0003 p:0149 s:0010 b:0010 l:0023e8 d:000009 BLOCK /usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug-ide.rb:160
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:---- s:0002 b:0002 l:000001 d:000001 TOP

-- Ruby level backtrace information ----------------------------------------
/usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug-ide.rb:160:in block in start_control' /usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug/processor.rb:31:in process_commands'
/usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug/processor.rb:31:in catch' /usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug/processor.rb:35:in block in process_commands'
/usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug/processor.rb:66:in process_context_commands' /usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug/processor.rb:66:in catch'
/usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug/processor.rb:67:in block in process_context_commands' /usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug/processor.rb:67:in each'
/usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug/processor.rb:74:in block (2 levels) in process_context_commands' /usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug/commands/frame.rb:41:in execute'
/usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug/command.rb:85:in method_missing' /usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug/xml_printer.rb:37:in print_frames'
/usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug/xml_printer.rb:253:in print_element' /usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug/xml_printer.rb:38:in block in print_frames'
/usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug/xml_printer.rb:38:in each' /usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug/xml_printer.rb:39:in block (2 levels) in print_frames'
/usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug/xml_printer.rb:50:in print_frame' /usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-ide19-0.4.12/lib/ruby-debug/xml_printer.rb:50:in frame_file'

-- C level backtrace information -------------------------------------------
/usr/local/bin/ruby(rb_vm_bugreport+0x9e) [0x522bee]
/usr/local/bin/ruby() [0x563f98]
/usr/local/bin/ruby(rb_bug+0xb1) [0x564131]
/usr/local/bin/ruby() [0x4b1df8]
/lib/libpthread.so.0(+0xf8f0) [0x7f29890218f0]
/usr/local/lib/ruby/gems/1.9.1/gems/ruby-debug-base19-0.11.24/lib/ruby_debug.so(+0x71dc) [0x7f298778c1dc]
/usr/local/bin/ruby() [0x5190a7]
/usr/local/bin/ruby() [0x51a7f2]
/usr/local/bin/ruby() [0x51f289]
/usr/local/bin/ruby(rb_yield+0x66) [0x5208f6]
/usr/local/bin/ruby() [0x47f1f1]
/usr/local/bin/ruby() [0x5190a7]
/usr/local/bin/ruby() [0x51a7f2]
/usr/local/bin/ruby() [0x51f289]
/usr/local/bin/ruby() [0x51258b]
/usr/local/bin/ruby() [0x51891e]
/usr/local/bin/ruby() [0x518f60]
/usr/local/bin/ruby() [0x51a7f2]
/usr/local/bin/ruby() [0x51f289]
/usr/local/bin/ruby(rb_yield+0x66) [0x5208f6]
/usr/local/bin/ruby(rb_ary_each+0x45) [0x5325a5]
/usr/local/bin/ruby() [0x5190a7]
/usr/local/bin/ruby() [0x51a7f2]
/usr/local/bin/ruby() [0x51f289]
/usr/local/bin/ruby() [0x52061e]
/usr/local/bin/ruby(rb_catch_obj+0xbe) [0x50c6ee]
/usr/local/bin/ruby() [0x50d9ba]
/usr/local/bin/ruby() [0x5190a7]
/usr/local/bin/ruby() [0x51a7f2]
/usr/local/bin/ruby() [0x51f289]
/usr/local/bin/ruby() [0x52061e]
/usr/local/bin/ruby(rb_catch_obj+0xbe) [0x50c6ee]
/usr/local/bin/ruby() [0x50d9ba]
/usr/local/bin/ruby() [0x5190a7]
/usr/local/bin/ruby() [0x51a7f2]
/usr/local/bin/ruby() [0x51f289]
/usr/local/bin/ruby(rb_vm_invoke_proc+0xa1) [0x512021]
/usr/local/bin/ruby() [0x527fbf]
/usr/local/bin/ruby() [0x52807e]
/lib/libpthread.so.0(+0x69ca) [0x7f29890189ca]
/lib/libc.so.6(clone+0x6d) [0x7f29884ad6fd]

[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
=end


Related issues 4 (0 open4 closed)

Has duplicate Ruby master - Bug #3976: ruby/1.9.1/webrick/server.rb:90: [BUG] Segmentation faultThird Party's Issuenahi (Hiroshi Nakamura)10/23/2010Actions
Has duplicate Ruby master - Bug #4355: Segmentation FaultThird Party's Issue02/02/2011Actions
Has duplicate Ruby master - Bug #4435: Step over/step into extend statement causes bus error in ruby 1.9.2p180Third Party's Issue02/24/2011Actions
Has duplicate Ruby master - Bug #4817: Seg Fault Around xml_printer.rbThird Party's Issue06/03/2011Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0