Bug #12410 2007-11-12 11:32
oswaldmi
crash at startup
Code::Blocks crashes at startup (while displaying the splash screen) System: SuSE Linux Enterprise Server 9, gcc 3.3.3, SVN 4621 Bugreport: <?xml version="1.0" encoding="utf-8"?> <report version="1.0" kind="exception"> <system description="Linux 2.6.5-7.287.3-default i686"/> <modules> <module path="/usr/bin/codeblocks" address="08048000" size="00075000"/> <module path="/lib/ld-2.3.3.so" address="40000000" size="00016000" version="2.3.3"/> <module path="/opt/gtk2/lib/libgtk-x11-2.0.so.0.1000.11" address="40018000" size="002fa000" version="0.1000.11"/> <module path="/opt/gtk2/lib/libgdk-x11-2.0.so.0.1000.11" address="40319000" size="00077000" version="0.1000.11"/> <module path="/opt/gtk2/lib/libatk-1.0.so.0.1809.1" address="40393000" size="00017000" version="0.1809.1"/> <module path="/opt/gtk2/lib/libgdk_pixbuf-2.0.so.0.1000.11" address="403ac000" size="00013000" version="0.1000.11"/> <module path="/opt/gtk2/lib/libpangocairo-1.0.so.0.1600.2" address="403c1000" size="00008000" version="0.1600.2"/> <module path="/opt/gtk2/lib/libpangoft2-1.0.so.0.1600.2" address="403ca000" size="0002a000" version="0.1600.2"/> <module path="/opt/gtk2/lib/libpango-1.0.so.0.1600.2" address="403f5000" size="00039000" version="0.1600.2"/> <module path="/usr/lib/locale/en_US.utf8/LC_IDENTIFICATION" address="40430000" size="00001000"/> <module path="/usr/lib/locale/en_US.utf8/LC_MEASUREMENT" address="40437000" size="00001000"/> <module path="/usr/lib/locale/en_US.utf8/LC_ADDRESS" address="40439000" size="00001000"/> <module path="/usr/lib/locale/en_US.utf8/LC_PAPER" address="4043b000" size="00001000"/> <module path="/usr/lib/locale/en_US.utf8/LC_MONETARY" address="4043d000" size="00001000"/> <module path="/opt/gnome/lib/libcairo.so.2.11.3" address="404b5000" size="00002000" version="2.11.3"/> <module path="/usr/X11R6/lib/libXrender.so.1.2.2" address="404be000" size="00001000" version="1.2.2"/> <module path="/usr/X11R6/lib/libSM.so.6.0" address="404c7000" size="00001000" version="6.0"/> <module path="/usr/X11R6/lib/libICE.so.6.3" address="404c9000" size="00015000" version="6.3"/> <module path="/usr/X11R6/lib/libX11.so.6.2" address="404e1000" size="000f8000" version="6.2"/> <module path="/opt/gtk2/lib/libgobject-2.0.so.0.1200.11" address="405dd000" size="00032000" version="0.1200.11"/> <module path="/opt/gtk2/lib/libgmodule-2.0.so.0.1200.11" address="40610000" size="00003000" version="0.1200.11"/> <module path="/opt/gtk2/lib/libglib-2.0.so.0.1200.11" address="40614000" size="0008b000" version="0.1200.11"/> <module path="/usr/lib/libfontconfig.so.1.0.4" address="406a0000" size="00025000" version="1.0.4"/> <module path="/usr/lib/libexpat.so.0.5.0" address="406cb000" size="0001c000" version="0.5.0"/> <module path="/usr/lib/libfreetype.so.6.3.5" address="406ea000" size="00063000" version="6.3.5"/> <module path="/usr/lib/libpng12.so.0.1.2.5" address="40754000" size="0002d000" version="0.1.2.5"/> <module path="/lib/libz.so.1.2.1" address="40782000" size="00010000" version="1.2.1"/> <module path="/usr/lib/libcodeblocks.so.0.0.1" address="40793000" size="003b2000" version="0.0.1"/> <module path="/usr/lib/libstdc++.so.5.0.6" address="40bb8000" size="000a2000" version="5.0.6"/> <module path="/opt/gtk2/lib/libwx_gtk2_aui-2.8.so.0.1.1" address="40c76000" size="00042000" version="0.1.1"/> <module path="/opt/gtk2/lib/libwx_gtk2_xrc-2.8.so.0.1.1" address="40cc2000" size="00075000" version="0.1.1"/> <module path="/opt/gtk2/lib/libwx_gtk2_qa-2.8.so.0.1.1" address="40d4a000" size="0001b000" version="0.1.1"/> <module path="/opt/gtk2/lib/libwx_gtk2_html-2.8.so.0.1.1" address="40d69000" size="00085000" version="0.1.1"/> <module path="/opt/gtk2/lib/libwx_gtk2_dbgrid-2.8.so.0.1.1" address="40e03000" size="00007000" version="0.1.1"/> <module path="/opt/gtk2/lib/libwx_gtk2_adv-2.8.so.0.1.1" address="40e0c000" size="0009b000" version="0.1.1"/> <module path="/opt/gtk2/lib/libwx_gtk2_core-2.8.so.0.1.1" address="40ec3000" size="00297000" version="0.1.1"/> <module path="/opt/gtk2/lib/libwx_base_odbc-2.8.so.0.1.1" address="411dc000" size="0001a000" version="0.1.1"/> <module path="/opt/gtk2/lib/libwx_base_xml-2.8.so.0.1.1" address="411f9000" size="00008000" version="0.1.1"/> <module path="/opt/gtk2/lib/libwx_base_net-2.8.so.0.1.1" address="41202000" size="00024000" version="0.1.1"/> <module path="/opt/gtk2/lib/libwx_base-2.8.so.0.1.1" address="4122d000" size="000f5000" version="0.1.1"/> <module path="/lib/tls/libpthread.so.0" address="41349000" size="0000d000" version="0"/> <module path="/lib/libdl.so.2" address="41359000" size="00002000" version="2"/> <module path="/lib/tls/libm.so.6" address="4135c000" size="00021000" version="6"/> <module path="/lib/libgcc_s.so.1" address="4137e000" size="00007000" version="1"/> <module path="/lib/tls/libc.so.6" address="41386000" size="0010f000" version="6"/> <module path="/usr/X11R6/lib/libXrandr.so.2.0" address="414a1000" size="00003000" version="2.0"/> <module path="/usr/X11R6/lib/libXext.so.6.4" address="414a5000" size="0000e000" version="6.4"/> <module path="/opt/gtk2/lib/libgthread-2.0.so.0.1200.11" address="414b4000" size="00003000" version="0.1200.11"/> <module path="/lib/tls/librt.so.1" address="414b8000" size="00007000" version="1"/> <module path="/usr/lib/libpng.so.3.1.2.5" address="414c1000" size="0002d000" version="3.1.2.5"/> <module path="/usr/lib/libjpeg.so.62.0.0" address="414ef000" size="0001e000" version="62.0.0"/> <module path="/usr/lib/libtiff.so.3.6.1" address="4150e000" size="0004d000" version="3.6.1"/> <module path="/usr/lib/libmspack.so.0.1.0" address="4155d000" size="0000c000" version="0.1.0"/> <module path="/usr/lib/libSDL-1.2.so.0.7.0" address="4156b000" size="00062000" version="0.7.0"/> <module path="/usr/lib/libodbc.so.1.0.0" address="415fa000" size="0005b000" version="1.0.0"/> <module path="/usr/lib/libasound.so.2.0.0" address="4165a000" size="000af000" version="2.0.0"/> <module path="/usr/lib/libaa.so.1.0.4" address="4170e000" size="00017000" version="1.0.4"/> <module path="/usr/lib/libslang-utf8.so.1.4.9" address="41729000" size="00056000" version="1.4.9"/> <module path="/usr/lib/libgpm.so.1.19.0" address="4179b000" size="00005000" version="1.19.0"/> <module path="/lib/libncurses.so.5.4" address="417a1000" size="00039000" version="5.4"/> <module path="/usr/lib/locale/en_US.utf8/LC_COLLATE" address="417e9000" size="000d8000"/> <module path="/usr/lib/locale/en_US.utf8/LC_NUMERIC" address="418c2000" size="00001000"/> <module path="/usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2" address="418f6000" size="00001000" version="2"/> <module path="/usr/lib/gconv/ISO8859-1.so" address="418f8000" size="00001000" version="1"/> <module path="/var/run/nscd/passwd" address="418fa000" size="00035000"/> <module path="/usr/X11R6/lib/libXcursor.so.1.0.2" address="419a3000" size="00008000" version="1.0.2"/> <module path="/usr/lib/gconv/UTF-32.so" address="419ac000" size="00002000" version="32"/> <module path="/SYSV00000000" address="419f2000" size="00003000"/> <module path="/opt/gtk2/lib/pango/1.6.0/modules/pango-basic-fc.so" address="41ab0000" size="00002000" version="fc"/> <module path="/usr/X11R6/lib/X11/fonts/truetype/SUSESans-Bold.ttf" address="41ab3000" size="0000e000"/> <module path="/usr/X11R6/lib/X11/fonts/truetype/SUSESans-Roman.ttf" address="41b21000" size="0000e000"/> </modules> <stack> <frame level="0" function="wchar_t" offset="00000026"/> <frame level="1"/> <frame level="2" function="wxFlatNotebookImageList::Add(wxBitmap const&, unsigned)" offset="00000036"/> <frame level="3" function="InfoPane::AddPagePrivate(wxWindow*, wxString const&, wxBitmap*)" offset="00000000" file="../../src/include/wxFlatNotebook/include/wx/wxFlatNotebook/wxFlatNotebook.h" line="63"/> <frame level="4" function="InfoPane::AddLogger(Logger*, wxWindow*, wxString const&, wxBitmap*)" offset="00000000" file="/home/oswald/build/codeblocks/trunk/src/src/infopane.cpp" line="193"/> <frame level="5" function="MainFrame::SetupGUILogging()" offset="00000000" file="/home/oswald/build/codeblocks/trunk/src/src/main.cpp" line="700"/> <frame level="6" function="MainFrame::CreateIDE()" offset="00000000" file="/home/oswald/build/codeblocks/trunk/src/src/main.cpp" line="655"/> <frame level="7" function="MainFrame::MainFrame(wxWindow*)" offset="00000000" file="/home/oswald/build/codeblocks/trunk/src/src/main.cpp" line="527"/> <frame level="8" function="CodeBlocksApp::InitFrame()" offset="00000000" file="/home/oswald/build/codeblocks/trunk/src/src/app.cpp" line="349"/> <frame level="9" function="CodeBlocksApp::OnInit()" offset="00000000" file="/home/oswald/build/codeblocks/trunk/src/src/app.cpp" line="511"/> </stack> </report>
- Category
- Application::Crash
- Group
- Status
- Closed
- Close date
- 2007-11-13 13:17
- Assigned to
- mandrav
History
Note: recent checkouts of versions did sometimes crash when doing the following:
1.) start code::blocks
2.) load last workspace (a rather big one)
3.) after successfull loading it crashes after some seconds.
Unfortunately, there was no usable bug-report or stack trace availabe, only function mentioned was:
<frame level="0" function="wchar_t" offset="00000026"/> (like in the bug-report above)
Tried to start it in GDB, crash didn't occur all times and when, the stack trace was not usable (contained a lot of "??" entries).
Does somebody know what this "wchar_t" function should be? I really have no idea where to look for further informations.
A quick run with valgrind did show the following: ==15265== Memcheck, a memory error detector. ==15265== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. ==15265== Using LibVEX rev 1732, a library for dynamic binary translation. ==15265== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==15265== Using valgrind-3.2.3, a dynamic binary instrumentation framework. ==15265== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==15265== For more details, rerun with: -v ==15265== ==15265== My PID = 15265, parent PID = 9053. Prog and args are: ==15265== /usr/bin/codeblocks ==15265== ==15265== Conditional jump or move depends on uninitialised value(s) ==15265== at 0x4B17EF8: wxPageContainer::OnSize(wxSizeEvent&) (wxFlatNotebook.cpp:858) ==15265== by 0x5279C1C: wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const (in /opt/gtk2/lib/libwx_base-2.8.so.0. 1.1) ==15265== by 0x5316CB0: wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) (in /opt/gtk2/lib/libwx_base-2.8.so.0. 1.1) ==15265== by 0x53182E8: wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) (in /opt/gtk2/lib/libwx_base-2.8.so.0.1.1) ==15265== by 0x53183C1: wxEvtHandler::ProcessEvent(wxEvent&) (in /opt/gtk2/lib/libwx_base-2.8.so.0.1.1) ==15265== by 0x4FFC67E: wxWindow::DoSetSize(int, int, int, int, int) (in /opt/gtk2/lib/libwx_gtk2_core-2.8.so.0.1.1) ==15265== by 0x50E031F: wxSizerItem::SetDimension(wxPoint const&, wxSize const&) (in /opt/gtk2/lib/libwx_gtk2_core-2.8.so.0.1.1) ==15265== by 0x50E1366: wxBoxSizer::RecalcSizes() (in /opt/gtk2/lib/libwx_gtk2_core-2.8.so.0.1.1) ==15265== by 0x50DFF89: wxSizer::Layout() (in /opt/gtk2/lib/libwx_gtk2_core-2.8.so.0.1.1) ==15265== by 0x4B1DB90: wxFlatNotebook::Create(wxWindow*, int, wxPoint const&, wxSize const&, long, wxString const&) (wxFlatNotebook.cpp:157) ==15265== by 0x4B1DFB5: wxFlatNotebook::wxFlatNotebook(wxWindow*, int, wxPoint const&, wxSize const&, long, wxString const&) (wxFlatNotebook.cpp:88) ==15265== by 0x497E779: ProjectManager::ProjectManager() (string.h:368) ==15265== ==15265== Conditional jump or move depends on uninitialised value(s) ==15265== at 0x808232D: InfoPane::AddPagePrivate(wxWindow*, wxString const&, wxBitmap*) (infopane.cpp:52) ==15265== by 0x8082474: InfoPane::AddLogger(Logger*, wxWindow*, wxString const&, wxBitmap*) (infopane.cpp:192) ==15265== by 0x80A010C: MainFrame::SetupGUILogging() (main.cpp:700) ==15265== by 0x80A0D3A: MainFrame::CreateIDE() (main.cpp:653) ==15265== by 0x80A3519: MainFrame::MainFrame(wxWindow*) (main.cpp:522) ==15265== by 0x806C7ED: CodeBlocksApp::InitFrame() (app.cpp:349) ==15265== by 0x806D59D: CodeBlocksApp::OnInit() (app.cpp:510) ==15265== by 0x806E42E: wxAppConsole::CallOnInit() (app.h:76) ==15265== by 0x52B40BD: wxEntry(int&, char**) (in /opt/gtk2/lib/libwx_base-2.8.so.0.1.1) ==15265== by 0x806E2C3: main (app.cpp:206) ==15265== ==15265== Conditional jump or move depends on uninitialised value(s) ==15265== at 0x808232D: InfoPane::AddPagePrivate(wxWindow*, wxString const&, wxBitmap*) (infopane.cpp:52) ==15265== by 0x8082474: InfoPane::AddLogger(Logger*, wxWindow*, wxString const&, wxBitmap*) (infopane.cpp:192) ==15265== by 0x808A1E9: MainFrame::OnAddLogWindow(CodeBlocksLogEvent&) (main.cpp:3979) ==15265== by 0x5279C1C: wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const (in /opt/gtk2/lib/libwx_base-2.8.so.0. 1.1) ==15265== by 0x5316CB0: wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) (in /opt/gtk2/lib/libwx_base-2.8.so.0. 1.1) ==15265== by 0x53182E8: wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) (in /opt/gtk2/lib/libwx_base-2.8.so.0.1.1) ==15265== by 0x53183C1: wxEvtHandler::ProcessEvent(wxEvent&) (in /opt/gtk2/lib/libwx_base-2.8.so.0.1.1) ==15265== by 0xA5380A6: ToDoList::OnAttach() (todolist.cpp:100) ==15265== by 0x48707D8: cbPlugin::Attach() (cbplugin.cpp:66) ==15265== by 0x494142F: PluginManager::AttachPlugin(cbPlugin*, bool) (pluginmanager.cpp:210) ==15265== by 0x494174C: PluginManager::LoadAllPlugins() (pluginmanager.cpp:1116) ==15265== by 0x809D48F: MainFrame::ScanForPlugins() (main.cpp:1025)
Please try with a nightly build and reopen this bug report, if
needed.
I cannot use a nightly build because my system isn't supported (it's too old).
I do compilations from svn, and the patch I sent was quickly integrated from mandrav.
It works now, like before (I have to start it 2 times) but doesn't crash immediately. When starting it the first time in gdb or valgrind it works smoothly, but this has nothing to do with the actual crash, so it can be closed. I will observe this behaviour, I suspect it's only on my system.
This bug is now fixed in HEAD.
Thank you for reporting it.