Jump to content

Crash upon inputting texxt


npbc
 Share

Recommended Posts

I'm getting the same crash upon trying to input text using the text tool that some others have reported. Specifically, the crash occurs somewhere between 1 and 10 seconds after I begin using the tool. If I type really fast then press escape I can avoid the crash. I started seeing the crash after the update from whatever version I was on before (I don't remember exactly, but it was a recent version, maybe 3.5.8) to 3.5.10

I've searched the forums here for solutions and while I was behind on Windows updates when the problem started, I am completely up to date now but still seeing the problem. I've also tried reinstalling & rebooting, and off a tip from a google search I deleted the fntcache.dat file from windows\system32, those things didn't work.

I'm running Windows XP here on my work computer, I have a Windows 7 computer at home and Paint.net works fine there.

EDIT: I tried a bunch of assorted older versions and the same crash was happening in those too, which leads me to believe that maybe the timing of the onset of the crash and the update to 3.5.10 was just a coincidence.

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.10 (Final Release build 3.510.4297.28964)

Time of crash: 12/16/2011 9:32:23 AM

Application uptime: 00:00:07.5048987

Install directory: C:\Program Files\Paint.NET

Current directory: C:\Program Files\Paint.NET

OS Version: 5.1.2600.196608 Service Pack 3 Workstation x86

.NET version: CLR 2.0.50727.3625 x86, FX 2.0 (rtm sp1 sp2) 3.0 (rtm sp1 sp2) 3.5 (rtm sp1 sp1_CP) 4.0 (rtm)

Processor: 8x "Intel® Core™ i7-2720QM CPU @ 2.20GHz" @ ~2194MHz (DEP, SSE, SSE2, SSSE3, SSE4_1, SSE4_2), fps=0x1

Physical memory: 3316 MB

UI DPI: 96.00 dpi (1.00x scale)

UI Theme: Luna/Classic (Luna.msstyles)

Updates: true, 12/12/2011

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\Framework\v2.0.50727\mscorlib.dll

PaintDotNet, Version=3.510.4297.28970, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.exe

PaintDotNet.Base, Version=3.510.4297.28957, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Base.dll

System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.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.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

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

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.Core, Version=3.510.4297.28965, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Core.dll

PaintDotNet.SystemLayer, Version=3.510.4297.28964, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.dll

PaintDotNet.Resources, Version=3.510.4297.28964, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Resources.dll

PaintDotNet.Data, Version=3.510.4297.28969, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Data.dll

PaintDotNet.Effects, Version=3.510.4297.28970, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Effects.dll

Native modules:

C:\Program Files\Paint.NET\PaintDotNet.exe, version='3.510.4297.28970'

C:\WINDOWS\system32\ntdll.dll, version='5.1.2600.6055 (xpsp_sp3_gdr.101209-1647)'

C:\WINDOWS\system32\mscoree.dll, version='4.0.31106.0 (Main.031106-0000)'

C:\WINDOWS\system32\KERNEL32.dll, version='5.1.2600.5781 (xpsp_sp3_gdr.090321-1317)'

C:\WINDOWS\system32\ADVAPI32.dll, version='5.1.2600.5755 (xpsp_sp3_gdr.090206-1234)'

C:\WINDOWS\system32\RPCRT4.dll, version='5.1.2600.6022 (xpsp_sp3_gdr.100813-1643)'

C:\WINDOWS\system32\Secur32.dll, version='5.1.2600.5834 (xpsp_sp3_gdr.090624-1305)'

C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll, version='4.0.30319.237 (RTMGDR.030319-2300)'

C:\WINDOWS\system32\SHLWAPI.dll, version='6.00.2900.5912 (xpsp_sp3_gdr.091207-1454)'

C:\WINDOWS\system32\GDI32.dll, version='5.1.2600.5698 (xpsp_sp3_gdr.081022-1932)'

C:\WINDOWS\system32\USER32.dll, version='5.1.2600.5512 (xpsp.080413-2105)'

C:\WINDOWS\system32\msvcrt.dll, version='7.0.2600.5512 (xpsp.080413-2111)'

C:\WINDOWS\system32\IMM32.DLL, version='5.1.2600.5512 (xpsp.080413-2105)'

C:\WINDOWS\system32\AMINIT32.dll, version='6, 1, 55, 1001'

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll, version='2.0.50727.3625 (GDR.050727-3600)'

C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989\MSVCR80.dll, version='8.00.50727.4053'

C:\WINDOWS\system32\shell32.dll, version='6.00.2900.6072 (xpsp_sp3_gdr.110121-1719)'

C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\comctl32.dll, version='6.0 (xpsp_sp3_qfe.100823-1643)'

C:\WINDOWS\system32\comctl32.dll, version='5.82 (xpsp_sp3_qfe.100823-1643)'

C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\mscorlib\ca87ba84221991839abbe7d4bc9c6721\mscorlib.ni.dll, version='2.0.50727.3625 (GDR.050727-3600)'

C:\WINDOWS\system32\ole32.dll, version='5.1.2600.6168 (xpsp_sp3_gdr.111101-1829)'

C:\WINDOWS\system32\uxtheme.dll, version='6.00.2900.5512 (xpsp.080413-2105)'

C:\WINDOWS\system32\MSCTF.dll, version='5.1.2600.5512 (xpsp.080413-2105)'

C:\Program Files\Passlogix\v-GO SSO\Helper\Java\jhohook.dll, version='7,0,01,151'

C:\Program Files\Passlogix\v-GO SSO\Helper\WinApps\ssohook.dll, version='7,0,01,151'

C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System\af39f6e644af02873b9bae319f2bfb13\System.ni.dll, version='2.0.50727.3624 (GDR.050727-3600)'

C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System.Core\d507b9e0e50e453793ee5e01c07a5485\System.Core.ni.dll, version='3.5.30729.1 built by: SP'

C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\WindowsBase\1adc4ae51a5ac63e896a1402749ca495\WindowsBase.ni.dll, version='3.0.6920.4016 built by: GDR'

C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System.Drawing\c10bea3c4bb7ef654651141bf9419090\System.Drawing.ni.dll, version='2.0.50727.3053 (netfxsp.050727-3000)'

C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\System.Windows.Forms\71a2ae9ad561a62181cbd9fb11e9de7a\System.Windows.Forms.ni.dll, version='2.0.50727.3623 (GDR.050727-3600)'

C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\PaintDotNet.Base\e3d2180e970f959938ac7e7d999c3ac7\PaintDotNet.Base.ni.dll, version='3.510.4297.28957'

C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\PaintDotNet.SystemL#\31d244dca66028c636429b5cef257b71\PaintDotNet.SystemLayer.ni.dll, version='3.510.4297.28964'

C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\PaintDotNet.Resourc#\71cdc351cc1db0117caf09b742598594\PaintDotNet.Resources.ni.dll, version='3.510.4297.28964'

C:\WINDOWS\system32\rsaenh.dll, version='5.1.2600.5507 (xpsp.080318-1711)'

C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\PaintDotNet.Core\630b00303d27c00918096bf6ab083784\PaintDotNet.Core.ni.dll, version='3.510.4297.28965'

C:\Program Files\EFI\ROI Agent\TCANTCAP.DLL, version='1, 0, 0, 65'

C:\WINDOWS\system32\VERSION.dll, version='5.1.2600.5512 (xpsp.080413-2105)'

C:\WINDOWS\system32\PSAPI.DLL, version='5.1.2600.5512 (xpsp.080413-2105)'

C:\WINDOWS\system32\OLEAUT32.dll, version='5.1.2600.6058'

C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989\MSVCP80.dll, version='8.00.50727.4053'

C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\PaintDotNet.Data\89bdbf9ba5f3519339d2b0d49c204e45\PaintDotNet.Data.ni.dll, version='3.510.4297.28969'

C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\PaintDotNet\b0a12ec7a91fdc63abddd078dac39951\PaintDotNet.ni.exe, version='3.510.4297.28970'

C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\PaintDotNet.SystemL#\417c8e308498be0acd28c1ab473e1678\PaintDotNet.SystemLayer.Native.x86.ni.dll, version='3.510.0.0'

C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\Interop.WIA\b4f63a52bdf34cffb08838afd3b153ba\Interop.WIA.ni.dll, version='1.0.0.0'

C:\WINDOWS\assembly\NativeImages_v2.0.50727_32\PaintDotNet.Effects\c693fdbecf1cd67d6cdf63cd4fbe01ae\PaintDotNet.Effects.ni.dll, version='3.510.4297.28970'

C:\Program Files\Paint.NET\Native.x86\PaintDotNet.Native.x86.dll, version='3.510.0.0'

C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.6161_x-ww_31a54e43\MSVCR90.dll, version='9.00.30729.6161'

C:\WINDOWS\WinSxS\x86_Microsoft.VC90.OpenMP_1fc8b3b9a1e18e3b_9.0.30729.6161_x-ww_4ddc769f\VCOMP90.DLL, version='9.00.30729.6161 built by: QFE'

C:\WINDOWS\system32\msctfime.ime, version='5.1.2600.5512 (xpsp.080413-2105)'

C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.6002.22509_x-ww_c7dad023\gdiplus.dll, version='5.2.6002.22509 (vistasp2_ldr.101020-0435)'

C:\WINDOWS\system32\xpsp2res.dll, version='5.1.2600.5512 (xpsp.080413-2113)'

C:\WINDOWS\system32\wtsapi32.dll, version='5.1.2600.5512 (xpsp.080413-2111)'

C:\WINDOWS\system32\WINSTA.dll, version='5.1.2600.5512 (xpsp.080413-2111)'

C:\WINDOWS\system32\NETAPI32.dll, version='5.1.2600.5694 (xpsp_sp3_gdr.081015-1312)'

C:\Program Files\Passlogix\v-GO SSO\Helper\IE\bhoHook.dll, version='7,0,01,181'

C:\Program Files\Passlogix\v-GO SSO\Helper\Moz\mozhohook.dll, version='7,0,01,151'

C:\WINDOWS\system32\SetupApi.dll, version='5.1.2600.5512 (xpsp.080413-2111)'

C:\WINDOWS\system32\WINTRUST.dll, version='5.131.2600.5922 (xpsp_sp3_gdr.091223-1907)'

C:\WINDOWS\system32\CRYPT32.dll, version='5.131.2600.6154 (xpsp_sp3_gdr.110927-1620)'

C:\WINDOWS\system32\MSASN1.dll, version='5.1.2600.5875 (xpsp_sp3_gdr.090904-1413)'

C:\WINDOWS\system32\IMAGEHLP.dll, version='5.1.2600.5512 (xpsp.080413-2105)'

Exception details:

PaintDotNet.WorkerThreadException: Worker thread threw an exception ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

at PaintDotNet.SystemLayer.NativeMethods.DeleteDC(IntPtr hdc)

at PaintDotNet.SystemLayer.Typography.Gdi.GdiFontRenderer..ctor(GdiTypographyDriver textRenderer, Font font, GdiFontRendererSettings renderSettings) in D:\src\pdn\pdn_35x\src\SystemLayer\Typography\Gdi\GdiFontRenderer.cs:line 870

at PaintDotNet.SystemLayer.Typography.Gdi.GdiTypographyDriver.CreateFontRenderer(Font font, IFontRendererSettings settings) in D:\src\pdn\pdn_35x\src\SystemLayer\Typography\Gdi\GdiTypographyDriver.cs:line 48

at PaintDotNet.Typography.GdiFixAATypographyDriver.CreateFontRenderer(Font font, IFontRendererSettings settings) in D:\src\pdn\pdn_35x\src\Core\Typography\GdiFixAATypographyDriver.cs:line 219

at PaintDotNet.Tools.TextTool.CreateFontRenderer() in D:\src\pdn\pdn_35x\src\PaintDotNet\Tools\TextTool.cs:line 133

at PaintDotNet.Tools.TextTool.<>c__DisplayClassa.<RedrawText>b__2(Object ) in D:\src\pdn\pdn_35x\src\PaintDotNet\Tools\TextTool.cs:line 982

at PaintDotNet.Threading.PrivateThreadPool.ThreadWrapperContext.ThreadWrapper() in D:\src\pdn\pdn_35x\src\Core\Threading\PrivateThreadPool.cs:line 180

--- End of inner exception stack trace ---

at PaintDotNet.Threading.PrivateThreadPool.DrainExceptions() in D:\src\pdn\pdn_35x\src\Core\Threading\PrivateThreadPool.cs:line 75

at PaintDotNet.Threading.PrivateThreadPool.Drain() in D:\src\pdn\pdn_35x\src\Core\Threading\PrivateThreadPool.cs:line 155

at PaintDotNet.Tools.TextTool.RedrawText(Boolean cursorOn) in D:\src\pdn\pdn_35x\src\PaintDotNet\Tools\TextTool.cs:line 1082

at PaintDotNet.Tools.TextTool.onkeypress(KeyPressEventArgs e) in D:\src\pdn\pdn_35x\src\PaintDotNet\Tools\TextTool.cs:line 1413

at PaintDotNet.Controls.AppWorkspace.DocumentKeyPress(Object sender, KeyPressEventArgs e) in D:\src\pdn\pdn_35x\src\PaintDotNet\Controls\AppWorkspace.cs:line 1791

at PaintDotNet.Controls.DocumentView.OnDocumentKeyPress(KeyPressEventArgs e) in D:\src\pdn\pdn_35x\src\PaintDotNet\Controls\DocumentView.cs:line 1174

at PaintDotNet.Controls.DocumentView.Panel_KeyPress(Object sender, KeyPressEventArgs e) in D:\src\pdn\pdn_35x\src\PaintDotNet\Controls\DocumentView.cs:line 1180

at System.Windows.Forms.Control.onkeypress(KeyPressEventArgs e)

at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)

at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)

at System.Windows.Forms.Control.WmKeyChar(Message& m)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

at PaintDotNet.SystemLayer.ScrollPanel.WndProc(Message& m) in D:\src\pdn\pdn_35x\src\SystemLayer\ScrollPanel.cs:line 78

at System.Windows.Forms.Control.ControlNativewindow.OnMessage(Message& m)

at System.Windows.Forms.Control.ControlNativewindow.WndProc(Message& m)

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

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

Edited by npbc
Link to comment
Share on other sites

Make sure you're up-to-date with Windows Update

That was my first step at troubleshooting, which I got from the forums here and tried before I posted. I am now completely up-to-date, but the problem persists. Are you aware of any other troubleshooting steps that I can try?

Link to comment
Share on other sites

Is it only happening with a specific font, or all fonts?

All fonts as far as I can tell. I've tried around 20 including Courier and Arial, which I'm guessing are probably the most common.

Edit: And like I said in the OP, if I use the text tool, type "Hi" super-fast then press escape it works. If I use the tool for more than a few seconds then I experience the crash. All the other tools work normally though.

Edited by npbc
Link to comment
Share on other sites

Did you first uninstall, update computer, and then re-install after doing updates?

Besides regular Windows updates, is the NET framework updated to current latest version?

I don't really know if these are issues and/or fixes, they're just suggestions.

Sort of. I uninstalled and reinstalled after the updates were complete. I installed all the optional .NET framework updates as well.

Link to comment
Share on other sites

Something else to check though I doubt this is the problem:

Go to "Start" and then "Run". Type in "services.msc" (without the quotes) and press "Enter". Check to make sure .net framework is set to "automatic" as shown below:

servicesnetrunning.png

Beyond this, I'm at a loss what could be causing your problem.

EDIT:

I did see this line above from what you posted:

"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."

It also shows this:

"Physical memory: 3316 MB"

Normally you will find memory listed like this: 1024, 2048, 3072, 4096, etc. It appears to me you have more than 3GBs of memory but it's not showing nearly 2/3 of an additional Gig. I don't know if the "Physical memory" being reported from the crash is supposed to be showing total memory or available memory.

What brand computer do you have? The reason why I ask is if it's Dell, they provide diagnostic software for their systems which you can run and verify if your memory (as well as other components of your computer) is ok and running properly.

Edited by jim100361
Link to comment
Share on other sites

NGEN isn't going to be the issue here, jim100361. That service is just for scheduling background optimization of .NET DLLs. It isn't .NET itself.

No, it's probably just a corrupt font or a corrupt system DLL. Maybe running SFC and/or CHKDSK will find something.

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

Has a solution to this been found? I have the same issue, and amazingly I've had it on 4 different machines. I've never been able to apply the text tool in paint.net without getting a crash.

  • First machine was an WinXP Thinkpad that I did .net development on. Always had that problem there.
  • Second one was a Win Vista 32 desktop at home. Same problem
  • Now I have a new work rig, a Win7 64 HP EliteBook 8560p laptop. Same problem
  • And now I bought a semi-powerful gaming rig at home, alswo with Win7 64... and same problem.

This doesn't seem to be connected to OS or machine in any way. In all cases have I been up to date on OS as well as .NET upgrades.

Please, if anyone has an idea.

Regards,

Ivar

Link to comment
Share on other sites

Link to comment
Share on other sites

That blog post covers a specific DirectWrite error. In this case, the crash is on XP with GDI as the text renderer, so it's not applicable.

If you're seeing the crash on multiple systems across multiple OS's, then it's probably a really bad font that you've installed. That's my best guess.

And, honestly, at this point XP support is "good faith" only. If it continues working, then that's good. If not, well, there's not much I'm willing to do about it. (FWIW, that code path hasn't changed in quite some time, so any "new" crashes would likely be external factors)

  • 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

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