News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

C::B crash

Started by manciuleas, March 28, 2007, 12:06:31 PM

Previous topic - Next topic

manciuleas

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]

thomas

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.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

mandrav


cd trunk
make clean-zipfiles
make
Be patient!
This bug will be fixed soon...

manciuleas

It worked.  :D
Thanks very much!!!

Regards