Jump to content

Paint.NET crashes at startup: AccessViolationException


AlexV

Recommended Posts

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

Link to comment
Share on other sites

Thank you for the reply. Unfortunately I have already tried reinstalling and repairing, including PdnRepair. None of the specific error messages or codes mentioned in that thread apply. Installation and uninstallation appear to run successfully, it is only running Paint.NET itself that crashes.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...