Description
I have a project where I run the image "mcr.microsoft.com/dotnet/sdk:8.0.409" using a docker executor (GitLab runner).
Since this morning, the command "dotnet format --no-restore --verify-no-changes" failed giving me the following error:
Determining formattable files. Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at System.Buffer.Memmove(Byte ByRef, Byte ByRef, UIntPtr) at System.IO.UnmanagedMemoryStream.WriteCore(System.ReadOnlySpan
1)
at System.IO.Stream.Write(System.ReadOnlySpan1<Byte>) at System.IO.StreamWriter.Flush(Boolean, Boolean) at System.IO.StreamWriter.Write(Char[], Int32, Int32) at Microsoft.CodeAnalysis.Text.LargeText.Write(System.IO.TextWriter, Microsoft.CodeAnalysis.Text.TextSpan, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Text.SourceText.Write(System.IO.TextWriter, System.Threading.CancellationToken) at Microsoft.CodeAnalysis.Host.TemporaryStorageService.<WriteToTemporaryStorage>g__WriteToMemoryMappedFile|12_0(<>c__DisplayClass12_0 ByRef) at Microsoft.CodeAnalysis.Host.TemporaryStorageService.WriteToTemporaryStorage(Microsoft.CodeAnalysis.Text.SourceText, System.Threading.CancellationToken)
Running the same command using the image "mcr.microsoft.com/dotnet/sdk:8.0.408" is working fine.
Any ideas if the problems ??