Picc84 Posted October 7, 2006 Share Posted October 7, 2006 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() ------------------------------------------------------------------------------ Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted October 7, 2006 Share Posted October 7, 2006 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 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...
Rick Brewster Posted October 8, 2006 Share Posted October 8, 2006 This will be fixed in the next build. 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...
BoltBait Posted October 10, 2006 Share Posted October 10, 2006 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. Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
Rick Brewster Posted October 10, 2006 Share Posted October 10, 2006 This is when you're exiting Paint.NET ? 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...
BoltBait Posted October 10, 2006 Share Posted October 10, 2006 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... Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
Rick Brewster Posted October 10, 2006 Share Posted October 10, 2006 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 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...
Rick Brewster Posted October 10, 2006 Share Posted October 10, 2006 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. 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.