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

system.net.quic.functional.tests failing with stack buffer overflow #72429

Closed
runfoapp bot opened this issue Jul 19, 2022 · 11 comments · Fixed by #72456
Closed

system.net.quic.functional.tests failing with stack buffer overflow #72429

runfoapp bot opened this issue Jul 19, 2022 · 11 comments · Fixed by #72456
Assignees
Labels
area-System.Net.Quic blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' bug
Milestone

Comments

@runfoapp
Copy link

runfoapp bot commented Jul 19, 2022

These tests are failing with HRESULT 0xC0000409, which is STATUS_STACK_BUFFER_OVERRUN.

Runfo Tracking Issue: system.net.quic.functional.tests failing with stack overrun

Build Definition Kind Run Name Console Core Dump Test Results Run Client
1890310 runtime PR 71705 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1890281 runtime PR 72455 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1890218 runtime PR 72448 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1890104 runtime PR 72257 net7.0-windows-Debug-x86-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1890104 runtime PR 72257 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1890104 runtime PR 72257 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1890074 runtime PR 72178 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1889791 runtime PR 72179 net7.0-Linux-Debug-arm64-CoreCLR_checked-(Ubuntu.1804.Arm64.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8-20210531091519-97d8652 console.log core dump runclient.py
1889791 runtime PR 72179 net7.0-Linux-Release-arm-CoreCLR_checked-(Alpine.314.Arm32.Open)Ubuntu.1804.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.14-helix-arm32v7-20210910135806-8a6f4f3 console.log core dump runclient.py
1889791 runtime PR 72179 net7.0-OSX-Debug-x64-CoreCLR_checked-OSX.1200.Amd64.Open console.log runclient.py
1889791 runtime PR 72179 net7.0-Linux-Release-arm64-CoreCLR_checked-(Alpine.314.Arm64.Open)Ubuntu.1804.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.14-helix-arm64v8-20210910135810-8a6f4f3 console.log core dump runclient.py
1889791 runtime PR 72179 net7.0-Linux-Release-x64-CoreCLR_checked-Ubuntu.1804.Amd64.Open console.log core dump runclient.py
1889791 runtime PR 72179 net7.0-Linux-Debug-x64-CoreCLR_checked-(Alpine.314.Amd64.Open)Ubuntu.1804.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.14-helix-amd64-20210910135833-1848e19 console.log core dump runclient.py
1889791 runtime PR 72179 net7.0-windows-Debug-x86-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1889791 runtime PR 72179 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1889750 runtime PR 72434 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1889738 runtime Rolling net7.0-windows-Release-x86-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1889738 runtime Rolling net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1889722 runtime PR 72236 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1889719 runtime PR 72390 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1889636 runtime PR 71385 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1889613 runtime PR 64497 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1889542 runtime PR 72433 net7.0-windows-Debug-x86-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1889542 runtime PR 72433 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1889390 runtime PR 72119 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1889390 runtime PR 72119 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1889380 runtime PR 72430 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1889366 runtime PR 72416 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1889358 runtime PR 72418 net7.0-windows-Debug-x86-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1889358 runtime PR 72418 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1889310 runtime PR 68133 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1889264 runtime PR 72272 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1889157 runtime Rolling net7.0-windows-Release-x86-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1889157 runtime Rolling net7.0-windows-Release-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1889157 runtime Rolling net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1889106 runtime PR 72411 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1889106 runtime PR 72411 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888858 runtime PR 72414 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1888821 runtime PR 64497 net7.0-windows-Debug-x86-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888821 runtime PR 64497 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888811 runtime PR 72217 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1888811 runtime PR 72217 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888746 runtime PR 72413 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888576 runtime PR 72119 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888576 runtime PR 72119 net7.0-windows-Debug-x86-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888535 runtime PR 72397 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1888528 runtime PR 72397 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1888526 runtime PR 72398 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888466 runtime PR 72394 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888439 runtime PR 72291 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log runclient.py
1888360 runtime Rolling net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888310 runtime PR 72388 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1888305 runtime PR 71385 net7.0-windows-Debug-x86-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888305 runtime PR 71385 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1888305 runtime PR 71385 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888296 runtime PR 71485 net7.0-windows-Debug-x86-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888296 runtime PR 71485 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888256 runtime PR 71187 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888256 runtime PR 71187 net7.0-windows-Debug-x86-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888256 runtime PR 71187 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888256 runtime PR 71187 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888075 runtime PR 72384 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1887984 runtime PR 62863 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1887948 runtime PR 71705 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1887857 runtime PR 72257 net7.0-windows-Debug-x86-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1887827 runtime PR 71979 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1887716 runtime PR 72376 net7.0-windows-Debug-x86-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1887716 runtime PR 72376 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1887716 runtime PR 72376 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1887648 runtime PR 72180 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1884662 runtime PR 71725 net7.0-Linux-Debug-arm64-Mono_release-(Ubuntu.1804.ArmArch.Open)Ubuntu.1804.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8-20220427172132-97d8652 console.log runclient.py
1884662 runtime PR 71725 net7.0-Linux-Debug-arm64-CoreCLR_checked-(Ubuntu.1804.Arm64.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8-20210531091519-97d8652 console.log runclient.py

Build Result Summary

Day Hit Count Week Hit Count Month Hit Count
39 44 44
@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@ghost ghost added the untriaged New issue has not been triaged by the area owner label Jul 19, 2022
@agocke agocke changed the title system.net.quic.functional.tests failing with stack overrun system.net.quic.functional.tests failing with stack overflow Jul 19, 2022
@agocke agocke added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' area-System.Net.Quic labels Jul 19, 2022
@ghost
Copy link

ghost commented Jul 19, 2022

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Issue Details

These tests are failing with HRESULT 0xC0000409, which is STATUS_STACK_BUFFER_OVERRUN.

Runfo Tracking Issue: system.net.quic.functional.tests failing with stack overrun

Build Definition Kind Run Name Console Core Dump Test Results Run Client
1888858 runtime PR 72414 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1888821 runtime PR 64497 net7.0-windows-Debug-x86-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888821 runtime PR 64497 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888811 runtime PR 72217 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1888811 runtime PR 72217 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888746 runtime PR 72413 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888576 runtime PR 72119 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888576 runtime PR 72119 net7.0-windows-Debug-x86-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888535 runtime PR 72397 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1888528 runtime PR 72397 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1888526 runtime PR 72398 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888466 runtime PR 72394 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888439 runtime PR 72291 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log runclient.py
1888360 runtime Rolling net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888310 runtime PR 72388 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1888305 runtime PR 71385 net7.0-windows-Debug-x86-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888305 runtime PR 71385 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1888305 runtime PR 71385 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888296 runtime PR 71485 net7.0-windows-Debug-x86-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888296 runtime PR 71485 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888256 runtime PR 71187 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888256 runtime PR 71187 net7.0-windows-Debug-x86-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888256 runtime PR 71187 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1888256 runtime PR 71187 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1887984 runtime PR 62863 net7.0-windows-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 console.log runclient.py
1887948 runtime PR 71705 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1887857 runtime PR 72257 net7.0-windows-Debug-x86-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1887827 runtime PR 71979 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1887716 runtime PR 72376 net7.0-windows-Debug-x86-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1887716 runtime PR 72376 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1887716 runtime PR 72376 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1887648 runtime PR 72180 net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open console.log core dump runclient.py
1884662 runtime PR 71725 net7.0-Linux-Debug-arm64-Mono_release-(Ubuntu.1804.ArmArch.Open)Ubuntu.1804.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8-20220427172132-97d8652 console.log runclient.py
1884662 runtime PR 71725 net7.0-Linux-Debug-arm64-CoreCLR_checked-(Ubuntu.1804.Arm64.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8-20210531091519-97d8652 console.log runclient.py

Build Result Summary

Day Hit Count Week Hit Count Month Hit Count
21 22 22
Author: runfoapp[bot]
Assignees: -
Labels:

blocking-clean-ci, untriaged, area-System.Net.Quic

Milestone: -

@agocke
Copy link
Member

agocke commented Jul 19, 2022

@dotnet/ncl This is failing a lot, please look at it ASAP

@rzikm rzikm self-assigned this Jul 19, 2022
@ManickaP
Copy link
Member

ManickaP commented Jul 19, 2022

What stack overflow, I randomly opened few console logs and I'm getting:
System.Net.Quic.Functional.Tests Total: 1, Errors: 0, Failed: 0, Skipped: 0, Time: 0.931s

I also downloaded one of the dumps and that fails with:

Exception object: 0000021608aef828
Exception type:   System.IO.FileNotFoundException
Message:          Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
InnerException:   <none>
StackTrace (generated):
    SP               IP               Function
    0000005E745F7D20 0000000000000000 System.Private.CoreLib!System.Reflection.RuntimeAssembly.<InternalLoad>g____PInvoke|47_0(System.Reflection.NativeAssemblyNameParts*, System.Runtime.CompilerServices.ObjectHandleOnStack, System.Runtime.CompilerServices.StackCrawlMarkHandle, Int32, System.Runtime.CompilerServices.Obj+0x1
    0000005E745F7D20 00007FFA4BF225A1 System.Private.CoreLib!System.Reflection.RuntimeAssembly.InternalLoad(System.Reflection.AssemblyName, System.Threading.StackCrawlMark ByRef, System.Runtime.Loader.AssemblyLoadContext, System.Reflection.RuntimeAssembly, Boolean)+0x1a1
    0000005E745F7E30 00007FFAAA2E5A54 System.Private.CoreLib!System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyName(System.Reflection.AssemblyName)+0x34
    0000005E745F7E70 00007FFA4BF119D2 xunit.console!Xunit.AssemblyHelper.Load(System.Reflection.AssemblyName)+0xfffccde2
    0000005E745F7EB0 00007FFAAA2E6745 System.Private.CoreLib!System.Runtime.Loader.AssemblyLoadContext.ResolveUsingLoad(System.Reflection.AssemblyName)+0x5e3b27c5
    0000005E745F7EE0 00007FFAAA2E64DE System.Private.CoreLib!System.Runtime.Loader.AssemblyLoadContext.Resolve(IntPtr, System.Reflection.AssemblyName)+0x5e3b287e

StackTraceString: <none>
HResult: 80070002

Microsoft.VisualStudio.TestPlatform.ObjectModel which doesn't seem related to S.N.Quic.

So I'm confused. Where did you see the stack overflow @agocke ?

EDIT: Also, all the platforms in the table above do not support msquic, so none of the tests are running due to this check:

public static bool IsSupported => QuicListener.IsSupported && QuicConnection.IsSupported;

@jakobbotsch
Copy link
Member

So I'm confused. Where did you see the stack overflow @agocke ?

In my PR #72376 I had failures in net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open with the error code above (0xC0000409 or -1073740791).
Run: https://dev.azure.com/dnceng/public/_build/results?buildId=1887716&view=ms.vss-test-web.build-test-results-tab&runId=49289416&paneView=debug
Console log: https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-72376-merge-3c164110d9924eb1b1/System.Net.Quic.Functional.Tests/1/console.cf8d762f.log?helixlogtype=result

C:\h\w\A02708DC\w\A4610901\e>"C:\h\w\A02708DC\p\dotnet.exe" exec --runtimeconfig System.Net.Quic.Functional.Tests.runtimeconfig.json --depsfile System.Net.Quic.Functional.Tests.deps.json xunit.console.dll System.Net.Quic.Functional.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing  
  Discovering: System.Net.Quic.Functional.Tests (method display = ClassAndMethod, method display options = None)
----- end Mon 07/18/2022 17:08:48.24 ----- exit code -1073740791 ----------------------------------------------------------

@karelz
Copy link
Member

karelz commented Jul 19, 2022

Triage: Looks like an accidental regression caused by yesterday's merged PR. We will revert ASAP - @CarnaViire kindly offered help.

@karelz karelz added this to the 7.0.0 milestone Jul 19, 2022
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Jul 19, 2022
@karelz karelz assigned CarnaViire and unassigned rzikm Jul 19, 2022
@karelz karelz added the bug label Jul 19, 2022
@CarnaViire
Copy link
Member

JFYI the PR in question is #72262

@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Jul 19, 2022
@agocke agocke changed the title system.net.quic.functional.tests failing with stack overflow system.net.quic.functional.tests failing with stack buffer overflow Jul 19, 2022
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Jul 19, 2022
@rzikm
Copy link
Member

rzikm commented Jul 21, 2022

I tried to execute the tests on Win 10 VM and I did not manage to reproduce the crash. I used downloaded binaries produced from the CI.

One thing that is very weird is that conditional test filtering does not seem to work. (All tests should have been skipped/disabled)

PS C:\Users\radekzikmund\Desktop\Quic.StackOverflow\Quic.StackOverflow> ./dotnet exec --runtimeconfig .\System.Net.Quic.Functional.Test
s.runtimeconfig.json .\xunit.console.dll .\System.Net.Quic.Functional.Tests.dll -notrait category=OuterLoop
Microsoft.DotNet.XUnitConsoleRunner v2.5.0 (64-bit .NET 7.0.0-ci)
  Discovering: System.Net.Quic.Functional.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Net.Quic.Functional.Tests (found 97 of 103 test cases)
  Starting:    System.Net.Quic.Functional.Tests (parallel test collections = on, max threads = 2)
[...]
    System.Net.Quic.Tests.MsQuicCipherSuitesPolicyTests.SupportedCipher_Success [FAIL]
      System.PlatformNotSupportedException : CipherSuitesPolicy is not supported on this platform.
[...]
    System.Net.Quic.Tests.MsQuicTests.Read_ReadsCompleted_ReportedBeforeReturning0 [FAIL]
      System.PlatformNotSupportedException : System.Net.Quic is not supported on this platform.
      Stack Trace:
[....]
  Finished:    System.Net.Quic.Functional.Tests
=== TEST EXECUTION SUMMARY ===
   System.Net.Quic.Functional.Tests  Total: 313, Errors: 0, Failed: 301, Skipped: 5, Time: 18.162s

Any ideas how to reproduce the crash?

@ManickaP
Copy link
Member

If you look at some of the console logs from the table above, you'll see:

System.Net.Quic.Functional.Tests  Total: 1, Errors: 0, Failed: 0, Skipped: 0, Time: 0.618s

So it wasn't attempting to run the tests.

Where does your "dotent.exe" comes from? If you look at RunTests.sh it runs this:

/home/manicka/repositories/runtime/artifacts/bin/testhost/net7.0-Linux-Debug-x64/dotnet exec --runtimeconfig System.Net.Quic.Functional.Tests.runtimeconfig.json --depsfile System.Net.Quic.Functional.Tests.deps.json xunit.console.dll System.Net.Quic.Functional.Tests.dll -xml testResults.xml -nologo -notrait category=failing 

@rzikm
Copy link
Member

rzikm commented Jul 21, 2022

Where does your "dotent.exe" comes from?

From the Helix payload, downloaded using the runfo tool, the testhost was extracted to the same dir as the test binaries.

@rzikm
Copy link
Member

rzikm commented Jul 21, 2022

I see, I was missing the deps parameter

@ghost ghost locked as resolved and limited conversation to collaborators Aug 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Net.Quic blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants