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
Describe the bug .net framework Avalonia app crashes on exit. The crash is not visible unless debugging but it is present also in Event Viewer -> Application logs. This does not repro for .net core apps.
To Reproduce
Start any Avalonia app. e.g. the sample ControlCatalog.Desktop (not the ControlCatalog.NetCore). On exit, the application crashes in SkiaSharp deinitialization.
Desktop (please complete the following information):
OS: Windows 10 21H1
Version 0.10.12
Additional context
Message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at SkiaSharp.Internals.PlatformLock.NonAlertableWin32Lock.EnterCriticalSection(IntPtr lpCriticalSection)
at SkiaSharp.Internals.PlatformLock.NonAlertableWin32Lock.Enter()
at SkiaSharp.Internals.PlatformLock.NonAlertableWin32Lock.EnterWriteLock()
at SkiaSharp.HandleDictionary.DeregisterHandle(IntPtr handle, SKObject instance)
at SkiaSharp.SKObject.DeregisterHandle(IntPtr handle, SKObject instance)
at SkiaSharp.SKObject.set_Handle(IntPtr value)
at SkiaSharp.SKNativeObject.Dispose(Boolean disposing)
at SkiaSharp.SKObject.Dispose(Boolean disposing)
at SkiaSharp.SKNativeObject.Finalize()
SKObject instance is either SKFont or GRContext
The text was updated successfully, but these errors were encountered:
Describe the bug
.net framework Avalonia app crashes on exit. The crash is not visible unless debugging but it is present also in Event Viewer -> Application logs.
This does not repro for .net core apps.
To Reproduce
Start any Avalonia app. e.g. the sample ControlCatalog.Desktop (not the ControlCatalog.NetCore). On exit, the application crashes in SkiaSharp deinitialization.
Desktop (please complete the following information):
Additional context
Message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
SKObject instance is either SKFont or GRContext
The text was updated successfully, but these errors were encountered: