Code::Blocks Forums

User forums => Help => Topic started by: luca__ on December 03, 2022, 09:16:36 pm

Title: [SOLVED] Codeblocks crash resizing panel on gnome arch linux
Post by: luca__ on December 03, 2022, 09:16:36 pm
Hello,
I would like to use this beautiful IDE but having problem with it.
I don't know if it is a bug of codeblocks or some other software.
This happens for example moving the vertical bar that split the editor view, an alert pop up and after closing it, the IDE is unrensponsive
I am on arch linux with Gnome/Wayland
My spec:
Code
Linux archer 6.0.10-arch2-1 #1 SMP PREEMPT_DYNAMIC Sat, 26 Nov 2022 16:51:18 +0000 x86_64 GNU

[luca@archer ~]$ codeblocks -h
Starting Code::Blocks Release 20.03  rev 11997 Jul 12 2022, 21:44:09 - wx3.2.0 - gcc 12.1.0 (

ASSERT INFO:
/usr/src/debug/wxWidgets-3.2.1/src/common/wincmn.cpp(3379): assert "!wxMouseCapture::IsInCaptureStack(this)" failed in CaptureMouse(): Recapturing the mouse in the same window?

BACKTRACE:
[1] wxWindowBase::CaptureMouse()
[2] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[3] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[4] wxEvtHandler::TryHereOnly(wxEvent&)
[5] wxEvtHandler::DoTryChain(wxEvent&)
[6] wxEvtHandler::ProcessEvent(wxEvent&)
[7] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[8] g_closure_invoke
[9] g_signal_emit_valist
[10] g_signal_emit
[11] gtk_main_do_event
[12] g_main_context_dispatch
[13] g_main_loop_run
[14] gtk_main
[15] wxGUIEventLoop::DoRun()
[16] wxEventLoopBase::Run()
[17] wxAppConsoleBase::MainLoop()
[18] wxEntry(int&, wchar_t**)
[19] __libc_start_main

Here an image of the error
https://pasteboard.co/lOuJN02L4sao.png

Can you help me to understand and solve if possible?
If need more info, ask me.

Sorry for bad english
Thank you




Title: Re: Codeblocks crash resizing panel on gnome arch linux
Post by: luca__ on December 12, 2022, 02:44:20 pm
As workaround I 'm launching codeblocks in wayland session  with
Code
[luca@archer ~]$  GDK_BACKEND=x11 codeblocks
It seems the problem is related to wayland session, in X session there is not error.