-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
8.0.100-rc.1.23455.8 run dotnet run will crash #92050
Comments
I see |
I think yes, when test in shell, is same error code. |
Thank you for reporting this issue. This was fixed by #90826. The fix is included in .NET 8 RC2. |
Hey, I'm just wondering if this could be backported to RC1? |
After shipped, a version will be frozen snapshot. Any change will only appear in next preview or patch. |
In you need the fix before RC2 is officially released, you can install the daily runtime build from https://github.com/dotnet/runtime/blob/main/docs/project/dogfooding.md#daily-builds-table |
Description
Reproduction Steps
Use
dotnet run
Expected behavior
Compiled and run
Actual behavior
Fatal error. Internal CLR error. (0x80131506)
at System.Runtime.Serialization.SerializationGuard.g__ThrowIfDeserializationInProgress|0_0(System.Runtime.Serialization.SerializationInfo, System.String, Int32 ByRef)
at System.Diagnostics.Process.Start()
at Microsoft.DotNet.Cli.Utils.ProcessStartInfoExtensions.ExecuteAndCaptureOutput(System.Diagnostics.ProcessStartInfo, System.String ByRef, System.String ByRef)
at Microsoft.DotNet.Cli.Telemetry.MacAddressGetter.GetShellOutMacAddressOutput()
at Microsoft.DotNet.Cli.Telemetry.MacAddressGetter.GetMacAddress()
at Microsoft.DotNet.Cli.Telemetry.TelemetryCommonProperties.GetMachineId()
at Microsoft.DotNet.Configurer.UserLevelCacheWriter.RunWithCacheInFilePath(System.String, System.Func`1<System.String>)
at Microsoft.DotNet.Cli.Telemetry.TelemetryCommonProperties.GetTelemetryCommonProperties()
at Microsoft.DotNet.Cli.Telemetry.Telemetry.InitializeTelemetry()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(System.Threading.Thread, System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef, System.Threading.Thread)
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool+WorkerThread.WorkerThreadStart()
Regression?
No response
Known Workarounds
No response
Configuration
dotnet --info
Other information
No response
The text was updated successfully, but these errors were encountered: