Project

General

Profile

Actions

Bug #2024

closed

memory leak in eval with TOPLEVEL_BINDING

Added by usa (Usaku NAKAMURA) about 15 years ago. Updated over 13 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
ruby 1.9.2dev (2009-08-31 trunk 24720) [i386-mswin32]
Backport:
[ruby-dev:39205]

Description

=begin
以下のスクリプトが無限にメモリを消費します。
なお1.8では問題ありませんし、TOPLEVEL_BINDINGの代わりにbindingを渡した場合も問題ありません。

loop do
eval("", TOPLEVEL_BINDING)
GC.start
end
=end

Actions #1

Updated by ko1 (Koichi Sasada) about 15 years ago

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

=begin
Applied in changeset r24726.
=end

Actions

Also available in: Atom PDF

Like0
Like0