high cpu with version 5.4
Posted: Tue Apr 22, 2014 4:54 pm
Hello,
I tried to use Codelite 5.4.
The process consumes 100% CPU (one of the cores). GDB shows that it constantly creates new threads with fork(). I tried to stop process several times and it the backtrace shows that process somewhere in TagsManager::StartCodeLiteIndexer():
#0 0x0000003bdb4acdbd in fork () from /lib64/libc.so.6
#1 0x00007fd28cfcadc6 in UnixProcessImpl::Execute(wxEvtHandler*, wxString const&, IProcessCreateFlags, wxString const&, IProcessCallback*) ()
from /usr/lib64/codelite/liblibcodelite.so
#2 0x00007fd28cfe763d in TagsManager::StartCodeLiteIndexer() () from /usr/lib64/codelite/liblibcodelite.so
#3 0x00007fd28d8696ec in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/local/lib/libwx_baseu-3.0.so.0
#4 0x00007fd28d86a69b in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/local/lib/libwx_baseu-3.0.so.0
#5 0x00007fd28d86a76a in wxEvtHandler::TryHereOnly(wxEvent&) () from /usr/local/lib/libwx_baseu-3.0.so.0
#6 0x00007fd28d86ad73 in wxEvtHandler::ProcessEventLocally(wxEvent&) () from /usr/local/lib/libwx_baseu-3.0.so.0
#7 0x00007fd28d86add5 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/local/lib/libwx_baseu-3.0.so.0
#8 0x00007fd28d86b991 in wxEvtHandler::ProcessPendingEvents() () from /usr/local/lib/libwx_baseu-3.0.so.0
#9 0x00007fd28d73d58f in wxAppConsoleBase::ProcessPendingEvents() () from /usr/local/lib/libwx_baseu-3.0.so.0
#10 0x00007fd28e1d8a83 in wxApp::DoIdle() () from /usr/local/lib/libwx_gtk2u_core-3.0.so.0
#11 0x00007fd28e1d8b83 in wxapp_idle_callback () from /usr/local/lib/libwx_gtk2u_core-3.0.so.0
#12 0x0000003bdc83feb2 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#13 0x0000003bdc843d68 in ?? () from /lib64/libglib-2.0.so.0
#14 0x0000003bdc844275 in g_main_loop_run () from /lib64/libglib-2.0.so.0
#15 0x0000003be4949da7 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0
#16 0x00007fd28e1ef1a5 in wxGUIEventLoop::DoRun() () from /usr/local/lib/libwx_gtk2u_core-3.0.so.0
#17 0x00007fd28d774ebc in wxEventLoopBase::Run() () from /usr/local/lib/libwx_baseu-3.0.so.0
#18 0x00007fd28d740332 in wxAppConsoleBase::MainLoop() () from /usr/local/lib/libwx_baseu-3.0.so.0
#19 0x00007fd28d7addc5 in wxEntry(int&, wchar_t**) () from /usr/local/lib/libwx_baseu-3.0.so.0
#20 0x00000000008b514e in main ()
How can it possible to fix the issue?
Thanks in advance
I tried to use Codelite 5.4.
The process consumes 100% CPU (one of the cores). GDB shows that it constantly creates new threads with fork(). I tried to stop process several times and it the backtrace shows that process somewhere in TagsManager::StartCodeLiteIndexer():
#0 0x0000003bdb4acdbd in fork () from /lib64/libc.so.6
#1 0x00007fd28cfcadc6 in UnixProcessImpl::Execute(wxEvtHandler*, wxString const&, IProcessCreateFlags, wxString const&, IProcessCallback*) ()
from /usr/lib64/codelite/liblibcodelite.so
#2 0x00007fd28cfe763d in TagsManager::StartCodeLiteIndexer() () from /usr/lib64/codelite/liblibcodelite.so
#3 0x00007fd28d8696ec in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/local/lib/libwx_baseu-3.0.so.0
#4 0x00007fd28d86a69b in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/local/lib/libwx_baseu-3.0.so.0
#5 0x00007fd28d86a76a in wxEvtHandler::TryHereOnly(wxEvent&) () from /usr/local/lib/libwx_baseu-3.0.so.0
#6 0x00007fd28d86ad73 in wxEvtHandler::ProcessEventLocally(wxEvent&) () from /usr/local/lib/libwx_baseu-3.0.so.0
#7 0x00007fd28d86add5 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/local/lib/libwx_baseu-3.0.so.0
#8 0x00007fd28d86b991 in wxEvtHandler::ProcessPendingEvents() () from /usr/local/lib/libwx_baseu-3.0.so.0
#9 0x00007fd28d73d58f in wxAppConsoleBase::ProcessPendingEvents() () from /usr/local/lib/libwx_baseu-3.0.so.0
#10 0x00007fd28e1d8a83 in wxApp::DoIdle() () from /usr/local/lib/libwx_gtk2u_core-3.0.so.0
#11 0x00007fd28e1d8b83 in wxapp_idle_callback () from /usr/local/lib/libwx_gtk2u_core-3.0.so.0
#12 0x0000003bdc83feb2 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#13 0x0000003bdc843d68 in ?? () from /lib64/libglib-2.0.so.0
#14 0x0000003bdc844275 in g_main_loop_run () from /lib64/libglib-2.0.so.0
#15 0x0000003be4949da7 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0
#16 0x00007fd28e1ef1a5 in wxGUIEventLoop::DoRun() () from /usr/local/lib/libwx_gtk2u_core-3.0.so.0
#17 0x00007fd28d774ebc in wxEventLoopBase::Run() () from /usr/local/lib/libwx_baseu-3.0.so.0
#18 0x00007fd28d740332 in wxAppConsoleBase::MainLoop() () from /usr/local/lib/libwx_baseu-3.0.so.0
#19 0x00007fd28d7addc5 in wxEntry(int&, wchar_t**) () from /usr/local/lib/libwx_baseu-3.0.so.0
#20 0x00000000008b514e in main ()
How can it possible to fix the issue?
Thanks in advance