Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: frithjofh on January 04, 2008, 06:06:31 pm

Title: code::blocks crash in settings-dialog
Post by: frithjofh 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]
Title: Re: code::blocks crash in settings-dialog
Post by: MortenMacFly 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.
Title: Re: code::blocks crash in settings-dialog
Post by: mmkider 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