Project

General

Profile

Actions

Bug #4178

closed

test/rubygems/gemutilities.rb で、よくわからない ArgumentError

Added by metanest (Makoto Kishimoto) almost 14 years ago. Updated over 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.3dev (2010-12-21 trunk 30285) [x86_64-freebsd8.2]
Backport:
[ruby-dev:42832]

Description

=begin
(bisectによれば)trunk の r29064 以降、test-all でたまに発生しているのですが、
(たとえば http://mrkn.jp/chkbuild/ruby-trunk/log/20100925T163004Z.diff.html.gz
) Error:
+test_install_ignore_dependencies(TestGemDependencyInstaller):
+ArgumentError: wrong number of arguments (0 for 1)

  • /Users/chkbuild/build/ruby-trunk//ruby/test/rubygems/gemutilities.rb:276:in `block (2 levels) in util_build_gem'
  • /Users/chkbuild/build/ruby-trunk//ruby/test/rubygems/gemutilities.rb:275:in `block in util_build_gem'
  • /Users/chkbuild/build/ruby-trunk//ruby/test/rubygems/gemutilities.rb:268:in `chdir'
  • /Users/chkbuild/build/ruby-trunk//ruby/test/rubygems/gemutilities.rb:268:in `util_build_gem'
  • /Users/chkbuild/build/ruby-trunk//ruby/test/rubygems/gemutilities.rb:293:in `util_gem'
  • /Users/chkbuild/build/ruby-trunk//ruby/test/rubygems/test_gem_dependency_installer.rb:50:in `setup'
  • ./test/runner.rb:17:in `'

    こんな感じで、test/rubygems/gemutilities.rb で、よくわからない ArgumentError が起きます。
    TESTS に --gc-stress を付けたり、以下のようなスクリプトでほぼ100%再現します。

require_relative "test/rubygems/gemutilities"
class TestHoge < RubyGemTestCase
def setup
super
GC.stress = true
util_setup_fake_fetcher
end

def test_hoge
end
end
=end


Related issues 2 (0 open2 closed)

Related to Ruby master - Bug #3136: reuse of singleton method definition causes SEGVClosedko1 (Koichi Sasada)04/12/2010Actions
Related to Ruby master - Bug #5762: Bug#4178 が sparc Solaris 10 + Oracle Solaris Studio 12.2 で再発Closed12/15/2011Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0