Jump to content

Font tool crashes program


Recommended Posts

Hey everyone,


Been using Paint.NET for a while now but today, it decided to drive me up a wall. The font tool is crashing the program. After some research, I found that this was a common problem & was in regards to some trouble that a Windows update caused with Direct2D/DirectWrite. But that was all from 2011 & this is happening to me as we speak.

Symptoms are identical to this thread: http://forums.getpaint.net/index.php?/topic/21240-paintnet-not-recognizing-fonts-crashing-text-tool/

 

I have version 3.5.11 installed and nothing comes to mind as to how this happened. I've never had an ounce of trouble with Paint.NET before today (of note: the last time I fired up Paint.NET to do some work was mid-June so I can't pinpoint a specific day/thing/update/etc that caused it. Could've been anything in the past two months, although I haven't done anything major at all).

Attached is the crash log. Any help would be infinitely appreciated.

 

--Henry

 

 

Link to comment
Share on other sites

Hey Henry!  Have you installed any new fonts recently?  I wonder if you have a bad font.  Uninstalling any recent font additions might make your problem go away.

Link to comment
Share on other sites

Hey Henry!  Have you installed any new fonts recently?  I wonder if you have a bad font.  Uninstalling any recent font additions might make your problem go away.

 

Interestingly enough, I did install a brand new front right before firing up Paint.NET (I needed the font for a project) & that was the first time I ever had Paint.NET crash on me. I thought the same thing you did, that these things might be related, but I uninstalled the font & the error remains.

Here's the crash log (sorry for how long this makes the post; if an admin can clean this up into a show/hide box, that may be preferable):

 

Hidden Content: Crash Log
This text file was created because Paint.NET crashed.
Please e-mail this file to crashlog@getpaint.net so we can diagnose and fix the problem.
 
Application version: Paint.NET v3.5.11 (Final Release build 3.511.4977.23443)
Time of crash: 8/22/2013 10:41:30 PM
Application uptime: 00:00:09.4945430
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 2.0.50727.5472 x64, FX 2.0 (rtm sp1 sp2) 3.0 (rtm sp1 sp2) 3.5 (rtm sp1 sp1_CP) 4.0 (rtm rtmEx)
Processor: 4x "Intel® Core i5-2450M CPU @ 2.50GHz" @ ~2494MHz (DEP, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2), fps=0x0
Physical memory: 3873 MB
UI DPI: 96.00 dpi (1.00x scale)
UI Theme: Aero/Aero + DWM (Aero.msstyles)
Updates: true, 8/22/2013
Locale: pdnr.c: en-US, hklm: en-US, hkcu: n/a, cc: en-US, cuic: en-US
Managed assemblies: 
    mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.NET\Framework64\v2.0.50727\mscorlib.dll
    PaintDotNet, Version=3.511.4977.23448, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.exe
    System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll
    PaintDotNet.SystemLayer, Version=3.511.4977.23442, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.dll
    System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll
    PaintDotNet.Base, Version=3.511.4977.23436, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Base.dll
    WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 @ C:\Windows\assembly\GAC_MSIL\WindowsBase\3.0.0.0__31bf3856ad364e35\WindowsBase.dll
    System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\assembly\GAC_MSIL\System.Core\3.5.0.0__b77a5c561934e089\System.Core.dll
    PaintDotNet.Resources, Version=3.511.4977.23443, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Resources.dll
    System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll
    PaintDotNet.Core, Version=3.511.4977.23444, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Core.dll
    PaintDotNet.Data, Version=3.511.4977.23447, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Data.dll
    Accessibility, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\Windows\assembly\GAC_MSIL\Accessibility\2.0.0.0__b03f5f7f11d50a3a\Accessibility.dll
    PaintDotNet.Effects, Version=3.511.4977.23447, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Effects.dll
    PaintDotNet.SystemLayer.Native.x64, Version=3.511.4977.23441, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.Native.x64.dll
    msvcm90, Version=9.0.30729.6161, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\Windows\WinSxS\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_08e61857a83bc251\msvcm90.dll
    AlignPlugin, Version=1.5.1.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\AlignPlugin.dll
    OutlineObject, Version=1.1.3160.31739, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Outline.dll
Native modules: 
    C:\Program Files\Paint.NET\PaintDotNet.exe, version='3.511.4977.23448'
    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.7600.16385 (win7_rtm.090713-1255)'
    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.237 (RTMGDR.030319-2300)'
    C:\Windows\system32\SHLWAPI.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
    C:\Windows\system32\GDI32.dll, version='6.1.7601.17514 (win7sp1_rtm.101119-1850)'
    C:\Windows\system32\USER32.dll, version='6.1.7601.17514 (win7sp1_rtm.101119-1850)'
    C:\Windows\system32\LPK.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
    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\v2.0.50727\mscorwks.dll, version='2.0.50727.5472 (Win7SP1GDR.050727-5400)'
    C:\Windows\WinSxS\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4940_none_88df89932faf0bf6\MSVCR80.dll, version='8.00.50727.4940'
    C:\Windows\system32\shell32.dll, version='6.1.7601.17514 (win7sp1_rtm.101119-1850)'
    C:\Windows\system32\ole32.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
    C:\Windows\system32\profapi.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
    C:\Windows\assembly\NativeImages_v2.0.50727_64\mscorlib\88744044294787b99dd4a8704ab75a79\mscorlib.ni.dll, version='2.0.50727.5472 (Win7SP1GDR.050727-5400)'
    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\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\Microsoft.NET\Framework64\v2.0.50727\mscorjit.dll, version='2.0.50727.5467 (Win7SP1GDR.050727-5400)'
    C:\Windows\assembly\NativeImages_v2.0.50727_64\System\af0a0b96a02f9925eb84392ee65a5cfa\System.ni.dll, version='2.0.50727.5467 (Win7SP1GDR.050727-5400)'
    C:\Windows\system32\RpcRtRemote.dll, version='6.1.7601.17514 (win7sp1_rtm.101119-1850)'
    C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.dll, version='3.511.4977.23442'
    C:\Windows\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll, version='2.0.50727.5468 (Win7SP1GDR.050727-5400)'
    C:\Windows\system32\VERSION.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
    C:\Windows\assembly\NativeImages_v2.0.50727_64\System.Core\296ad113496c7e97a1689ffef9550b19\System.Core.ni.dll, version='3.5.30729.5420 built by: Win7SP1'
    C:\Windows\assembly\NativeImages_v2.0.50727_64\WindowsBase\ae3db946d20bb0ad28cf588eef06ecf0\WindowsBase.ni.dll, version='3.0.6920.5453 built by: Win7SP1GDR'
    C:\Windows\assembly\NativeImages_v2.0.50727_64\PaintDotNet.Base\623c95808e75c333b258410fcefb78f5\PaintDotNet.Base.ni.dll, version='3.511.4977.23436'
    C:\Windows\assembly\NativeImages_v2.0.50727_64\System.Drawing\868d117286ad259249f31d3fe813d39a\System.Drawing.ni.dll, version='2.0.50727.5467 (Win7SP1GDR.050727-5400)'
    C:\Windows\assembly\NativeImages_v2.0.50727_64\PaintDotNet.Resourc#\be6e4d96e478bc2775a41dcc7f2aa290\PaintDotNet.Resources.ni.dll, version='3.511.4977.23443'
    C:\Windows\assembly\NativeImages_v2.0.50727_64\PaintDotNet.Core\f056feff790ec9c893b5269aebbefd97\PaintDotNet.Core.ni.dll, version='3.511.4977.23444'
    C:\Program Files\Paint.NET\Native.x64\PaintDotNet.Native.x64.dll, version='3.511.0.0'
    C:\Windows\WinSxS\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_08e61857a83bc251\MSVCR90.dll, version='9.00.30729.6161'
    C:\Windows\WinSxS\amd64_microsoft.vc90.openmp_1fc8b3b9a1e18e3b_9.0.30729.6161_none_390d35aa0a1f21f9\VCOMP90.DLL, version='9.00.30729.6161 built by: QFE'
    C:\Program Files\Paint.NET\PaintDotNet.Data.dll, version='3.511.4977.23447'
    C:\Windows\system32\dwmapi.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
    C:\Windows\assembly\NativeImages_v2.0.50727_64\Accessibility\ac8fcb25480f6a106783ce1c3fe92e3e\Accessibility.ni.dll, version='2.0.50727.4927 (NetFXspW7.050727-4900)'
    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\WindowsCodecs.dll, version='6.2.9200.16492 (win8_gdr_oobssr.130113-0015)'
    C:\Windows\assembly\NativeImages_v2.0.50727_64\PaintDotNet.Effects\eb3d26efe7a0075d4ca8737506a61fc5\PaintDotNet.Effects.ni.dll, version='3.511.4977.23447'
    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\assembly\NativeImages_v2.0.50727_64\PaintDotNet.SystemL#\ec5ff813fe4aad8d7dbc27c60d3cff14\PaintDotNet.SystemLayer.Native.x64.ni.dll, version='3.511.0.0'
    C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.Native.x64.dll, version='3.511.0.0'
    C:\Windows\system32\OLEAUT32.dll, version='6.1.7601.17676'
    C:\Windows\WinSxS\amd64_microsoft.vc90.atl_1fc8b3b9a1e18e3b_9.0.30729.6161_none_0a1fd3a3a768b895\ATL90.DLL, version='9.00.30729.6161'
    C:\Windows\WinSxS\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_08e61857a83bc251\msvcm90.dll, version='9.00.30729.6161'
    C:\Windows\system32\d2d1.dll, version='6.1.7601.17514 (win7sp1_rtm.101119-1850)'
    C:\Windows\system32\dwrite.dll, version='6.1.7601.18126 (win7sp1_gdr.130409-1534)'
    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\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\WINTRUST.dll, version='6.1.7601.18205 (win7sp1_gdr.130708-1532)'
    C:\Windows\system32\CRYPT32.dll, version='6.1.7601.18205 (win7sp1_gdr.130708-1532)'
    C:\Windows\system32\MSASN1.dll, version='6.1.7601.17514 (win7sp1_rtm.101119-1850)'
    C:\Program Files (x86)\DisplayFusion\Hooks\AppHookx64_E9858B3F-F33B-49A8-8E3D-513BE40CA429.dll, version='5.0.0.21'
    C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_none_a4d6a923711520a9\COMCTL32.dll, version='5.82 (win7_rtm.090713-1255)'
    C:\Windows\system32\WINMM.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
    C:\Program Files\Paint.NET\Effects\AlignPlugin.dll, version='1.5.1.0'
    C:\Program Files\Paint.NET\Effects\Outline.dll, version='1.1.3160.31739'
    C:\Windows\system32\d3d10_1.dll, version='6.2.9200.16492 (win8_gdr_oobssr.130113-0015)'
    C:\Windows\system32\d3d10_1core.dll, version='6.2.9200.16492 (win8_gdr_oobssr.130113-0015)'
    C:\Windows\system32\dxgi.dll, version='6.2.9200.16492 (win8_gdr_oobssr.130113-0015)'
    C:\Windows\system32\d3d11.dll, version='6.2.9200.16492 (win8_gdr_oobssr.130113-0015)'
    C:\Windows\system32\psapi.dll, version='6.1.7600.16385 (win7_rtm.090713-1255)'
 
Exception details:
PaintDotNet.WorkerThreadException: Worker thread threw an exception ---> System.Exception: ..\DirectWriteFontRenderer.cpp (800) : hr = pD2DRenderTarget->EndDraw(); ---> System.Runtime.InteropServices.COMException (0x8899000C): Exception from HRESULT: 0x8899000C
   --- End of inner exception stack trace ---
   at PaintDotNet.SystemLayer.Native.x64.Typography.DirectWrite.DirectWriteFontRenderer.DrawTextToBitmap(IBitmapTextRenderTarget target, String text, Point offset, Int32Rect clipRect)
   at PaintDotNet.SystemLayer.Native.x64.Typography.DirectWrite.DirectWriteFontRenderer.DrawTextBase(ITextRenderTarget target, String text, Point offset, Int32Rect clipRect)
   at PaintDotNet.Typography.FontRendererExtensions.DrawText(IFontRenderer fontRenderer, ITextRenderTarget target, String text, Point offset, Int32Rect clipBounds) in D:\src\pdn\pdn_3_5_11\src\Base\Typography\FontRendererExtensions.cs:line 23
   at PaintDotNet.Tools.TextTool.<>c__DisplayClassa.<RedrawText>b__2(Object ) in D:\src\pdn\pdn_3_5_11\src\PaintDotNet\Tools\TextTool.cs:line 1046
   at PaintDotNet.Threading.PrivateThreadPool.ThreadWrapperContext.ThreadWrapper() in D:\src\pdn\pdn_3_5_11\src\Core\Threading\PrivateThreadPool.cs:line 180
   --- End of inner exception stack trace ---
   at PaintDotNet.Threading.PrivateThreadPool.DrainExceptions() in D:\src\pdn\pdn_3_5_11\src\Core\Threading\PrivateThreadPool.cs:line 75
   at PaintDotNet.Tools.TextTool.RedrawText(Boolean cursorOn) in D:\src\pdn\pdn_3_5_11\src\PaintDotNet\Tools\TextTool.cs:line 1085
   at PaintDotNet.Tools.TextTool.OnMouseDown(MouseEventArgsF e) in D:\src\pdn\pdn_3_5_11\src\PaintDotNet\Tools\TextTool.cs:line 1693
   at PaintDotNet.Tools.Tool.MouseDown(MouseEventArgsF e) in D:\src\pdn\pdn_3_5_11\src\PaintDotNet\Tools\Tool.cs:line 826
   at PaintDotNet.Controls.DocumentView.OnDocumentMouseDown(MouseEventArgsF e) in D:\src\pdn\pdn_3_5_11\src\PaintDotNet\Controls\DocumentView.cs:line 1147
   at PaintDotNet.Controls.DocumentView.MouseDownHandler(Object sender, MouseEventArgs e) in D:\src\pdn\pdn_3_5_11\src\PaintDotNet\Controls\DocumentView.cs:line 1535
   at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at PaintDotNet.SystemLayer.GdiPaintControl.WndProc(Message& m) in D:\src\pdn\pdn_3_5_11\src\SystemLayer\GdiPaintControl.cs:line 151
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
------------------------------------------------------------------------------
Link to comment
Share on other sites

Exception details:

PaintDotNet.WorkerThreadException: Worker thread threw an exception ---> System.Exception: ..\DirectWriteFontRenderer.cpp (800) : hr = pD2DRenderTarget->EndDraw(); ---> System.Runtime.InteropServices.COMException (0x8899000C): Exception from HRESULT: 0x8899000C

 

It does in fact seem to be a font issue.  Are you sure you uninstalled all the fonts you've installed since you last used Paint.NET?

 

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

It does in fact seem to be a font issue.  Are you sure you uninstalled all the fonts you've installed since you last used Paint.NET?

Yeah, the only new fonts I installed were the ones I installed yesterday. I uninstalled them but the error persists. The symptoms are exactly the same as in the thread from 2011 that I put in the original post. There's only about half a dozen fonts I can use right now. The rest have no font preview in the drop-down menu and upon attempting to type in one of those fonts, the program will immediately crash.

Link to comment
Share on other sites

How do the fonts behave in other applications?  Normally?

Link to comment
Share on other sites

You could of course try a complete uninstall/reinstall, or running pdnrepair.exe.

 

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

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.

 Share

×
×
  • Create New...