Project

General

Profile

Bug #15587

Thread tests failing

Added by TomasDo (Tomas Dohnal) 6 months ago. Updated 4 months ago.

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

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< "" (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.

Also available in: Atom PDF