Skip to content

baseservices.exceptions.baseservices-exceptions test failure when built with -fsanitize address on Windows x64 #116594

Open
@39otsu

Description

@39otsu

Description

CoreCLR Test Failure

Reproduction Steps

-Open x64 VS Dev Command Prompt 17.14.4 preview 1.0
-Clone the repo
-Checkout b21c93c
-cd to project root directory
-.\build clr+libs -rc Debug -lc Release -fsanitize address -arch x64
-src/tests/build.cmd debug x64 -fsanitize address /p:LibrariesConfiguration=Release
-src/tests/run.cmd debug x64

Expected behavior

Tests pass

Actual behavior

Failed test: OutOfProcessTest::baseservices\exceptions\stackoverflow\stackoverflowtester\stackoverflowtester.cmd (baseservices\exceptions\stackoverflow\stackoverflowtester\stackoverflowtester.cmd) (baseservices.exceptions.baseservices-exceptions)

Return code: 1
Raw output file: C:\gitP\dotnet\runtime\artifacts\tests\coreclr\windows.x64.Debug\baseservices\exceptions\stackoverflow\stackoverflowtester\output.txt
Raw output:
BEGIN EXECUTION

C:\gitP\dotnet\runtime\artifacts\tests\coreclr\windows.x64.Debug\baseservices\exceptions\stackoverflow\stackoverflowtester>set DOTNETCLI=C:\gitP\dotnet\runtime\dotnet.cmd

C:\gitP\dotnet\runtime\artifacts\tests\coreclr\windows.x64.Debug\baseservices\exceptions\stackoverflow\stackoverflowtester>set __DOTNET_ADD_64BIT=1

C:\gitP\dotnet\runtime\artifacts\tests\coreclr\windows.x64.Debug\baseservices\exceptions\stackoverflow\stackoverflowtester>set __DOTNET_PREFERRED_BITNESS=64
"C:\gitP\dotnet\runtime\artifacts\tests\coreclr\windows.x64.Debug\Tests\Core_Root\corerun.exe" -p "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true" stackoverflowtester.dll
Running stackoverflow test(smallframe main)
""
System.Exception: Exit code: 0xC0000005, expected 0xC00000FD or 0x800703E9
at TestStackOverflow.Program.TestStackOverflow(String testName, String testArgs, List`1& stderrLines) in C:\gitP\dotnet\runtime\src\tests\baseservices\exceptions\stackoverflow\stackoverflowtester.cs:line 76
at TestStackOverflow.Program.TestStackOverflowSmallFrameMainThread() in C:\gitP\dotnet\runtime\src\tests\baseservices\exceptions\stackoverflow\stackoverflowtester.cs:line 88
at __GeneratedMainWrapper.Main() in C:\gitP\dotnet\runtime\artifacts\tests\coreclr\obj\windows.x64.Debug\Managed\baseservices\exceptions\stackoverflow\stackoverflowtester\XUnitWrapperGenerator\XUnitWrapperGenerator.XUnitWrapperGenerator\SimpleRunner.g.cs:line 7
Expected: 100
Actual: 101
END EXECUTION - FAILED
FAILED

Regression?

No response

Known Workarounds

No response

Configuration

Windows x64

Other information

This was built with the sanitizer instrumentation fix for Windows from #116166

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions