Backport #8163

Backport r39919

Added by Narihiro Nakamura over 2 years ago. Updated about 2 years ago.

[ruby-core:53709]
Status:Assigned
Priority:Normal
Assignee:Usaku NAKAMURA

Description

Please backport r39919 to avoid SEGV in re-defined methods.
see also: https://bugs.ruby-lang.org/issues/8100


Related issues

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

History

#1 Updated by Tomoyuki Chikanaga over 2 years ago

  • Priority changed from Normal to 5

#2 Updated by Tomoyuki Chikanaga over 2 years ago

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

#3 Updated by Tomoyuki Chikanaga over 2 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 2 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 2 years ago

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

#6 Updated by Usaku NAKAMURA about 2 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