Author Topic: CodeBlocks crash on close after using wxSmith  (Read 4912 times)

Offline damateem

  • Single posting newcomer
  • *
  • Posts: 6
CodeBlocks crash on close after using wxSmith
« on: August 10, 2011, 03:12:47 pm »
CodeBlocks closes fine if I don't utilize any wxSmith features. However, if I activate the resource editor to modify a frame, CodeBlocks crashes when closed.

The most annoying thing about this issue is that when it happens, the CodeBlocks settings are not saved. If I made changes to any of CodeBlocks options, they are lost and must be re-changed after the next CodeBlocks execution.

Anybody else see this problem? Is there a fix?

Thanks,
David

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: CodeBlocks crash on close after using wxSmith
« Reply #1 on: August 10, 2011, 03:21:07 pm »
A little more information needed, or nobody can give you a meaningful answer !

OS (and version) ?
C::B version ?
wxWidgets version ?

Offline damateem

  • Single posting newcomer
  • *
  • Posts: 6
Re: CodeBlocks crash on close after using wxSmith
« Reply #2 on: August 11, 2011, 05:33:20 am »
C::B version 10.05
Windows 7 Pro 64 SP1
wxWidgets version 2.8.11
wxSmith version 1.0

Anything I can do to narrow down the problem?

Offline damateem

  • Single posting newcomer
  • *
  • Posts: 6
Re: CodeBlocks crash on close after using wxSmith
« Reply #3 on: August 13, 2011, 03:43:10 pm »
It's hard to believe I'm the only one encountering this problem.

I've narrowed the problem a little. When I close Code Blocks after editing a frame or dialog, Code Blocks seems to close OK, but when I look in the task manager, codeblocks.exe is still running. If I try to start Code Blocks when this happens, it crashes which forces it out of the task manager. If I kill it from the task manager before starting it again, I don't get the crash. In both cases, my settings changes are lost. If I want the settings to be saved, I must make the changes and then close Code Blocks without activating the wxSmith editor.

The wxSmith plugin is preventing Code Blocks from fully shutting down.

Any ideas how to narrow the problem further or prevent it?

Thanks,
David

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: CodeBlocks crash on close after using wxSmith
« Reply #4 on: August 13, 2011, 04:06:39 pm »
You can try to rename C::B's configuration file ( %APPDATA%\codeblocks\default.conf ), so that a new one is created from scratch and see if this fixes the problem.

Id this does not work, I suggest using a nightly build, to see whether this issue is already fixed in trunk.