-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Starting any URI test leads to a stack overflow in System.Private.CoreLib #40073
Comments
@JakenVeina I believe this is the same recurring exception you were having with your stack overflow with GLFW? |
Step 5. "Completely build System.Private.Uri solution" rebuilds CoreLib with a broken version. Before step 5 (good CoreLib):
After Step 5 (broken CoreLib, notice that the size is different):
|
Tagging subscribers to this area: @safern, @ViktorHofer |
Yes, the broken CoreLib is built with wrong defines. For example, |
Does this repro in P8 branch? |
Probably yes, but it's a developer innerloop issue only.
OK I will diff that with a binarylog later. Thanks |
Here's the diff when building from an sln which contains a project that P2Ps to CoreLib vs building CoreLib from the clr.corelib subset: https://www.diffchecker.com/mPYbuYIv. Just wanna share some findings, will take a closer look later. |
Description
Any attempt to run System.Private.Uri/FunctionalTests leads to a stack overflow in CoreLib and finally fails with StackOverflowException. The exception gets thrown somewhere in the application startup logic before actual test code starts executing.
Configuration
It was reproduced using the latest master on 3 different local machines running Windows 10 (confirmed on ver. 1909).
Repro steps:
git clean -xfd
build clr+libs -c debug -rc release
build -project src\libraries\System.Private.Uri\System.Private.Uri.sln -rc release
cd src\libraries\System.Private.Uri\tests\FunctionalTests
dotnet msbuild /t:Test /p:CoreCLRConfiguration=Release
Stack trace
The text was updated successfully, but these errors were encountered: