When codeblocks enters into freeze state described above and after it I reboot then it starts automatically after login and (of course) freezes again.
Does anybody know what is this feature for ?
Moreover I am not able to find where is command for it's automatic starting.
...
root 0 0.0 0.7 0 89180 ? DKl 4:56PM 0:04.69 [system]
root 1 0.0 0.0 19972 1700 ? Is 4:56PM 0:00.01 - init
programmer 1073 1.5 0.7 526472 89016 ttyE0 Il 3:58PM 0:04.43 |-- codeblocks
programmer 1357 0.0 0.0 0 0 ttyE0 Z - 0:00.00 | `-- (gcc)
root 335 0.0 0.0 23200 1680 ? Ss 3:56PM 0:00.01 |-- /usr/sbin/rpcbind -l
dbus 802 0.0 0.0 30000 2468 ? Is 3:56PM 0:00.04 |-- /usr/pkg/bin/dbus-daemon --system --fork
...
more diagnostic info:
I rebuild libcompiler.so with debug info and investigated another thread's stacks , not only thread displayed
by "where" command.
It is weird, that two threads try to load the same MINGW compiler and two has the same stack, why OnInit() is called in two separate threads ?
(gdb) info threads
Id Target Id Frame
* 1 LWP 2893 of process 2893 "" 0x0000739919c4729a in _sys___select50 () from /usr/lib/libc.so.12
2 LWP 3308 of process 2893 "[pango] fontcon" 0x0000739919ca8e7a in ___lwp_park60 () from /usr/lib/libc.so.12
3 LWP 3396 of process 2893 "pool-spawner" 0x0000739919ca8e7a in ___lwp_park60 () from /usr/lib/libc.so.12
4 LWP 3631 of process 2893 "gmain" 0x0000739919c4745a in poll () from /usr/lib/libc.so.12
6 LWP 3307 of process 2893 "" 0x0000739919ca8e7a in ___lwp_park60 () from /usr/lib/libc.so.12
7 LWP 1622 of process 2893 "" 0x0000739919ca8e7a in ___lwp_park60 () from /usr/lib/libc.so.12
8 LWP 5002 of process 2893 "" 0x0000739919ca8e7a in ___lwp_park60 () from /usr/lib/libc.so.12
9 LWP 4998 of process 2893 "" 0x0000739919ca8e7a in ___lwp_park60 () from /usr/lib/libc.so.12
10 LWP 2893 of process 2893 "" 0x0000739919c4729a in _sys___select50 () from /usr/lib/libc.so.12
11 process 2893 0x0000739919ca8e7a in ___lwp_park60 () from /usr/lib/libc.so.12
(gdb) bt
#0 0x0000739919c4729a in _sys___select50 () from /usr/lib/libc.so.12
#1 0x000073991ae086f0 in __select50 (nfds=<optimized out>, readfds=<optimized out>, writefds=<optimized out>, exceptfds=<optimized out>,
timeout=<optimized out>) at /usr/src/lib/libpthread/pthread_cancelstub.c:605
#2 0x000073991b38810f in wxSelectDispatcher::DoSelect(wxSelectSets&, int) const () from /usr/pkg/lib/libwx_baseu-3.0.so.0
#3 0x000073991b3888f1 in wxSelectDispatcher::Dispatch(int) () from /usr/pkg/lib/libwx_baseu-3.0.so.0
#4 0x000073991b3afaf8 in wxExecute(char**, int, wxProcess*, wxExecuteEnv const*) () from /usr/pkg/lib/libwx_baseu-3.0.so.0
#5 0x000073991b3b1727 in wxExecute(wxString const&, int, wxProcess*, wxExecuteEnv const*) () from /usr/pkg/lib/libwx_baseu-3.0.so.0
#6 0x000073991b3c42e0 in ?? () from /usr/pkg/lib/libwx_baseu-3.0.so.0
#7 0x000073991ebbd252 in Compiler::EvalXMLCondition(wxXmlNode const*) () from /usr/local/lib/libcodeblocks.so.0
#8 0x000073991ebc27ef in Compiler::LoadDefaultOptions(wxString const&, int) () from /usr/local/lib/libcodeblocks.so.0
#9 0x000073991ebc47cc in Compiler::LoadDefaultOptions(wxString const&, int) () from /usr/local/lib/libcodeblocks.so.0
#10 0x000073991ebc55e3 in Compiler::Reset() () from /usr/local/lib/libcodeblocks.so.0
#11 0x0000739902aa6241 in CompilerMINGW::CompilerMINGW (this=0x739918077c00, name=..., ID=...) at compilerMINGW.cpp:35
#12 0x0000739902a88f2f in CompilerGCC::DoRegisterCompilers (this=0x73991a460000) at compilergcc.cpp:887
#13 0x0000739902a844cf in CompilerGCC::OnAttach (this=0x73991a460000) at compilergcc.cpp:355
#14 0x000073991eb98bbd in cbPlugin::Attach() () from /usr/local/lib/libcodeblocks.so.0
#15 0x000073991ec97c6f in PluginManager::AttachPlugin(cbPlugin*, bool) () from /usr/local/lib/libcodeblocks.so.0
#16 0x000073991ec9b976 in PluginManager::LoadAllPlugins() () from /usr/local/lib/libcodeblocks.so.0
#17 0x00000000004ecebe in MainFrame::ScanForPlugins() ()
#18 0x00000000004f012e in MainFrame::MainFrame(wxWindow*) ()
#19 0x0000000000464861 in CodeBlocksApp::InitFrame() ()
#20 0x000000000046a89a in CodeBlocksApp::OnInit() ()
#21 0x000073991b303e95 in wxEntry(int&, wchar_t**) () from /usr/pkg/lib/libwx_baseu-3.0.so.0
#22 0x000000000055f764 in main ()
(gdb) thr 10
[Switching to thread 10 (LWP 2893 of process 2893)]
#0 0x0000739919c4729a in _sys___select50 () from /usr/lib/libc.so.12
(gdb) info threads
Id Target Id Frame
1 LWP 2893 of process 2893 "" 0x0000739919c4729a in _sys___select50 () from /usr/lib/libc.so.12
2 LWP 3308 of process 2893 "[pango] fontcon" 0x0000739919ca8e7a in ___lwp_park60 () from /usr/lib/libc.so.12
3 LWP 3396 of process 2893 "pool-spawner" 0x0000739919ca8e7a in ___lwp_park60 () from /usr/lib/libc.so.12
4 LWP 3631 of process 2893 "gmain" 0x0000739919c4745a in poll () from /usr/lib/libc.so.12
6 LWP 3307 of process 2893 "" 0x0000739919ca8e7a in ___lwp_park60 () from /usr/lib/libc.so.12
7 LWP 1622 of process 2893 "" 0x0000739919ca8e7a in ___lwp_park60 () from /usr/lib/libc.so.12
8 LWP 5002 of process 2893 "" 0x0000739919ca8e7a in ___lwp_park60 () from /usr/lib/libc.so.12
9 LWP 4998 of process 2893 "" 0x0000739919ca8e7a in ___lwp_park60 () from /usr/lib/libc.so.12
* 10 LWP 2893 of process 2893 "" 0x0000739919c4729a in _sys___select50 () from /usr/lib/libc.so.12
11 process 2893 0x0000739919ca8e7a in ___lwp_park60 () from /usr/lib/libc.so.12
(gdb) bt
#0 0x0000739919c4729a in _sys___select50 () from /usr/lib/libc.so.12
#1 0x000073991ae086f0 in __select50 (nfds=<optimized out>, readfds=<optimized out>, writefds=<optimized out>, exceptfds=<optimized out>,
timeout=<optimized out>) at /usr/src/lib/libpthread/pthread_cancelstub.c:605
#2 0x000073991b38810f in wxSelectDispatcher::DoSelect(wxSelectSets&, int) const () from /usr/pkg/lib/libwx_baseu-3.0.so.0
#3 0x000073991b3888f1 in wxSelectDispatcher::Dispatch(int) () from /usr/pkg/lib/libwx_baseu-3.0.so.0
#4 0x000073991b3afaf8 in wxExecute(char**, int, wxProcess*, wxExecuteEnv const*) () from /usr/pkg/lib/libwx_baseu-3.0.so.0
#5 0x000073991b3b1727 in wxExecute(wxString const&, int, wxProcess*, wxExecuteEnv const*) () from /usr/pkg/lib/libwx_baseu-3.0.so.0
#6 0x000073991b3c42e0 in ?? () from /usr/pkg/lib/libwx_baseu-3.0.so.0
#7 0x000073991ebbd252 in Compiler::EvalXMLCondition(wxXmlNode const*) () from /usr/local/lib/libcodeblocks.so.0
#8 0x000073991ebc27ef in Compiler::LoadDefaultOptions(wxString const&, int) () from /usr/local/lib/libcodeblocks.so.0
#9 0x000073991ebc47cc in Compiler::LoadDefaultOptions(wxString const&, int) () from /usr/local/lib/libcodeblocks.so.0
#10 0x000073991ebc55e3 in Compiler::Reset() () from /usr/local/lib/libcodeblocks.so.0
#11 0x0000739902aa6241 in CompilerMINGW::CompilerMINGW (this=0x739918077c00, name=..., ID=...) at compilerMINGW.cpp:35
#12 0x0000739902a88f2f in CompilerGCC::DoRegisterCompilers (this=0x73991a460000) at compilergcc.cpp:887
#13 0x0000739902a844cf in CompilerGCC::OnAttach (this=0x73991a460000) at compilergcc.cpp:355
#14 0x000073991eb98bbd in cbPlugin::Attach() () from /usr/local/lib/libcodeblocks.so.0
#15 0x000073991ec97c6f in PluginManager::AttachPlugin(cbPlugin*, bool) () from /usr/local/lib/libcodeblocks.so.0
#16 0x000073991ec9b976 in PluginManager::LoadAllPlugins() () from /usr/local/lib/libcodeblocks.so.0
#17 0x00000000004ecebe in MainFrame::ScanForPlugins() ()
#18 0x00000000004f012e in MainFrame::MainFrame(wxWindow*) ()
#19 0x0000000000464861 in CodeBlocksApp::InitFrame() ()
#20 0x000000000046a89a in CodeBlocksApp::OnInit() ()
#21 0x000073991b303e95 in wxEntry(int&, wchar_t**) () from /usr/pkg/lib/libwx_baseu-3.0.so.0
#22 0x000000000055f764 in main ()
(gdb) info threads
Id Target Id Frame
1 LWP 2893 of process 2893 "" 0x0000739919c4729a in _sys___select50 () from /usr/lib/libc.so.12
2 LWP 3308 of process 2893 "[pango] fontcon" 0x0000739919ca8e7a in ___lwp_park60 () from /usr/lib/libc.so.12
3 LWP 3396 of process 2893 "pool-spawner" 0x0000739919ca8e7a in ___lwp_park60 () from /usr/lib/libc.so.12
4 LWP 3631 of process 2893 "gmain" 0x0000739919c4745a in poll () from /usr/lib/libc.so.12
6 LWP 3307 of process 2893 "" 0x0000739919ca8e7a in ___lwp_park60 () from /usr/lib/libc.so.12
7 LWP 1622 of process 2893 "" 0x0000739919ca8e7a in ___lwp_park60 () from /usr/lib/libc.so.12
8 LWP 5002 of process 2893 "" 0x0000739919ca8e7a in ___lwp_park60 () from /usr/lib/libc.so.12
9 LWP 4998 of process 2893 "" 0x0000739919ca8e7a in ___lwp_park60 () from /usr/lib/libc.so.12
* 10 LWP 2893 of process 2893 "" 0x0000739919c4729a in _sys___select50 () from /usr/lib/libc.so.12
11 process 2893 0x0000739919ca8e7a in ___lwp_park60 () from /usr/lib/libc.so.12
(gdb) thr 11
Thread ID 11 has terminated.
(gdb)