User forums > Using Code::Blocks

C::B crash (Settings-->Editor)

(1/16) > >>

Michael:
Hello,

I think that this is an already-know problem, but I would like to know how can I continue to use the: Settings-->Editor.

I had just finished to build C::B by using its project file (C::B rev2156) and I wanted to change something in the Settings-->Editor. C::B crashed and I had to kill the process. When trying to re-opening it, C::B looked ok, but when I tried to open the Settings-->Editor, I got a "Debug report "codeblocks" dialog. It said that a debug report was generated under "/tmp/codeblocks_dbgrpt-10597-20060309T124959". The report is depicted below, but how can I re-use the Settings-->Editor? I continue to get the "Debug report "codeblocks" dialog.


--- Quote ---<?xml version="1.0" encoding="utf-8"?>
<report version="1.0" kind="exception">
  <system description="Linux 2.6.12-10-386 i686"/>
  <modules>
    <module path="[heap]" address="080e1000" size="017bc000"/>
    <module path="/SYSV00000000" address="b675f000" size="000c0000"/>
    <module path="/SYSV00000000" address="b7f08000" size="00003000"/>
    <module path="[stack]" address="bfd0f000" size="00016000"/>
  </modules>
  <stack>
    <frame level="2" function="wxStackWalker::Walk(unsigned int)" offset="00000030"/>
    <frame level="3" function="wxDebugReport::AddContext(wxDebugReport::Context)" offset="00000a16"/>
    <frame level="4" function="wxDebugReport::AddAll(wxDebugReport::Context)" offset="00000018"/>
    <frame level="5" function="CodeBlocksApp::OnFatalException()" offset="00000000" file="src/app.cpp" line="490"/>
    <frame level="6" function="wxFatalSignalHandler" offset="00000026"/>
    <frame level="7"/>
    <frame level="8" function="wxStringBase::AllocBeforeWrite(unsigned int)" offset="0000001f"/>
    <frame level="9" function="wxStringBase::AssignCopy(unsigned int, wchar_t const*)" offset="00000060"/>
    <frame level="10" function="wxStringBase::operator=(wchar_t const*)" offset="00000038"/>
    <frame level="11" function="wxString::operator=(wchar_t const*)" offset="00000022" file="/usr/include/wx-2.6/wx/string.h" line="854"/>
    <frame level="12" function="CodeStat::LoadSettings(LanguageDef*)" offset="00000027"/>
    <frame level="13" function="CodeStat::GetConfigurationPanel(wxWindow*)" offset="00000090"/>
    <frame level="14" function="PluginManager::GetConfigurationPanels(int, wxWindow*, ConfigurationPanelsArray&amp;)" offset="00000124"/>
    <frame level="15" function="EditorConfigurationDlg::AddPluginPanels()" offset="000000cb"/>
    <frame level="16" function="EditorConfigurationDlg::EditorConfigurationDlg(wxWindow*)" offset="00002276"/>
    <frame level="17" function="EditorManager::Configure()" offset="00000051"/>
    <frame level="18" function="MainFrame::OnSettingsEditor(wxCommandEvent&amp;)" offset="0000002d" file="src/main.cpp" line="2951"/>
    <frame level="19" function="wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&amp;), wxEvent&amp;) const" offset="00000031"/>
    <frame level="20" function="wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&amp;, wxEvtHandler*, wxEvent&amp;)" offset="0000007d"/>
    <frame level="21" function="wxEventHashTable::HandleEvent(wxEvent&amp;, wxEvtHandler*)" offset="00000074"/>
    <frame level="22" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="000000bd"/>
    <frame level="23" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="24" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="25" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="26" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="27" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="28" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="29" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="30" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="31" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="32" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="33" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="34" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="35" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="36" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="37" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="38" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="39" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="40" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="41" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="42" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="43" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="44" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="45" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000063"/>
    <frame level="46"/>
    <frame level="47" function="g_cclosure_marshal_VOID__VOID" offset="00000043"/>
    <frame level="48" function="g_closure_invoke" offset="0000011e"/>
    <frame level="49"/>
    <frame level="50" function="g_signal_emit_valist" offset="000006ab"/>
    <frame level="51" function="g_signal_emit" offset="00000029"/>
    <frame level="52" function="gtk_widget_activate" offset="0000008a"/>
    <frame level="53" function="gtk_menu_shell_activate_item" offset="000000d0"/>
    <frame level="54"/>
    <frame level="55"/>
    <frame level="56" function="_gtk_marshal_BOOLEAN__BOXED" offset="00000058"/>
    <frame level="57"/>
    <frame level="58" function="g_closure_invoke" offset="0000011e"/>
    <frame level="59"/>
    <frame level="60" function="g_signal_emit_valist" offset="0000041e"/>
    <frame level="61" function="g_signal_emit" offset="00000029"/>
    <frame level="62"/>
    <frame level="63" function="gtk_propagate_event" offset="000000c1"/>
    <frame level="64" function="gtk_main_do_event" offset="00000325"/>
    <frame level="65"/>
    <frame level="66" function="g_main_context_dispatch" offset="000001dc"/>
    <frame level="67"/>
    <frame level="68" function="g_main_loop_run" offset="000001a1"/>
    <frame level="69" function="gtk_main" offset="000000b4"/>
    <frame level="70" function="wxEventLoop::Run()" offset="00000055"/>
    <frame level="71" function="wxAppBase::MainLoop()" offset="0000004c"/>
    <frame level="72" function="wxAppBase::OnRun()" offset="00000021"/>
    <frame level="73" function="CodeBlocksApp::OnRun()" offset="00000000" file="src/app.cpp" line="461"/>
    <frame level="74" function="wxEntry(int&amp;, wchar_t**)" offset="0000005c"/>
    <frame level="75" function="wxEntry(int&amp;, char**)" offset="00000032"/>
    <frame level="76" function="main" offset="00000394" file="src/app.cpp" line="89"/>
  </stack>
</report>

--- End quote ---

Thank you very much.

Best wishes,
Michael

PS.: I use ubuntu 5.10

MortenMacFly:

--- Quote from: Michael on March 09, 2006, 01:13:44 pm ---"/tmp/codeblocks_dbgrpt-10597-20060309T124959" [...]

--- End quote ---
Did you run the C::B version of the output folder? If so, could you please try again using the "debug" version from the devel folder? Thus the offset addresses in the crash report should be de-referenced to the actual lines in the sources.
With regards, Morten.

Michael:
Hello,

Thanks for your answer :).

I use already the devel C::B. I have done a link of the run.sh, which is located under /home/michael/devel/trunk/src/devel/run.sh

Best wishes,
Michael

mandrav:
AFAIK, the crash is caused by the codestat plugin.
I haven't investigated why though...

Michael:

--- Quote from: mandrav on March 09, 2006, 02:27:33 pm ---AFAIK, the crash is caused by the codestat plugin.
I haven't investigated why though...

--- End quote ---

Thank you very much for your answer :D. I always keep each plugin active and never de-selected one (on windows at least). I will try to remove Codestat plugin.

I have tried to re-start the computer, but I continue to get the Debug report dialog and then C:.B quits. So, I think that I have to delete the devel repository and make a full re-build with the C::B I have built using make.

Best wishes,
Michael

Navigation

[0] Message Index

[#] Next page

Go to full version