Paint.NET, Windows 7 pro x64, crash on paste

Please post your problem description here

Moderator: Barb@Invincea

Post Reply
gertmenkel
Posts: 3
Joined: Fri Mar 21, 2014 4:30 pm

Paint.NET, Windows 7 pro x64, crash on paste

Post by gertmenkel » Thu Sep 10, 2015 5:37 pm

I have run into a problem: Paint.NET is no longer usable in Sandboxie. I found some threads about Paint.NET but they were all older than 3 years so I doubt they're relevant here.

The program works fine outside the sandbox. Creating a new sandbox does not help.

I am using:
  • Windows 7 Pro x64
  • AVG Antivirus
  • Sandboxie 4.20* (64 bit)
*=I tried downgrading to 4.18, but that didn't help either.

Paint.NET can be found here: http://www.getpaint.net/download.html#download

Whenever I paste anything in Paint.NET, or draw a line using the line tool, Paint.NET crashes.

The crash dump Paint.NET gives when the crash occurs is as follows:

Code: Select all

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.6 (Final 4.6.5693.28)
Time of crash: 10-9-2015 23:29:12
Application uptime: 00:09:54.7140157
Application state: Running 
Working set: 136.904 KiB
Threads: 21
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.34209 x64, FX 4.0 4.5
Processor: 4x "AMD FX(tm)-4100 Quad-Core Processor            " @ ~3600MHz (DEP, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, XSAVE)
Physical memory: 16367 MB
Video card: AMD Radeon HD 7700 Series (v:1002, d:683D, r:0)
Hardware acceleration: True (default: True)
UI animations: True
UI DPI: 96,00 dpi (1,00x scale)
UI theme: Aero/Aero + DWM (Aero.msstyles)
Updates: True, 6-9-2015
Locale: pdnr.c: en-US, hklm: en-US, hkcu: en-US, cc: nl-NL, cuic: en-US
Flags: 

Exception details:
System.TypeInitializationException: The type initializer for 'PaintDotNet.Tools.Controls.TransformControl' threw an exception. ---> System.ArgumentException: Win32 handle passed to Cursor is not valid or is the wrong type.
   at System.Windows.Forms.Cursor..ctor(IntPtr handle)
   at PaintDotNet.UI.Input.Cursors.<get_SizeAll>b__8() in d:\src\pdn\paintdotnet\src\Framework\UI\Input\Cursors.cs:line 87
   at System.Threading.LazyInitializer.EnsureInitializedCore[T](T& target, Func`1 valueFactory)
   at PaintDotNet.UI.Input.Cursors.get_SizeAll() in d:\src\pdn\paintdotnet\src\Framework\UI\Input\Cursors.cs:line 88
   at PaintDotNet.Tools.Controls.TransformControl..cctor() in d:\src\pdn\paintdotnet\src\PaintDotNet\Tools\Controls\TransformControl.cs:line 605
   --- End of inner exception stack trace ---
   at PaintDotNet.Tools.Controls.TransformControl..ctor() in d:\src\pdn\paintdotnet\src\PaintDotNet\Tools\Controls\TransformControl.cs:line 94
   at PaintDotNet.Tools.Move.MoveToolUI..ctor() in d:\src\pdn\paintdotnet\src\PaintDotNet\Tools\Move\MoveToolUI.cs:line 43
   at PaintDotNet.Tools.Move.MoveTool.CreateUI() in d:\src\pdn\paintdotnet\src\PaintDotNet\Tools\Move\MoveTool.cs:line 431
   at PaintDotNet.Tools.Move.MoveTool.OnPresentationSourceInitialized() in d:\src\pdn\paintdotnet\src\PaintDotNet\Tools\Move\MoveTool.cs:line 419
   at PaintDotNet.Tools.PresentationBasedTool`2.OnActivated() in d:\src\pdn\paintdotnet\src\PaintDotNet\Tools\PresentationBasedTool`2.cs:line 130
   at PaintDotNet.Tools.TransactedTool`2.OnActivate() in d:\src\pdn\paintdotnet\src\PaintDotNet\Tools\TransactedTool`2.cs:line 353
   at PaintDotNet.Controls.DocumentWorkspace.SetTool(Tool copyMe) in d:\src\pdn\paintdotnet\src\PaintDotNet\Controls\DocumentWorkspace.cs:line 1639
   at PaintDotNet.Tools.Move.MoveTool.BeginPaste(DocumentWorkspace docWorkspace, String historyMementoName, ImageResource historyMementoImage, ISurface`1 bitmap, GeometryList clip, PointInt32 offset) in d:\src\pdn\paintdotnet\src\PaintDotNet\Tools\Move\MoveTool.cs:line 137
   at PaintDotNet.Actions.PasteAction.PerformActionImpl() in d:\src\pdn\paintdotnet\src\PaintDotNet\Actions\PasteAction.cs:line 342
   at PaintDotNet.Actions.PasteAction.PerformAction() in d:\src\pdn\paintdotnet\src\PaintDotNet\Actions\PasteAction.cs:line 56
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at PaintDotNet.Menus.PdnMenuItem.OnShortcutKeyPressed(Keys keys) in d:\src\pdn\paintdotnet\src\PaintDotNet\Menus\PdnMenuItem.cs:line 177
   at PaintDotNet.PdnBaseForm.ProcessFormHotKey(Keys keyData) in d:\src\pdn\paintdotnet\src\Core\PdnBaseForm.cs:line 1021
   at PaintDotNet.PdnBaseForm.ProcessCmdKeyData(Keys keyData) in d:\src\pdn\paintdotnet\src\Core\PdnBaseForm.cs:line 1076
   at PaintDotNet.PdnBaseForm.ProcessCmdKey(Message& msg, Keys keyData) in d:\src\pdn\paintdotnet\src\Core\PdnBaseForm.cs:line 1059
   at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
   at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
   at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
   at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)

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.6.5693.28, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.exe
    PaintDotNet.SystemLayer, Version=4.6.5693.28, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.dll
    PaintDotNet.Base, Version=4.6.5693.28, 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
    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
    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
    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.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
    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
    PaintDotNet.Core, Version=4.6.5693.28, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Core.dll
    PaintDotNet.Resources, Version=4.6.5693.28, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Resources.dll
    PaintDotNet.Framework, Version=4.6.5693.28, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Framework.dll
    PaintDotNet.Data, Version=4.6.5693.28, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Data.dll
    PaintDotNet.Effects, Version=4.6.5693.28, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Effects.dll
    PaintDotNet.SystemLayer.Native.x64, Version=4.6.5693.28, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.Native.x64.dll
    System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.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
    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

Native modules: 
    C:\Program Files\Paint.NET\PaintDotNet.exe, version=4.6.5693.28
    C:\Windows\SYSTEM32\ntdll.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    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:\Program Files\Sandboxie\SbieDll.dll, version=4.20
    C:\Windows\system32\PSAPI.DLL, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\SYSTEM32\MSCOREE.DLL, version=4.0.40305.0 (Main.040305-0000)
    C:\Program Files (x86)\AVG\AVG2015\avghooka.dll, version=15.0.0.6086
    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.34209 built by: FX452RTMGDR
    C:\Windows\system32\SHLWAPI.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\GDI32.dll, version=6.1.7601.18898 (win7sp1_gdr.150617-0600)
    C:\Windows\system32\USER32.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)
    C:\Windows\system32\LPK.dll, version=6.1.7601.18946 (win7sp1_gdr.150730-0600)
    C:\Windows\system32\USP10.dll, version=1.0626.7601.18454 (win7sp1_gdr.140424-1533)
    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.34209 built by: FX452RTMGDR
    C:\Windows\system32\MSVCR120_CLR0400.dll, version=12.00.51689.34249 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_64\mscorlib\701f2b79b02a02beba70e50bb2edb212\mscorlib.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\system32\ole32.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\CRYPTBASE.dll, version=6.1.7601.18933 (win7sp1_gdr.150715-0600)
    C:\Windows\system32\shell32.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)
    C:\Windows\system32\uxtheme.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Program Files (x86)\4t Tray Minimizer\ShellEh552x64.dll, version=5.52.0.0
    C:\Windows\system32\oleaut32.dll, version=6.1.7601.18679
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clrjit.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_64\System\edc284c2fc5f774b65992c5e0b6a1899\System.ni.dll, version=4.0.30319.34238 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Drawing\d41e14dae81a26661e32b25cba8c117a\System.Drawing.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_64\Presentatio5ae0f00f#\53dd5b486c47800507342d7914199bca\PresentationFramework.ni.dll, version=4.0.30319.34209
    C:\Windows\system32\CRYPTSP.dll, version=6.1.7601.18741 (win7sp1_gdr.150202-1526)
    C:\Windows\system32\rsaenh.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Core\97a77e20513a0e20b1810fb5c3387a50\System.Core.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_64\WindowsBase\172188ae7ffc00280c3b791f4bbdd9e0\WindowsBase.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Base\fac445d5ce2ab45ccaab22311aac612b\PaintDotNet.Base.ni.dll, version=4.6.5693.28
    C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Windows.Forms\70df39f1b9fb511a8acfc84c7f7627bf\System.Windows.Forms.ni.dll, version=4.0.30319.34251 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet500b2e4f#\0adb3128c710a5d6649f9d4f0648113c\PaintDotNet.SystemLayer.ni.dll, version=4.6.5693.28
    C:\Windows\system32\RpcRtRemote.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\nlssorting.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_64\PresentationCore\918afbfb986da0346456a332674ffee7\PresentationCore.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\system32\version.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Core\acb0f489f622ee2f2d7a0e57f188b8c2\PaintDotNet.Core.ni.dll, version=4.6.5693.28
    C:\Windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet26779e70#\007b0031e7b1b6128c6cb80724cabfc7\PaintDotNet.Resources.ni.dll, version=4.6.5693.28
    C:\Windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet7afaaa15#\b40e38f8b1279efd99ba2a4b071c113a\PaintDotNet.Framework.ni.dll, version=4.6.5693.28
    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.34209 built by: FX452RTMGDR
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WPF\PresentationNative_v0400.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Data\90d2ce9d66fb710ad05b3b0cff683adf\PaintDotNet.Data.ni.dll, version=4.6.5693.28
    C:\Program Files\Paint.NET\PaintDotNet.Effects.dll, version=4.6.5693.28
    C:\Windows\system32\PROPSYS.dll, version=7.00.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\assembly\NativeImages_v4.0.30319_64\PaintDotNetc8826574#\903fa74b3301f6c594788838028c952a\PaintDotNet.SystemLayer.Native.x64.ni.dll, version=4.6.5693.28
    C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.Native.x64.dll, version=4.6.5693.28
    C:\Windows\system32\MSVCR120.dll, version=12.00.21005.1 built by: REL
    C:\Windows\system32\VCOMP120.DLL, version=12.00.21005.1 built by: REL
    C:\Windows\system32\MSVCP120.dll, version=12.00.21005.1 built by: REL
    C:\Windows\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.18946_none_2b27281071eac12c\gdiplus.dll, version=6.1.7601.18946 (win7sp1_gdr.150730-0600)
    C:\Windows\system32\dxgi.dll, version=6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
    C:\Windows\system32\dwmapi.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\DXGIDebug.dll, version=9.30.9600.17298
    C:\Windows\system32\WINTRUST.dll, version=6.1.7601.18839 (win7sp1_gdr.150427-0707)
    C:\Windows\system32\CRYPT32.dll, version=6.1.7601.18839 (win7sp1_gdr.150427-0707)
    C:\Windows\system32\MSASN1.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)
    C:\Windows\system32\profapi.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    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\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.18837_none_fa3b1e3d17594757\comctl32.dll, version=6.10 (win7_rtm.090713-1255)
    C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.18837_none_a4d981ff711297b6\comctl32.dll, version=6.10 (win7_rtm.090713-1255)
    C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Configuration\687652cdc9b32bd8e530be3a7da88810\System.Configuration.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Xml\fdebf7eee3058c7156aef7d7fedf5ac4\System.Xml.ni.dll, version=4.0.30319.34234 built by: FX452RTMGDR
    C:\Windows\system32\WindowsCodecs.dll, version=6.2.9200.17251 (win8_gdr.150128-1514)
    C:\Windows\system32\wtsapi32.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\d2d1.dll, version=6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
    C:\Windows\system32\d3d11.dll, version=6.2.9200.16570 (win8_gdr.130327-1526)
    C:\Windows\system32\D3D10Warp.dll, version=6.2.9200.17033 (win8_gdr.140615-1509)
    C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Xaml\e634c6664efd9e59b36c206198161310\System.Xaml.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\system32\aticfx64.dll, version=8.17.10.1404
    C:\Windows\system32\WINMM.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\atiuxp64.dll, version=8.14.01.6463
    C:\Windows\system32\atidxx64.dll, version=8.17.10.0625
    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)
------------------------------------------------------------------------------
I have tried a thread on the Paint.NET forums, but the creator of Paint.NET suspects it's an issue with Sandboxie. I have updated my PC with PatchMyPC and ever since I did, Paint.NET stopped working. This program installed a newer version of both Sandboxie and Paint.NET, so I don't know what update caused the issue.

The crash happens every time an image is pasted from the clipboard, both when copying images from browsers, mspaint or Paint.NET itself. I just found out the line tool also crashes the program.

Is there some kind of compatibility/resource exception I'm missing? Or might there be some incompatibility with Paint.NET?

Craig@Invincea
Sandboxie Support
Sandboxie Support
Posts: 3523
Joined: Thu Jun 18, 2015 3:00 pm
Location: DC Metro Area
Contact:

Re: Paint.NET, Windows 7 pro x64, crash on paste

Post by Craig@Invincea » Thu Sep 10, 2015 9:13 pm

There are many ways on how programs interact with the clipboard. Thus, some will crash as we cannot anticipate all the variables. This is true in Pidgin which has a similar crash. All I can say at the moment, it try the v5.02RC and see. It did address some issues with copy and paste, so maybe it will work for you.

here http://forums.sandboxie.com/phpBB3/view ... 53&t=21354

gertmenkel
Posts: 3
Joined: Fri Mar 21, 2014 4:30 pm

Re: Paint.NET, Windows 7 pro x64, crash on paste

Post by gertmenkel » Fri Sep 11, 2015 8:56 am

Craig@Invincea wrote:There are many ways on how programs interact with the clipboard. Thus, some will crash as we cannot anticipate all the variables. This is true in Pidgin which has a similar crash. All I can say at the moment, it try the v5.02RC and see. It did address some issues with copy and paste, so maybe it will work for you.

here http://forums.sandboxie.com/phpBB3/view ... 53&t=21354
Thank you for your response. I've upgraded to Sandboxie 5.02 (the latest RC) but the problem remains.

I don't think it's an issue with the clipboard though: the stack trace seems to indicate that there's something wrong with the handle to an ICON passed to one of the controls. The problem also occurs when not pasting, like when I select the line tool.

My guess is that Paint.NET is using P/Invoke to call some Win32 API functions, but the HICON passed to one of the controls is either NULL or garbage. I would have expected this would be an issue outside of the sandbox as well, but it just doesn't trigger when running outside of Sandboxie.

Does Sandboxie do anything with icon handles of the applications inside the sandbox?

As an extra: this crash log was generated when clicking the line tool (doesn't have anything to do with the clipboard):

Code: Select all

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.6 (Final 4.6.5693.28)
Time of crash: 11-9-2015 14:43:46
Application uptime: 00:05:10.6377674
Application state: Running 
Working set: 131.712 KiB
Threads: 23
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.34209 x64, FX 4.0 4.5
Processor: 4x "AMD FX(tm)-4100 Quad-Core Processor            " @ ~3600MHz (DEP, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, XSAVE)
Physical memory: 16367 MB
Video card: AMD Radeon HD 7700 Series (v:1002, d:683D, r:0)
Hardware acceleration: True (default: True)
UI animations: True
UI DPI: 96,00 dpi (1,00x scale)
UI theme: Aero/Aero + DWM (Aero.msstyles)
Updates: True, 6-9-2015
Locale: pdnr.c: en-US, hklm: en-US, hkcu: en-US, cc: nl-NL, cuic: en-US
Flags: 

Exception details:
System.TypeInitializationException: The type initializer for 'PaintDotNet.Tools.Shapes.ShapesToolUI' threw an exception. ---> System.TypeInitializationException: The type initializer for 'PaintDotNet.Tools.Controls.TransformControl' threw an xception. ---> System.ArgumentException: Win32 handle passed to Cursor is not valid or is the wrong type.
   at System.Windows.Forms.Cursor..ctor(IntPtr handle)
   at PaintDotNet.UI.Input.Cursors.<get_SizeAll>b__8() in d:\src\pdn\paintdotnet\src\Framework\UI\Input\Cursors.cs:line 87
   at System.Threading.LazyInitializer.EnsureInitializedCore[T](T& target, Func`1 valueFactory)
   at PaintDotNet.UI.Input.Cursors.get_SizeAll() in d:\src\pdn\paintdotnet\src\Framework\UI\Input\Cursors.cs:line 87
   at PaintDotNet.Tools.Controls.TransformControl..cctor() in d:\src\pdn\paintdotnet\src\PaintDotNet\Tools\Controls\TransformControl.cs:line 605
   --- End of inner exception stack trace ---
   at PaintDotNet.Tools.Shapes.ShapesToolUI..cctor() in d:\src\pdn\paintdotnet\src\PaintDotNet\Tools\Shapes\ShapesToolUI.cs:line 635
   --- End of inner exception stack trace ---
   at System.Runtime.CompilerServices.RuntimeHelpers._RunClassConstructor(RuntimeType type)
   at System.Windows.DependencyProperty.FromName(String name, Type ownerType)
   at System.Windows.PropertyPath.ResolvePropertyName(String name, Object item, Type ownerType, Object context, Boolean throwOnError)
   at System.Windows.PropertyPath.ResolvePropertyName(Int32 level, Object item, Type ownerType, Object context)
   at MS.Internal.Data.PropertyPathWorker.GetInfo(Int32 k, Object item, SourceValueState& svs)
   at MS.Internal.Data.PropertyPathWorker.ReplaceItem(Int32 k, Object newO, Object parent)
   at MS.Internal.Data.PropertyPathWorker.UpdateSourceValueState(Int32 k, ICollectionView collectionView, Object newValue, Boolean isASubPropertyChange)
   at MS.Internal.Data.ClrBindingWorker.AttachDataItem()
   at System.Windows.Data.BindingExpression.Activate(Object item)
   at System.Windows.Data.BindingExpression.AttachToContext(AttachAttempt attempt)
   at System.Windows.Data.BindingExpression.AttachOverride(DependencyObject target, DependencyProperty dp)
   at System.Windows.Data.BindingExpressionBase.Attach(DependencyObject target, DependencyProperty dp)
   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
   at System.Windows.Data.BindingOperations.SetBinding(DependencyObject target, DependencyProperty dp, BindingBase binding)
   at PaintDotNet.ObjectModel.DependencyObjectExtensions.SetBinding(DependencyObject targetObject, DependencyProperty targetProperty, Object sourceObject, PropertyPath sourcePath, BindingMode mode) in d:\src\pdn\paintdotnet\src\Base\ObjectModel\DependencyObjectExtensions.cs:line 46
   at PaintDotNet.Tools.Shapes.ShapesToolUI..ctor() in d:\src\pdn\paintdotnet\src\PaintDotNet\Tools\Shapes\ShapesToolUI.cs:line 90
   at PaintDotNet.Tools.Shapes.ShapesToolBase.CreateUI() in d:\src\pdn\paintdotnet\src\PaintDotNet\Tools\Shapes\ShapesToolBase.cs:line 505
   at PaintDotNet.Tools.Shapes.ShapesToolBase.OnPresentationSourceInitialized() in d:\src\pdn\paintdotnet\src\PaintDotNet\Tools\Shapes\ShapesToolBase.cs:line 493
   at PaintDotNet.Tools.PresentationBasedTool`2.OnActivated() in d:\src\pdn\paintdotnet\src\PaintDotNet\Tools\PresentationBasedTool`2.cs:line 130
   at PaintDotNet.Tools.TransactedTool`2.OnActivate() in d:\src\pdn\paintdotnet\src\PaintDotNet\Tools\TransactedTool`2.cs:line 353
   at PaintDotNet.Controls.DocumentWorkspace.SetTool(Tool copyMe) in d:\src\pdn\paintdotnet\src\PaintDotNet\Controls\DocumentWorkspace.cs:line 1639
   at PaintDotNet.Controls.ToolsControl.OnToolStripExItemClicked(Object sender, ToolStripItemClickedEventArgs e) in d:\src\pdn\paintdotnet\src\PaintDotNet\Controls\ToolsControl.cs:line 237
   at System.Windows.Forms.ToolStrip.HandleItemClick(ToolStripItem dismissingItem)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at PaintDotNet.SystemLayer.ToolStripEx.WndProc(Message& m) in d:\src\pdn\paintdotnet\src\SystemLayer\ToolStripEx.cs:line 82
   at 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.6.5693.28, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.exe
    PaintDotNet.SystemLayer, Version=4.6.5693.28, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.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
    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
    PaintDotNet.Base, Version=4.6.5693.28, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Base.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.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
    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
    PaintDotNet.Core, Version=4.6.5693.28, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Core.dll
    PaintDotNet.Resources, Version=4.6.5693.28, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Resources.dll
    PaintDotNet.Framework, Version=4.6.5693.28, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Framework.dll
    PaintDotNet.Data, Version=4.6.5693.28, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Data.dll
    PaintDotNet.Effects, Version=4.6.5693.28, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Effects.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
    PaintDotNet.SystemLayer.Native.x64, Version=4.6.5693.28, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.Native.x64.dll
    Accessibility, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Accessibility\v4.0_4.0.0.0__b03f5f7f11d50a3a\Accessibility.dll
    System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.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
    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
    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
    Microsoft.VisualStudio.Debugger.Runtime, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.Debugger.Runtime\12.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Debugger.Runtime.dll

Native modules: 
    C:\Program Files\Paint.NET\PaintDotNet.exe, version=4.6.5693.28
    C:\Windows\SYSTEM32\ntdll.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    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:\Program Files\Sandboxie\SbieDll.dll, version=5.02
    C:\Windows\system32\PSAPI.DLL, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\SYSTEM32\MSCOREE.DLL, version=4.0.40305.0 (Main.040305-0000)
    C:\Program Files (x86)\AVG\AVG2015\avghooka.dll, version=15.0.0.6086
    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.34209 built by: FX452RTMGDR
    C:\Windows\system32\SHLWAPI.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\GDI32.dll, version=6.1.7601.18898 (win7sp1_gdr.150617-0600)
    C:\Windows\system32\USER32.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)
    C:\Windows\system32\LPK.dll, version=6.1.7601.18946 (win7sp1_gdr.150730-0600)
    C:\Windows\system32\USP10.dll, version=1.0626.7601.18454 (win7sp1_gdr.140424-1533)
    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.34209 built by: FX452RTMGDR
    C:\Windows\system32\MSVCR120_CLR0400.dll, version=12.00.51689.34249 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_64\mscorlib\701f2b79b02a02beba70e50bb2edb212\mscorlib.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\system32\ole32.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\CRYPTBASE.dll, version=6.1.7601.18933 (win7sp1_gdr.150715-0600)
    C:\Windows\system32\shell32.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)
    C:\Windows\system32\uxtheme.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clrjit.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\system32\OLEAUT32.dll, version=6.1.7601.18679
    C:\Windows\assembly\NativeImages_v4.0.30319_64\System\edc284c2fc5f774b65992c5e0b6a1899\System.ni.dll, version=4.0.30319.34238 built by: FX452RTMGDR
    C:\Windows\system32\CRYPTSP.dll, version=6.1.7601.18741 (win7sp1_gdr.150202-1526)
    C:\Windows\system32\rsaenh.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\RpcRtRemote.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)
    C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.dll, version=4.6.5693.28
    C:\Windows\system32\VERSION.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll, version=4.0.30319.34251 built by: FX452RTMGDR
    C:\Program Files\Paint.NET\PaintDotNet.Base.dll, version=4.6.5693.28
    C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Core\97a77e20513a0e20b1810fb5c3387a50\System.Core.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll, version=4.0.30319.34270 built by: FX452RTMGDR
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\nlssorting.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_64\PresentationCore\918afbfb986da0346456a332674ffee7\PresentationCore.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Program Files\Paint.NET\PaintDotNet.Core.dll, version=4.6.5693.28
    C:\Program Files\Paint.NET\PaintDotNet.Resources.dll, version=4.6.5693.28
    C:\Program Files\Paint.NET\PaintDotNet.Framework.dll, version=4.6.5693.28
    C:\Program Files\Paint.NET\PaintDotNet.Data.dll, version=4.6.5693.28
    C:\Program Files\Paint.NET\PaintDotNet.Effects.dll, version=4.6.5693.28
    C:\Windows\assembly\NativeImages_v4.0.30319_64\WindowsBase\172188ae7ffc00280c3b791f4bbdd9e0\WindowsBase.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\system32\PROPSYS.dll, version=7.00.7600.16385 (win7_rtm.090713-1255)
    C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.Native.x64.dll, version=4.6.5693.28
    C:\Windows\system32\MSVCR120.dll, version=12.00.21005.1 built by: REL
    C:\Windows\system32\VCOMP120.DLL, version=12.00.21005.1 built by: REL
    C:\Windows\system32\MSVCP120.dll, version=12.00.21005.1 built by: REL
    C:\Windows\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.18946_none_2b27281071eac12c\gdiplus.dll, version=6.1.7601.18946 (win7sp1_gdr.150730-0600)
    C:\Windows\system32\dxgi.dll, version=6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
    C:\Windows\system32\dwmapi.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\DXGIDebug.dll, version=9.30.9600.17298
    C:\Windows\system32\WINTRUST.dll, version=6.1.7601.18839 (win7sp1_gdr.150427-0707)
    C:\Windows\system32\CRYPT32.dll, version=6.1.7601.18839 (win7sp1_gdr.150427-0707)
    C:\Windows\system32\MSASN1.dll, version=6.1.7601.17514 (win7sp1_rtm.101119-1850)
    C:\Windows\system32\profapi.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    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\dwrite.dll, version=6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
    C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.18837_none_fa3b1e3d17594757\comctl32.dll, version=6.10 (win7_rtm.090713-1255)
    C:\Windows\assembly\NativeImages_v4.0.30319_64\Accessibility\0a7378a70272bfdfa3f4870928994eaf\Accessibility.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.18837_none_a4d981ff711297b6\comctl32.dll, version=6.10 (win7_rtm.090713-1255)
    C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Configuration\687652cdc9b32bd8e530be3a7da88810\System.Configuration.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Xml\fdebf7eee3058c7156aef7d7fedf5ac4\System.Xml.ni.dll, version=4.0.30319.34234 built by: FX452RTMGDR
    C:\Windows\system32\WindowsCodecs.dll, version=6.2.9200.17251 (win8_gdr.150128-1514)
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WPF\PresentationNative_v0400.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\system32\wtsapi32.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\d2d1.dll, version=6.2.9200.16492 (win8_gdr_oobssr.130113-0015)
    C:\Windows\system32\d3d11.dll, version=6.2.9200.16570 (win8_gdr.130327-1526)
    C:\Windows\system32\D3D10Warp.dll, version=6.2.9200.17033 (win8_gdr.140615-1509)
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WPF\wpfgfx_v0400.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\assembly\NativeImages_v4.0.30319_64\Presentatio5ae0f00f#\53dd5b486c47800507342d7914199bca\PresentationFramework.ni.dll, version=4.0.30319.34209
    C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Xaml\e634c6664efd9e59b36c206198161310\System.Xaml.ni.dll, version=4.0.30319.34209 built by: FX452RTMGDR
    C:\Windows\system32\aticfx64.dll, version=8.17.10.1404
    C:\Windows\system32\WINMM.dll, version=6.1.7600.16385 (win7_rtm.090713-1255)
    C:\Windows\system32\atiuxp64.dll, version=8.14.01.6463
    C:\Windows\system32\atidxx64.dll, version=8.17.10.0625
    C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.Debugger.Runtime\12.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Debugger.Runtime.dll, version=12.0.21005.1
    C:\Program Files\Common Files\Microsoft Shared\VS7Debug\12.0\Microsoft.VisualStudio.Debugger.Runtime.Impl.dll, version=12.0.21005.1 built by: REL
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\diasymreader.dll, version=12.0.51209.34209 built by: FX452RTMGDR
    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)
------------------------------------------------------------------------------

Craig@Invincea
Sandboxie Support
Sandboxie Support
Posts: 3523
Joined: Thu Jun 18, 2015 3:00 pm
Location: DC Metro Area
Contact:

Re: Paint.NET, Windows 7 pro x64, crash on paste

Post by Craig@Invincea » Fri Sep 11, 2015 9:00 am

Noted. Thanks. I does seem errily similar to other copy/paste issues we've had in the past. So it happens when you start to select (hightlight) text? If so, then It's exactly what we've seen previously. We have another report of a similar error in Word 201 in Win 10. So I'm not sure if that security update on the 8th may have something to do with it.

Thanks for the info.

gertmenkel
Posts: 3
Joined: Fri Mar 21, 2014 4:30 pm

Re: Paint.NET, Windows 7 pro x64, crash on paste

Post by gertmenkel » Fri Sep 11, 2015 9:35 am

I saw the copy/paste issues earlier when I searched for similar errors. I can understand why you thought this was because of the clipboard issues.

The problem is not related to selecting text. Paint.NET is an image editing program, and the text tools are working fine.

This is the main interface
Image

This is the toolbox
Image

This is what appears after clicking the line tool
Image

The cursor icon changes without any issues when I click any of the tools (except for the line tool of course).

pandionx
Posts: 1
Joined: Fri Aug 22, 2014 5:59 pm

Re: Paint.NET, Windows 7 pro x64, crash on paste

Post by pandionx » Thu Apr 21, 2016 12:43 pm

I know this is a pretty old post, but I ran into this today, and thought I'd post my solution.

I suspect Paint.NET accesses Windows by name in certain instances, because I received the same error as you when I started up Paint.NET.

If you go to Sandbox Settings -> Resource Access -> Window Access, and you add * (i.e. you add an asterisk) into the Window Access (OpenWinClass) list, Paint.NET starts up fine.

Hope this helps.

Craig@Invincea
Sandboxie Support
Sandboxie Support
Posts: 3523
Joined: Thu Jun 18, 2015 3:00 pm
Location: DC Metro Area
Contact:

Re: Paint.NET, Windows 7 pro x64, crash on paste

Post by Craig@Invincea » Thu Apr 21, 2016 1:36 pm

True, but there are downsides
OpenWinClass=*
This setting tells Sandboxie to not translate window class names as described above, and also makes all windows in the system accessible to sandboxed programs, and goes a step further to disable a few other windowing-related Sandboxie functions. This may also cause the Sandboxie indicator [#] to not appear in window titles.

Note that OpenWinClass=* allows full communication with all windows outside the sandbox, but may interfere with some drag-and-drop operations.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests