Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes #23628; Compiler crash for nested generic type instantiations with static[int] #23630

Open
wants to merge 4 commits into
base: devel
Choose a base branch
from

Merge branch 'devel' into semtypeinstfix

f8fd156
Select commit
Loading
Failed to load commit list.
Open

fixes #23628; Compiler crash for nested generic type instantiations with static[int] #23630

Merge branch 'devel' into semtypeinstfix
f8fd156
Select commit
Loading
Failed to load commit list.
Azure Pipelines / nim-lang.Nim succeeded Nov 10, 2024 in 53m 36s

Build #20241110.10 had test failures

Details

Tests

  • Failed: 2 (0.01%)
  • Passed: 10,848 (52.64%)
  • Other: 9,757 (47.35%)
  • Total: 20,607

Annotations

Check failure on line 1 in tests/stdlib/thttpclient_ssl.nim c

See this annotation in the file changed.

@azure-pipelines azure-pipelines / nim-lang.Nim

tests/stdlib/thttpclient_ssl.nim c

Failure: reExitcodesDiffer
Expected:
exitcode: 0

Gotten:
exitcode: 1

Output:

[Suite] SSL self signed certificate check
    [1731258840.4935508] server: ready
    [1731258840.5890796] client: connect
    [1731258840.5893755] server: incoming connection
    [1731258840.5894208] server: accepting connection
C0F6FF2ABD7F0000:error:0A000418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca:../ssl/record/rec_layer_s3.c:1599:SSL alert number 48
    [1731258840.6011238] server: receiving a line
    [1731258840.6666121] server: ready
    [1731258840.7002344] client: connect
    [1731258840.7027981] server: incoming connection
    [1731258840.7028804] server: accepting connection
    [1731258840.7209132] server: sending reply
    [1731258840.720937] server: receiving a line
    [1731258840.8315163] server: ready
    [1731258840.9951198] client: connect
    [1731258840.9955478] server: incoming connection
    [1731258840.9957836] server: accepting connection
    [1731258841.01525] client: exception: error:0A000086:SSL routines::certificate verify failed
C0F69F2ABD7F0000:error:0A000418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca:../ssl/record/rec_layer_s3.c:1599:SSL alert number 48
    [1731258841.0192745] server: receiving a line
    [1731258841.019296] server: received 0 bytes
    [1731258841.0193038] closing
    [1731258841.0193708] server: exited
    [1731258841.1184416] client: connect
    [1731258841.12037] client: exception: Connection refused
    [1731258841.1203806] getContent should not have raised an exception
  [FAILED] HttpClient with CVerifyPeerUseEnvVars
Traceback (most recent call last)
threadpool.nim(372)      slave
thttpclient_ssl.nim      runServerWrapper
thttpclient_ssl.nim(52)  runServer
net.nim(726)             newContext
SIGSEGV: Illegal storage access. (Attempt to read from nil?)

Check failure on line 1 in tests/stdlib/thttpclient_ssl.nim c

See this annotation in the file changed.

@azure-pipelines azure-pipelines / nim-lang.Nim

tests/stdlib/thttpclient_ssl.nim c

Failure: reExitcodesDiffer
Expected:


Gotten:
$ /home/vsts/work/1/s/bin/nim c --mm:refc -d:ssl   --nimCache:nimcache/tests/stdlib/thttpclient_ssl.nim_4a8a08f09d37b73795649038408b5f33  tests/stdlib/thttpclient_ssl.nim
Hint: used config file '/home/vsts/work/1/s/config/nim.cfg' [Conf]
Hint: used config file '/home/vsts/work/1/s/config/config.nims' [Conf]
Hint: used config file '/home/vsts/work/1/s/tests/config.nims' [Conf]
Hint: used config file '/home/vsts/work/1/s/tests/stdlib/config.nims' [Conf]
thttpclient_ssl.nim(28, 5) Warning: use the nimble packages `malebolgia`, `taskpools` or `weave` instead; threadpool is deprecated [Deprecated]
thttpclient_ssl.nim(85, 3) template/generic instantiation of `suite` from here
thttpclient_ssl.nim(87, 5) template/generic instantiation of `test` from here
thttpclient_ssl.nim(98, 7) Warning: The bare except clause is deprecated; use `except CatchableError:` instead [BareExcept]
thttpclient_ssl.nim(89, 11) Hint: 't' is declared but not used [XDeclaredButNotUsed]
thttpclient_ssl.nim(85, 3) template/generic instantiation of `suite` from here
thttpclient_ssl.nim(102, 5) template/generic instantiation of `test` from here
thttpclient_ssl.nim(111, 7) Warning: The bare except clause is deprecated; use `except CatchableError:` instead [BareExcept]
thttpclient_ssl.nim(104, 11) Hint: 't' is declared but not used [XDeclaredButNotUsed]
thttpclient_ssl.nim(85, 3) template/generic instantiation of `suite` from here
thttpclient_ssl.nim(116, 5) template/generic instantiation of `test` from here
thttpclient_ssl.nim(127, 7) Warning: The bare except clause is deprecated; use `except CatchableError:` instead [BareExcept]
thttpclient_ssl.nim(118, 11) Hint: 't' is declared but not used [XDeclaredButNotUsed]
thttpclient_ssl.nim(85, 3) template/generic instantiation of `suite` from here
thttpclient_ssl.nim(136, 5) template/generic instantiation of `test` from here
thttpclient_ssl.nim(146, 7) Warning: The bare except clause is deprecated; use `except CatchableError:` instead [BareExcept]
thttpclient_ssl.nim(138, 11) Hint: 't' is declared but not used [XDeclaredButNotUsed]
CC: ../../lib/system/exceptions.nim
CC: ../../lib/system/ctypes.nim
CC: ../../lib/std/sysatomics.nim
CC: ../../lib/std/private/syslocks.nim
CC: ../../lib/std/private/digitsutils.nim
CC: ../../lib/std/assertions.nim
CC: ../../lib/system/dollars.nim
CC: ../../lib/std/private/dragonbox.nim
CC: ../../lib/std/formatfloat.nim
CC: ../../lib/pure/collections/sharedlist.nim
CC: ../../lib/system.nim
CC: ../../lib/pure/parseutils.nim
CC: ../../lib/pure/math.nim
CC: ../../lib/pure/algorithm.nim
CC: ../../lib/pure/unicode.nim
CC: ../../lib/pure/strutils.nim
CC: ../../lib/pure/pathnorm.nim
CC: ../../lib/std/oserrors.nim
CC: ../../lib/std/syncio.nim
CC: ../../lib/std/private/oscommon.nim
CC: ../../lib/std/private/ospaths2.nim
CC: ../../lib/pure/options.nim
CC: ../../lib/pure/times.nim
CC: ../../lib/std/envvars.nim
CC: ../../lib/std/cmdline.nim
CC: ../../lib/pure/os.nim
CC: ../../lib/pure/nativesockets.nim
CC: ../../lib/pure/hashes.nim
CC: ../../lib/pure/collections/sets.nim
CC: ../../lib/std/monotimes.nim
CC: ../../lib/pure/dynlib.nim
CC: ../../lib/wrappers/openssl.nim
CC: ../../lib/pure/ssl_certs.nim
CC: ../../lib/pure/net.nim
CC: ../../lib/pure/base64.nim
CC: ../../lib/pure/uri.nim
CC: ../../lib/pure/collections/tables.nim
CC: ../../lib/pure/random.nim
CC: ../../lib/pure/httpcore.nim
CC: ../../lib/pure/streams.nim
CC: ../../lib/pure/asyncfutures.nim
CC: ../../lib/pure/selectors.nim
CC: ../../lib/pure/asyncdispatch.nim
CC: ../../lib/pure/httpclient.nim
CC: ../../lib/pure/concurrency/cpuinfo.nim
CC: ../../lib/pure/concurrency/cpuload.nim
CC: ../../lib/std/typedthreads.nim
CC: ../../lib/pure/concurrency/threadpool.nim
CC: ../../lib/std/exitprocs.nim
CC: ../../lib/pure/strformat.nim
CC: ../../lib/pure/terminal.nim
CC: ../../lib/pure/unittest.nim
CC: thttpclient_ssl.nim
Hint:  [Link]
Hint: mm: refc; threads: on; opt: none (DEBUG BUILD, `-d:release` generates faster