Author Topic: Hang on splash screen in Edgy  (Read 3505 times)

Offline HillClimber

  • Single posting newcomer
  • *
  • Posts: 4
Hang on splash screen in Edgy
« on: January 08, 2007, 08:23:51 pm »
Hi,

I've noticed that all the recent nightly builds hang while displaying the splash screen.  I'm running Ubuntu Edgy.  If I kill the process and restart codeblocks, it notifies about deleting the stale lock file and continues just fine.  So, after a normal quit, you can't restart.  After a crash or a kill, you can restart fine.  Here's a backtrack during the hang:

Code
0xb753925f in wxPipeInputStream::CanRead () from /usr/lib/libwx_baseu-2.6.so.0
(gdb) bt
#0  0xb753925f in wxPipeInputStream::CanRead () from /usr/lib/libwx_baseu-2.6.so.0
#1  0xb76a2c74 in wxGUIAppTraits::WaitForChild () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#2  0xb753994b in wxExecute () from /usr/lib/libwx_baseu-2.6.so.0
#3  0xb753a312 in wxExecute () from /usr/lib/libwx_baseu-2.6.so.0
#4  0xb753745b in wxGetUserName () from /usr/lib/libwx_baseu-2.6.so.0
#5  0xb381f26e in NativeParser::GetGCCCompilerDirs (this=0x881cc50, cpp_compiler=@0x8980db0,
    base=@0xbff7fcc8) at nativeparser.cpp:439
#6  0xb3820623 in NativeParser::AddCompilerDirs (this=0x881cc50, parser=0x881cc78,
    project=0x8ceb298) at nativeparser.cpp:406
#7  0xb3820aa1 in NativeParser::AddParser (this=0x881cc50, project=0x8ceb298, useCache=true)
    at nativeparser.cpp:502
#8  0xb3809b8c in CodeCompletion::OnStartParsingProjects (this=0x881cc00, event=@0xbff7fe74)
    at codecompletion.cpp:976
#9  0xb74a5655 in wxAppConsole::HandleEvent () from /usr/lib/libwx_baseu-2.6.so.0
#10 0xb7534b52 in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.6.so.0
#11 0xb7534c9d in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.6.so.0
#12 0xb7534e1f in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.6.so.0
#13 0xb77cc451 in wxTimerBase::Notify () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#14 0xb76cf175 in wxTimer::~wxTimer () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#15 0xb6be5dd6 in g_source_get_current_time () from /usr/lib/libglib-2.0.so.0
#16 0xb6be5802 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#17 0xb6be87df in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#18 0xb6be8d45 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#19 0xb6f5c3e4 in gtk_main_iteration () from /usr/lib/libgtk-x11-2.0.so.0
#20 0xb76aa7b7 in wxApp::Yield () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#21 0xb7536f53 in wxYieldIfNeeded () from /usr/lib/libwx_baseu-2.6.so.0
#22 0xb78044fd in wxGenericTreeCtrl::ScrollTo () from /usr/lib/libwx_gtk2u_core-2.6.so.0
---Type <return> to continue, or q <return> to quit---
#23 0xb780a8aa in wxGenericTreeCtrl::EnsureVisible () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#24 0xb780aa7a in wxGenericTreeCtrl::DoSelectItem () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#25 0xb780ae46 in wxGenericTreeCtrl::SelectItem () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#26 0xb7bd608b in EditorManager::RebuildOpenedFilesTree (this=0x86eb300, tree=0x86e9c38)
    at editormanager.cpp:2711
#27 0xb7c6ab4b in ProjectManager::LoadProject (this=0x85164b8, filename=@0xbff80408,
    activateIt=true) at projectmanager.cpp:769
#28 0xb7ca711b in WorkspaceLoader::Open (this=0x8ce9a30, filename=@0xbff80484, Title=@0xbff80480)
    at workspaceloader.cpp:116
#29 0xb7b7a16f in cbWorkspace::Load (this=0x8ce9de8) at cbworkspace.cpp:104
#30 0xb7b7a630 in cbWorkspace (this=0x8ce9de8, filename=@0xb7efdaa8) at cbworkspace.cpp:66
#31 0xb7c6d280 in ProjectManager::LoadWorkspace (this=0x85164b8, filename=@0xb7efdaa8)
    at projectmanager.cpp:1043
#32 0x0806957d in CodeBlocksApp::InitFrame (this=0x8128378) at app.cpp:337
#33 0x08069ec0 in CodeBlocksApp::OnInit (this=0x8128378) at app.cpp:487
#34 0x0806afb1 in wxAppConsole::CallOnInit (this=0x8128378) at /usr/include/wx-2.6/wx/app.h:87
#35 0xb74daef0 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#36 0xb74dafc6 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#37 0x080665a0 in main (argc=Cannot access memory at address 0x2

Interesting, the g++ it seems to be waiting for is still present in the process list, but defunct:

Code
ames     13430 13257  0 10:48 pts/4    00:00:00 [g++] <defunct>

By the way, I tried to submit this on the Berlios site, but there's a Berlios bug that is preventing me from logging in there.

Regards,

-HC