Jump to content

Paint.Net crashes when color picker off screen


Recommended Posts

When attempting to use color picker to sample color on screen, if the cursor is not completely within bounds of the screen, a crash occurs. This usually happens when sampling is set to some larger array of pixels. It probably happens even if set to 3 x 3 pixels but it is more difficult to be partially off screen on the level. However, with larger sampling arrays I have several times accidentally allowed the cursor to be outside of the screen bounds and a crash occurs every time.

 

This is a repeatable problem. Just put sampling on 31 x 31 or 51 x 51 and click when the cursor is partially off screen. A crash occurs every time.

 

John Murphy (a grateful user)

Link to post
Share on other sites

I got this in e-mail, I assume it's from you. I still can't reproduce this, but at least I know where in the code it's happening now, and that helps a lot. 

 

How large is the image you're working with? (in pixels) 

 

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.9 (Final 4.9.5848.30436)
Time of crash: 5/3/2016 6:16:57 AM
Application uptime: 13:02:46.2905746
Application state: Running 
Working set: 125,976 KiB
Threads: 38
Install directory: C:\Program Files\paint.net
Current directory: C:\Program Files\paint.net
OS Version: 10.0.10586.0 Workstation x64
.NET version: CLR 4.0.30319.42000 x64, FX 4.6
Processor: 4x "AMD A8-6410 APU with AMD Radeon R5 Graphics    " @ ~1996MHz (DEP, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, XSAVE)
Physical memory: 5055 MB
Video card: AMD Radeon(TM) R5 Graphics (v:1002, d:9851, r:5), Microsoft Basic Render Driver (v:1414, d:8C, r:0)
Hardware acceleration: True (default: True)
UI animations: False
UI DPI: 96.00 dpi (1.00x scale)
UI theme: Aero/Aero + DWM (Aero.msstyles)
Updates: True, 4/26/2016
Locale: pdnr.c: en-US, hklm: en-US, hkcu: en-US, cc: en-US, cuic: en-US
Flags: 
 
Exception details:
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at PaintDotNet.SystemLayer.PdnNativeMethods.x64.BlendKernel_Normal_DstSrc(UInt32* dst, UInt32* src, Int32 length)
   at PaintDotNet.SystemLayer.PdnNativeMethods.BlendKernel_Normal_DstSrc(UInt32* dst, UInt32* src, Int32 length) in D:\src\pdn\src\SystemLayer\PdnNativeMethods.cs:line 794
   at PaintDotNet.Rendering.CompositionOps.Normal.Apply(ColorBgra* dst, ColorBgra* src, Int32 length) in D:\src\pdn\src\Core\Rendering\CompositionOps.Generated.cs:line 425
   at PaintDotNet.BitmapLayer.BitmapLayerRenderer.Render(ISurface`1 dst, PointInt32 renderOffset) in D:\src\pdn\src\Data\BitmapLayer.cs:line 81
   at PaintDotNet.BitmapLayer.BitmapLayerRenderer.Render(ISurface`1 dst, PointInt32 renderOffset) in D:\src\pdn\src\Data\BitmapLayer.cs:line 69
   at PaintDotNet.BitmapLayer.BitmapLayerRenderer.Render(ISurface`1 dst, PointInt32 renderOffset) in D:\src\pdn\src\Data\BitmapLayer.cs:line 69
   at PaintDotNet.BitmapLayer.BitmapLayerRenderer.Render(ISurface`1 dst, PointInt32 renderOffset) in D:\src\pdn\src\Data\BitmapLayer.cs:line 69
   at PaintDotNet.BitmapLayer.BitmapLayerRenderer.Render(ISurface`1 dst, PointInt32 renderOffset) in D:\src\pdn\src\Data\BitmapLayer.cs:line 69
   at PaintDotNet.Tools.ColorPickerTool.SampleAllLayers(Int32 x, Int32 y) in D:\src\pdn\src\PaintDotNet\Tools\ColorPickerTool.cs:line 154
   at PaintDotNet.Tools.ColorPickerTool.LiftColor(Int32 x, Int32 y) in D:\src\pdn\src\PaintDotNet\Tools\ColorPickerTool.cs:line 124
   at PaintDotNet.Tools.ColorPickerTool.PickColor(MouseEventArgsF e) in D:\src\pdn\src\PaintDotNet\Tools\ColorPickerTool.cs:line 116
   at PaintDotNet.Tools.Tool.MouseDown(MouseEventArgsF e) in D:\src\pdn\src\PaintDotNet\Tools\Tool.cs:line 799
   at PaintDotNet.Controls.AppWorkspace.DocumentMouseDownHandler(Object sender, MouseEventArgsF e) in D:\src\pdn\src\PaintDotNet\Controls\AppWorkspace.cs:line 1881
   at PaintDotNet.Controls.DocumentView.OnDocumentMouseDown(MouseEventArgsF e) in D:\src\pdn\src\PaintDotNet\Controls\DocumentView.cs:line 973
   at PaintDotNet.Controls.DocumentView.MouseDownHandler(Object sender, MouseEventArgs e) in D:\src\pdn\src\PaintDotNet\Controls\DocumentView.cs:line 1158
   at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   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.9.5848.30436, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.exe
    PaintDotNet.Base, Version=4.9.5848.30436, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.Base.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.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, 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
    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.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.Core, Version=4.9.5848.30436, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.Core.dll
    PaintDotNet.SystemLayer, Version=4.9.5848.30436, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.SystemLayer.dll
    PaintDotNet.Framework, Version=4.9.5848.30436, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.Framework.dll
    PaintDotNet.Resources, Version=4.9.5848.30436, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.Resources.dll
    PaintDotNet.Data, Version=4.9.5848.30436, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.Data.dll
    PaintDotNet.Effects, Version=4.9.5848.30436, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.Effects.dll
    PaintDotNet.SystemLayer.Native.x64, Version=4.9.5848.30436, 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
    IcoCur, Version=3.7.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\FileTypes\IcoCur.dll
    WindowsFormsIntegration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 @ C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\WindowsFormsIntegration\v4.0_4.0.0.0__31bf3856ad364e35\WindowsFormsIntegration.dll
 
Native modules: 
    C:\Program Files\paint.net\PaintDotNet.exe, version=4.9.5848.30436
    C:\WINDOWS\SYSTEM32\ntdll.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\MSCOREE.DLL, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\KERNEL32.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\KERNELBASE.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\ADVAPI32.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\msvcrt.dll, version=7.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\sechost.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\RPCRT4.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscoreei.dll, version=4.6.1038.0 built by: NETFXREL2
    C:\WINDOWS\system32\SHLWAPI.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\combase.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\bcryptPrimitives.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\GDI32.dll, version=10.0.10586.63 (th2_release.160104-1513)
    C:\WINDOWS\system32\USER32.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\IMM32.DLL, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\kernel.appcore.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\VERSION.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll, version=4.6.1078.0 built by: NETFXREL3STAGE
    C:\WINDOWS\SYSTEM32\MSVCR120_CLR0400.dll, version=12.00.52512.0 built by: VSWINSERVICING
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\mscorlib\2c5440b166ece2da7d6cc4031a72127c\mscorlib.ni.dll, version=4.6.1078.0 built by: NETFXREL3STAGE
    C:\WINDOWS\system32\ole32.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\uxtheme.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System\c8cc15551e0d7f24a438dc13744f7113\System.ni.dll, version=4.6.1075.0 built by: NETFXREL3STAGE
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Core\48a76f4b200d6ee3432997953c7d37e9\System.Core.ni.dll, version=4.6.1038.0 built by: NETFXREL2
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\WindowsBase\e22c1fb783b3ae4242e720fc72c3012e\WindowsBase.ni.dll, version=4.6.1073.0 built by: NETFXREL3STAGE
    C:\WINDOWS\SYSTEM32\CRYPTSP.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\rsaenh.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\bcrypt.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\CRYPTBASE.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Drawing\cf0d83f4ce79dc95453a8236251d3b50\System.Drawing.ni.dll, version=4.6.1078.0 built by: NETFXREL3STAGE
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PresentationCore\9236444da3be0cab1b4a4e9ce26a4148\PresentationCore.ni.dll, version=4.6.1073.0 built by: NETFXREL3STAGE
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\Presentatio5ae0f00f#\6802bed4bd856378a76607ce60d3e970\PresentationFramework.ni.dll, version=4.6.1073.0
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Base\6fd4e1eee4a2f1a9c55b7f5adba15cc6\PaintDotNet.Base.ni.dll, version=4.9.5848.30436
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Windows.Forms\12e878728c33a68bba51aa773576af0a\System.Windows.Forms.ni.dll, version=4.6.1038.0 built by: NETFXREL2
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet500b2e4f#\780f046b51e139c01becb54c40f2a730\PaintDotNet.SystemLayer.ni.dll, version=4.9.5848.30436
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Core\f837006cba804e1797b5b84ea332db6e\PaintDotNet.Core.ni.dll, version=4.9.5848.30436
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet26779e70#\f4f4cbef75fdbab18cb2c80fd0bdc084\PaintDotNet.Resources.ni.dll, version=4.9.5848.30436
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet7afaaa15#\61431fee0fd812bf525153a6c40fcd32\PaintDotNet.Framework.ni.dll, version=4.9.5848.30436
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Data\5d876d1b88e8199717ed1e3d44d318d8\PaintDotNet.Data.ni.dll, version=4.9.5848.30436
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet.Effects\caaead73f73bc289131c3657dca34a08\PaintDotNet.Effects.ni.dll, version=4.9.5848.30436
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNet\0636977f8597bc000ab755188941d06b\PaintDotNet.ni.exe, version=4.9.5848.30436
    C:\WINDOWS\SYSTEM32\dwrite.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WPF\wpfgfx_v0400.dll, version=4.6.1073.0 built by: NETFXREL3STAGE
    C:\WINDOWS\system32\OLEAUT32.dll, version=10.0.10586.0
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WPF\PresentationNative_v0400.dll, version=4.6.1038.0 built by: NETFXREL2
    C:\WINDOWS\system32\shell32.dll, version=10.0.10586.103 (th2_release.160126-1819)
    C:\WINDOWS\system32\cfgmgr32.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\windows.storage.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\shcore.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\powrprof.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\profapi.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\ucrtbase.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\msvcp140.dll, version=14.00.23026.0 built by: WCSETUP
    C:\WINDOWS\SYSTEM32\VCRUNTIME140.dll, version=14.00.23026.0 built by: WCSETUP
    C:\WINDOWS\SYSTEM32\vcomp140.dll, version=14.00.23026.0 built by: WCSETUP
    C:\WINDOWS\system32\MSCTF.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clrjit.dll, version=4.6.1078.0 built by: NETFXREL3STAGE
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\PaintDotNetc8826574#\318f249c917d8cd37b8c7df6e477ba83\PaintDotNet.SystemLayer.Native.x64.ni.dll, version=4.9.5848.30436
    C:\Program Files\paint.net\PaintDotNet.SystemLayer.Native.x64.dll, version=4.9.5848.30436
    C:\WINDOWS\SYSTEM32\PROPSYS.dll, version=7.00.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.10586.20_none_db007f1392e69ef4\gdiplus.dll, version=10.0.10586.20 (th2_release_sec.151123-1940)
    C:\WINDOWS\SYSTEM32\dxgi.dll, version=10.0.10586.162 (th2_release_sec.160223-1728)
    C:\WINDOWS\system32\clbcatq.dll, version=2001.12.10941.16384 (th2_release.151029-1700)
    C:\WINDOWS\System32\UIAnimation.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\dwmapi.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.10586.0_none_8c15ae12515e1c22\comctl32.dll, version=6.10 (th2_release.151029-1700)
    C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.10586.0_none_396e892957c7fb25\comctl32.dll, version=6.10 (th2_release.151029-1700)
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Configuration\5a1f79b36805ce004fd92d166d7d5c66\System.Configuration.ni.dll, version=4.6.1038.0 built by: NETFXREL2
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Xml\feae4ec2ac506cb2f089c5aa0c2a0751\System.Xml.ni.dll, version=4.6.1064.2 built by: NETFXREL3STAGE
    C:\WINDOWS\SYSTEM32\WindowsCodecs.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\Program Files\WIDCOMM\Bluetooth Software\btmmhook.dll, version=12.0.0.9980
    C:\WINDOWS\system32\PSAPI.DLL, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\wtsapi32.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\WINSTA.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\d2d1.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\d3d11.dll, version=10.0.10586.122 (th2_release_inmarket.160222-1549)
    C:\WINDOWS\SYSTEM32\D3D10Warp.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\System.Xaml\b4f86255aa062df99531ccbe82706b10\System.Xaml.ni.dll, version=4.6.1073.0 built by: NETFXREL3STAGE
    C:\WINDOWS\SYSTEM32\winmm.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\WINMMBASE.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\dataexchange.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\dcomp.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\twinapi.appcore.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\aticfx64.dll, version=8.17.10.1404
    C:\WINDOWS\SYSTEM32\atiuxp64.dll, version=8.14.01.6463
    C:\WINDOWS\SYSTEM32\atidxx64.dll, version=8.17.10.0625
    C:\WINDOWS\system32\explorerframe.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\edputil.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\assembly\NativeImages_v4.0.30319_64\WindowsForm0b574481#\0db717edda635c070fc112016797de1d\WindowsFormsIntegration.ni.dll, version=4.6.1038.0 built by: NETFXREL2
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\diasymreader.dll, version=14.00.1038.0 built by: NETFXREL2
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clrcompression.dll, version=4.6.1038.0 built by: NETFXREL2
    C:\WINDOWS\SYSTEM32\ktmw32.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\comdlg32.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\FirewallAPI.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\NETAPI32.dll, version=10.0.10586.212 (th2_release_sec.160328-1908)
    C:\WINDOWS\System32\DAVHLPR.DLL, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\fwbase.dll, version=10.0.10586.162 (th2_release_sec.160223-1728)
    C:\WINDOWS\system32\DUI70.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\DUser.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\Windows\System32\thumbcache.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\Windows\System32\Windows.Globalization.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\Windows\System32\Bcp47Langs.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\globinputhost.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\Program Files\Common Files\microsoft shared\ink\tiptsf.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\atlthunk.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\System32\StructuredQuery.dll, version=7.0.10586.0 (th2_release.151029-1700)
    C:\Windows\System32\ActXPrxy.dll, version=10.0.10586.218 (th2_release.160401-1800)
    C:\WINDOWS\SYSTEM32\SspiCli.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\Windows\System32\oleacc.dll, version=7.2.10586.212 (th2_release_sec.160328-1908)
    C:\WINDOWS\SYSTEM32\policymanager.dll, version=10.0.10586.212 (th2_release_sec.160328-1908)
    C:\WINDOWS\SYSTEM32\msvcp110_win.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\coml2.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\LINKINFO.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\MPR.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\System32\wkscli.dll, version=10.0.10586.212 (th2_release_sec.160328-1908)
    C:\WINDOWS\SYSTEM32\cscapi.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\System32\netutils.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\Windows\System32\twinapi.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\apphelp.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\Windows\System32\dlnashext.dll, version=12.0.10586.0 (th2_release.151029-1700)
    C:\Windows\System32\DevDispItemProvider.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\System32\DEVOBJ.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\SETUPAPI.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\WINTRUST.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\MSASN1.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\CRYPT32.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\Windows\System32\EhStorShell.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\urlmon.dll, version=11.00.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\iertutil.dll, version=11.00.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\mssprxy.dll, version=7.00.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\ntshrui.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\srvcli.dll, version=10.0.10586.212 (th2_release_sec.160328-1908)
    C:\WINDOWS\system32\NetworkExplorer.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\IconCodecService.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\PhotoMetadataHandler.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\xmllite.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\windowscodecsext.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\System32\provsvc.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\WS2_32.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\Windows\System32\WorkfoldersShell.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\dsreg.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\WINHTTP.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\DPAPI.DLL, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\System32\shacct.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\System32\IDStore.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\System32\SAMLIB.dll, version=10.0.10586.212 (th2_release_sec.160328-1908)
    C:\WINDOWS\System32\wlidprov.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\samcli.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static\atiacm64.dll, version=6.14.10.2001
    C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static\atiamenu.dll, version=6.14.10.2001
    C:\WINDOWS\SYSTEM32\CHARTV.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\ntmarta.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\twext.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\USERENV.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\Program Files\WinZip\WZSHLS64.DLL, version=4.1 (64-bit)
    C:\WINDOWS\system32\UIRibbon.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\msiltcfg.dll, version=5.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\msi.dll, version=5.0.10586.212
    C:\Program Files (x86)\Nuance\Power PDF\bin\SDirectShellExt.dll, version=9, 0, 0, 1
    C:\WINDOWS\SYSTEM32\WINSPOOL.DRV, version=10.0.10586.0 (th2_release.151029-1700)
    C:\Program Files (x86)\Nuance\Power PDF\ShellExt.dll, version=11.00.15106.100
    C:\WINDOWS\SYSTEM32\mfc100u.dll, version=10.00.40219.332
    C:\WINDOWS\SYSTEM32\MSVCR100.dll, version=10.00.40219.332
    C:\WINDOWS\SYSTEM32\MSIMG32.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\MFC100ENU.DLL, version=10.00.40219.325
    C:\Program Files\Windows Defender\shellext.dll, version=4.9.10586.0 (th2_release.151029-1700)
    C:\Program Files\Windows Defender\mpclient.dll, version=4.9.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\imagehlp.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\gpapi.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\System32\msxml3.dll, version=8.110.10586.212
    C:\Program Files (x86)\Common Files\CyberLink\ShellExtComponent\CLVDShellExt.dll, version=8.0.0.2906
    C:\WINDOWS\system32\syncui.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\SYNCENG.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\Program Files (x86)\Notepad++\NppShell_06.dll, version=0.1
    C:\WINDOWS\WinSxS\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9177_none_08e695a3a83b6ce3\MSVCR90.dll, version=9.00.30729.9177
    C:\Windows\System32\playtomenu.dll, version=12.0.10586.0 (th2_release.151029-1700)
    C:\Program Files\Windows Photo Viewer\PhotoViewer.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\d3d9.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\efswrt.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\wintypes.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\Program Files\Windows Photo Viewer\PhotoBase.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\Windows\System32\ieframe.dll, version=11.00.10586.17 (th2_release.151121-2308)
    C:\WINDOWS\SYSTEM32\Secur32.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\MLANG.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\WININET.dll, version=11.00.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\pcacli.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\System32\sfc_os.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\system32\DEVRTL.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\sxs.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\System32\twinui.appcore.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\System32\CoreMessaging.dll, version=10.0.10586.0
    C:\WINDOWS\System32\CoreUIComponents.dll, version=
    C:\WINDOWS\system32\execmodelproxy.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\WINDOWS\SYSTEM32\mrmcorer.dll, version=10.0.10586.0 (th2_release.151029-1700)
    C:\Windows\System32\Windows.UI.dll, version=10.0.10586.0 (th2_release.151029-1700)
------------------------------------------------------------------------------
Link to post
Share on other sites
  • 1 month later...

I posted a bug report on May 1, 2016. This provides more information about that as follows

 

The  original:

 

"When attempting to use color picker to sample color on screen, if the cursor is not completely within bounds of the screen, a crash occurs. This usually happens when sampling is set to some larger array of pixels. It probably happens even if set to 3 x 3 pixels but it is more difficult to be partially off screen on the level. However, with larger sampling arrays I have several times accidentally allowed the cursor to be outside of the screen bounds and a crash occurs every time.

 

This is a repeatable problem. Just put sampling on 31 x 31 or 51 x 51 and click when the cursor is partially off screen. A crash occurs every time.

 

John Murphy (a grateful user)"

 

I have found that if the color picker is off-canvas at the top or sides the problem does not happen. But when the color picker pointer is overlapping at the bottom of the canvas, where part of the pointer is on the canvas and part is below the canvas, paint.net crashes, for me every time I try it.  The attached file shows a typical position of the color tool cursor when the crash occurs. The large cursor is to make it more visible.

post-145644-0-33085500-1465422019_thumb.

Link to post
Share on other sites

Ok, I got it to repro.

 

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.10 (β 4.10.5987.2534)
 
Time of crash: 2016-06-09 4:43:29 PM
 
Application uptime: 00:00:26.1624341
 
Application state: Running 
 
Working set: 175,948 KiB
 
Threads: 54
 
Install directory: C:\Program Files\paint.net
 
Current directory: C:\Program Files\paint.net
 
OS Version: 10.0.10586.0 Workstation x64
 
.NET version: CLR 4.0.30319.42000 x64, FX 4.6
 
Processor: 32x "Intel(R) Xeon(R) CPU E5-2687W 0 @ 3.10GHz" @ ~3111MHz (DEP, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, XSAVE, Hypervisor)
 
Physical memory: 65484 MB
 
Video card: NVIDIA GeForce GTX 980 Ti (v:10DE, d:17C8, r:161), Microsoft Basic Render Driver (v:1414, d:8C, r:0)
 
Hardware acceleration: False (default: True)
 
UI animations: True
 
UI DPI: 96.00 dpi (1.00x scale)
 
UI theme: Aero/Aero + DWM (Aero.msstyles)
 
Updates: True, 2016-06-09
 
Locale: pdnr.c: en-US, hklm: en-US, hkcu: en-US, cc: en-US, cuic: en-US
 
Flags: 
 
 
 
Exception details:
 
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
 
   at PaintDotNet.SystemLayer.PdnNativeMethods.x64.BlendKernel_Normal_DstSrc(UInt32* dst, UInt32* src, Int32 length)
 
   at PaintDotNet.SystemLayer.PdnNativeMethods.BlendKernel_Normal_DstSrc(UInt32* dst, UInt32* src, Int32 length) in D:\src\pdn\src\SystemLayer\PdnNativeMethods.cs:line 794
 
   at PaintDotNet.Rendering.CompositionOps.Normal.Apply(ColorBgra* dst, ColorBgra* src, Int32 length) in D:\src\pdn\src\Core\Rendering\CompositionOps.Generated.cs:line 425
 
   at PaintDotNet.BitmapLayer.BitmapLayerRenderer.Render(ISurface`1 dst, PointInt32 renderOffset) in D:\src\pdn\src\Data\BitmapLayer.cs:line 81
 
   at PaintDotNet.Tools.ColorPickerTool.SampleAllLayers(Int32 x, Int32 y) in D:\src\pdn\src\PaintDotNet\Tools\ColorPickerTool.cs:line 154
 
   at PaintDotNet.Tools.ColorPickerTool.LiftColor(Int32 x, Int32 y) in D:\src\pdn\src\PaintDotNet\Tools\ColorPickerTool.cs:line 124
 
   at PaintDotNet.Tools.ColorPickerTool.PickColor(MouseEventArgsF e) in D:\src\pdn\src\PaintDotNet\Tools\ColorPickerTool.cs:line 116
 
   at PaintDotNet.Tools.Tool.MouseDown(MouseEventArgsF e) in D:\src\pdn\src\PaintDotNet\Tools\Tool.cs:line 784
 
   at PaintDotNet.Controls.AppWorkspace.DocumentMouseDownHandler(Object sender, MouseEventArgsF e) in D:\src\pdn\src\PaintDotNet\Controls\AppWorkspace.cs:line 1891
 
   at PaintDotNet.Controls.DocumentView.OnDocumentMouseDown(MouseEventArgsF e) in D:\src\pdn\src\PaintDotNet\Controls\DocumentView.cs:line 952
 
   at PaintDotNet.Controls.DocumentView.MouseDownHandler(Object sender, MouseEventArgs e) in D:\src\pdn\src\PaintDotNet\Controls\DocumentView.cs:line 1137
 
   at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
 
   at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
 
   at System.Windows.Forms.Control.WndProc(Message& m)
 
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...