News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

strange thing on linux

Started by killerbot, January 30, 2013, 09:46:34 PM

Previous topic - Next topic

killerbot

seen on OpenSuse 32 and 64 bit systems with KDE

- selfbuild CB ( .... and sudo make install)
- start CB through the GUI icons
- close CB ==> does not stop ==> 99% cpu

BUT :
- in a shell start CB by typing : codeblocks
- close CB ==> closes nicely



killerbot

I am running back into this problem. The previous time, the problem disappeared, but no clue how / why. And maybe it was a the machine of a colleague and it didn't disappear , not even sure anymore.

Now suffering from this on OpenSuse12.3 / KDE, with latest svn code

oBFusCATed

gdb /path/to/codeblocks `pidof codeblocks` and then see where it has blocked.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

killerbot


(gdb) info threads
  Id   Target Id         Frame
  7    Thread 0x7fc762bcf700 (LWP 19728) "gdbus" 0x00007fc76aaa287d in poll () from /lib64/libc.so.6
  6    Thread 0x7fc756397700 (LWP 19735) "threaded-ml" 0x00007fc76aaa287d in poll () from /lib64/libc.so.6
  5    Thread 0x7fc755286700 (LWP 19736) "codeblocks" 0x00007fc76b799964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  4    Thread 0x7fc754a85700 (LWP 19737) "codeblocks" 0x00007fc76b799964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  3    Thread 0x7fc74ffff700 (LWP 19738) "codeblocks" 0x00007fc76b799964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  2    Thread 0x7fc741531700 (LWP 19745) "codeblocks" 0x00007fc746646885 in FAMPending () from /usr/lib64/libgamin-1.so.0
* 1    Thread 0x7fc77057d980 (LWP 19725) "codeblocks" 0x00007fc76b796fef in pthread_join () from /lib64/libpthread.so.0
(gdb)


and

(gdb) bt
#0  0x00007fc76b796fef in pthread_join () from /lib64/libpthread.so.0
#1  0x00007fc76de98770 in wxThreadInternal::Wait() () from /usr/lib64/wx-2.8-wxcontainer/libwx_baseu-2.8.so.0
#2  0x00007fc76de98824 in wxThread::Wait() () from /usr/lib64/wx-2.8-wxcontainer/libwx_baseu-2.8.so.0
#3  0x00007fc746887afc in DirMonitorThread::~DirMonitorThread() () from /usr/local/lib64/codeblocks/plugins/libFileManager.so
#4  0x00007fc746886091 in wxDirectoryMonitor::~wxDirectoryMonitor() () from /usr/local/lib64/codeblocks/plugins/libFileManager.so
#5  0x00007fc7468860e9 in wxDirectoryMonitor::~wxDirectoryMonitor() () from /usr/local/lib64/codeblocks/plugins/libFileManager.so
#6  0x00007fc746876640 in FileExplorer::~FileExplorer() () from /usr/local/lib64/codeblocks/plugins/libFileManager.so
#7  0x00007fc746876769 in FileExplorer::~FileExplorer() () from /usr/local/lib64/codeblocks/plugins/libFileManager.so
#8  0x00007fc74686f7b5 in FileManagerPlugin::OnRelease(bool) () from /usr/local/lib64/codeblocks/plugins/libFileManager.so
#9  0x00007fc76fcff49f in cbPlugin::Release(bool) () from /usr/local/lib64/libcodeblocks.so.0
#10 0x00007fc76fd93071 in PluginManager::DetachPlugin(cbPlugin*) () from /usr/local/lib64/libcodeblocks.so.0
#11 0x00007fc76fd96b7a in PluginManager::UnloadPlugin(cbPlugin*) () from /usr/local/lib64/libcodeblocks.so.0
#12 0x00007fc76fd96c43 in PluginManager::UnloadAllPlugins() () from /usr/local/lib64/libcodeblocks.so.0
#13 0x00007fc76fd96c82 in PluginManager::~PluginManager() () from /usr/local/lib64/libcodeblocks.so.0
#14 0x00007fc76fd96db9 in PluginManager::~PluginManager() () from /usr/local/lib64/libcodeblocks.so.0
#15 0x00007fc76fd89206 in Manager::Shutdown() () from /usr/local/lib64/libcodeblocks.so.0
#16 0x00000000004ae0e5 in MainFrame::OnApplicationClose(wxCloseEvent&) ()
#17 0x00007fc76de9a696 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib64/wx-2.8-wxcontainer/libwx_baseu-2.8.so.0
#18 0x00007fc76de9a804 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib64/wx-2.8-wxcontainer/libwx_baseu-2.8.so.0
#19 0x00007fc76de9ab27 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib64/wx-2.8-wxcontainer/libwx_baseu-2.8.so.0
#20 0x00007fc76de9aab0 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib64/wx-2.8-wxcontainer/libwx_baseu-2.8.so.0
#21 0x00007fc76de9aab0 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib64/wx-2.8-wxcontainer/libwx_baseu-2.8.so.0
#22 0x00007fc76de9aab0 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib64/wx-2.8-wxcontainer/libwx_baseu-2.8.so.0
#23 0x00007fc76de9aab0 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib64/wx-2.8-wxcontainer/libwx_baseu-2.8.so.0
#24 0x00007fc76de9aab0 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib64/wx-2.8-wxcontainer/libwx_baseu-2.8.so.0
#25 0x00007fc76de9aab0 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib64/wx-2.8-wxcontainer/libwx_baseu-2.8.so.0
#26 0x00007fc76de9aab0 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib64/wx-2.8-wxcontainer/libwx_baseu-2.8.so.0
#27 0x00007fc76de9aab0 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib64/wx-2.8-wxcontainer/libwx_baseu-2.8.so.0

killerbot

when disabling the file manager plug-in, it also nicely closes down, even when launched from gui icons (aka non console)



oBFusCATed

Have you tried to see if the thread is stopped?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]