From: sakiyama shin Date: 2010-06-02T21:32:29+09:00 Subject: [ruby-dev:41514] [Bug #3379] test-all Segmentation fault on x64-mswin64 Bug #3379: test-all Segmentation fault on x64-mswin64 http://redmine.ruby-lang.org/issues/show/3379 起票者: sakiyama shin ステータス: Open, 優先度: Normal Target version: 1.9.2 ruby -v: ruby 1.9.2dev (2010-05-31) [x64-mswin64_90] ruby-1.9.2-preview3 x64-mswin64でtest-allが実行できません。 dl.hのDLSTACK_TYPEをlongから_int64へ変更すると動きます。 Z:\ruby-1.9.2-preview3\build>nmake test-all Microsoft(R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. .\ruby.exe -I../lib -I".ext/x64-mswin64_90" "../tool/runruby.rb" --extou t=".ext" -- "../test/runner.rb" Z:/ruby-1.9.2-preview3/build/.ext/common/dl/func.rb:59: [BUG] Segmentation fault ruby 1.9.2dev (2010-05-31) [x64-mswin64_90] -- control frame ---------- c:0025 p:---- s:0106 b:0106 l:000105 d:000105 CFUNC :call c:0024 p:0117 s:0102 b:0102 l:000101 d:000101 METHOD Z:/ruby-1.9.2-preview3/buil d/.ext/common/dl/func.rb:59 c:0023 p:0056 s:0095 b:0094 l:000093 d:000093 METHOD Z:/ruby-1.9.2-preview3/buil d/.ext/common/win32/registry.rb:284 c:0022 p:0022 s:0086 b:0086 l:000085 d:000085 METHOD Z:/ruby-1.9.2-preview3/buil d/.ext/common/win32/registry.rb:587 c:0021 p:0027 s:0079 b:0079 l:000078 d:000078 METHOD Z:/ruby-1.9.2-preview3/buil d/.ext/common/win32/registry.rb:647 c:0020 p:0013 s:0073 b:0073 l:000da8 d:000072 BLOCK Z:/ruby-1.9.2-preview3/buil d/.ext/common/win32/resolv.rb:55 c:0019 p:0109 s:0070 b:0070 l:000069 d:000069 METHOD Z:/ruby-1.9.2-preview3/buil d/.ext/common/win32/registry.rb:389 c:0018 p:0044 s:0061 b:0061 l:000060 d:000060 METHOD Z:/ruby-1.9.2-preview3/buil d/.ext/common/win32/registry.rb:496 c:0017 p:0026 s:0054 b:0054 l:000da8 d:000da8 METHOD Z:/ruby-1.9.2-preview3/buil d/.ext/common/win32/resolv.rb:54 c:0016 p:0011 s:0051 b:0051 l:000050 d:000050 METHOD Z:/ruby-1.9.2-preview3/buil d/.ext/common/win32/resolv.rb:14 c:0015 p:0044 s:0047 b:0047 l:000046 d:000046 CLASS Z:/ruby-1.9.2-preview3/lib/ resolv.rb:170 c:0014 p:0258 s:0045 b:0045 l:000044 d:000044 CLASS Z:/ruby-1.9.2-preview3/lib/ resolv.rb:167 c:0013 p:0072 s:0043 b:0043 l:000042 d:000042 TOP Z:/ruby-1.9.2-preview3/lib/ resolv.rb:37 c:0012 p:---- s:0041 b:0041 l:000040 d:000040 FINISH c:0011 p:---- s:0039 b:0039 l:000038 d:000038 CFUNC :require c:0010 p:0023 s:0035 b:0035 l:000034 d:000034 TOP Z:/ruby-1.9.2-preview3/test /resolv/test_addr.rb:2 c:0009 p:---- s:0033 b:0033 l:000032 d:000032 FINISH c:0008 p:---- s:0031 b:0031 l:000030 d:000030 CFUNC :require c:0007 p:0077 s:0027 b:0027 l:000016 d:000026 BLOCK Z:/ruby-1.9.2-preview3/lib/ test/unit.rb:55 c:0006 p:---- s:0022 b:0022 l:000021 d:000021 FINISH c:0005 p:---- s:0020 b:0020 l:000019 d:000019 CFUNC :each c:0004 p:0290 s:0017 b:0017 l:000016 d:000016 METHOD Z:/ruby-1.9.2-preview3/lib/ test/unit.rb:49 c:0003 p:0114 s:0008 b:0008 l:001018 d:001158 EVAL ../test/runner.rb:9 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:001018 d:001018 TOP --------------------------- -- Ruby level backtrace information ---------------------------------------- ../test/runner.rb:9:in `
' Z:/ruby-1.9.2-preview3/lib/test/unit.rb:49:in `setup_argv' Z:/ruby-1.9.2-preview3/lib/test/unit.rb:49:in `each' Z:/ruby-1.9.2-preview3/lib/test/unit.rb:55:in `block in setup_argv' Z:/ruby-1.9.2-preview3/lib/test/unit.rb:55:in `require' Z:/ruby-1.9.2-preview3/test/resolv/test_addr.rb:2:in `' Z:/ruby-1.9.2-preview3/test/resolv/test_addr.rb:2:in `require' Z:/ruby-1.9.2-preview3/lib/resolv.rb:37:in `' Z:/ruby-1.9.2-preview3/lib/resolv.rb:167:in `' Z:/ruby-1.9.2-preview3/lib/resolv.rb:170:in `' Z:/ruby-1.9.2-preview3/build/.ext/common/win32/resolv.rb:14:in `get_hosts_path' Z:/ruby-1.9.2-preview3/build/.ext/common/win32/resolv.rb:54:in `get_hosts_dir' Z:/ruby-1.9.2-preview3/build/.ext/common/win32/registry.rb:496:in `open' Z:/ruby-1.9.2-preview3/build/.ext/common/win32/registry.rb:389:in `open' Z:/ruby-1.9.2-preview3/build/.ext/common/win32/resolv.rb:55:in `block in get_hos ts_dir' Z:/ruby-1.9.2-preview3/build/.ext/common/win32/registry.rb:647:in `read_s_expand ' Z:/ruby-1.9.2-preview3/build/.ext/common/win32/registry.rb:587:in `read' Z:/ruby-1.9.2-preview3/build/.ext/common/win32/registry.rb:284:in `QueryValue' Z:/ruby-1.9.2-preview3/build/.ext/common/dl/func.rb:59:in `call' Z:/ruby-1.9.2-preview3/build/.ext/common/dl/func.rb:59:in `call' [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. NMAKE : fatal error U1077: '.\ruby.exe' : リターン コード '0x3' Stop. ---------------------------------------- http://redmine.ruby-lang.org