[#35027] [Ruby 1.9-Bug#4352][Open] [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s) — "James M. Lawrence" <redmine@...>

Bug #4352: [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)

16 messages 2011/02/01

[#35114] [Ruby 1.9-Bug#4373][Open] http.rb:677: [BUG] Segmentation fault — Christian Fazzini <redmine@...>

Bug #4373: http.rb:677: [BUG] Segmentation fault

59 messages 2011/02/06

[#35171] [Ruby 1.9-Bug#4386][Open] encoding: directive does not affect regex expressions — mathew murphy <redmine@...>

Bug #4386: encoding: directive does not affect regex expressions

9 messages 2011/02/09

[#35237] [Ruby 1.9-Bug#4400][Open] nested at_exit hooks run in strange order — Suraj Kurapati <redmine@...>

Bug #4400: nested at_exit hooks run in strange order

12 messages 2011/02/15

[ruby-core:35125] [Ruby 1.9-Bug#4355] Segmentation Fault

From: Bob Gustafson <redmine@...>
Date: 2011-02-06 23:03:27 UTC
List: ruby-core #35125
Issue #4355 has been updated by Bob Gustafson.

File debugBug02.txt added

It crashed again - I was about to start a debugging session on code that I hadn't debugged before. I am running in RubyMine.

It seems that the bug may be related to the previous bug, but perhaps the log file shows a different view..
----------------------------------------
http://redmine.ruby-lang.org/issues/show/4355

----------------------------------------
http://redmine.ruby-lang.org

Attachments (1)

debugBug02.txt (9.76 KB, text/plain)
/home/user1/.rvm/rubies/ruby-1.9.2-p136/bin/ruby -e at_exit{sleep(1)};$stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/bin/rdebug-ide --port 55649 -- /home/user1/RubymineProjects/RSSreader/script/rails server -p 3001 -b 0.0.0.0 -e development
Fast Debugger (ruby-debug-ide 0.4.15, ruby-debug-base 0.11.25.jb3) listens on 127.0.0.1:55649
[]In Bundle.setup
In Bundle.setup after groups.empty? test
In Bundle.load root = /home/user1/RubymineProjects/RSSreader, definition = #<Bundler::Definition:0x000000025a35a0>
In Bundle.setup after @setup = #<Bundler::Runtime:0x00000002cbcff8>
[:default, "development"]In Bundle.setup   #<Bundler::Runtime:0x00000002cbcff8>
=> Booting WEBrick
=> Rails 3.0.3 application starting in development on http://0.0.0.0:3001
=> Call with -d to detach
=> Ctrl-C to shutdown server
/home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug/xml_printer.rb:50: [BUG] Segmentation fault
ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-linux]

-- control frame ----------
c:0025 p:---- s:0096 b:0096 l:000095 d:000095 CFUNC  :frame_file
c:0024 p:0014 s:0092 b:0092 l:000091 d:000091 METHOD /home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug/xml_printer.rb:50
c:0023 p:0018 s:0085 b:0085 l:000070 d:000084 BLOCK  /home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug/xml_printer.rb:39
c:0022 p:---- s:0082 b:0082 l:000081 d:000081 FINISH
c:0021 p:---- s:0080 b:0080 l:000079 d:000079 CFUNC  :each
c:0020 p:0023 s:0077 b:0077 l:000070 d:000076 BLOCK  /home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug/xml_printer.rb:38
c:0019 p:0028 s:0075 b:0075 l:000074 d:000074 METHOD /home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug/xml_printer.rb:253
c:0018 p:0013 s:0071 b:0071 l:000070 d:000070 METHOD /home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug/xml_printer.rb:37
c:0017 p:0034 s:0066 b:0066 l:000065 d:000065 METHOD /home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug/command.rb:85
c:0016 p:---- s:0060 b:0060 l:000059 d:000059 FINISH
c:0015 p:0029 s:0058 b:0058 l:000057 d:000057 METHOD /home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug/commands/frame.rb:41
c:0014 p:0103 s:0055 b:0055 l:000036 d:000054 BLOCK  /home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug/processor.rb:78
c:0013 p:---- s:0050 b:0050 l:000049 d:000049 FINISH
c:0012 p:---- s:0048 b:0048 l:000047 d:000047 CFUNC  :each
c:0011 p:0020 s:0045 b:0045 l:000036 d:000044 BLOCK  /home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug/processor.rb:71
c:0010 p:---- s:0043 b:0043 l:000042 d:000042 FINISH
c:0009 p:---- s:0041 b:0041 l:000040 d:000040 CFUNC  :catch
c:0008 p:0196 s:0037 b:0037 l:000036 d:000036 METHOD /home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug/processor.rb:70
c:0007 p:0042 s:0027 b:0027 l:000017 d:000026 BLOCK  /home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug/processor.rb:39
c:0006 p:---- s:0024 b:0024 l:000023 d:000023 FINISH
c:0005 p:---- s:0022 b:0022 l:000021 d:000021 CFUNC  :catch
c:0004 p:0119 s:0018 b:0018 l:000017 d:000017 METHOD /home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug/processor.rb:35
c:0003 p:0169 s:0011 b:0011 l:000a88 d:000010 BLOCK  /home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug-ide.rb:140
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 ----------------------------------------
/home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug-ide.rb:140:in `block in start_control'
/home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug/processor.rb:35:in `process_commands'
/home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug/processor.rb:35:in `catch'
/home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug/processor.rb:39:in `block in process_commands'
/home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug/processor.rb:70:in `process_context_commands'
/home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug/processor.rb:70:in `catch'
/home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug/processor.rb:71:in `block in process_context_commands'
/home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug/processor.rb:71:in `each'
/home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug/processor.rb:78:in `block (2 levels) in process_context_commands'
/home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug/commands/frame.rb:41:in `execute'
/home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug/command.rb:85:in `method_missing'
/home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug/xml_printer.rb:37:in `print_frames'
/home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug/xml_printer.rb:253:in `print_element'
/home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug/xml_printer.rb:38:in `block in print_frames'
/home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug/xml_printer.rb:38:in `each'
/home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug/xml_printer.rb:39:in `block (2 levels) in print_frames'
/home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug/xml_printer.rb:50:in `print_frame'
/home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-ide-0.4.15/lib/ruby-debug/xml_printer.rb:50:in `frame_file'

-- C level backtrace information -------------------------------------------
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(rb_vm_bugreport+0x5f) [0x7f12617c21ff]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(+0x5fe34) [0x7f12616a1e34]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(rb_bug+0xb3) [0x7f12616a2d63]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(+0x1135e5) [0x7f12617555e5]
/lib64/libpthread.so.0() [0x362bc0f3c0]
/home/user1/.rvm/gems/ruby-1.9.2-p136@global/gems/ruby-debug-base19-0.11.25.jb3/lib/ruby_debug.so(+0x5537) [0x7f125aa4f537]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(+0x17a0a6) [0x7f12617bc0a6]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(+0x16fc2e) [0x7f12617b1c2e]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(+0x17604b) [0x7f12617b804b]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(rb_yield+0x47) [0x7f12617bcf57]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(+0xdc191) [0x7f126171e191]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(+0x17a0a6) [0x7f12617bc0a6]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(+0x16fc2e) [0x7f12617b1c2e]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(+0x17604b) [0x7f12617b804b]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(+0x177328) [0x7f12617b9328]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(+0x177ae6) [0x7f12617b9ae6]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(+0x17a21d) [0x7f12617bc21d]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(+0x16fc2e) [0x7f12617b1c2e]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(+0x17604b) [0x7f12617b804b]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(rb_yield+0x47) [0x7f12617bcf57]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(rb_ary_each+0x46) [0x7f12616712d6]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(+0x17a0a6) [0x7f12617bc0a6]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(+0x16fc2e) [0x7f12617b1c2e]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(+0x17604b) [0x7f12617b804b]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(+0x17adf1) [0x7f12617bcdf1]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(rb_catch_obj+0xc6) [0x7f12617affc6]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(+0x16e07e) [0x7f12617b007e]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(+0x17a0a6) [0x7f12617bc0a6]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(+0x16fc2e) [0x7f12617b1c2e]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(+0x17604b) [0x7f12617b804b]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(+0x17adf1) [0x7f12617bcdf1]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(rb_catch_obj+0xc6) [0x7f12617affc6]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(+0x16e07e) [0x7f12617b007e]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(+0x17a0a6) [0x7f12617bc0a6]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(+0x16fc2e) [0x7f12617b1c2e]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(+0x17604b) [0x7f12617b804b]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(rb_vm_invoke_proc+0xa1) [0x7f12617b8ec1]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(+0x186c13) [0x7f12617c8c13]
/home/user1/.rvm/rubies/ruby-1.9.2-p136/lib/libruby.so.1.9(+0x186d20) [0x7f12617c8d20]
/lib64/libpthread.so.0() [0x362bc06d5b]
/lib64/libc.so.6(clone+0x6d) [0x362b8e4a7d]

[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


Process finished with exit code 134

In This Thread