Jump to content

Paint.NET crashes!


Gabardino

Recommended Posts

Hello everybody,

 

I have just installed the latest beta version (4.0.5152.40811) and realized that Paint.NET crashes when clicking on the "Settings" icon on the top right. A message informs me whether I want to relaunch the software.

I am running Paint.NET on Windows 7 (x86).

Edited by Gabardino
Link to comment
Share on other sites

Glad you got it sorted!

 

The Doctor: There was a goblin, or a trickster, or a warrior... A nameless, terrible thing, soaked in the blood of a billion galaxies. The most feared being in all the cosmos. And nothing could stop it, or hold it, or reason with it. One day it would just drop out of the sky and tear down your world.
Amy: But how did it end up in there?
The Doctor: You know fairy tales. A good wizard tricked it.
River Song: I hate good wizards in fairy tales; they always turn out to be him.

Link to comment
Share on other sites

I guess since this topic has been started, I'll add in my troubles that happened when I chose to update Paint.NET from within itself. It did its thing and installed the new beta, but every time I open it up, I get an error message that says it has crashed. I've been searching for solutions to this via these forums and saw something about custom plugins could be one. Deleted the ones I really don't use that much (or rather just all of them) and the error still remains. I saw another possible solution where you had to repair .NET Framework itself, so I tried that, but when I opened paint.NET, it crashed yet again. I'm at the point where I'll just install the version before this beta. Here's the code that the crash error wants me to post: 

 
 
Application version: paint.net 4.0 (β 4.0.5152.40811)
 
Time of crash: 2/12/2014 5:30:40 PM
 
Application uptime: 00:00:01.7000972
 
Application state: Starting 
 
Working set: 55,112 KiB
 
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.18408 x64, FX 4.0 4.5
 
Processor: 2x "Pentium® Dual-Core CPU       T4500  @ 2.30GHz" @ ~2294MHz (SSE, SSE2, SSE3, SSSE3, XSAVE)
 
Physical memory: 4028 MB
 
Hardware acceleration: True
 
Video card: Mobile Intel® 4 Series Express Chipset Family
 
UI animations: True
 
UI DPI: 96.00 dpi (1.00x scale)
 
UI theme: Other/Aero + DWM (leaf_by_dpcdpc11_btm_R.msstyles)
 
Updates: True, 1/1/0001
 
Locale: pdnr.c: en-US, hklm: en-US, hkcu: en-US, cc: en-US, cuic: en-US
 
 
 
Exception details:
 
PaintDotNet.DirectWrite.NoFontException (0x88985002): ..\DirectWrite\DWGdiInterop.cpp (57) : hr = m_pGdiInterop->CreateFontFromLOGFONT( &gdiLogFont, &spFont);
 
   at PaintDotNet.Interop.InteropErrorInfo.ThrowIfError() in D:\src\pdn\paintdotnet\src\Base\Interop\InteropErrorInfo.cs:line 91
 
   at PaintDotNet.SystemLayer.Native.x64.NativeUtilities.ThrowOnErrorImpl(Int32 hr, SByte* szHr, IUnknown* pFxErrorInfo)
 
   at PaintDotNet.SystemLayer.Native.x64.DirectWrite.DWGdiInterop.CreateFontFromGdiFontFaceName(String gdiFontFaceName)
 
   at PaintDotNet.DirectWrite.GdiSystemFonts.GetSystemFontProperties(GdiSystemFont gdiSystemFont) in D:\src\pdn\paintdotnet\src\Core\DirectWrite\GdiSystemFonts.cs:line 84
 
   at System.Lazy`1.CreateValue()
 
   at System.Lazy`1.LazyInitValue()
 
   at PaintDotNet.DirectWrite.GdiSystemFonts.get_Menu() in D:\src\pdn\paintdotnet\src\Core\DirectWrite\GdiSystemFonts.cs:line 49
 
   at PaintDotNet.Controls.Ruler..ctor() in D:\src\pdn\paintdotnet\src\PaintDotNet\Controls\Ruler.cs:line 312
 
   at PaintDotNet.Controls.DocumentView.InitializeComponent() in D:\src\pdn\paintdotnet\src\PaintDotNet\Controls\DocumentView.cs:line 615
 
   at PaintDotNet.Controls.DocumentView..ctor() in D:\src\pdn\paintdotnet\src\PaintDotNet\Controls\DocumentView.cs:line 159
 
   at PaintDotNet.Controls.DocumentWorkspace..ctor() in D:\src\pdn\paintdotnet\src\PaintDotNet\Controls\DocumentWorkspace.cs:line 554
 
   at PaintDotNet.Controls.AppWorkspace.AddNewDocumentWorkspace() in D:\src\pdn\paintdotnet\src\PaintDotNet\Controls\AppWorkspace.cs:line 829
 
   at PaintDotNet.Controls.AppWorkspace.CreateBlankDocumentInNewWorkspace(SizeInt32 size, MeasurementUnit dpuUnit, Double dpu, Boolean isInitial) in D:\src\pdn\paintdotnet\src\PaintDotNet\Controls\AppWorkspace.cs:line 2363
 
   at PaintDotNet.Dialogs.MainForm..ctor(String[] args) in D:\src\pdn\paintdotnet\src\PaintDotNet\Dialogs\MainForm.cs:line 447
 
   at PaintDotNet.Startup.StartPart2(String mutexName, String[] remainingArgs) in D:\src\pdn\paintdotnet\src\PaintDotNet\Startup.cs:line 645
 
   at PaintDotNet.Startup.Start() in D:\src\pdn\paintdotnet\src\PaintDotNet\Startup.cs:line 419
 
   at PaintDotNet.Startup.Main(String[] args) in D:\src\pdn\paintdotnet\src\PaintDotNet\Startup.cs:line 884
 
 
 
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.0.5152.40811, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.exe
 
    PaintDotNet.Base, Version=4.0.5152.40811, 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
 
    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.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
 
    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
 
    PaintDotNet.Core, Version=4.0.5152.40811, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.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.0.5152.40811, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.dll
 
    PaintDotNet.Framework, Version=4.0.5152.40811, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Framework.dll
 
    PaintDotNet.Resources, Version=4.0.5152.40811, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Resources.dll
 
    PaintDotNet.Data, Version=4.0.5152.40811, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Data.dll
 
    PaintDotNet.Effects, Version=4.0.5152.40811, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Effects.dll
 
    PaintDotNet.SystemLayer.Native.x64, Version=4.0.5152.40811, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.Native.x64.dll
 
 
 
Native modules: 
 
    C:\Program Files\Paint.NET\PaintDotNet.exe, version=4.0.5152.40811
 
    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.18408 built by: FX451RTMGREL
 
    C:\windows\system32\SHLWAPI.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
 
    C:\windows\system32\GDI32.dll, version=6.1.7601.18275 (win7sp1_gdr.131002-1533)
 
    C:\windows\system32\USER32.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)
 
    C:\windows\system32\LPK.dll, version=6.1.7601.18177 (win7sp1_gdr.130605-1534)
 
    C:\windows\system32\USP10.dll, version=1.0626.7601.18009 (win7sp1_gdr.121121-1431)
 
    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.18408 built by: FX451RTMGREL
 
    C:\windows\system32\MSVCR110_CLR0400.dll, version=11.00.50938.18408 built by: FX451RTMGREL
 
    C:\windows\assembly\NativeImages_v4.0.30319_64\mscorlib\54c5d3ee1f311718f3a2feb337c5fa29\mscorlib.ni.dll, version=4.0.30319.18408 built by: FX451RTMGREL
 
    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\4598449d72d7ebbd53952399ed5fc710\System.ni.dll, version=4.0.30319.18408 built by: FX451RTMGREL
 
    C:\windows\assembly\NativeImages_v4.0.30319_64\WindowsBase\a4da99c6b004dccd9d04901b883532b1\WindowsBase.ni.dll, version=4.0.30319.18408 built by: FX451RTMGREL
 
    C:\windows\system32\CRYPTSP.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
 
    C:\windows\system32\rsaenh.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
 
    C:\windows\assembly\NativeImages_v4.0.30319_64\System.Drawing\3910e71ce88e7357fb3a36e72e8bbf36\System.Drawing.ni.dll, version=4.0.30319.18408 built by: FX451RTMGREL
 
    C:\windows\assembly\NativeImages_v4.0.30319_64\PresentationCore\bbeeae74f02b74f8ddd6d16a4ba20047\PresentationCore.ni.dll, version=4.0.30319.18408 built by: FX451RTMGREL
 
    C:\windows\assembly\NativeImages_v4.0.30319_64\Presentatio5ae0f00f#\c7c9cfde997a6a8d8286df1ac983b9a3\PresentationFramework.ni.dll, version=4.0.30319.18408
 
    C:\windows\assembly\NativeImages_v4.0.30319_64\System.Core\c7f0d1f9b23270a4e10e9ea2d5ebaf07\System.Core.ni.dll, version=4.0.30319.18408 built by: FX451RTMGREL
 
    C:\windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Base\b5cb6b9a01026fa5ca342cce7ea6efed\PaintDotNet.Base.ni.dll, version=4.0.5152.40811
 
    C:\windows\assembly\NativeImages_v4.0.30319_64\System.Windows.Forms\def88a73637e1af60947a105d8931e6d\System.Windows.Forms.ni.dll, version=4.0.30319.18408 built by: FX451RTMGREL
 
    C:\windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet500b2e4f#\f9e76c474d2b5200a5983002e6d98113\PaintDotNet.SystemLayer.ni.dll, version=4.0.5152.40811
 
    C:\windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Core\fe1d08fb6dc3881cacdba72b212f6ff9\PaintDotNet.Core.ni.dll, version=4.0.5152.40811
 
    C:\windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet26779e70#\081c574539a6a6908f11133c45a6733a\PaintDotNet.Resources.ni.dll, version=4.0.5152.40811
 
    C:\windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet7afaaa15#\da1682204db5e593653f22df3f6a8a4b\PaintDotNet.Framework.ni.dll, version=4.0.5152.40811
 
    C:\windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Data\3165a2a17920e97dd3987ce62d771996\PaintDotNet.Data.ni.dll, version=4.0.5152.40811
 
    C:\windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Effects\57e35f8cf85c3aaa1f16431eef18187d\PaintDotNet.Effects.ni.dll, version=4.0.5152.40811
 
    C:\windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet\04357ccda9a6ab600ccdc9d614d8b2ce\PaintDotNet.ni.exe, version=4.0.5152.40811
 
    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.18408 built by: FX451RTMGREL
 
    C:\windows\system32\OLEAUT32.dll, version=6.1.7601.17676
 
    C:\windows\Microsoft.NET\Framework64\v4.0.30319\WPF\PresentationNative_v0400.dll, version=4.0.30319.18408 built by: FX451RTMGREL
 
    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.18408 built by: FX451RTMGREL
 
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clrjit.dll, version=4.0.30319.18408 built by: FX451RTMGREL
 
    C:\windows\system32\dwmapi.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
 
    C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.Native.x64.dll, version=4.0
 
    C:\windows\system32\MSVCR100.dll, version=10.00.40219.325
 
    C:\windows\system32\VCOMP100.DLL, version=10.00.40219.325 built by: SP1LDR
 
    C:\windows\system32\MSVCP100.dll, version=10.00.40219.325
 
    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.18120_none_2b25b14c71ebf230\gdiplus.dll, version=6.1.7601.18120 (win7sp1_gdr.130402-1532)
 
    C:\windows\system32\profapi.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
 
    C:\windows\assembly\NativeImages_v4.0.30319_64\PaintDotNetc8826574#\bc5840806d5bef7d66d6082a62f43072\PaintDotNet.SystemLayer.Native.x64.ni.dll, version=4.0
 
    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\system32\version.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
 
    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=5.82 (win7_rtm.090713-1255)
 
    C:\windows\system32\WindowsCodecs.dll, version=6.2.9200.16583 (win8_gdr.130412-1706)
 
    C:\windows\system32\d2d1.dll, version=6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
 
    C:\windows\system32\wtsapi32.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
 
    C:\windows\system32\WINSTA.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)
 
    C:\windows\system32\d3d11.dll, version=6.2.9200.16570 (win8_gdr.130327-1526)
 
    C:\windows\system32\dxgi.dll, version=6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
 
    C:\windows\system32\D3D10Warp.dll, version=6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
 
    C:\windows\system32\DXGIDebug.dll, version=9.30.9600.16384
 
    C:\windows\system32\WINTRUST.dll, version=6.1.7601.18205 (win7sp1_gdr.130708-1532)
 
    C:\windows\system32\CRYPT32.dll, version=6.1.7601.18277 (win7sp1_gdr.131005-0934)
 
    C:\windows\system32\MSASN1.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)
 
    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)
 
------------------------------------------------------------------------------
Link to comment
Share on other sites

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

 

PaintDotNet.DirectWrite.NoFontException (0x88985002): ..\DirectWrite\DWGdiInterop.cpp (57) : hr = m_pGdiInterop->CreateFontFromLOGFONT( &gdiLogFont, &spFont);

 

Try not using that theme. It apparently has a bug in it. I'll probably find a way to fix this for the next update, but in the meantime, you'll need to use a theme that isn't trying to reference a non-existent font.

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

Try not using that theme. It apparently has a bug in it. I'll probably find a way to fix this for the next update, but in the meantime, you'll need to use a theme that isn't trying to reference a non-existent font.

Ah ok. Interestingly though, the previous version of Paint.NET worked with many custom themes I've used.

Link to comment
Share on other sites

Interestingly though, the previous version of Paint.NET worked with many custom themes I've used.

4.0 changed a lot of its UI rendering from GDI to DirectWrite, so there's a lot of untested code in that area.

xZYt6wl.png

ambigram signature by Kemaru

[i write plugins and stuff]

If you like a post, upvote it!

Link to comment
Share on other sites

  • 3 weeks later...

my PDN is crashing & a box comes up saying "send to crashlog4@getpaint.net" but nothing ever happens.  no answers.  if i try to copy the 'crash log' it will not paste into here. 

 

Link to comment
Share on other sites

The crash log may be too large for the forum post limit. 

 

Try reseting the crash log by deleting the file found on your desktop.  The next time Paint.NET crashes the file will be created again with the single log in it.  Post this.  One crash event should fit in a post easily using cut & paste.

Link to comment
Share on other sites

The crash log may be too large for the forum post limit. 

 

Try reseting the crash log by deleting the file found on your desktop.  The next time Paint.NET crashes the file will be created again with the single log in it.  Post this.  One crash event should fit in a post easily using cut & paste.

thank you so much for your guidance, regards ;)

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