Author Topic: Close while minimized = crash?  (Read 8364 times)

Offline 280Z28

  • Regular
  • ***
  • Posts: 397
  • *insert unicode here*
Close while minimized = crash?
« on: January 02, 2006, 06:17:30 pm »
Is anyone else seeing this?

Minimize Code::Blocks
Right click -> Close
78 280Z, "a few bolt-ons" - 12.71@109.04
99 Trans Am, "Daily Driver" - 525rwhp/475rwtq
 Check out The Sam Zone :cool:

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Close while minimized = crash?
« Reply #1 on: January 02, 2006, 06:19:12 pm »
Is anyone else seeing this?

Minimize Code::Blocks
Right click -> Close

yes

Offline 280Z28

  • Regular
  • ***
  • Posts: 397
  • *insert unicode here*
Re: Close while minimized = crash?
« Reply #2 on: January 02, 2006, 06:20:52 pm »
I see this note in the code (sdk\manager.cpp:69)

Code
		/**
@bug This is a dumb nasty bug. If ProjectManager is freed after ToolsManager, we get
a crash. Seems like wxRemoveEventHandler doesn't work correctly (it doesn't NULL the
prev event handler pointer)
*/

But this follows:

Code
		ToolsManager::Free();
/* stuff */
PluginManager::Free();

Is the comment outdated?

Edit: There's a comment that suggests that the bug is fixed but needs to be tested with an MSVC compiled version of C::B. I thought C::B didn't compile under MSVC at all? I suggest removing both comments if they aren't needed anymore. :)
« Last Edit: January 02, 2006, 06:23:35 pm by 280Z28 »
78 280Z, "a few bolt-ons" - 12.71@109.04
99 Trans Am, "Daily Driver" - 525rwhp/475rwtq
 Check out The Sam Zone :cool:

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Close while minimized = crash?
« Reply #3 on: January 02, 2006, 06:27:40 pm »
Is anyone else seeing this?

Minimize Code::Blocks
Right click -> Close

No. I have tried with all my windows C::B versions, i.e., RC2, Therion's SVN rev1587 and Ceniza's SVN rev1587, but no crash. May be this happen with a newer SVN version.

Michael

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Close while minimized = crash?
« Reply #4 on: January 02, 2006, 07:38:55 pm »
But yes with Therion's SVN binary snapshot revision 1644 UNICODE (2/1/2006).

Michael

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Close while minimized = crash?
« Reply #5 on: January 02, 2006, 08:28:20 pm »
And also with the latest Therion's SVN binary snapshot revision 1648 UNICODE (2/1/2006).

Michael