You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This doesn't look to be anything aspire specific, so I think this should be transferred to the sdk repo and investigated there, as seems like something wrong with one of the workload commands.
cc @dsplaisted@Forgind to take a look. This is 8.0.302 which is the hotfix June release we did for Razor I believe. Did this repro with 8.0.300 (as we didn't make any changes in the SDK between those builds)? Does it repro with 8.0.302?
Looks like a race condition or similar in TimestampedFileLogger between disposing the object and writing out the messages. Since it's a timing issue, it could start occurring without any specific code changes in that area. Probably we need to add a lock in WriteMessage and Dispose. @joeloff
REPRO STEPS
ACTUAL
The aspire workload installed successfully but encountered an error
Unhandled exception. System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Collections.Concurrent.BlockingCollection`1[[System.String, System.Private.CoreLib, Version=8.0.0.0,
Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'.
at Microsoft.DotNet.Installer.Windows.TimestampedFileLogger.WriteMessage(String message)
at Microsoft.DotNet.Installer.Windows.TimestampedFileLogger.ProcessLogRequests(Object logPipeName)
The text was updated successfully, but these errors were encountered: