Forum: Ruby-core [ruby-trunk - Bug #7523][Open] test_modify_expand_memory_leak(Test_StringModifyExpand) fails

Posted by Heesob Park (phasis)
on 2012-12-06 02:44
(Received via mailing list)
Issue #7523 has been reported by phasis68 (Heesob Park).

----------------------------------------
Bug #7523: test_modify_expand_memory_leak(Test_StringModifyExpand) fails
https://bugs.ruby-lang.org/issues/7523

Author: phasis68 (Heesob Park)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 2.0.0dev (2012-12-06 trunk 38223) [x64-mingw32]


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 method `suppress_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 `<top 
(required)>'\n\tfrom -:1:in `require'\n"]>.
Posted by Luis Lavena (luislavena)
on 2012-12-06 02:56
(Received via mailing list)
Issue #7523 has been updated by luislavena (Luis Lavena).

Category set to test
Status changed from Open to Assigned
Assignee set to ko1 (Koichi Sasada)
Target version set to 2.0.0


----------------------------------------
Bug #7523: test_modify_expand_memory_leak(Test_StringModifyExpand) fails
https://bugs.ruby-lang.org/issues/7523#change-34439

Author: phasis68 (Heesob Park)
Status: Assigned
Priority: Normal
Assignee: ko1 (Koichi Sasada)
Category: test
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-12-06 trunk 38223) [x64-mingw32]


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 method `suppress_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 `<top 
(required)>'\n\tfrom -:1:in `require'\n"]>.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.