Project

General

Profile

Bug #7523

test_modify_expand_memory_leak(Test_StringModifyExpand) fails

Added by Heesob Park about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
ruby -v:
ruby 2.0.0dev (2012-12-06 trunk 38223) [x64-mingw32]
Backport:
2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
[ruby-core:50599]

Description

I can see following failure with x64-mingw32 on Windows 7.

50) Failure:
test_modify_expand_memory_leak(Test_StringModifyExpand) [c:/work/snapshot-mg64/test/-ext-/string/test_modify_expand.rb:7]:rb_str_modify_expand().
<[true, ""]> expected but was
<[false, "c:/work/snapshot-mg64/test/ruby/memory_status.rb:25:in rescue in <module:Memory>': undefined methodsuppress_warning' for Memory:Module (NoMethodError)\n\tfrom c:/work/snapshot-mg64/test/ruby/memory_status.rb:20:in <module:Memory>'\n\tfrom c:/work/snapshot-mg64/test/ruby/memory_status.rb:3:in'\n\tfrom -:1:in `require'\n"]>.

Associated revisions

Revision 38233
Added by Nobuyoshi Nakada about 3 years ago

memory_status.rb: EnvUtil

  • test/ruby/memory_status.rb (Memory): suppress_warning is in EnvUtil. [Bug #7523]

Revision 38233
Added by Nobuyoshi Nakada about 3 years ago

memory_status.rb: EnvUtil

  • test/ruby/memory_status.rb (Memory): suppress_warning is in EnvUtil. [Bug #7523]

History

#1 [ruby-core:50600] Updated by Luis Lavena about 3 years ago

  • Category set to test
  • Status changed from Open to Assigned
  • Assignee set to Koichi Sasada
  • Target version set to 2.0.0

#2 Updated by Nobuyoshi Nakada about 3 years ago

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

This issue was solved with changeset r38233.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


memory_status.rb: EnvUtil

  • test/ruby/memory_status.rb (Memory): suppress_warning is in EnvUtil. [Bug #7523]

Also available in: Atom PDF