Author Topic: code::blocks crash in settings-dialog  (Read 4452 times)

Offline frithjofh

  • Regular
  • ***
  • Posts: 376
code::blocks crash in settings-dialog
« on: January 04, 2008, 06:06:31 pm »
hi everybody,

c::b just crashed two times doing the same thing: i tried to add a new help file under "settings->environment settings->help files" and the programm just crashes popping up a dialog with options for a crash report.

i use the svn 4767 under suse 10.3 x86_64 on a AMD x2 64 4200+

crsh-file attached

regards

nausea

[attachment deleted by admin]
architect with some spare time  -  c::b compiled from last svn  -   openSuSE leap x86_64  -  AMD FX-4100

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: code::blocks crash in settings-dialog
« Reply #1 on: January 07, 2008, 11:11:51 am »
i use the svn 4767 under suse 10.3 x86_64 on a AMD x2 64 4200+
this bug has already been fixed in SVN. Please use a more recent version of C::B.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline mmkider

  • Almost regular
  • **
  • Posts: 150
Re: code::blocks crash in settings-dialog
« Reply #2 on: January 06, 2009, 03:36:17 pm »
hi everybody,

c::b just crashed two times doing the same thing: i tried to add a new help file under "settings->environment settings->help files" and the programm just crashes popping up a dialog with options for a crash report.

i use the svn 4767 under suse 10.3 x86_64 on a AMD x2 64 4200+

crsh-file attached

regards

nausea

It is issue that initialization sequence for xrc

I test results of Initialization sequence for xrc that If codeblocks load xrc(using wxXmlResource::Get()->LoadDialog), EVT_LISTBOOK_PAGE_CHANGING and EVT_LISTBOOK_PAGE_CHANGED will be called.

But Now most of the image don't be loading into codeblocks.
So need change Initialization sequence.

For example(environmentsettingsdlg.cpp)

- EVT_LISTBOOK_PAGE_CHANGING(XRCID("nbMain"), EnvironmentSettingsDlg::OnPageChanging)
- EVT_LISTBOOK_PAGE_CHANGED(XRCID("nbMain"), EnvironmentSettingsDlg::OnPageChanged)

need be to

+ Connect( XRCID("nbMain"),wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING,wxListbookEventHandler(EnvironmentSettingsDlg::OnPageChanging));
+ Connect( XRCID("nbMain"),wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED,wxListbookEventHandler(EnvironmentSettingsDlg::OnPageChanged));



I submit a patch.
http://developer.berlios.de/patch/?func=detailpatch&patch_id=2629&group_id=5358

« Last Edit: January 06, 2009, 04:01:28 pm by mmkider »