Project

General

Profile

Bug #14424

Backport r59984 to ruby_2_4 and ruby_2_3

Added by jrafanie (Joe Rafaniello) over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 2.4.3p205 (2017-12-14 revision 61247) [x86_64-darwin16]
[ruby-core:85262]

Description

Please backport r59984, https://bugs.ruby-lang.org/issues/10222.

There is a memory leak in ruby 2.3 and 2.4 described here: https://bugs.ruby-lang.org/issues/14372

This backport will require backporting other changes to apply this change cleanly.

Associated revisions

Revision eaba9da1
Added by nagachika (Tomoyuki Chikanaga) over 1 year ago

merge revision(s) 59983,59984: [Backport #10222] [Backport #14372] [Backport #14424]

    file.c: rb_check_realpath

    * file.c (rb_check_realpath): returns real path which has no
      symbolic links.  similar to rb_realpath except for returning
      Qnil if any parts did not exist.

    load.c: real path to load

    * load.c (rb_construct_expanded_load_path): expand load paths to
      real paths to get rid of duplicate loading from symbolic-linked
      directories.  [Feature #10222]

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

Revision 62440
Added by nagachika (Tomoyuki Chikanaga) over 1 year ago

merge revision(s) 59983,59984: [Backport #10222] [Backport #14372] [Backport #14424]

file.c: rb_check_realpath

* file.c (rb_check_realpath): returns real path which has no
  symbolic links.  similar to rb_realpath except for returning
  Qnil if any parts did not exist.

load.c: real path to load

* load.c (rb_construct_expanded_load_path): expand load paths to
  real paths to get rid of duplicate loading from symbolic-linked
  directories.  [Feature #10222]

History

#1

Updated by jrafanie (Joe Rafaniello) over 1 year ago

  • ruby -v set to ruby 2.4.3p205 (2017-12-14 revision 61247) [x86_64-darwin16]
#2

Updated by hsbt (Hiroshi SHIBATA) over 1 year ago

  • Backport changed from 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN to 2.3: REQUIRED, 2.4: REQUIRED, 2.5: DONTNEED
  • Status changed from Open to Closed

Updated by nagachika (Tomoyuki Chikanaga) over 1 year ago

  • Backport changed from 2.3: REQUIRED, 2.4: REQUIRED, 2.5: DONTNEED to 2.3: REQUIRED, 2.4: DONE, 2.5: DONTNEED

ruby_2_4 r62440 merged revision(s) 59983,59984.

Also available in: Atom PDF