Paint.NET 4.0.6 is showing a message box stating AccessViolationException at every startup. Repair, and uninstall/reinstall have had no effect.
The reported error is:
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at PaintDotNet.SystemLayer.Native.x64.Direct2D.D2D.CreateFactory(Direct2DFactoryType factoryType, Direct2DFactoryOptions factoryOptions)
at PaintDotNet.SystemLayer.Direct2D.CreateFactoryX64(Direct2DFactoryType factoryType, Direct2DFactoryOptions factoryOptions) in d:\src\pdn\paintdotnet\src\SystemLayer\Direct2D.cs:line 71
at PaintDotNet.SystemLayer.Direct2D.CreateFactory(Direct2DFactoryType factoryType, Direct2DFactoryOptions factoryOptions) in d:\src\pdn\paintdotnet\src\SystemLayer\Direct2D.cs:line 86
at PaintDotNet.Direct2D.Direct2DFactory.get_PerThread() in d:\src\pdn\paintdotnet\src\Core\Direct2D\Direct2DFactory.cs:line 70
at PaintDotNet.Controls.Direct2DControlHandler..ctor(IDirect2DControlHost host, FactorySource d2dFactorySource) in d:\src\pdn\paintdotnet\src\Framework\Controls\Direct2DControlHandler.cs:line 242
at PaintDotNet.Controls.Direct2DControl..ctor(FactorySource d2dFactorySource) in d:\src\pdn\paintdotnet\src\Framework\Controls\Direct2DControl.cs:line 137
at PaintDotNet.Dialogs.ExceptionDialog..ctor() in d:\src\pdn\paintdotnet\src\PaintDotNet\Dialogs\ExceptionDialog.cs:line 221
at PaintDotNet.Diagnostics.CrashManager.ShowCrashLogDialog(String crashLogPath) in d:\src\pdn\paintdotnet\src\PaintDotNet\Diagnostics\CrashManager.cs:line 59
at PaintDotNet.Startup.StartPart2(String mutexName, String[] remainingArgs) in d:\src\pdn\paintdotnet\src\PaintDotNet\Startup.cs:line 572
Which suggests an error while trying to display the error. Looking at pdncrash.log then, reveals:
Video card: --- Exception while populating videoCardNames: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at PaintDotNet.SystemLayer.Native.x64.Dxgi.Dxgi.CreateFactory1()
at PaintDotNet.SystemLayer.Dxgi.CreateFactory1X64() in d:\src\pdn\paintdotnet\src\SystemLayer\Dxgi.cs:line 54
at PaintDotNet.SystemLayer.Dxgi.CreateFactory1() in d:\src\pdn\paintdotnet\src\SystemLayer\Dxgi.cs:line 69
at PaintDotNet.Diagnostics.CrashLog.WriteCrashLog(Exception crashEx, TextWriter stream) in d:\src\pdn\paintdotnet\src\PaintDotNet\Diagnostics\CrashLog.cs:line 360
I don't know how to go any further. Full crash log attached
Thanks in advance for any help.
Alex
pdncrash.3.log.txt