Backport #8163

Backport r39919

Added by Narihiro Nakamura about 1 year ago. Updated 12 months ago.

[ruby-core:53709]
Status:Assigned
Priority:High
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 about 1 year ago

  • Priority changed from Normal to High

#2 Updated by Tomoyuki Chikanaga about 1 year ago

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

#3 Updated by Tomoyuki Chikanaga about 1 year ago

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

#4 Updated by Tomoyuki Chikanaga about 1 year ago

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

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 12 months ago

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

#6 Updated by Usaku NAKAMURA 12 months ago

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

Also available in: Atom PDF