Project

General

Profile

Actions

Bug #2388

closed

test-all 中に popen で ruby.exe が落ちる

Added by mrkn (Kenta Murata) about 15 years ago. Updated over 13 years ago.

Status:
Rejected
Target version:
ruby -v:
ruby 1.9.2dev (2009-11-20 trunk 25868) [i386-mswin32_90]
Backport:

Description

=begin
開発環境は Visual Studio 2008 Express Edition です。
以下に nmake test-all のログを添付します。

C:\src\ruby.git\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/i386-mswin32_90" "../tool/runruby.rb" --exto

ut=".ext" -- "../test/runner.rb"
Gem::Indexer tests are being skipped. Install builder gem.
C:/src/ruby.git/test/test_syslog.rb: no such file to load -- syslog
Loaded suite ../test/runner
Started
................................................................................
.............F........................F..............................EE.........
.E.................................................................EFFFFE.......
................................................................EEE.EEEEE.EE....
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
......................................................................F.........
................................................................................
.......F........................................................................
..............................E.................................................
............EE.FF...............................................................
................................................................................
................................................................................
................................................................................
................................................................................
..............F.................................................................
................................................................................
................................................................................
.........................................F............F.........................
................................................................................
................................................................................
......F..........................................EFFFFFE-:2:in initialize': "\x FF" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to UTF-16LE (Encoding::Undef inedConversionError) from -:2:in open'
from -:2:in <main>' FF.............................................................................. ................................................................................ ....................................................EF.......................... F.F............................................................F................ ....F.......................F.......F.....................................F.E... ......................................EEEEEEEE.................................. ......................................EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE.EEEEEEE............... .............F...............................EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEEEEEEEEEEEE.........EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE EEEEEEEEEEEEEEEEEEE............................................................. .......S........E....S.....................F.................E.................. .......SEE...................................................................... ...................................................E..E......................... ................................................................................ ................................................................................ .......-e:1:in initialize': Bad file descriptor (Errno::EBADF)
from -e:1:in new' from -e:1:in '
F...............................................................................
............................................................Elog shifting failed
. Permission denied - (C:/src/ruby.git/test/logger/test_logger.rb.2668, C:/src/r
uby.git/test/logger/test_logger.rb.2668.20091120)
log writing failed. closed stream
EEEEEEEEEEEEEEEEE...............................................................
.....................F..........................................................
................................................................................
................................................................................
................................................................................
...............................conftest.c
conftest.c
conftest.c(8) : fatal error C1083: include ファイルを開けません。'confdefs.h': No
such file or directory
conftest.c
conftest.c(8) : fatal error C1083: include ファイルを開けません。'confdefs.h': No
such file or directory
conftest.c
conftest.c(8) : fatal error C1083: include ファイルを開けません。'confdefs.h': No
such file or directory
conftest.c
conftest.c(8) : fatal error C1083: include ファイルを開けません。'confdefs.h': No
such file or directory
conftest.c
conftest.c(8) : fatal error C1083: include ファイルを開けません。'confdefs.h': No
such file or directory
F...............................................................................
................................................................................
................F....................F..............FF..........................
................................................................................
......................................................F.........................
................................................................................
................................................................................
............................................................................S.C:
/src/ruby.git/test/ruby/test_process.rb:251: [BUG] Segmentation fault
ruby 1.9.2dev (2009-11-20 trunk 25868) [i386-mswin32_90]

-- control frame ----------
c:0014 p:---- s:0052 b:0052 l:000051 d:000051 CFUNC :popen
c:0013 p:0086 s:0048 b:0048 l:000ef4 d:000ef4 METHOD C:/src/ruby.git/test/ruby/t
est_process.rb:251
c:0012 p:0063 s:0043 b:0043 l:000042 d:000042 METHOD C:/src/ruby.git/lib/minites
t/unit.rb:458
c:0011 p:0091 s:0037 b:0037 l:000e44 d:000036 BLOCK C:/src/ruby.git/lib/minites
t/unit.rb:426
c:0010 p:---- s:0032 b:0032 l:000031 d:000031 FINISH
c:0009 p:---- s:0030 b:0030 l:000029 d:000029 CFUNC :each
c:0008 p:0026 s:0027 b:0027 l:000e44 d:000026 BLOCK C:/src/ruby.git/lib/minites
t/unit.rb:420
c:0007 p:---- s:0024 b:0024 l:000023 d:000023 FINISH
c:0006 p:---- s:0022 b:0022 l:000021 d:000021 CFUNC :each
c:0005 p:0082 s:0019 b:0019 l:000e44 d:000e44 METHOD C:/src/ruby.git/lib/minites
t/unit.rb:419
c:0004 p:0154 s:0014 b:0014 l:0007cc d:0007cc METHOD C:/src/ruby.git/lib/minites
t/unit.rb:393
c:0003 p:0041 s:0007 b:0007 l:000a84 d:001fd0 BLOCK C:/src/ruby.git/lib/minites
t/unit.rb:334
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:00191c d:00191c TOP

C:/src/ruby.git/lib/minitest/unit.rb:334:in block in autorun' C:/src/ruby.git/lib/minitest/unit.rb:393:in run'
C:/src/ruby.git/lib/minitest/unit.rb:419:in run_test_suites' C:/src/ruby.git/lib/minitest/unit.rb:419:in each'
C:/src/ruby.git/lib/minitest/unit.rb:420:in block in run_test_suites' C:/src/ruby.git/lib/minitest/unit.rb:420:in each'
C:/src/ruby.git/lib/minitest/unit.rb:426:in block (2 levels) in run_test_suites ' C:/src/ruby.git/lib/minitest/unit.rb:458:in run'
C:/src/ruby.git/test/ruby/test_process.rb:251:in test_execopts_env' C:/src/ruby.git/test/ruby/test_process.rb:251:in popen'

[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.

C:\src\ruby.git\build>
=end

Actions #1

Updated by naruse (Yui NARUSE) about 15 years ago

  • Status changed from Open to Assigned
  • Assignee set to usa (Usaku NAKAMURA)

=begin

=end

Actions #2

Updated by usa (Usaku NAKAMURA) about 15 years ago

=begin
残念ながら再現できないのですが、そちらでは
nmake test-all TESTS="-v ruby/test_process.rb"
だけでも再現できますか?
=end

Actions #3

Updated by nobu (Nobuyoshi Nakada) almost 15 years ago

  • Status changed from Assigned to Feedback

=begin

=end

Actions #4

Updated by wanabe (_ wanabe) almost 15 years ago

=begin
村田さん
ワナベと申します。

すみません、この SEGV は今でも再現するでしょうか?
私自身も一度再現したようだったのですが、その後正常に戻ってしまい
いまいち条件が分からずじまいでした。
こちらでもなるべく再現方法を探ってみたいとは思いますがうまくいっていません。

もし再現しないようであれば、再現方法が分かるまではとりあえず
Reject にしておきたいと思うのですがいかがでしょうか。
=end

Actions #5

Updated by wanabe (_ wanabe) over 14 years ago

  • Status changed from Feedback to Rejected

=begin
すみませんが一旦 Reject させていただきます。
もし再現できた方がいらっしゃったらそのときに reopen をお願いいたします。
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0