Jump to content

Pdn Crash...


Recommended Posts

Not sure what happend? I x'd out pdn and it appeared?

This text file was created because Paint.NET crashed.
Please e-mail this file to paint.net@hotmail.com so we can diagnose and fix the problem.

Application version: Paint.NET v3.0 (Milestone 2 Release build 3.0.2468.36758)
Time of crash: 10/6/2006 11:25:10 PM
Application uptime: 00:00:51.8491640
OS Version: 5.1.2600.131072 Service Pack 2 Workstation x86
.NET Framework version: 2.0.50727.42 x86
Processor: 1x AMD Athlon(tm) 64 Processor 3500+
Physical memory: 446 MB

Exception details:
System.ApplicationException: ThreadBackgroundMode() object must be manually Disposed()
  at PaintDotNet.SystemLayer.ThreadBackgroundMode.Finalize()
------------------------------------------------------------------------------

Link to comment
Share on other sites

Hmm,looks like the same crash BoltBait had here, http://paintdotnet.12.forumer.com/viewtopic.php?t=2275

That ThreadBackgroundMode has been a real pain with respect to this :)

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

This will be fixed in the next build.

Which build is that?

This text file was created because Paint.NET crashed.
Please e-mail this file to paint.net@hotmail.com so we can diagnose and fix the problem.

Application version: Paint.NET v3.0 (Milestone 2 Release build 3.0.2472.34062)
Time of crash: 10/10/2006 2:14:34 PM
Application uptime: 00:00:19.5979851
OS Version: 5.1.2600.131072 Service Pack 2 Workstation x86
.NET Framework version: 2.0.50727.42 x86
Processor: 1x Intel(R) Pentium(R) M processor 1500MHz
Physical memory: 510 MB
Locale: Setting: --CI.CC: en-US, CC.CUIC: en-US

Exception details:
System.InvalidOperationException: Dispose() was called on a thread other than the one that this object was created on
  at PaintDotNet.SystemLayer.ThreadBackgroundMode.Dispose(Boolean disposing)
  at PaintDotNet.SystemLayer.ThreadBackgroundMode.Finalize()
------------------------------------------------------------------------------

Because I think it just happened again.

Click to play:
j.pngs.pngd.pnga.pngp.png
Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game

Link to comment
Share on other sites

Yes.

Run Paint.net.

As soon as the red X appears, click it.

This text file was created because Paint.NET crashed.
Please e-mail this file to paint.net@hotmail.com so we can diagnose and fix the problem.

Application version: Paint.NET v3.0 (Milestone 2 Release build 3.0.2472.34062)
Time of crash: 10/10/2006 4:29:19 PM
Application uptime: 00:00:01.1416416
OS Version: 5.1.2600.131072 Service Pack 2 Workstation x86
.NET Framework version: 2.0.50727.42 x86
Processor: 1x Intel(R) Pentium(R) M processor 1500MHz
Physical memory: 510 MB
Locale: Setting: --CI.CC: en-US, CC.CUIC: en-US

Exception details:
System.InvalidOperationException: Dispose() was called on a thread other than the one that this object was created on
  at PaintDotNet.SystemLayer.ThreadBackgroundMode.Dispose(Boolean disposing)
  at PaintDotNet.SystemLayer.ThreadBackgroundMode.Finalize()
------------------------------------------------------------------------------

"Dispose() was called on a thread other than the one that this object was created on"? Interesting... ;)

Click to play:
j.pngs.pngd.pnga.pngp.png
Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game

Link to comment
Share on other sites

Ok, yeah. I changed it to be a Debug.Assert() in the finalizer (aka destructor) but then still called Dispose(false). In a situation like this, when the app is shutting down, it doesn't matter that the object didn't get cleaned up so I'm going to change it to just not care.

So ... next build for sure ;)

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

The reason the object has to be cleaned up on the same thread it was created on is due to the way Vista handles its new thread background mode settings. You call SetThreadPriority() with THREAD_BACKGROUND_BEGIN, and then later with THREAD_BACKGROUND_END, but you can only use these flags on the current thread. I can't set some other thread to operate in background mode.

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.

 Share

×
×
  • Create New...