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
{{ message }}
Repository navigation
AccessViolationException in DriveInfo.GetDrives on macOS Tahoe 26.5.1 on .NET 10 #129290
On latest macOS Tahoe 26.5.1 we are seeing each time:
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Runtime.InteropServices.Marshal.PtrToStringUTF8(IntPtr)
at Interop+Sys.AddMountPoint(Void*, Byte*)
at Interop+Sys.GetAllMountPoints()
at System.IO.DriveInfo.GetDrives()
at Raven.Server.Web.Studio.FolderPath.GetAvailableDrives()
Activity
dotnet-policy-service commentedon Jun 11, 2026
Tagging subscribers to this area: @dotnet/interop-contrib
See info in area-owners.md if you want to be subscribed.
dotnet-policy-service commentedon Jun 11, 2026
Tagging subscribers to this area: @dotnet/area-system-io
See info in area-owners.md if you want to be subscribed.
AaronRobinsonMSFT commentedon Jun 11, 2026
Seems reasonable to me.
[release/10.0] Fix thread-safety issue in `DriveInfo.GetDrives()` on …
adamsitnik commentedon Jul 15, 2026
Fixed in #122637, backported in #129301. Closing ;)