vvx Posted August 10, 2017 Share Posted August 10, 2017 (edited) I had this problem few times since i upgraded pdn to latest version!.. the most sad thing is that crush always happened when there were few unsaved changes to my images.. Last thing i did before the last crush is working with my favorite "levels.." tool as usual i'm working on my laptop samsung NP700Z3A Exception details: System.AccessViolationException: Попытка чтения или записи в защищенную память. Это часто свидетельствует о том, что другая память повреждена. в System.Environment.GetWorkingSet() в System.Environment.get_WorkingSet() в PaintDotNet.Runtime.CleanupThread.WorkThreadProc() в D:\src\pdn\src\Base\Runtime\CleanupThread.cs:строка 152 so error text in english is: System.AccessViolationException: Attempted to read or write to protected memory. This is often an indication that other memory is corrupt here's the crash report: Application version: paint.net версия 4.0.17 (Final 4.17.6411.1908) Time of crash: 10.08.2017 15:46:54 Application uptime: 1.04:36:37.2594405 Application state: Running Working set: 0 KiB Handles and threads: 1255 handles, 55 threads, 611 gdi, 439 user Install type: Classic Application directory: C:\Program Files\paint.net Current directory: C:\Program Files\paint.net Install directory: C:\Program Files\paint.net AppSettings storage handler: RegistryStorageHandler OS Version: 6.3.9600.0 Workstation x64 .NET version: CLR 4.0.30319.42000 x64, FX 4.6 Processor: "Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz" @ ~2494MHz (2C/4T, DEP, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, XSAVE) Physical memory: 12201 MB Video card: --- Exception while populating videoCardNames: PaintDotNet.Dxgi.InvalidCallException (0x887A0001): ..\Dxgi\Dxgi.cpp (94) : hr = pCreateDXGIFactory1( __uuidof(IDXGIFactory1), reinterpret_cast<void **>(&spFactory1)); в PaintDotNet.Interop.InteropErrorInfo.ThrowIfError() в D:\src\pdn\src\Base\Interop\InteropErrorInfo.cs:строка 91 в PaintDotNet.SystemLayer.Native.x64.NativeUtilities.ThrowOnErrorImpl(Int32 hr, SByte* szHr, IUnknown* pFxErrorInfo) в PaintDotNet.SystemLayer.Native.x64.Dxgi.Dxgi.CreateFactory1() в PaintDotNet.SystemLayer.Dxgi.CreateFactory1X64() в D:\src\pdn\src\SystemLayer\Dxgi.cs:строка 54 в PaintDotNet.SystemLayer.Dxgi.CreateFactory1() в D:\src\pdn\src\SystemLayer\Dxgi.cs:строка 69 в PaintDotNet.Diagnostics.CrashLog.WriteCrashLog(Exception crashEx, TextWriter stream) в D:\src\pdn\src\PaintDotNet\Diagnostics\CrashLog.cs:строка 386 Hardware acceleration: True (default: False) UI animations: True UI DPI: 96,00 dpi (1,00x scale) UI theme: Aero/Aero + DWM (Aero.msstyles) Updates: True, 06.08.2017 Locale: pdnr.c: ru, hklm: ru, hkcu: ru, cc: ru-RU, cuic: ru Flags: Exception details: System.AccessViolationException: Попытка чтения или записи в защищенную память. Это часто свидетельствует о том, что другая память повреждена. в System.Environment.GetWorkingSet() в System.Environment.get_WorkingSet() в PaintDotNet.Runtime.CleanupThread.WorkThreadProc() в D:\src\pdn\src\Base\Runtime\CleanupThread.cs:строка 152 в System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) в System.Threading.ThreadHelper.ThreadStart() 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.17.6411.1908, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.exe PaintDotNet.Base, Version=4.17.6411.1908, 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.17.6411.1908, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.Core.dll PaintDotNet.SystemLayer, Version=4.17.6411.1908, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.SystemLayer.dll PaintDotNet.Framework, Version=4.17.6411.1908, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.Framework.dll PaintDotNet.Resources, Version=4.17.6411.1908, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.Resources.dll PaintDotNet.Data, Version=4.17.6411.1908, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.Data.dll PaintDotNet.Effects, Version=4.17.6411.1908, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.Effects.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 PaintDotNet.SystemLayer.Native.x64, Version=4.17.6411.1908, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\PaintDotNet.SystemLayer.Native.x64.dll System.Windows.Forms.resources, Version=4.0.0.0, Culture=ru, PublicKeyToken=b77a5c561934e089 @ C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms.resources\v4.0_4.0.0.0_ru_b77a5c561934e089\System.Windows.Forms.resources.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 "AA's_Assistant", Version=1.1.4329.33034, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\Effects\AA's_Assistant.dll Alpha_to_0, Version=1.0.4452.22746, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\Effects\Alpha_to_0.dll Alpha_to_255, Version=1.0.4452.22782, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\Effects\Alpha_to_255.dll BlackandAlpha+, Version=1.2.4329.272, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\Effects\BlackandAlpha+.dll CircleText, Version=1.4.4415.32488, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\Effects\CircleText.dll dpyColorBalance, Version=1.1.4330.37850, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\Effects\dpyColorBalance.dll Metallize, Version=1.2.4415.32969, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\Effects\Metallize.dll MultiThreshold, Version=1.1.4330.38982, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\Effects\MultiThreshold.dll Perspective, Version=2.1.4415.36116, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\Effects\Perspective.dll pxEexpansion, Version=1.0.4437.36287, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\Effects\pxEexpansion.dll RotateText, Version=1.1.4415.32628, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\Effects\RotateText.dll RotateTextSUI, Version=1.1.4415.32713, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\Effects\RotateTextSUI.dll Rotate_Zoom+, Version=1.11.5237.17779, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\Effects\Rotate_Zoom+.dll SpeechBubble, Version=2.1.4445.42029, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\Effects\SpeechBubble.dll SpiralText, Version=1.4.4415.32775, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\Effects\SpiralText.dll TextPlus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\Effects\Textplus.dll WaveText, Version=1.2.4415.32811, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\Effects\WaveText.dll WaveTextSUI, Version=1.2.4415.33440, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\Effects\WaveTextSUI.dll PhotoShop, Version=2.4.1.33113, Culture=neutral, PublicKeyToken=null @ C:\Program Files\paint.net\FileTypes\PhotoShop.dll mscorlib.resources, Version=4.0.0.0, Culture=ru, PublicKeyToken=b77a5c561934e089 @ C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\mscorlib.resources\v4.0_4.0.0.0_ru_b77a5c561934e089\mscorlib.resources.dll Native modules: --- Exception while populating nativeModulesInfo: System.DllNotFoundException: Не удается загрузить DLL "psapi.dll": Параметр задан неверно. (Исключение из HRESULT: 0x80070057 (E_INVALIDARG)) в PaintDotNet.SystemLayer.NativeMethods.EnumProcessModulesEx(IntPtr hProcess, IntPtr* lphModule, UInt32 cb, UInt32& lpcbNeeded, UInt32 dwFilterFlag) в PaintDotNet.SystemLayer.ProcessStatus.GetCurrentProcessModuleNames(UInt32 dwFilterFlag) в D:\src\pdn\src\SystemLayer\ProcessStatus.cs:строка 155 в PaintDotNet.SystemLayer.ProcessStatus.GetCurrentProcessModuleNames() в D:\src\pdn\src\SystemLayer\ProcessStatus.cs:строка 50 в PaintDotNet.Diagnostics.CrashLog.WriteCrashLog(Exception crashEx, TextWriter stream) в D:\src\pdn\src\PaintDotNet\Diagnostics\CrashLog.cs:строка 577 ------------------------------------------------------------------------------ Edited August 10, 2017 by vvx Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted August 10, 2017 Share Posted August 10, 2017 Your system appears to be super broken. You will want to run chkdsk and sfc /scannow ... immediately 1 Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
vvx Posted August 10, 2017 Author Share Posted August 10, 2017 1 hour ago, Rick Brewster said: Your system appears to be super broken. You will want to run chkdsk and sfc /scannow ... immediately why? my laptop runs almost 20 hours a day every day I use many heavy apps that eat memory and cpu none of them crushed, but pdn crushed three times since last update two weeks ago. I use pdn every day more than a year.// Quote Link to comment Share on other sites More sharing options...
BoltBait Posted August 10, 2017 Share Posted August 10, 2017 Would it kill you to try what he said? Seriously, if you don't try what we suggest, I'm not sure we can help you. Running chkdsk could detect and fix hard drive errors. Running sfc /scannow could detect corrupted operating system files and fix them. Why not start there and see what the results are first? 1 Quote Click to play: Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game Link to comment Share on other sites More sharing options...
vvx Posted August 10, 2017 Author Share Posted August 10, 2017 chkdsk hasn't foundany problems sfc /scannow wants to restart pc but i won't restart it till next week Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted August 10, 2017 Share Posted August 10, 2017 6 hours ago, vvx said: but i won't restart it till next week Good luck with that. I'd rather invest 30 seconds now with rebooting, than wait a whole week. 1 Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Rick Brewster Posted August 10, 2017 Share Posted August 10, 2017 It's crashing while trying to save a crash log to disk. It can't even call System.Environment.GetWorkingSet() just to figure out how much memory is being used. It's having trouble asking DirectX what the name of the video card is. And then at the very bottom it can't find psapi.dll which is a standard Windows component that never gives any trouble. Something is broken and it's not Paint.NET. Restarting might just help. Not restarting is, in my opinion, silly. If you don't want to restart, that's your perogative. But Paint.NET probably won't work until you do. You asked "why?" Well I don't know why it's crashing. You've got all the information we can give you and you just have to make your own decisions. 1 Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.