Backport #8163

Backport r39919

Added by Narihiro Nakamura over 3 years ago. Updated over 3 years ago.



Please backport r39919 to avoid SEGV in re-defined methods.
see also:

Related issues

Related to Ruby trunk - Bug #8100: Segfault in trunk Closed 03/15/2013


#1 [ruby-core:54154] Updated by Tomoyuki Chikanaga over 3 years ago

  • Priority changed from Normal to 5

#2 [ruby-core:54187] Updated by Tomoyuki Chikanaga over 3 years ago

I'll also backport r39925 (move related test from KNOWNBUGS.rb) and r39945 (fix ChangeLog indent).

#3 [ruby-core:54189] Updated by Tomoyuki Chikanaga over 3 years ago

I've found that with r39919 and r39925 TestMethod#test_bound_method_entry wait child process forever because assert_ruby_status call invoke_ruby with capture_stdout=false. I'll add r39905 too.

#4 Updated by Tomoyuki Chikanaga over 3 years ago

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

This issue was solved with changeset r40254.
Narihiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

merge revision(s) 39905,39919,39925,39945: [Backport #8163]

* test/ruby/envutil.rb (assert_ruby_status): include stderr output.   unlinked method entry. [Bug #8100] 

* proc.c (bm_free): need to clean up the mark flag of a free and

#5 Updated by Nobuyoshi Nakada over 3 years ago

  • Project changed from Backport200 to Backport193
  • Status changed from Closed to Assigned
  • Assignee changed from Tomoyuki Chikanaga to Usaku NAKAMURA

#6 [ruby-core:54975] Updated by Usaku NAKAMURA over 3 years ago

These patches can be applied to ruby_1_9_3, but they block test_method.rb.
I'll check more deeply later...

Also available in: Atom PDF