-
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
With .NET 7 SDK, create razor project failed with error when running PerfView #64263
Comments
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. |
FYI @brianrob |
When I run this, I get a stack overflow:
Under the debugger, it appears that the stack overflow occurs during the diagnostics walk of survivors:
At the actual time of the stack overflow, the stack is consumed by calls to
@Maoni0, can you help get some eyes on this? Guessing this might just be a particular heap graph? |
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. |
Did this build contain the GC regions work that we reverted? Does today's daily build have this same issue? cc @mangod9 |
Tagging subscribers to this area: @dotnet/gc Issue DetailsRepro steps:
Expected result: Actually Result:
Dotnet --info: Runtime Environment: Host (useful for support): .NET SDKs installed: .NET runtimes installed: To install additional .NET runtimes or SDKs:
|
Yeah based on this commit FYI @cshung. We will investigate before enabling. |
Based on @cshung's suggestion I have investigated why we're globally turning on the potentially expensive option Line 219 in 1043f00
I'm not sure how to go on from here - @hoyosjs, do you have any suggestions? At a first glance I would speculate that we only need this logic for those tests that actually exercise event logging, for others it's mere busywork at the expense of more complicated GC. I'm also guessing that the specific nature of this particular setting is what ultimately makes r2r_extra pipelines pass on Windows but fail left and right on both Linux and OSX. Thanks Tomas |
I am relatively surprised |
This issue still reproduces with .NET 7 Preview 4 from main branch of https://github.com/dotnet/installer. |
My fix missed the build you were using, that is why it is still reproducing there. My fix was made on the 12th of April
And your build was using the commit from the 11th of April.
|
Verified with .NET 7 Preview 4 SDK: 7.0.100-preview.4.22218.29(runtime-7.0.0-preview.4.22217.5) today, detailed test results: We will continue to track this issue. One more question, do I need to open a new bug to track the problem with .NET 7 Preview 4? |
@WenJunJi01, can you check the commit of the SC language build you used? |
@cshung Yesterday we installed the .NET 7 Preview 4 SDK from https://github.com/dotnet/installer on a machine with SC language(image: Windows-11-Enterprise-21H2-ZH-CN) and it can repro. But today I installed the latest version of perfview on a clean win11-SC machine to verify again, this issue can not repro. We also checked it on TK and JP environment and neither reproduced. |
@WenJunJi01, can you share with me the output of |
@cshung 运行时环境: global.json file: Host: .NET SDKs installed: .NET runtimes installed: Download .NET: Learn about .NET Runtimes and SDKs: |
@WenJunJi01 |
@cshung Here is the dump file created on .NET Host. Since the file cannot be uploaded, the path is provided. \bvtsrv2\team\E2E\dump.zip |
@WenJunJi01 |
Sorry I'm not very clear either. I'll keep watching to see if this problem reappears in future tests. |
Repro steps:
PerfView /merge:false collect
Expected result:
The Razor project should be created successfully.
Actually Result:
The following error occured when creating razor project.
Dotnet --info:
C:\Users\v-wenjj>dotnet --info
.NET SDK (reflecting any global.json):
Version: 7.0.100-alpha.1.22062.5
Commit: 62d1c5edb1
Runtime Environment:
OS Name: Windows
OS Version: 10.0.20348
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\7.0.100-alpha.1.22062.5\
Host (useful for support):
Version: 7.0.0-alpha.1.22061.11
Commit: ef7ff07
.NET SDKs installed:
3.1.416 [C:\Program Files\dotnet\sdk]
6.0.200-preview.22055.15 [C:\Program Files\dotnet\sdk]
7.0.100-alpha.1.22062.5 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.All 2.1.30 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.30 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.21 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.22 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.0-alpha.1.22062.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.30 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.21 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.22 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.12 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.13 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.0-alpha.1.22061.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.21 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 3.1.22 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.12 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.13 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.1 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.0-alpha.1.22061.7 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download
The text was updated successfully, but these errors were encountered: