User forums => Help => Topic started by: manciuleas on March 28, 2007, 12:06:31 pm
Title: C::B crash
Post by: manciuleas on March 28, 2007, 12:06:31 pm
Hi,
I'm experiencing the following problem: start C::B, click Settings-> Environment -> CRASH. I'm using self-compiled C::B, rev. 3761 and wxWidgets 2.6.4 unicode (same problem with 2.6.3) on Slackware 11.0 (gcc 3.4.6). This problem happens since I don't know which revision. I've tried to debug this issue, the program seems to crash around this lines
// tab "Notebook" XRCCTRL(*this, "cmbEditorTabs", wxComboBox)->SetSelection(cfg->ReadInt(_T("/environment/tabs_style"), 0)); XRCCTRL(*this, "chkSmartTabs", wxCheckBox)->SetValue(cfg->ReadBool(_T("/environment/tabs_smart"), 0)); in environmentsettingsdlg.cpp Attached is codeblock's debug report.
Thanks for any help/suggestion
[attachment deleted by admin]
Title: Re: C::B crash
Post by: thomas on March 28, 2007, 12:19:43 pm
The likely reason is XRCCTRL(*this, "cmbEditorTabs", wxComboBox) or XRCCTRL(*this, "chkSmartTabs", wxCheckBox) returning null. In other words, either control being non-existent.
Make sure you have updated your XRCs to the latest version.
Title: Re: C::B crash
Post by: mandrav on March 28, 2007, 12:21:21 pm
Code
cd trunk make clean-zipfiles make
Title: Re: C::B crash
Post by: manciuleas on March 28, 2007, 01:13:11 pm