Project

General

Profile

Actions

Bug #7304

closed

Random test failures around test_autoclose_true_closed_by_finalizer

Added by luislavena (Luis Lavena) over 11 years ago. Updated over 11 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 2.0.0dev (2012-11-07 trunk 37538) [i386-mingw32]
Backport:
[ruby-core:49044]

Description

=begin
Hello,

Over the past few days I've seen on and off failures on RubyInstaller CI related to (({test_autoclose_true_closed_by_finalizer})):

http://ci.rubyinstaller.org/job/ruby-trunk-x86-test-all/265/console

  1. Error:
    test_autoclose_true_closed_by_finalizer(TestIO):
    NoMethodError: undefined method close' for 2012-11-07 04:43:41 -0300:WeakRef C:/Users/Worker/Jenkins/workspace/ruby-trunk-x86-build/test/ruby/test_io.rb:1611:in test_autoclose_true_closed_by_finalizer'

This seems to happen when the system is under heavy load (because is running other jobs in parallel).

This might be a hint of something not working properly under heavy load, perhaps the GC in effect.

I was unable to produce the same failure on x64-mingw32, and haven't tried yet OSX or Linux.

Any ideas?
=end


Files

0001-Fix-WeakRef-finalize.patch (3.42 KB) 0001-Fix-WeakRef-finalize.patch h.shirosaki (Hiroshi Shirosaki), 11/09/2012 06:33 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0