Project

General

Profile

Backport #8163

Backport r39919

Added by authorNari (Narihiro Nakamura) over 6 years ago. Updated about 2 years ago.

Status:
Rejected
Priority:
Normal
[ruby-core:53709]

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 master - Bug #8100: Segfault in trunkClosed03/15/2013Actions

Associated revisions

Revision 44212576
Added by nagachika (Tomoyuki Chikanaga) over 6 years ago

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

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

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

History

Updated by nagachika (Tomoyuki Chikanaga) over 6 years ago

  • Priority changed from Normal to 5

Updated by nagachika (Tomoyuki Chikanaga) over 6 years ago

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

Updated by nagachika (Tomoyuki Chikanaga) over 6 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 nagachika (Tomoyuki Chikanaga) over 6 years 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] [ruby-core:53439]

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

Updated by nobu (Nobuyoshi Nakada) over 6 years ago

  • Project changed from Backport200 to Backport193
  • Status changed from Closed to Assigned
  • Assignee changed from nagachika (Tomoyuki Chikanaga) to usa (Usaku NAKAMURA)

Updated by usa (Usaku NAKAMURA) over 6 years ago

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

Updated by usa (Usaku NAKAMURA) about 2 years ago

  • Status changed from Assigned to Rejected

1.9.3 is out of date

Also available in: Atom PDF