Author Topic: Linux crashes  (Read 22203 times)

Offline Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: Linux crashes
« Reply #15 on: January 13, 2006, 11:49:55 pm »
Here is my build tag: Version 1.0 revision 1747 (gcc 4.0.2 Linux/unicode, build: Jan 13 2006 09:51:31)

When Icodecompeletion is completely disabled (ie plugin is never loaded) I am able to open and close projects fine as long as there are not any files open.  I can also shutdown codeblocks fine.

When I have codecompletion loaded and enabled (no cache) and I try to close Code::Blocks after closeing all open files it hangs a full CPU usage. That is the first backtrace.  The second backtrace shows what happens when codecompletion is loaded but disabled (through the menu options) we still have a CPU hang on close after the exact same conditions, it is basically the exact same backtrace.

Code: [Select]
Program received signal SIGINT, Interrupt.
[Switching to Thread -1228502240 (LWP 30556)]
0xb7a10b1e in wxMenuBase::FindChildItem ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
(gdb) bt
#0  0xb7a10b1e in wxMenuBase::FindChildItem ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#1  0xb79ae678 in wxMenu::DoRemove () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#2  0xb79ae715 in wxMenuBar::FindItem ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#3  0xb7a10582 in wxMenuBarBase::Enable ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#4  0xb665ae54 in CompilerGCC::OnUpdateUI (this=0x9196c50, [email protected])
    at compilergcc.cpp:2350
#5  0xb772c2c1 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#6  0xb77b4edf in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.6.so.0
#7  0xb77b50b0 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#8  0xb77b5261 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#9  0xb77b5207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#10 0xb77b5207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#11 0xb77b5207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
---Type <return> to continue, or q <return> to quit---
#12 0xb77b5207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#13 0xb7a37024 in wxWindowBase::TryParent ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#14 0xb77b5217 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#15 0xb7a2e5d9 in wxToolBarBase::UpdateWindowUI ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#16 0xb79c24e7 in wxToolBar::OnInternalIdle ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#17 0xb79caf26 in wxAppBase::SendIdleEvents ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#18 0xb79caf5a in wxAppBase::SendIdleEvents ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#19 0xb79cb2ad in wxAppBase::ProcessIdle ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#20 0xb79224d9 in wxApp::Yield () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#21 0xb6d9d750 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#22 0xb6d9b4ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#23 0xb6d9e4f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#24 0xb6d9e9d8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#25 0xb71626a8 in gtk_main_iteration () from /usr/lib/libgtk-x11-2.0.so.0
#26 0xb79221fd in wxApp::Yield () from /usr/lib/libwx_gtk2u_core-2.6.so.0
---Type <return> to continue, or q <return> to quit---
#27 0xb77b73b1 in wxYield () from /usr/lib/libwx_baseu-2.6.so.0
#28 0xb791abd5 in wxSafeYield () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#29 0xb67305e1 in Parser::Clear (this=0x86e0430) at parser/parser.cpp:501
#30 0xb67306f1 in ~Parser (this=0x86e0430) at parser/parser.cpp:133
#31 0xb672b0a4 in NativeParser::RemoveParser (this=0x854c950,
    project=0x8896c30, useCache=true) at nativeparser.cpp:324
#32 0xb671de8d in CodeCompletion::OnProjectClosed (this=0x854c8e0,
    [email protected]) at codecompletion.cpp:608
#33 0xb772c2c1 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0

#34 0xb77b4edf in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.6.so.0
#35 0xb77b50b0 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#36 0xb77b5261 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#37 0xb77b5207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#38 0xb77b5207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#39 0xb77b5207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#40 0xb77b5207 in wxEvtHandler::ProcessEvent ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libwx_baseu-2.6.so.0
#41 0xb77b5207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#42 0xb7e2ba74 in PluginManager::NotifyPlugins (this=0x8385b28,
    [email protected]) at pluginmanager.cpp:528
#43 0xb7d8d45f in cbProject::NotifyPlugins (this=0x84acd78, type=10277)
    at cbproject.cpp:116
#44 0xb7d8dd02 in ~cbProject (this=0x8896c30) at cbproject.cpp:108
#45 0xb7e5044a in ProjectManager::CloseActiveProject (this=0x8514aa8,
    dontsave=true) at projectmanager.cpp:786
#46 0xb7e50505 in ProjectManager::CloseAllProjects (this=0x8514aa8,
    dontsave=false) at projectmanager.cpp:716
#47 0xb7e50685 in ProjectManager::CloseWorkspace (this=0x8514aa8)
    at projectmanager.cpp:997
#48 0x0807043a in MainFrame::DoCloseCurrentWorkspace (this=0x8a7f8c0)
    at main.cpp:1146
#49 0x08087c5f in MainFrame::OnApplicationClose (this=0x8a7f8c0,
    [email protected]) at main.cpp:1852
#50 0xb772c2c1 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#51 0xb77b4edf in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.6.so.0
#52 0xb77b50b0 in wxEventHashTable::HandleEvent ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libwx_baseu-2.6.so.0
#53 0xb77b5261 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#54 0xb77b5207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#55 0xb77b5207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#56 0xb77b5207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#57 0xb77b5207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#58 0xb77b5207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#59 0xb77b5207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#60 0xb77b5207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#61 0xb77b5207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#62 0xb77b5207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#63 0xb77b5207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
---Type <return> to continue, or q <return> to quit---
#64 0xb77b5207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#65 0xb77b5207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#66 0xb77b5207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#67 0xb7a3abab in wxWindowBase::Close ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#68 0xb7944bab in wxTopLevelWindowGTK::IsActive ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#69 0xb716502c in _gtk_marshal_BOOLEAN__BOXED ()
   from /usr/lib/libgtk-x11-2.0.so.0
#70 0xb6e093a8 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#71 0xb6e17b13 in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#72 0xb6e18ec3 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#73 0xb6e194c3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#74 0xb724716f in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#75 0xb7163d24 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#76 0xb736db2d in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
#77 0xb6d9b4ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#78 0xb6d9e4f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#79 0xb6d9e7e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#80 0xb7162e65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#81 0xb793b2a7 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#82 0xb79cab6a in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#83 0xb79cac4f in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#84 0x080611ce in CodeBlocksApp::OnRun (this=0x8112338) at app.cpp:471
#85 0xb775fad4 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#86 0xb775fb88 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#87 0x0805fc44 in main (argc=1, argv=0xbfbe0ec4) at app.cpp:86

Second:
Code: [Select]
Program received signal SIGINT, Interrupt.
[Switching to Thread -1228653792 (LWP 30757)]
0xb798964c in wxMenu::DoRemove () from /usr/lib/libwx_gtk2u_core-2.6.so.0
(gdb) bt
#0  0xb798964c in wxMenu::DoRemove () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#1  0xb7989715 in wxMenuBar::FindItem ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#2  0xb79eb582 in wxMenuBarBase::Enable ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#3  0x080785a4 in MainFrame::OnEditMenuUpdateUI (this=0x8a6f030,
    [email protected]) at main.cpp:2531
#4  0xb77072c1 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#5  0xb778fedf in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.6.so.0
#6  0xb77900b0 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#7  0xb7790261 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#8  0xb7790207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#9  0xb7790207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#10 0xb7790207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#11 0xb7790207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
---Type <return> to continue, or q <return> to quit---
#12 0xb7790207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#13 0xb7790207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#14 0xb7790207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#15 0xb7790207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#16 0xb7790207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#17 0xb7790207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#18 0xb7790207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#19 0xb7790207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#20 0xb7790207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#21 0xb7a12024 in wxWindowBase::TryParent ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#22 0xb7790217 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#23 0xb7a095d9 in wxToolBarBase::UpdateWindowUI ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#24 0xb799d4e7 in wxToolBar::OnInternalIdle ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#25 0xb79a5f26 in wxAppBase::SendIdleEvents ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#26 0xb79a5f5a in wxAppBase::SendIdleEvents ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#27 0xb79a62ad in wxAppBase::ProcessIdle ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#28 0xb78fd4d9 in wxApp::Yield () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#29 0xb6d78750 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#30 0xb6d764ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#31 0xb6d794f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#32 0xb6d799d8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#33 0xb713d6a8 in gtk_main_iteration () from /usr/lib/libgtk-x11-2.0.so.0
#34 0xb78fd1fd in wxApp::Yield () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#35 0xb77923b1 in wxYield () from /usr/lib/libwx_baseu-2.6.so.0
#36 0xb78f5bd5 in wxSafeYield () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#37 0xb670b5e1 in Parser::Clear (this=0x87ae500) at parser/parser.cpp:501
#38 0xb670b6f1 in ~Parser (this=0x87ae500) at parser/parser.cpp:133
#39 0xb67060a4 in NativeParser::RemoveParser (this=0x91313f8,
    project=0x88339f0, useCache=true) at nativeparser.cpp:324
#40 0xb66f8e8d in CodeCompletion::OnProjectClosed (this=0x9131388,
---Type <return> to continue, or q <return> to quit---
    [email protected]) at codecompletion.cpp:608
#41 0xb77072c1 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#42 0xb778fedf in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.6.so.0
#43 0xb77900b0 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#44 0xb7790261 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#45 0xb7790207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#46 0xb7790207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#47 0xb7790207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#48 0xb7790207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#49 0xb7790207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#50 0xb7e06a74 in PluginManager::NotifyPlugins (this=0x849faa0,
    [email protected]) at pluginmanager.cpp:528
#51 0xb7d6845f in cbProject::NotifyPlugins (this=0x84fe5a8, type=10277)
    at cbproject.cpp:116
---Type <return> to continue, or q <return> to quit---
#52 0xb7d68d02 in ~cbProject (this=0x88339f0) at cbproject.cpp:108
#53 0xb7e2b44a in ProjectManager::CloseActiveProject (this=0x84a3ca0,
    dontsave=true) at projectmanager.cpp:786
#54 0xb7e2b505 in ProjectManager::CloseAllProjects (this=0x84a3ca0,
    dontsave=false) at projectmanager.cpp:716
#55 0xb7e2b685 in ProjectManager::CloseWorkspace (this=0x84a3ca0)
    at projectmanager.cpp:997
#56 0x0807043a in MainFrame::DoCloseCurrentWorkspace (this=0x8a6f030)
    at main.cpp:1146
#57 0x08087c5f in MainFrame::OnApplicationClose (this=0x8a6f030,
    [email protected]) at main.cpp:1852
#58 0xb77072c1 in wxAppConsole::HandleEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#59 0xb778fedf in wxEvtHandler::ProcessEventIfMatches ()
   from /usr/lib/libwx_baseu-2.6.so.0
#60 0xb77900b0 in wxEventHashTable::HandleEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#61 0xb7790261 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#62 0xb7790207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#63 0xb7790207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
---Type <return> to continue, or q <return> to quit---
#64 0xb7790207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#65 0xb7790207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#66 0xb7790207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#67 0xb7790207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#68 0xb7790207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#69 0xb7790207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#70 0xb7790207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#71 0xb7790207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#72 0xb7790207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#73 0xb7790207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#74 0xb7790207 in wxEvtHandler::ProcessEvent ()
   from /usr/lib/libwx_baseu-2.6.so.0
#75 0xb7a15bab in wxWindowBase::Close ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#76 0xb791fbab in wxTopLevelWindowGTK::IsActive ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#77 0xb714002c in _gtk_marshal_BOOLEAN__BOXED ()
   from /usr/lib/libgtk-x11-2.0.so.0
#78 0xb6de43a8 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#79 0xb6df2b13 in g_signal_stop_emission () from /usr/lib/libgobject-2.0.so.0
#80 0xb6df3ec3 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#81 0xb6df44c3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#82 0xb722216f in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#83 0xb713ed24 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#84 0xb7348b2d in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
#85 0xb6d764ee in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#86 0xb6d794f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#87 0xb6d797e3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#88 0xb713de65 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#89 0xb79162a7 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#90 0xb79a5b6a in wxAppBase::MainLoop ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#91 0xb79a5c4f in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#92 0x080611ce in CodeBlocksApp::OnRun (this=0x8112338) at app.cpp:471
#93 0xb773aad4 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#94 0xb773ab88 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
---Type <return> to continue, or q <return> to quit---
#95 0x0805fc44 in main (argc=1, argv=0xbfeba494) at app.cpp:86

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: Linux crashes
« Reply #16 on: January 13, 2006, 11:54:33 pm »
Game Ender: Try by removing the codecompletion.so from the codeblocks directory. Or rename it to something like .txt (so it won't get loaded).

Does the problem arise?

See, i just noticed this:
Quote
#26 0xb79221fd in wxApp::Yield () from /usr/lib/libwx_gtk2u_core-2.6.so.0
---Type <return> to continue, or q <return> to quit---
#27 0xb77b73b1 in wxYield () from /usr/lib/libwx_baseu-2.6.so.0
#28 0xb791abd5 in wxSafeYield () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#29 0xb67305e1 in Parser::Clear (this=0x86e0430) at parser/parser.cpp:501

I had tried to remove that yield before, but the application hangs :( well that was a while ago, maybe today it'll work.
« Last Edit: January 13, 2006, 11:56:28 pm by rickg22 »

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: Linux crashes
« Reply #17 on: January 13, 2006, 11:55:55 pm »
This has nothing to do with the yields.
I 've narrowed the problem down to a wxFlatNotebook-related operation. I 'm now trying to pin-point the exact spot and come up with the fix.
Be patient!
This bug will be fixed soon...

Offline atwins

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: Linux crashes
« Reply #18 on: January 14, 2006, 01:08:55 am »
Just another input.

I was running 1750 on ubuntu.  All plugins active.  The 98% cpu activity hang occurs when a project is open with files open and I close the project or attempt to close the app.  (This has been true for some time now)

I then restarted and opened the same project but closed all open files.

I then closed the project, but the same thing happened.

I then restarted and opened the same project, and selected close the workspace (I think I'm using the default workspace) and it closed fine; the project closed too.  I could then exit Code::Blocks without incident.

I then restarted and opened the same project.  Remember the files had been closed a few steps ago.  So I tried to open a file from the project tree and got a crash with the Debug window.  (What should I do with the file it generated?)


Offline Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: Linux crashes
« Reply #19 on: January 14, 2006, 01:22:48 am »
Game Ender: Try by removing the codecompletion.so from the codeblocks directory. Or rename it to something like .txt (so it won't get loaded).

Does the problem arise?

That is what I did when I meant said "codecompletion is disabled and not loaded".  Everything works fine, as long as you close project files before you quit.  Mandrav thanks for the bug hunt.
« Last Edit: January 14, 2006, 07:42:50 pm by Game_Ender »

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: Linux crashes
« Reply #20 on: January 14, 2006, 01:27:02 pm »
Update:
I 've found the root of the crash and now I 'm trying to think of a hack to get around it, cause that's what it needs...
Be patient!
This bug will be fixed soon...

Offline Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: Linux crashes
« Reply #21 on: January 14, 2006, 07:43:37 pm »
Update:
I 've found the root of the crash and now I 'm trying to think of a hack to get around it, cause that's what it needs...

Isn't flatnotebook a little bit of a hack in and of itself?

EDIT- Check that, I got this very cool widget mixed up with something I saw someone else developing on the forum.
« Last Edit: January 14, 2006, 07:50:59 pm by Game_Ender »

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Linux crashes
« Reply #22 on: January 15, 2006, 12:09:48 am »
EDIT: Der Meister, if the "Extra stability" tweak (in settings) is still present in your version of Code::Blocks, try enabling it.
Lol, Rick... that was a good one :)
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: Linux crashes
« Reply #23 on: January 15, 2006, 04:13:59 am »
Heh I just checked, and it's gone :P - so Yiannis, where's the bug? We'd all like to see it.

Offline atwins

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: Linux crashes
« Reply #24 on: January 15, 2006, 07:38:48 pm »
My latest.

With 1762 the project/app closing symptom has changed.  Now when I close a project,  I get the "waiting" cursor, the files are closed and leave the editor window, I can still interact with the menus.  The project tree is still showing the "closed" project.

So while "waiting" for the completion of the "close project", I closed the workspace, and the project tree went away.  Everything looked fine except the cursor is still "waiting".  Attempted to reopen the project and got the crash dialog.  (What to do with those xml files??)


sgsong

  • Guest
Re: Linux crashes
« Reply #25 on: January 18, 2006, 12:52:39 pm »
I still get the waiting cursor when close a project with open file. Any ideas?

Offline atwins

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: Linux crashes
« Reply #26 on: January 18, 2006, 06:54:42 pm »
Running svn version 1789 on ubuntu...

I did some experiments.  If the only plugin I load is libcompiler, I can close projects fine.  The cursor is not "waiting" anymore.  I get the start-up screen in the editor.  Everything is fine.

With libpluginwizard as the only plugin, the same is true: projects close OK.
With libastyle alone, projects close OK.

With 2 or more plugins ( just about any 2), I can't close a project.  Get the "waiting" cursor.  Editor screen is cleared but the project tree remains...

So it appears that something about plugin management is the culprit here.  I have tried to isolate to a single plugin but with just about any 2 or more installed, then closing a project is a problem.  With only one, all is well.

Hope this is helpful to someone.



sgsong

  • Guest
Re: Linux crashes
« Reply #27 on: January 19, 2006, 06:30:11 am »
problem disappeared in revision 1804.

Offline atwins

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: Linux crashes
« Reply #28 on: January 19, 2006, 08:10:59 pm »
Not in my 1804.   With a project file open,  closing the project still goes wierd.

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: Linux crashes
« Reply #29 on: January 19, 2006, 08:49:59 pm »
Please check if code completion is responsible  :( bwaaaa