From: Peter Weldon Date: 2010-09-01T00:14:58+09:00 Subject: [ruby-core:31968] [Ruby 1.9-Bug#3772][Open] SEGV: ruby -rprofile test/ruby/test_method.rb Bug #3772: SEGV: ruby -rprofile test/ruby/test_method.rb http://redmine.ruby-lang.org/issues/show/3772 Author: Peter Weldon Status: Open, Priority: Normal ruby -v: ruby 1.9.3dev (2010-08-31) [i386-mswin32_100] Bad interaction between each and tracing (profile, rcov, etc)? Similar to #3750, #3722, #3766. > ruby -rprofile test/ruby/test_method.rb Loaded suite ../ruby/test/ruby/test_method Started .......................... % cumulative self self total time seconds seconds calls ms/call ms/call name 21.59 0.16 0.16 13 11.92 42.00 Kernel.gem_original_require [...snip...] 0.00 0.70 0.00 1 0.00 0.00 TestMethod#test_caller_top_level 0.00 0.70 0.00 2 0.00 0.00 Method#clone 0.00 0.70 0.00 1 0.00 0.00 #.foo 0.00 0.70 0.00 1 debug/install/lib/ruby/1.9.1/profiler.rb:50: [BUG] Segmentation fault ruby 1.9.3dev (2010-08-31) [i386-mswin32_100] -- control frame ---------- c:0008 p:0012 s:0033 b:0032 l:000031 d:000031 METHOD debug/install/lib/ruby/1.9.1/profiler.rb:50 c:0007 p:0115 s:0026 b:0022 l:001378 d:000021 BLOCK debug/install/lib/ruby/1.9.1/profiler.rb:44 c:0006 p:---- s:0019 b:0019 l:000018 d:000018 FINISH c:0005 p:---- s:0017 b:0017 l:000016 d:000016 CFUNC :each c:0004 p:0119 s:0014 b:0014 l:001378 d:001378 METHOD debug/install/lib/ruby/1.9.1/profiler.rb:41 c:0003 p:0022 s:0006 b:0006 l:0022dc d:000cd4 BLOCK debug/install/lib/ruby/1.9.1/profile.rb:8 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:00095c d:00095c TOP --------------------------- -- Ruby level backtrace information ---------------------------------------- debug/install/lib/ruby/1.9.1/profile.rb:8:in `block in ' debug/install/lib/ruby/1.9.1/profiler.rb:41:in `print_profile' debug/install/lib/ruby/1.9.1/profiler.rb:41:in `each' debug/install/lib/ruby/1.9.1/profiler.rb:44:in `block in print_profile' debug/install/lib/ruby/1.9.1/profiler.rb:50:in `get_name' [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 R6010 - abort() has been called ---------------------------------------- http://redmine.ruby-lang.org