User forums > Using Code::Blocks

code::blocks crash in settings-dialog

(1/1)

frithjofh:
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]

MortenMacFly:

--- Quote from: nausea on January 04, 2008, 06:06:31 pm ---i use the svn 4767 under suse 10.3 x86_64 on a AMD x2 64 4200+

--- End quote ---
this bug has already been fixed in SVN. Please use a more recent version of C::B.

mmkider:

--- Quote from: nausea 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

--- End quote ---

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

Navigation

[0] Message Index

Go to full version