ruby-changes:28181
From: naruse <ko1@a...>
Date: Thu, 11 Apr 2013 15:35:52 +0900 (JST)
Subject: [ruby-changes:28181] naruse:r40233 (trunk): Experimental fix for ffi_closure_free causes dumping core/SEGV
naruse 2013-04-11 15:35:43 +0900 (Thu, 11 Apr 2013) New Revision: 40233 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40233 Log: Experimental fix for ffi_closure_free causes dumping core/SEGV http://u64.rubyci.org/~chkbuild/ruby-trunk/log/20130411T041301Z.log.html.gz#test%2F-ext- Modified files: trunk/test/dl/test_base.rb trunk/test/fiddle/helper.rb Index: test/fiddle/helper.rb =================================================================== --- test/fiddle/helper.rb (revision 40232) +++ test/fiddle/helper.rb (revision 40233) @@ -109,5 +109,10 @@ module Fiddle https://github.com/ruby/ruby/blob/trunk/test/fiddle/helper.rb#L109 @libc = Fiddle.dlopen(LIBC_SO) @libm = Fiddle.dlopen(LIBM_SO) end + + def teardown + if /linux/ =~ RUBY_PLATFORM + GC.start + end end end Index: test/dl/test_base.rb =================================================================== --- test/dl/test_base.rb (revision 40232) +++ test/dl/test_base.rb (revision 40233) @@ -130,5 +130,10 @@ module DL https://github.com/ruby/ruby/blob/trunk/test/dl/test_base.rb#L130 def test_empty() end + + def teardown + if /linux/ =~ RUBY_PLATFORM + GC.start + end end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/