Author Topic: Environment settings dialog crash  (Read 2319 times)

Offline xjtuphy

  • Single posting newcomer
  • *
  • Posts: 5
Environment settings dialog crash
« on: June 28, 2006, 06:25:21 am »
I have installed a clean Debian/etch ,and svn checkout codeblocks.
configuring and building with no warning or error.
./bootstrap
./configuration --enable-contrib
./make
./make install


but every time I open the "Environment settings",codeblocks crash,and give several lines of  errors

Code: [Select]
addr2line:no such file or directory
(The addr2line error ,When I run codeblocks from /usr/bin/,do not appear)

Running inside gdb,codeblocks throw a segmentation fault:

Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1229812992 (LWP 23713)]
0x08074bc5 in EnvironmentSettingsDlg (this=0xbf918d00, parent=0x82db9f8, art=0x82dc580)
    at environmentsettingsdlg.cpp:132
132         XRCCTRL(*this, "chkAutoShowMessagesOnSearch", wxCheckBox)->SetValue(mcfg->ReadBool(_T("/auto_show_search"), true));
(gdb)

Below is the codeblocks report :

Code: [Select]
<stack>
    <frame level="2" function="wxStackWalker::Walk(unsigned int)" offset="0000002e"/>
    <frame level="3" function="wxDebugReport::AddContext(wxDebugReport::Context)" offset="000009f2"/>
    <frame level="4" function="wxDebugReport::AddAll(wxDebugReport::Context)" offset="00000018"/>
    <frame level="5"/>
    <frame level="6" function="wxFatalSignalHandler" offset="00000026"/>
    <frame level="7"/>
    <frame level="8"/>
    <frame level="9" function="MainFrame::OnSettingsEnvironment(wxCommandEvent&amp;)" offset="00000051"/>
    <frame level="10" function="wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&amp;), wxEvent&amp;) const" offset="00000035"/>
    <frame level="11" function="wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&amp;, wxEvtHandler*, wxEvent&amp;)" offset="00000083"/>
    <frame level="12" function="wxEventHashTable::HandleEvent(wxEvent&amp;, wxEvtHandler*)" offset="0000007f"/>
    <frame level="13" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="000000cf"/>
    <frame level="14" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="0000006e"/>
    <frame level="15" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="0000006e"/>
    <frame level="16" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="0000006e"/>
    <frame level="17" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="0000006e"/>
    <frame level="18" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="0000006e"/>
    <frame level="19" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="0000006e"/>
    <frame level="20" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="0000006e"/>
    <frame level="21" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="0000006e"/>
    <frame level="22" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="0000006e"/>
    <frame level="23" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="0000006e"/>
    <frame level="24" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="0000006e"/>
    <frame level="25" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="0000006e"/>
    <frame level="26" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="0000006e"/>
    <frame level="27" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="0000006e"/>
    <frame level="28" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="0000006e"/>
    <frame level="29" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="0000006e"/>
    <frame level="30" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="0000006e"/>
    <frame level="31" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="0000006e"/>
    <frame level="32" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="0000006e"/>
    <frame level="33" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="0000006e"/>
    <frame level="34" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="0000006e"/>
    <frame level="35" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="0000006e"/>
    <frame level="36" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="0000006e"/>
    <frame level="37" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="0000006e"/>
    <frame level="38" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="0000006e"/>
    <frame level="39"/>
    <frame level="40" function="g_cclosure_marshal_VOID__VOID" offset="0000004b"/>
    <frame level="41" function="g_closure_invoke" offset="0000011b"/>
    <frame level="42"/>
    <frame level="43" function="g_signal_emit_valist" offset="00000647"/>
    <frame level="44" function="g_signal_emit" offset="0000001e"/>
    <frame level="45" function="gtk_widget_activate" offset="00000092"/>
    <frame level="46" function="gtk_menu_shell_activate_item" offset="000000db"/>
    <frame level="47"/>
    <frame level="48"/>
    <frame level="49" function="_gtk_marshal_BOOLEAN__BOXED" offset="00000060"/>
    <frame level="50"/>
    <frame level="51" function="g_closure_invoke" offset="0000011b"/>
    <frame level="52"/>
    <frame level="53" function="g_signal_emit_valist" offset="00000405"/>
    <frame level="54" function="g_signal_emit" offset="0000001e"/>
    <frame level="55"/>
    <frame level="56" function="gtk_propagate_event" offset="000000bd"/>
    <frame level="57" function="gtk_main_do_event" offset="00000343"/>
    <frame level="58"/>
    <frame level="59" function="g_main_context_dispatch" offset="00000211"/>
    <frame level="60"/>
    <frame level="61" function="g_main_loop_run" offset="000001a8"/>
    <frame level="62" function="gtk_main" offset="000000c1"/>
    <frame level="63" function="wxEventLoop::Run()" offset="00000058"/>
    <frame level="64" function="wxAppBase::MainLoop()" offset="00000059"/>
    <frame level="65" function="wxAppBase::OnRun()" offset="00000021"/>
    <frame level="66"/>
    <frame level="67" function="wxEntry(int&amp;, wchar_t**)" offset="0000006a"/>
    <frame level="68" function="wxEntry(int&amp;, char**)" offset="00000036"/>
    <frame level="69" function="wxHtmlWindow::LoadPage(wxString const&amp;)" offset="00000c40"/>
  </stack>

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9496
Re: Environment settings dialog crash
« Reply #1 on: June 28, 2006, 07:24:15 am »
./bootstrap
./configuration --enable-contrib
./make
./make install
Try to insert a:
Code: [Select]
make clean-zipfiles
make clean-bin
make clean
before the actual make in case you have compiled C::B before already. This will make sure the ZIP files with the XRC resources are updated correctly. The cause for your error could be an outdated resource file.
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline xjtuphy

  • Single posting newcomer
  • *
  • Posts: 5
Re: Environment settings dialog crash
« Reply #2 on: June 29, 2006, 05:09:55 am »
Thanks! I thought the 'make clean' clean all the old files. I should have looked into the Makefile more carefully.