Project

General

Profile

Actions

Backport #3772

closed

SEGV: ruby -rprofile test/ruby/test_method.rb

Added by pweldon (Peter Weldon) over 13 years ago. Updated almost 13 years ago.

Status:
Closed
Assignee:
-
[ruby-core:31968]

Description

=begin
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 #Object:0x1402030.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 <top (required)>' 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
    =end
Actions #1

Updated by pweldon (Peter Weldon) over 13 years ago

=begin
Resolved by r29155.
=end

Actions #2

Updated by yugui (Yuki Sonoda) over 13 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r29574.
Peter, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Actions

Also available in: Atom PDF

Like0
Like0Like0