Project

General

Profile

Actions

Bug #3292

closed

Fail 2 IO tests during make test for ruby-1.9.1-p376 with Cygwin

Added by draggy (Seng Loong Chan) almost 14 years ago. Updated over 4 years ago.

Status:
Closed
Assignee:
-
ruby -v:
ruby 1.9.1p376 (2009-12-07 revision 26041) [i386-cygwin]
[ruby-core:30238]

Description

=begin
Hello People,

Failed 2 IO tests during "make test" when I tried to compile ruby-1.9.1-p376 with Cygwin 1.7.

OS version: Windows XP Pro with SP3

Cygwin Version: CYGWIN_NT-5.1 localhost 1.7.5(0.225/5/3) 2010-04-12 19:07 i686 Cygwin

The test results:

$ make test

sample/test.rb:assignment ......................................................
................................................................................
................................................................................
................................................................................
..............................................................................
sample/test.rb:condition ..
sample/test.rb:if/unless ...
sample/test.rb:case .....
sample/test.rb:while/until ........
sample/test.rb:exception ..........
sample/test.rb:array .......................................
sample/test.rb:hash ...........................
sample/test.rb:iterator ........................................................
.......................................................
sample/test.rb:float ...........................................................
.....................
sample/test.rb:bignum ...............................
sample/test.rb:string & char ...................................................
...........
sample/test.rb:assignment ..........
sample/test.rb:call ......
sample/test.rb:proc .........
sample/test.rb:signal ..
sample/test.rb:eval .............................
sample/test.rb:system .........
sample/test.rb:const .....
sample/test.rb:clone .....
sample/test.rb:marshal ....
sample/test.rb:pack ....
sample/test.rb:math ..
sample/test.rb:struct ......
sample/test.rb:variable ...........
sample/test.rb:trace ...
sample/test.rb:defined? ............
sample/test.rb:alias ......
sample/test.rb:path .......................
sample/test.rb:gc ....
test succeeded

test_attr.rb ..
test_autoload.rb ..........
test_block.rb .......................................................
test_class.rb ............................................
test_eval.rb ...................................
test_exception.rb .................................
test_finalizer.rb .
test_flip.rb .
test_flow.rb ............................................
test_fork.rb .
test_io.rb .F.....F.
test_jump.rb .........................
test_literal.rb ................................................................
................................................................................
....
test_load.rb ..
test_marshal.rb .
test_massign.rb ..................................
test_method.rb .................................................................
................................................................................
..........................................................................
test_objectspace.rb ...
test_proc.rb .................................bootstraptest.tmp.rb:5:in `'
: ok (RuntimeError)
.
test_struct.rb .
test_syntax.rb .................................................................
................................................................................
....
test_thread.rb ..............................................
#228 test_io.rb:
begin
require "io/nonblock"
r, w = IO.pipe
w.nonblock = true
w.write_nonblock("a" * 100000)
w.nonblock = false
t1 = Thread.new { w.write("b" * 4096) }
t2 = Thread.new { w.write("c" * 4096) }
sleep 0.5
r.sysread(4096).length
sleep 0.5
r.sysread(4096).length
t1.join
t2.join
rescue LoadError
end
#=> not finished in 10 seconds [ruby-dev:32566]
#234 test_io.rb:
at_exit { p :foo }

    megacontent = "abc" * 12345678
    #File.open("megasrc", "w") {|f| f << megacontent }

    Thread.new { sleep rand*0.2; Process.kill(:INT, $$) }

    r1, w1 = IO.pipe
    r2, w2 = IO.pipe
    t1 = Thread.new { w1 << megacontent; w1.close }
    t2 = Thread.new { r2.read }
    IO.copy_stream(r1, w2) rescue nil
    r2.close; w2.close
    r1.close; w1.close
    #=> killed by SIGABRT (signal 6)

| [BUG] Segmentation fault
| ruby 1.9.1p376 (2009-12-07 revision 26041) [i386-cygwin]
|

-- control frame ----------
-- Ruby level backtrace information-----------------------------------------

|
| [NOTE]
| You may encounter a bug of Ruby interpreter. Bug reports are welcome.
| For details: http://www.ruby-lang.org/bugreport.html
|

FAIL 2/897 tests failed
make: *** [btest-ruby] Error 1

Thank you.
=end

Actions #1

Updated by mame (Yusuke Endoh) almost 14 years ago

  • Priority changed from Normal to 3

=begin
Unfortunately, Ruby is not tested on cygwin.
There is no platform maintainer for cygwin.
Contribution is welcome.

http://redmine.ruby-lang.org/wiki/ruby-19/SupportedPlatforms
http://redmine.ruby-lang.org/wiki/ruby/Maintainers

--
Yusuke Endoh
=end

Actions #2

Updated by jeremyevans0 (Jeremy Evans) over 4 years ago

  • Description updated (diff)
  • Status changed from Open to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0