Jump to content

Program locks on "Committing changes" window when using any tool or selecting the image


Recommended Posts

So I was going to use Paint.NET for redrawing a game sprite and pasted the old sprite in but when deselecting or trying to crop the image or using any tool resulted in it opening the "Committing changes" window and locking at 70% progress, with no way to cancel or close the program or use any tools and the only thing I could do was end the program in task manager.

 

Link to post
Share on other sites
  • 2 weeks later...

Okay I'm going to try and fix this for 4.2.13, which I'm hoping to release next week.

 

I've had a few scattered reports of something like this happening, and it seems to be some buggy error handling in the multithreaded saving and loading of the history files. Running out of disk space is definitely a way for this to happen, but I'm wondering why it's hanging for you. Might also be a bug in the threading code and it's just a deadlock (which manifests as a "live lock" for the UI).

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to post
Share on other sites
  • 4 weeks later...

I did clean up some of the code here for 4.2.13, but I didn't see anything that pointed toward a potential deadlock.


Please let me know if this happens again. I may have a way to troubleshoot this -- you'd need to enable tracing with a special command-line parameter (actually pretty easy to do with the paintdotnet: protocol thing).

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to post
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...