Project

General

Profile

Actions

Bug #15587

closed

Thread tests failing

Added by TomasDo (Tomas Dohnal) about 5 years ago. Updated almost 3 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.6.1p33 (2019-01-30 revision 66950) [i386-mswin32_140]
[ruby-core:91399]
Tags:

Description

I compiled ruby with Visual Studio 2015 tools, but test is failing (#921 test_massign.rb, #1377 test_thread.rb,...)

C:\dev\build>nmake test

Microsoft (R) Program Maintenance Utility Version 14.00.24210.0
Copyright (C) Microsoft Corporation. All rights reserved.

    BASERUBY = C:\Ruby26\bin\ruby.exe
    CC = cl -nologo
    LD = cl -nologo
    LDSHARED = cl -nologo -LD
    CFLAGS = -MD -Zi -W2 -wd4100 -wd4127 -wd4210 -wd4214 -wd4255 -wd4574  -wd4668 -wd4710 -wd4711 -wd4820 -wd4996  -we4028 -we4142 -O2sy- -Zm600
    XCFLAGS = -DRUBY_EXPORT -I. -I.ext/include/i386-mswin32_140 -I../source/include -I../source -I../source/enc/unicode/11.0.0  -DCANONICALIZATION_FOR_MATHN
    CPPFLAGS =  -D_WIN32_WINNT=0x0600
    DLDFLAGS = -incremental:no -debug -opt:ref -opt:icf -dll
    SOLIBS =
    LANG =
    LC_ALL =
    LC_CTYPE =

#921 test_massign.rb: F
a,s=[],"aaa"
300.times { a<<s; s=s.succ }
eval <<-END__
GC.stress=true
Fiber.new do
#{ a.join(",") },*zzz=1
end.resume
END__
:ok
#=> "" (expected "ok") [ruby-dev:32581]
test_massign.rb FAIL 1/34
#1377 test_thread.rb: F
at_exit { Fiber.new{}.resume }
#=> killed by SIGSEGV (signal 11)
#1378 test_thread.rb: F
g = enum_for(:local_variables)
loop { g.next }
#=> killed by SIGSEGV (signal 11) [ruby-dev:34128]
#1379 test_thread.rb: F
g = enum_for(:block_given?)
loop { g.next }
#=> killed by SIGSEGV (signal 11) [ruby-dev:34128]
#1380 test_thread.rb: F
g = enum_for(:binding)
loop { g.next }
#=> killed by SIGSEGV (signal 11) [ruby-dev:34128]
#1381 test_thread.rb: F
g = "abc".enum_for(:scan, /./)
loop { g.next }
#=> killed by SIGSEGV (signal 11) [ruby-dev:34128]
#1382 test_thread.rb: F
g = Module.enum_for(:new)
loop { g.next }
#=> killed by SIGSEGV (signal 11) [ruby-dev:34128]
#1383 test_thread.rb: F
Fiber.new(&Object.method(:class_eval)).resume("foo")
#=> killed by SIGSEGV (signal 11) [ruby-dev:34128]
test_thread.rb FAIL 7/50
FAIL 8/1397 tests failed
NMAKE : fatal error U1077: '.\ruby.exe' : return code '0x1'
Stop.

Updated by jeremyevans0 (Jeremy Evans) almost 3 years ago

  • Status changed from Open to Closed

Ruby 2.6 is in security maintenance mode, and this does not appear to be a security issue. CI testing on AppVeyor shows the master branch is passing for both Visual Studio 2013 and 2015. So I think this can be closed. If you can reproduce the issue with the master branch, please submit a new bug report or post an update to this one.

Actions

Also available in: Atom PDF

Like0
Like0