Hi everyone today I'd like to report a bug that prevents Paint.net from starting normally. It's weird because I've been using paint.net for a year without any worries. But this morning I wanted to start it but it showed me this :
I checked the logs after this problem above and here is what the logs showed me :
Application version: paint.net v4.0.21 (Final 4.21.6589.7045)
Time of crash: 18/06/2018 10:24:40
Application uptime: 00:00:00.8187511
Application state: Running
Working set: 102 416 KiB
Handles and threads: 600 handles, 24 threads, 70 gdi, 88 user
Install type: Classic
Application directory: C:\Program Files\paint.net
Current directory: C:\Program Files\paint.net
Install directory: C:\Program Files\paint.net
OS Version: Windows 10 Home 10.0.17134.0 x64 (0x65)
.NET version: CLR 4.0.30319.42000 x64
Processor: "Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz" @ ~2400MHz (2C/4T, DEP, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, XSAVE)
Physical memory: 3952 MB
Video card: AMD Radeon (TM) R5 M330 (v:1002, d:6660, r:131), Intel(R) HD Graphics 520 (v:8086, d:1916, r:7), Microsoft Basic Render Driver (v:1414, d:8C, r:0)
Hardware acceleration: True (default: True)
UI animations: True
UI DPI: 120,00 dpi (1,25x scale)
UI theme: VisualStyleClass=Aero, EffectiveTheme=Aero, DWM=yes, AeroColorScheme=Dark, ThemeFileName=Aero.msstyles
Updates: True, 24/05/2018
Locale: pdnr.c: fr-FR, hklm: fr-FR, hkcu: fr-FR, cc: fr-FR, cuic: fr-FR
Flags:
Exception details:
System.Runtime.InteropServices.COMException (0x8876017C): ..\Direct2D\D2DRenderTarget.cpp (286) : hr = m_pRenderTarget->EndDraw(&d2dTag1, &d2dTag2); (PaintDotNet.Canvas.CanvasControl)
à PaintDotNet.Interop.InteropErrorInfo.ThrowIfError() dans D:\src\pdn\src\Base\Interop\InteropErrorInfo.cs:ligne 89
à PaintDotNet.SystemLayer.Native.x64.NativeUtilities.ThrowOnErrorImpl(Int32 hr, SByte* szHr, IUnknown* pFxErrorInfo)
à PaintDotNet.SystemLayer.Native.x64.Direct2D.D2DRenderTarget.EndDraw(Tag& tag1, Tag& tag2)
à PaintDotNet.Controls.Direct2DControlHandler.RelayGdiPaintImpl(GdiPaintContext ctx) dans D:\src\pdn\src\Framework\Controls\Direct2DControlHandler.cs:ligne 667
à PaintDotNet.Controls.Direct2DControlHandler.RelayGdiPaint(GdiPaintContext ctx) dans D:\src\pdn\src\Framework\Controls\Direct2DControlHandler.cs:ligne 483
à PaintDotNet.Controls.Direct2DControl.OnGdiPaint(GdiPaintContext ctx) dans D:\src\pdn\src\Framework\Controls\Direct2DControl.cs:ligne 347
à PaintDotNet.SystemLayer.GdiPaintHandler.OnWmPaint(Message& m) dans D:\src\pdn\src\SystemLayer\GdiPaintHandler.cs:ligne 184
à PaintDotNet.SystemLayer.GdiPaintHandler.RelayWndProc(Message& m) dans D:\src\pdn\src\SystemLayer\GdiPaintHandler.cs:ligne 233
à PaintDotNet.SystemLayer.GdiPaintControl.WndProc(Message& m) dans D:\src\pdn\src\SystemLayer\GdiPaintControl.cs:ligne 130
à 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.21.6589.7045, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.exe
PaintDotNet.Base, Version=4.21.6589.7045, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.Base.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
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, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System
So I tried to uninstall and reinstall paint.net several times and it always displayed the same error message...