Jump to content

Crash with Paint.NET rulers


Recommended Posts

i have a similar issue. Using windows 8, and the program opens, then immediately closes/crashes with a "has encountered a problem and needs to close" message.

 

i have tried uninstalling and reinstalling paint.net, and i cannot seem to find a previous version to try . i will search my backups for one.

 

From one of my crash logs, pdncrash.6

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 (Final 4.0.5288.36565)
Time of crash: 7/8/2014 9:07:07 AM
Application uptime: 00:00:00.4010119
Application state: Running
Working set: 67,280 KiB
Install directory: C:\Program Files\paint.net
Current directory: C:\Program Files\paint.net
OS Version: 6.3.9600.0 Workstation x64
.NET version: CLR 4.0.30319.34014 x64, FX 4.0 4.5
Processor: 12x "Intel® Core i7 CPU         970  @ 3.20GHz" @ ~3204MHz (DEP, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2)
Physical memory: 24567 MB
Hardware acceleration: True
Video card: AMD Radeon HD 7900 Series, Microsoft Basic Render Driver
UI animations: True
UI DPI: 96.00 dpi (1.00x scale)
UI theme: Aero/Aero + DWM (Aero.msstyles)
Updates: True, 7/5/2014
Locale: pdnr.c: en-US, hklm: en-US, hkcu: en-US, cc: en-US, cuic: en-US

Exception details:
System.Collections.Generic.KeyNotFoundException: Calibri, Segoe UI, Arial
   at PaintDotNet.DirectWrite.FontMapExtensions.GetFontProperties(IFontMap fontMap, IEnumerable`1 namesToTry) in D:\src\pdn\paintdotnet\src\Core\DirectWrite\FontMapExtensions.cs:line 46
   at PaintDotNet.Controls.Ruler.<.ctor>b__0() in D:\src\pdn\paintdotnet\src\PaintDotNet\Controls\Ruler.cs:line 307
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.LazyInitValue()
   at PaintDotNet.LazyExtensions.PrefetchHelper`1.PrefetchWithContinuationCallback(Object lazyAndContinuationObj) in D:\src\pdn\paintdotnet\src\Base\LazyExtensions.cs:line 30
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

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.5288.36565, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.exe
    PaintDotNet.Base, Version=4.0.5288.36565, 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.5288.36565, 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.5288.36565, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.dll
    PaintDotNet.Framework, Version=4.0.5288.36565, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Framework.dll
    PaintDotNet.Resources, Version=4.0.5288.36565, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Resources.dll
    PaintDotNet.Data, Version=4.0.5288.36565, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Data.dll
    PaintDotNet.Effects, Version=4.0.5288.36565, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Effects.dll
    PaintDotNet.SystemLayer.Native.x64, Version=4.0.5288.36565, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.Native.x64.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
    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

Native modules:
    C:\Program Files\Paint.NET\PaintDotNet.exe, version=4.0.5288.36565
    C:\WINDOWS\SYSTEM32\ntdll.dll, version=6.3.9600.17031 (winblue_gdr.140221-1952)
    C:\WINDOWS\SYSTEM32\MSCOREE.DLL, version=6.3.9600.16384 (winblue_rtm.130821-1623)
    C:\WINDOWS\system32\KERNEL32.dll, version=6.3.9600.17031 (winblue_gdr.140221-1952)
    C:\WINDOWS\system32\KERNELBASE.dll, version=6.3.9600.17031 (winblue_gdr.140221-1952)
    C:\WINDOWS\system32\ADVAPI32.dll, version=6.3.9600.16384 (winblue_rtm.130821-1623)
    C:\WINDOWS\system32\msvcrt.dll, version=7.0.9600.16384 (winblue_rtm.130821-1623)
    C:\WINDOWS\SYSTEM32\sechost.dll, version=6.3.9600.16384 (winblue_rtm.130821-1623)
    C:\WINDOWS\system32\RPCRT4.dll, version=6.3.9600.16384 (winblue_rtm.130821-1623)
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscoreei.dll, version=4.0.30319.34014 built by: FX45W81RTMGDR
    C:\WINDOWS\system32\SHLWAPI.dll, version=6.3.9600.16384 (winblue_rtm.130821-1623)
    C:\WINDOWS\SYSTEM32\combase.dll, version=6.3.9600.16384 (winblue_rtm.130821-1623)
    C:\WINDOWS\system32\USER32.dll, version=6.3.9600.16384 (winblue_rtm.130821-1623)
    C:\WINDOWS\system32\GDI32.dll, version=6.3.9600.17111 (winblue_gdr.140429-1523)
    C:\WINDOWS\system32\IMM32.DLL, version=6.3.9600.17031 (winblue_gdr.140221-1952)
    C:\WINDOWS\system32\MSCTF.dll, version=6.3.9600.16384 (winblue_rtm.130821-1623)
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll, version=4.0.30319.34014 built by: FX45W81RTMGDR
    C:\WINDOWS\SYSTEM32\MSVCR120_CLR0400.dll, version=12.00.20806.33440 built by: FX45W81RTMREL
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\mscorlib\a20cafac04a2e9b3bcb5ec4d674775e5\mscorlib.ni.dll, version=4.0.30319.34014 built by: FX45W81RTMGDR
    C:\WINDOWS\system32\ole32.dll, version=6.3.9600.16384 (winblue_rtm.130821-1623)
    C:\WINDOWS\SYSTEM32\kernel.appcore.dll, version=6.3.9600.16384 (winblue_rtm.130821-1623)
    C:\WINDOWS\SYSTEM32\CRYPTBASE.dll, version=6.3.9600.16384 (winblue_rtm.130821-1623)
    C:\WINDOWS\SYSTEM32\bcryptPrimitives.dll, version=6.3.9600.17031 (winblue_gdr.140221-1952)
    C:\WINDOWS\system32\uxtheme.dll, version=6.3.9600.16384 (winblue_rtm.130821-1623)
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System\10e3367d9097070044e05c2825a4a1e9\System.ni.dll, version=4.0.30319.34003 built by: FX45W81RTMGDR
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\WindowsBase\fbfdc2935a4c1e34bec335d2cf21d303\WindowsBase.ni.dll, version=4.0.30319.34004 built by: FX45W81RTMGDR
    C:\WINDOWS\SYSTEM32\CRYPTSP.dll, version=6.3.9600.16384 (winblue_rtm.130821-1623)
    C:\WINDOWS\system32\rsaenh.dll, version=6.3.9600.16384 (winblue_rtm.130821-1623)
    C:\WINDOWS\SYSTEM32\bcrypt.dll, version=6.3.9600.16384 (winblue_rtm.130821-1623)
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Drawing\7b48e37359be1aebd4e9f302040d517d\System.Drawing.ni.dll, version=4.0.30319.33440 built by: FX45W81RTMREL
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PresentationCore\71df43fcb7a7745ef38a6ce40ff33c2d\PresentationCore.ni.dll, version=4.0.30319.34004 built by: FX45W81RTMGDR
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\Presentatio5ae0f00f#\37aa83ffa60682e364b3caea876452c9\PresentationFramework.ni.dll, version=4.0.30319.34004
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Core\4c30ba993ce1f4d74c3fe26ffa9cd4a4\System.Core.ni.dll, version=4.0.30319.33440 built by: FX45W81RTMREL
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Base\ac64f8c6b22cb55722ac12f710a12199\PaintDotNet.Base.ni.dll, version=4.0.5288.36565
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Windows.Forms\00d5b8fae6d70bea4fe037311f3ee7e6\System.Windows.Forms.ni.dll, version=4.0.30319.33440 built by: FX45W81RTMREL
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet500b2e4f#\a85a9a6efad9f39fbab93f14b6adc4ad\PaintDotNet.SystemLayer.ni.dll, version=4.0.5288.36565
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Core\4fb99d52186ac319af837b2369cea4e2\PaintDotNet.Core.ni.dll, version=4.0.5288.36565
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet26779e70#\46ca3a0005c086fcf1860afd052886eb\PaintDotNet.Resources.ni.dll, version=4.0.5288.36565
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet7afaaa15#\42dbb3c82d612ce4296050146aa7ef90\PaintDotNet.Framework.ni.dll, version=4.0.5288.36565
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Data\f49fc6566d4986869ed28946bc014bab\PaintDotNet.Data.ni.dll, version=4.0.5288.36565
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Effects\f0b871c9e21fc9c978643f5be86fb60b\PaintDotNet.Effects.ni.dll, version=4.0.5288.36565
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet\219e0df084b9b97a7be6d46ea747eab3\PaintDotNet.ni.exe, version=4.0.5288.36565
    C:\WINDOWS\SYSTEM32\dwrite.dll, version=6.3.9600.16384 (winblue_rtm.130821-1623)
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WPF\wpfgfx_v0400.dll, version=4.0.30319.33440 built by: FX45W81RTMREL
    C:\WINDOWS\system32\OLEAUT32.dll, version=6.3.9600.16506
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WPF\PresentationNative_v0400.dll, version=4.0.30319.33440 built by: FX45W81RTMREL
    C:\WINDOWS\system32\shell32.dll, version=6.3.9600.17031 (winblue_gdr.140221-1952)
    C:\WINDOWS\SYSTEM32\SHCORE.dll, version=6.3.9600.16384 (winblue_rtm.130821-1623)
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clrjit.dll, version=4.0.30319.34014 built by: FX45W81RTMGDR
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNetc8826574#\43c9657e748f576f869b8edd8af1f4d4\PaintDotNet.SystemLayer.Native.x64.ni.dll, version=4.0
    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.9600.17031 (winblue_gdr.140221-1952)
    C:\WINDOWS\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.9600.17056_none_932f2645474c8242\gdiplus.dll, version=6.3.9600.17055 (winblue_gdr.140318-1651)
    C:\WINDOWS\system32\dxgi.dll, version=6.3.9600.17041 (winblue_gdr.140305-1710)
    C:\WINDOWS\SYSTEM32\profapi.dll, version=6.3.9600.16384 (winblue_rtm.130821-1623)
    C:\WINDOWS\SYSTEM32\clbcatq.dll, version=2001.12.10530.16384 (winblue_rtm.130821-1623)
    C:\WINDOWS\System32\UIAnimation.dll, version=6.3.9600.16384 (winblue_rtm.130821-1623)
    C:\WINDOWS\system32\dwmapi.dll, version=6.3.9600.16384 (winblue_rtm.130821-1623)
    C:\WINDOWS\SYSTEM32\version.dll, version=6.3.9600.16384 (winblue_rtm.130821-1623)
    C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.17031_none_6242a4b3ecbb55a1\comctl32.dll, version=6.10 (winblue_rtm.130821-1623)
    C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9600.16384_none_34a8918f959016ea\comctl32.dll, version=6.10 (winblue_rtm.130821-1623)
    C:\WINDOWS\SYSTEM32\WindowsCodecs.dll, version=6.3.9600.16521 (winblue_gdr.140128-1545)
    C:\WINDOWS\system32\d2d1.dll, version=6.3.9600.16384 (winblue_rtm.130821-1623)
    C:\WINDOWS\SYSTEM32\wtsapi32.dll, version=6.3.9600.16384 (winblue_rtm.130821-1623)
    C:\WINDOWS\SYSTEM32\WINSTA.dll, version=6.3.9600.16384 (winblue_rtm.130821-1623)
    C:\WINDOWS\SYSTEM32\d3d11.dll, version=6.3.9600.17041 (winblue_gdr.140305-1710)
    C:\WINDOWS\SYSTEM32\D3D10Warp.dll, version=6.3.9600.16505 (winblue_gdr.140106-1506)
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Xaml\ce7fa13bc9c249e693cfa3a6ab2c2810\System.Xaml.ni.dll, version=4.0.30319.33440 built by: FX45W81RTMREL
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Xml\a0f91cf4cae3b99bd02319f6a31fa079\System.Xml.ni.dll, version=4.0.30319.33440 built by: FX45W81RTMREL
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\diasymreader.dll, version=12.0.20806.33440 built by: FX45W81RTMREL
    C:\WINDOWS\system32\SetupApi.dll, version=6.3.9600.16384 (winblue_rtm.130821-1623)
    C:\WINDOWS\system32\CFGMGR32.dll, version=6.3.9600.16384 (winblue_rtm.130821-1623)
    C:\WINDOWS\SYSTEM32\DEVOBJ.dll, version=6.3.9600.16384 (winblue_rtm.130821-1623)
    C:\WINDOWS\system32\WINTRUST.dll, version=6.3.9600.17085 (winblue_gdr.140330-1035)
    C:\WINDOWS\system32\CRYPT32.dll, version=6.3.9600.16431 (winblue_gdr.131015-2301)
    C:\WINDOWS\system32\MSASN1.dll, version=6.3.9600.16384 (winblue_rtm.130821-1623)
    C:\WINDOWS\system32\psapi.dll, version=6.3.9600.16384 (winblue_rtm.130821-1623)
------------------------------------------------------------------------------

 

hope this helps. it only happened after updating to version 4.0

 

QBrTqRA.png

Edited by rgrwng
Link to comment
Share on other sites

For now you can edit the registry in HKEY_CURRENT_USER \ Software \ paint.net 

 

Set "Workspace/ShowRulers" to "False" (without quotes). And then don't use the ruler until the next update.

 

I thought I fixed all the font fallback issues but clearly one got missed. 

 

And yeah, you will still have a font issue of some kind and I don't know how the ruler will appear for you ... it might choose a reasonable font or it could choose Wingdings (random weird looking symbols). Won't know until you see it ...

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

  • 3 weeks later...

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