Jump to content

Paint crashing immediately after starting: "Sorry, but paint.net has encountered an unhandled exception and must close."


Recommended Posts

EDIT: I restarted and it works now. Hurrah for turning it off and on again

EDIT2: After a while the errors comes back.  :( 

 

Hi.

So I recently got paint.net, I had upgraded my PC from Vista to 7. Was using it quite finely last night (on 7), and suddenly today the above error happened. I start paint.net, see the beginning screen, and then it pops up and paint.net closes.

Might be part of the updates. Not sure.

 

This is paint version 4.0.5

 

Errors:

This text file was created because paint.net crashed. Please e-mail this to crashlog4@getpaint.net so we can diagnose and fix the problem.

Application version: paint.net 4.0.5 (Final 4.5.5454.39504)
Time of crash: 23/04/2015 5:18:32 PM
Application uptime: 00:00:04.0102293
Application state: Running 
Working set: 90,896 KiB
Threads: 20
Install directory: C:\Program Files\paint.net
Current directory: C:\Program Files\paint.net
OS Version: 6.1.7601.65536 Service Pack 1 Workstation x64
.NET version: CLR 4.0.30319.34209 x64, FX 4.0 4.5
Processor: 2x "Intel(R) Core(TM)2 Duo CPU     E6550  @ 2.33GHz" @ ~2327MHz (DEP, SSE, SSE2, SSE3, SSSE3)
Physical memory: 3070 MB
Video card: ATI Radeon HD 3400 Series (v:1002, d:95C5, r:0)
Hardware acceleration: True (default: True)
UI animations: True
UI DPI: 96.00 dpi (1.00x scale)
UI theme: Aero/Aero + DWM (Aero.msstyles)
Updates: True, 23/04/2015
Locale: pdnr.c: en-US, hklm: en-US, hkcu: en-US, cc: en-CA, cuic: en-US
Flags: ErrorFlags=(EnabledCanvasAutoFlushingDueToEndDrawAccessViolation), EnableCanvasAutoFlushing=True

Exception details:
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. (PaintDotNet.Canvas.CanvasControl)
   at PaintDotNet.SystemLayer.Native.x64.Direct2D.D2DRenderTarget.EndDraw(Tag& tag1, Tag& tag2)
   at PaintDotNet.Controls.Direct2DControlHandler.RelayGdiPaintImpl(GdiPaintContext ctx) in d:\src\pdn\paintdotnet\src\Framework\Controls\Direct2DControlHandler.cs:line 697
   at PaintDotNet.Controls.Direct2DControlHandler.RelayGdiPaint(GdiPaintContext ctx) in d:\src\pdn\paintdotnet\src\Framework\Controls\Direct2DControlHandler.cs:line 494
   at PaintDotNet.Controls.Direct2DControl.OnGdiPaint(GdiPaintContext ctx) in d:\src\pdn\paintdotnet\src\Framework\Controls\Direct2DControl.cs:line 346
   at PaintDotNet.SystemLayer.GdiPaintHandler.OnWmPaint(Message& m) in d:\src\pdn\paintdotnet\src\SystemLayer\GdiPaintHandler.cs:line 184
   at PaintDotNet.SystemLayer.GdiPaintControl.WndProc(Message& m) in d:\src\pdn\paintdotnet\src\SystemLayer\GdiPaintControl.cs:line 132
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Managed assemblies: 
    mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll
    PaintDotNet, Version=4.5.5454.39504, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.exe
    PaintDotNet.Core, Version=4.5.5454.39504, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.Core.dll
    PaintDotNet.Base, Version=4.5.5454.39504, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.Base.dll
    System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll
    System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll
    PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.dll
    WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\WindowsBase\v4.0_4.0.0.0__31bf3856ad364e35\WindowsBase.dll
    PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 @ C:\Windows\Microsoft.Net\assembly\GAC_64\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\PresentationCore.dll
    System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll
    System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll
    PaintDotNet.SystemLayer, Version=4.5.5454.39504, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.SystemLayer.dll
    PaintDotNet.Framework, Version=4.5.5454.39504, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.Framework.dll
    PaintDotNet.Resources, Version=4.5.5454.39504, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.Resources.dll
    PaintDotNet.Data, Version=4.5.5454.39504, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.Data.dll
    PaintDotNet.Effects, Version=4.5.5454.39504, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.Effects.dll
    PaintDotNet.SystemLayer.Native.x64, Version=4.5.5454.39504, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.SystemLayer.Native.x64.dll
    System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll
    System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll
    System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xaml\v4.0_4.0.0.0__b77a5c561934e089\System.Xaml.dll

Native modules: 
    C:\Program Files\paint.net\PaintDotNet.exe, version=4.5.5454.39504
    C:\Windows\SYSTEM32\ntdll.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\SYSTEM32\MSCOREE.DLL, version=4.0.40305.0 (Main.040305-0000)
    C:\Windows\system32\KERNEL32.dll, version=6.1.7601.18015 (win7sp1_gdr.121129-1432)
    C:\Windows\system32\KERNELBASE.dll, version=6.1.7601.18015 (win7sp1_gdr.121129-1432)
    C:\Windows\system32\ADVAPI32.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\msvcrt.dll, version=7.0.7601.17744 (win7sp1_gdr.111215-1535)
    C:\Windows\SYSTEM32\sechost.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\RPCRT4.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscoreei.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\system32\SHLWAPI.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\GDI32.dll, version=6.1.7601.18778 (win7sp1_gdr.150304-1507)
    C:\Windows\system32\USER32.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)
    C:\Windows\system32\LPK.dll, version=6.1.7601.18768 (win7sp1_gdr.150219-1512)
    C:\Windows\system32\USP10.dll, version=1.0626.7601.18454 (win7sp1_gdr.140424-1533)
    C:\Windows\system32\IMM32.DLL, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\MSCTF.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\system32\MSVCR120_CLR0400.dll, version=12.00.51689.34249 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_64\mscorlib\701f2b79b02a02beba70e50bb2edb212\mscorlib.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\system32\ole32.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\CRYPTBASE.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\uxtheme.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\assembly\NativeImages_v4.0.30319_64\System\edc284c2fc5f774b65992c5e0b6a1899\System.ni.dll, version=4.0.30319.34238 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Drawing\b79460dafcc1614a09fb69e06186f460\System.Drawing.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_64\WindowsBase\a864538f4d604f90a46f5fe95657e2a9\WindowsBase.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\system32\CRYPTSP.dll, version=6.1.7601.18741 (win7sp1_gdr.150202-1526)
    C:\Windows\system32\rsaenh.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\assembly\NativeImages_v4.0.30319_64\PresentationCore\e4259a0c65b65210105f38ae5d23ecdf\PresentationCore.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_64\Presentatio5ae0f00f#\2296131f7d533c511a6c60490315f49c\PresentationFramework.ni.dll, version=4.0.30319.34209
    C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Core\cde9119343aaa59211955780255a78b5\System.Core.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Base\47328b28d30eac5a581311e49baea217\PaintDotNet.Base.ni.dll, version=4.5.5454.39504
    C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Windows.Forms\6b9a6cf73f6556f6989316117a07ef9d\System.Windows.Forms.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet500b2e4f#\c5947e458583a0e6453658f79e3b3c8f\PaintDotNet.SystemLayer.ni.dll, version=4.5.5454.39504
    C:\Windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Core\5850b19c49f54d41b62179cbe02ec601\PaintDotNet.Core.ni.dll, version=4.5.5454.39504
    C:\Windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet26779e70#\66d016f04bc1755326d8c6e13c66b6a2\PaintDotNet.Resources.ni.dll, version=4.5.5454.39504
    C:\Windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet7afaaa15#\3e15b5399a626e37c44cdea042fe85df\PaintDotNet.Framework.ni.dll, version=4.5.5454.39504
    C:\Windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Data\4952e53631c8607090a3a3ea45123963\PaintDotNet.Data.ni.dll, version=4.5.5454.39504
    C:\Windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Effects\2fb20a5d024e2b717110260b9876f485\PaintDotNet.Effects.ni.dll, version=4.5.5454.39504
    C:\Windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet\81accc554a87acb701387e6b9f07aad1\PaintDotNet.ni.exe, version=4.5.5454.39504
    C:\Windows\system32\dwrite.dll, version=6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WPF\wpfgfx_v0400.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\system32\OLEAUT32.dll, version=6.1.7601.18679
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WPF\PresentationNative_v0400.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\system32\shell32.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\nlssorting.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\system32\version.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clrjit.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_64\PaintDotNetc8826574#\74e740d2d11903905907a068a5dba2fb\PaintDotNet.SystemLayer.Native.x64.ni.dll, version=4.5.5454.39504
    C:\Program Files\paint.net\PaintDotNet.SystemLayer.Native.x64.dll, version=4.5.5454.39504
    C:\Windows\system32\MSVCR120.dll, version=12.00.21005.1 built by: REL
    C:\Windows\system32\VCOMP120.DLL, version=12.00.21005.1 built by: REL
    C:\Windows\system32\MSVCP120.dll, version=12.00.21005.1 built by: REL
    C:\Windows\system32\PROPSYS.dll, version=7.00.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.18455_none_2b283fd671e9bf4d\gdiplus.dll, version=6.1.7601.18455 (win7sp1_gdr.140425-1537)
    C:\Windows\system32\dxgi.dll, version=6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
    C:\Windows\system32\dwmapi.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\WINTRUST.dll, version=6.1.7601.18741 (win7sp1_gdr.150202-1526)
    C:\Windows\system32\CRYPT32.dll, version=6.1.7601.18741 (win7sp1_gdr.150202-1526)
    C:\Windows\system32\MSASN1.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)
    C:\Windows\system32\profapi.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\CLBCatQ.DLL, version=2001.12.8530.16385 (win7_rtm.090713-1255)
    C:\Windows\System32\UIAnimation.dll, version=6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
    C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\comctl32.dll, version=6.10 (win7_rtm.090713-1255)
    C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.18201_none_a4d3b9377117c3df\comctl32.dll, version=6.10 (win7_rtm.090713-1255)
    C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Configuration\80f88967b4c8dc38dc41830ad103ef61\System.Configuration.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Xml\34c39e0a6f78e6174c7218509e59819b\System.Xml.ni.dll, version=4.0.30319.34234 built by: FX452RTMGDR
    C:\Windows\system32\WindowsCodecs.dll, version=6.2.9200.17251 (win8_gdr.150128-1514)
    C:\Windows\system32\wtsapi32.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\WINSTA.dll, version=6.1.7601.18540 (win7sp1_gdr.140716-1508)
    C:\Windows\system32\d2d1.dll, version=6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
    C:\Windows\system32\d3d11.dll, version=6.2.9200.16570 (win8_gdr.130327-1526)
    C:\Windows\system32\D3D10Warp.dll, version=6.2.9200.17033 (win8_gdr.140615-1509)
    C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Xaml\c0a5970befef488c84cb2b29c2b8c767\System.Xaml.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\system32\RpcRtRemote.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)
    C:\Windows\system32\aticfx64.dll, version=8.17.10.1129
    C:\Windows\system32\atiuxp64.dll, version=8.14.01.6264
    C:\Windows\system32\atidxx64.dll, version=8.17.10.0436
    C:\Windows\system32\winmm.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\explorerframe.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\DUser.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\DUI70.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Program Files (x86)\Mirillis\Action!\action_x64.dll, version=1, 24, 3, 0
    C:\Windows\WinSxS\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4940_none_08e4299fa83d7e3c\MSVCR90.dll, version=9.00.30729.4940
    C:\Windows\system32\AVRT.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\WINHTTP.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\webio.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)
    C:\Windows\system32\WSOCK32.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\WS2_32.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\NSI.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\WinSxS\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4940_none_08e4299fa83d7e3c\MSVCP90.dll, version=9.00.30729.4940
    C:\Windows\system32\mmdevapi.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\SetupApi.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\CFGMGR32.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)
    C:\Windows\system32\DEVOBJ.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\psapi.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
------------------------------------------------------------------------------

I've put it into a spoiler as to make the post not... huge.

 

Sorry if I'm doing something wrong, I've skimmed the rules and this all seems to be in order.

Edited by Smaland47
Link to comment
Share on other sites

Glad you got it sorted Smaland47!  

 

It's wonderful how much good a cold boot can do to solve mysterious issues like this :D

  • Upvote 1
Link to comment
Share on other sites

Problem.

While restarting does fix it, which I'm pretty happy about, the error comes back after a while.

 

Not sure if it's a different error, it does seem similar/exactly the same however.
 

This text file was created because paint.net crashed. Please e-mail this to crashlog4@getpaint.net so we can diagnose and fix the problem.



Application version: paint.net 4.0.5 (Final 4.5.5454.39504)

Time of crash: 23/04/2015 9:46:43 PM

Application uptime: 00:00:02.8851650

Application state: Running 

Working set: 85,940 KiB

Threads: 21

Install directory: C:\Program Files\paint.net

Current directory: C:\Program Files\paint.net

OS Version: 6.1.7601.65536 Service Pack 1 Workstation x64

.NET version: CLR 4.0.30319.34209 x64, FX 4.0 4.5

Processor: 2x "Intel(R) Core(TM)2 Duo CPU     E6550  @ 2.33GHz" @ ~2327MHz (DEP, SSE, SSE2, SSE3, SSSE3)

Physical memory: 3070 MB

Video card: ATI Radeon HD 3400 Series (v:1002, d:95C5, r:0)

Hardware acceleration: True (default: True)

UI animations: True

UI DPI: 96.00 dpi (1.00x scale)

UI theme: Aero/Aero + DWM (Aero.msstyles)

Updates: True, 23/04/2015

Locale: pdnr.c: en-US, hklm: en-US, hkcu: en-US, cc: en-CA, cuic: en-US

Flags: ErrorFlags=(EnabledCanvasAutoFlushingDueToEndDrawAccessViolation), EnableCanvasAutoFlushing=True



Exception details:

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. (PaintDotNet.Canvas.CanvasControl)

   at PaintDotNet.SystemLayer.Native.x64.Direct2D.D2DRenderTarget.EndDraw(Tag& tag1, Tag& tag2)

   at PaintDotNet.Controls.Direct2DControlHandler.RelayGdiPaintImpl(GdiPaintContext ctx) in d:\src\pdn\paintdotnet\src\Framework\Controls\Direct2DControlHandler.cs:line 697

   at PaintDotNet.Controls.Direct2DControlHandler.RelayGdiPaint(GdiPaintContext ctx) in d:\src\pdn\paintdotnet\src\Framework\Controls\Direct2DControlHandler.cs:line 494

   at PaintDotNet.Controls.Direct2DControl.OnGdiPaint(GdiPaintContext ctx) in d:\src\pdn\paintdotnet\src\Framework\Controls\Direct2DControl.cs:line 346

   at PaintDotNet.SystemLayer.GdiPaintHandler.OnWmPaint(Message& m) in d:\src\pdn\paintdotnet\src\SystemLayer\GdiPaintHandler.cs:line 184

   at PaintDotNet.SystemLayer.GdiPaintControl.WndProc(Message& m) in d:\src\pdn\paintdotnet\src\SystemLayer\GdiPaintControl.cs:line 132

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)



Managed assemblies: 

    mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll

    PaintDotNet, Version=4.5.5454.39504, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.exe

    PaintDotNet.Core, Version=4.5.5454.39504, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.Core.dll

    PaintDotNet.Base, Version=4.5.5454.39504, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.Base.dll

    System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll

    System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll

    PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.dll

    WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\WindowsBase\v4.0_4.0.0.0__31bf3856ad364e35\WindowsBase.dll

    PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 @ C:\Windows\Microsoft.Net\assembly\GAC_64\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\PresentationCore.dll

    System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll

    System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll

    PaintDotNet.SystemLayer, Version=4.5.5454.39504, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.SystemLayer.dll

    PaintDotNet.Framework, Version=4.5.5454.39504, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.Framework.dll

    PaintDotNet.Resources, Version=4.5.5454.39504, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.Resources.dll

    PaintDotNet.Data, Version=4.5.5454.39504, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.Data.dll

    PaintDotNet.Effects, Version=4.5.5454.39504, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.Effects.dll

    PaintDotNet.SystemLayer.Native.x64, Version=4.5.5454.39504, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.SystemLayer.Native.x64.dll

    System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll

    System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll

    System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xaml\v4.0_4.0.0.0__b77a5c561934e089\System.Xaml.dll



Native modules: 

    C:\Program Files\paint.net\PaintDotNet.exe, version=4.5.5454.39504

    C:\Windows\SYSTEM32\ntdll.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)

    C:\Windows\SYSTEM32\MSCOREE.DLL, version=4.0.40305.0 (Main.040305-0000)

    C:\Windows\system32\KERNEL32.dll, version=6.1.7601.18015 (win7sp1_gdr.121129-1432)

    C:\Windows\system32\KERNELBASE.dll, version=6.1.7601.18015 (win7sp1_gdr.121129-1432)

    C:\Windows\system32\ADVAPI32.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)

    C:\Windows\system32\msvcrt.dll, version=7.0.7601.17744 (win7sp1_gdr.111215-1535)

    C:\Windows\SYSTEM32\sechost.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)

    C:\Windows\system32\RPCRT4.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)

    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscoreei.dll, version=4.0.30319.34209 built by: FX452RTMGDR

    C:\Windows\system32\SHLWAPI.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)

    C:\Windows\system32\GDI32.dll, version=6.1.7601.18778 (win7sp1_gdr.150304-1507)

    C:\Windows\system32\USER32.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)

    C:\Windows\system32\LPK.dll, version=6.1.7601.18768 (win7sp1_gdr.150219-1512)

    C:\Windows\system32\USP10.dll, version=1.0626.7601.18454 (win7sp1_gdr.140424-1533)

    C:\Windows\system32\IMM32.DLL, version=6.1.7600.16385 (win7_rtm.090713-1255)

    C:\Windows\system32\MSCTF.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)

    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll, version=4.0.30319.34209 built by: FX452RTMGDR

    C:\Windows\system32\MSVCR120_CLR0400.dll, version=12.00.51689.34249 built by: FX452RTMGDR

    C:\Windows\assembly\NativeImages_v4.0.30319_64\mscorlib\701f2b79b02a02beba70e50bb2edb212\mscorlib.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR

    C:\Windows\system32\ole32.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)

    C:\Windows\system32\CRYPTBASE.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)

    C:\Windows\system32\uxtheme.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)

    C:\Windows\assembly\NativeImages_v4.0.30319_64\System\edc284c2fc5f774b65992c5e0b6a1899\System.ni.dll, version=4.0.30319.34238 built by: FX452RTMGDR

    C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Drawing\b79460dafcc1614a09fb69e06186f460\System.Drawing.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR

    C:\Windows\assembly\NativeImages_v4.0.30319_64\WindowsBase\a864538f4d604f90a46f5fe95657e2a9\WindowsBase.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR

    C:\Windows\system32\CRYPTSP.dll, version=6.1.7601.18741 (win7sp1_gdr.150202-1526)

    C:\Windows\system32\rsaenh.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)

    C:\Windows\assembly\NativeImages_v4.0.30319_64\PresentationCore\e4259a0c65b65210105f38ae5d23ecdf\PresentationCore.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR

    C:\Windows\assembly\NativeImages_v4.0.30319_64\Presentatio5ae0f00f#\2296131f7d533c511a6c60490315f49c\PresentationFramework.ni.dll, version=4.0.30319.34209

    C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Core\cde9119343aaa59211955780255a78b5\System.Core.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR

    C:\Windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Base\47328b28d30eac5a581311e49baea217\PaintDotNet.Base.ni.dll, version=4.5.5454.39504

    C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Windows.Forms\6b9a6cf73f6556f6989316117a07ef9d\System.Windows.Forms.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR

    C:\Windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet500b2e4f#\c5947e458583a0e6453658f79e3b3c8f\PaintDotNet.SystemLayer.ni.dll, version=4.5.5454.39504

    C:\Windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Core\5850b19c49f54d41b62179cbe02ec601\PaintDotNet.Core.ni.dll, version=4.5.5454.39504

    C:\Windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet26779e70#\66d016f04bc1755326d8c6e13c66b6a2\PaintDotNet.Resources.ni.dll, version=4.5.5454.39504

    C:\Windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet7afaaa15#\3e15b5399a626e37c44cdea042fe85df\PaintDotNet.Framework.ni.dll, version=4.5.5454.39504

    C:\Windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Data\4952e53631c8607090a3a3ea45123963\PaintDotNet.Data.ni.dll, version=4.5.5454.39504

    C:\Windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Effects\2fb20a5d024e2b717110260b9876f485\PaintDotNet.Effects.ni.dll, version=4.5.5454.39504

    C:\Windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet\81accc554a87acb701387e6b9f07aad1\PaintDotNet.ni.exe, version=4.5.5454.39504

    C:\Windows\system32\dwrite.dll, version=6.2.9200.16492 (win8_gdr_oobssr.130113-0015)

    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WPF\wpfgfx_v0400.dll, version=4.0.30319.34209 built by: FX452RTMGDR

    C:\Windows\system32\OLEAUT32.dll, version=6.1.7601.18679

    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WPF\PresentationNative_v0400.dll, version=4.0.30319.34209 built by: FX452RTMGDR

    C:\Windows\system32\shell32.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)

    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\nlssorting.dll, version=4.0.30319.34209 built by: FX452RTMGDR

    C:\Windows\system32\version.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)

    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clrjit.dll, version=4.0.30319.34209 built by: FX452RTMGDR

    C:\Windows\assembly\NativeImages_v4.0.30319_64\PaintDotNetc8826574#\74e740d2d11903905907a068a5dba2fb\PaintDotNet.SystemLayer.Native.x64.ni.dll, version=4.5.5454.39504

    C:\Program Files\paint.net\PaintDotNet.SystemLayer.Native.x64.dll, version=4.5.5454.39504

    C:\Windows\system32\MSVCR120.dll, version=12.00.21005.1 built by: REL

    C:\Windows\system32\VCOMP120.DLL, version=12.00.21005.1 built by: REL

    C:\Windows\system32\MSVCP120.dll, version=12.00.21005.1 built by: REL

    C:\Windows\system32\PROPSYS.dll, version=7.00.7600.16385 (win7_rtm.090713-1255)

    C:\Windows\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.18455_none_2b283fd671e9bf4d\gdiplus.dll, version=6.1.7601.18455 (win7sp1_gdr.140425-1537)

    C:\Windows\system32\dxgi.dll, version=6.2.9200.16492 (win8_gdr_oobssr.130113-0015)

    C:\Windows\system32\dwmapi.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)

    C:\Windows\system32\WINTRUST.dll, version=6.1.7601.18741 (win7sp1_gdr.150202-1526)

    C:\Windows\system32\CRYPT32.dll, version=6.1.7601.18741 (win7sp1_gdr.150202-1526)

    C:\Windows\system32\MSASN1.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)

    C:\Windows\system32\profapi.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)

    C:\Windows\system32\CLBCatQ.DLL, version=2001.12.8530.16385 (win7_rtm.090713-1255)

    C:\Windows\System32\UIAnimation.dll, version=6.2.9200.16492 (win8_gdr_oobssr.130113-0015)

    C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\comctl32.dll, version=6.10 (win7_rtm.090713-1255)

    C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.18201_none_a4d3b9377117c3df\comctl32.dll, version=6.10 (win7_rtm.090713-1255)

    C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Configuration\80f88967b4c8dc38dc41830ad103ef61\System.Configuration.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR

    C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Xml\34c39e0a6f78e6174c7218509e59819b\System.Xml.ni.dll, version=4.0.30319.34234 built by: FX452RTMGDR

    C:\Windows\system32\WindowsCodecs.dll, version=6.2.9200.17251 (win8_gdr.150128-1514)

    C:\Windows\system32\wtsapi32.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)

    C:\Windows\system32\WINSTA.dll, version=6.1.7601.18540 (win7sp1_gdr.140716-1508)

    C:\Windows\system32\d2d1.dll, version=6.2.9200.16492 (win8_gdr_oobssr.130113-0015)

    C:\Windows\system32\d3d11.dll, version=6.2.9200.16570 (win8_gdr.130327-1526)

    C:\Windows\system32\D3D10Warp.dll, version=6.2.9200.17033 (win8_gdr.140615-1509)

    C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Xaml\c0a5970befef488c84cb2b29c2b8c767\System.Xaml.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR

    C:\Windows\system32\RpcRtRemote.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)

    C:\Program Files (x86)\Mirillis\Action!\action_x64.dll, version=1, 24, 3, 0

    C:\Windows\WinSxS\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4940_none_08e4299fa83d7e3c\MSVCR90.dll, version=9.00.30729.4940

    C:\Windows\system32\WINMM.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)

    C:\Windows\system32\AVRT.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)

    C:\Windows\system32\WINHTTP.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)

    C:\Windows\system32\webio.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)

    C:\Windows\system32\WSOCK32.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)

    C:\Windows\system32\WS2_32.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)

    C:\Windows\system32\NSI.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)

    C:\Windows\WinSxS\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4940_none_08e4299fa83d7e3c\MSVCP90.dll, version=9.00.30729.4940

    C:\Windows\system32\aticfx64.dll, version=8.17.10.1129

    C:\Windows\system32\atiuxp64.dll, version=8.14.01.6264

    C:\Windows\system32\atidxx64.dll, version=8.17.10.0436

    C:\Windows\system32\mmdevapi.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)

    C:\Windows\system32\explorerframe.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)

    C:\Windows\system32\DUser.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)

    C:\Windows\system32\DUI70.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)

    C:\Windows\system32\SetupApi.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)

    C:\Windows\system32\CFGMGR32.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)

    C:\Windows\system32\DEVOBJ.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)

    C:\Windows\system32\psapi.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)

------------------------------------------------------------------------------

I've put it into a spoiler as to make the post not... huge.
 
EDIT:
 Found something that may help a lot.
I found out it starts crashing when I open Mirillis Action. (hope that's not advertising or something)
Close Action, it works. Open it, it crashes. So I'll do that instead of restarting. If it can be fixed somehow, that'd be nice though. Don't know much about code. 
Edited by Smaland47
Link to comment
Share on other sites

Mirillis Action has a bug that breaks Paint.NET's use of hardware acceleration for some reason. Presumably it would do that with other Direct2D-based applications, but I don't know.

 

Try turning off Hardware Acceleration in Paint.NET's settings.

  • Upvote 1

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Mirillis Action has a bug that breaks Paint.NET's use of hardware acceleration for some reason. Presumably it would do that with other Direct2D-based applications, but I don't know.

 

Try turning off Hardware Acceleration in Paint.NET's settings.

Thank you. That fixed it. I can now semi-multitask. :}

Link to comment
Share on other sites

  • 2 weeks later...

Greetings....This thread appears to discuss the same problem I'm having ... I'm running the latest version of paint .net  with Windows 7 ....everytime I click the random effect button i get this message

but paint.net has encountered an unhandled exception and must close..

I also get this when i click the the curves+ in the adjustmensts tab...It instructs me to re-start ..when I do..... same problem persists... I have been using paint.net for some time and I recently uploaded the lastest version.. thinking it was a problem with the older version....apparently the same problem exists with the latest version as well... I also tried turning off Hardware acceleration as the above post suggests ..it actually reads "hardware accelerated rendering (GPU)".... I presume this is the same setting. I unticked it and nothing changes I still get the same error messages...

Bummer because I really like to use the randon effect plugin.. is there a quick fix for this? any assistance would be greatly appreciated..

Thank you..

Edited by RJRam
Link to comment
Share on other sites

Check your Plugin Errors in the Settings dialog.

I suspect that the Random Effect plugin may be trying to load an incompatible plugin. If you have plugin errors, delete those DLL files and restart paint.net for another try.

Some plugins have been updated for paint.net 4.0+. You'll need to download these later versions where conflicts with the old DLL exist.

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...