@jens: Update about the crashing issue; it remains the same, but I think I got an idea of why it would crash (I hope i'm wrong with this):
(gdb) run -d -v
Starting program: /usr/bin/codeblocks -d -v
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe8303700 (LWP 16872)]
[New Thread 0x7fffe7b02700 (LWP 16873)]
[New Thread 0x7fffe7301700 (LWP 16874)]
[New Thread 0x7fffd8533700 (LWP 16907)]
Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) thread apply all bt
Thread 5 (Thread 0x7fffd8533700 (LWP 16907)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007ffff58ee653 in wxConditionInternal::Wait() () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#2 0x00007ffff58ef1a8 in wxSemaphoreInternal::Wait() () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#3 0x00007fffdcfb4a62 in ClassBrowserBuilderThread::Entry (this=0x446d000) at classbrowserbuilderthread.cpp:193
#4 0x00007ffff58ef983 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#5 0x00007ffff3187062 in start_thread (arg=0x7fffd8533700) at pthread_create.c:312
#6 0x00007ffff2492bfd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 4 (Thread 0x7fffe7301700 (LWP 16874)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007ffff58ee653 in wxConditionInternal::Wait() () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#2 0x00007ffff58ef1a8 in wxSemaphoreInternal::Wait() () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#3 0x00007ffff779984a in BackgroundThread::Entry (this=0xefbb48) at ./backgroundthread.h:152
#4 0x00007ffff58ef983 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#5 0x00007ffff3187062 in start_thread (arg=0x7fffe7301700) at pthread_create.c:312
#6 0x00007ffff2492bfd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 3 (Thread 0x7fffe7b02700 (LWP 16873)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007ffff58ee653 in wxConditionInternal::Wait() () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#2 0x00007ffff58ef1a8 in wxSemaphoreInternal::Wait() () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#3 0x00007ffff779984a in BackgroundThread::Entry (this=0xefbb10) at ./backgroundthread.h:152
#4 0x00007ffff58ef983 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#5 0x00007ffff3187062 in start_thread (arg=0x7fffe7b02700) at pthread_create.c:312
#6 0x00007ffff2492bfd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 2 (Thread 0x7fffe8303700 (LWP 16872)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007ffff58ee653 in wxConditionInternal::Wait() () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#2 0x00007ffff58ef1a8 in wxSemaphoreInternal::Wait() () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#3 0x00007ffff779984a in BackgroundThread::Entry (this=0xefbad8) at ./backgroundthread.h:152
#4 0x00007ffff58ef983 in wxThreadInternal::PthreadStart(wxThread*) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#5 0x00007ffff3187062 in start_thread (arg=0x7fffe8303700) at pthread_create.c:312
#6 0x00007ffff2492bfd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 1 (Thread 0x7ffff7fb0a00 (LWP 16370)):
#0 0x0000000000000000 in ?? ()
#1 0x00007ffff61fea44 in wxAppBase::SendIdleEvents(wxWindow*, wxIdleEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
#2 0x00007ffff61fee74 in wxAppBase::ProcessIdle() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
#3 0x00007ffff6179e91 in ?? () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
#4 0x00007ffff33e4ce5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007ffff33e5048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6 0x00007ffff33e530a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7 0x00007ffff52f9147 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#8 0x00007ffff618d36a in wxEventLoop::Run() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
#9 0x00007ffff61fec1c in wxAppBase::MainLoop() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
#10 0x00000000004484fb in CodeBlocksApp::OnRun (this=0x7d3bb0) at app.cpp:818
#11 0x00007ffff589df7d in wxEntry(int&, wchar_t**) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#12 0x000000000043b962 in main (argc=3, argv=<optimized out>) at app.cpp:278
(gdb) continue
Continuing.
Program received signal SIGABRT, Aborted.
0x00007ffff23e23a9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) continue
Continuing.
[Thread 0x7fffd8533700 (LWP 16907) exited]
[Thread 0x7fffe8303700 (LWP 16872) exited]
[Thread 0x7ffff7fb0a00 (LWP 16370) exited]
[Thread 0x7fffe7b02700 (LWP 16873) exited]
Program terminated with signal SIGABRT, Aborted.
The program no longer exists.
(gdb)
While I am in xterm or whatever terminal that might be, and call Code::Blocks via GDB and keep event's attention to terminal, it works fine. If I run Code::Blocks inside GDB and use alt-TAB to switch to Code::Blocks' splash screen, it would work until the final GUI frame drawing on the right sidebar; that is where it breaks for some reason.
Is there a (painfully, thorough) way to debug UI layer on top of layer? I really am curious to see whether this issue is
- a Code::Blocks bug
- a wxGTK bug or
- a lib64 issue for some reason.
Cheers