Jump to content

FileType plugins: Crash on 'Canceling' dialog


midora

Recommended Posts

If you are pressing Escape while the "Canceling' dialog of a save operation is visible then Paint.NET will crash.

 

This may happen if you are just pressing two times Escape in a Save Configuration dialog while the preview is calculated in the background.

 

Application version: paint.net 4.0.3 (Final 4.3.5316.40022)

Time of crash: 16.11.2014 21:06:28

Application uptime: 00:00:26.5275173

Application state: Running

Working set: 138'816 KiB

Threads: 28

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.18444 x64, FX 4.0 4.5

Processor: 4x "Intel® Core i3 CPU       U 330  @ 1.20GHz" @ ~1197MHz (DEP, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2)

Physical memory: 3893 MB

Video card: Intel® HD Graphics (v:8086, d:46, r:2)

Hardware acceleration: False (default: False)

UI animations: True

UI DPI: 96.00 dpi (1.00x scale)

UI theme: Aero/Aero + DWM (Aero.msstyles)

Updates: True, 10.11.2014

Locale: pdnr.c: en-US, hklm: en-US, hkcu: en-US, cc: de-CH, cuic: en-US



Exception details:

PaintDotNet.InternalErrorException: Exception of type 'PaintDotNet.InternalErrorException' was thrown. ---> System.ComponentModel.InvalidEnumArgumentException: Cannot transition to the same state

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

   at PaintDotNet.Threading.Tasks.Task.SetState(TaskState state) in d:\src\pdn\paintdotnet\src\Core\Threading\Tasks\Task.cs:line 70

   at PaintDotNet.Dialogs.SaveConfigDialog.<>c__DisplayClass2.<UIWaitForCallbackDoneEvent>b__1() in d:\src\pdn\paintdotnet\src\PaintDotNet\Dialogs\SaveConfigDialog.cs:line 976

   at PaintDotNet.Threading.ActionWorkItemQueue.OnExecuteNextWorkItem() in d:\src\pdn\paintdotnet\src\Core\Threading\ActionWorkItemQueue.cs:line 77

   at PaintDotNet.Threading.MultithreadedWorkItemDispatcher.WorkThreadProc(Object context) in d:\src\pdn\paintdotnet\src\Core\Threading\MultithreadedWorkItemDispatcher.cs:line 349

   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

   at System.Threading.ThreadHelper.ThreadStart(Object obj)


 

midoras signature.gif

Link to comment
Share on other sites

BTW: Clicking the close button of the Save Configuration dialog while the preview is calculated does not show a canceling dialog. The dialog closes immediately but the save operation continues invisible in the background.

 

The canceling dialog is only visible after clicking the cancel button or pressing escape.

midoras signature.gif

Link to comment
Share on other sites

Interesting ... I've been wondering what causes this for a long time. I've been getting crash logs for this for awhile but no one ever told me what caused it for them ...

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.

×
×
  • Create New...