You are not logged in.

#1 2026-10-13 23:36:49

zarco
Member
Registered: 2019-10-20
Posts: 14

Kicad 10.0.7-2 still not working right

New version of kicad package 10.0.7-2 is not working right
I can run it, but it appears to randomly stop during operation, shows message:

An assertion failed!
/usr/src/debug/wxwidgets/wxWidgets/src/unix/utilsx11.cpp(2645): assert ""Assert failure"" failed in wxGetKeyStateGTK(): Unsupported key 370, the only supported ones are: Ctrl, Alt, Shift, Caps Lock, Num Lock and Scroll Lock for GTK 3.18+

Choosing Stop or Continue  freezes and kicad crashes.

Crash Report:
Message: Process 1444 (kicad) of user 1000 dumped core.

                Stack trace of thread 1444:
                #0  0x00007fe2a121303c _Z13wxGetKeyState9wxKeyCode (libwx_gtk3u_core-3.2.so.0 + 0x61303c)
                #1  0x00005653b6ed4370 n/a (kicad + 0x298370)
                #2  0x00007fe2a096f18e _ZN12wxEvtHandler23ProcessEventIfMatchesIdERK21wxEventTableEntryBasePS_R7wxEvent (libwx_baseu-3.2.so.0 + 0x16f18e)
                #3  0x00007fe2a0971a81 _ZN12wxEvtHandler23SearchDynamicEventTableER7wxEvent (libwx_baseu-3.2.so.0 + 0x171a81)
                #4  0x00007fe2a0972709 _ZN12wxEvtHandler11TryHereOnlyER7wxEvent (libwx_baseu-3.2.so.0 + 0x172709)
                #5  0x00005653b6e749d9 n/a (kicad + 0x2389d9)
                #6  0x00007fe2a096f3b6 _ZN12wxEvtHandler10DoTryChainER7wxEvent (libwx_baseu-3.2.so.0 + 0x16f3b6)
                #7  0x00007fe2a09728ea _ZN12wxEvtHandler12ProcessEventER7wxEvent (libwx_baseu-3.2.so.0 + 0x1728ea)
                #8  0x00007fe2a0fea2b5 _ZN12wxWindowBase8TryAfterER7wxEvent (libwx_gtk3u_core-3.2.so.0 + 0x3ea2b5)
                #9  0x00007fe2a0972a32 _ZN12wxEvtHandler18SafelyProcessEventER7wxEvent (libwx_baseu-3.2.so.0 + 0x172a32)
                #10 0x00007fe2a1163f15 n/a (libwx_gtk3u_core-3.2.so.0 + 0x563f15)
                #11 0x00007fe29ec78c4b n/a (libgtk-3.so.0 + 0x78c4b)
                #12 0x00007fe2a05b3bfc g_closure_invoke (libgobject-2.0.so.0 + 0x11bfc)
                #13 0x00007fe2a05d3cfb n/a (libgobject-2.0.so.0 + 0x31cfb)
                #14 0x00007fe2a05d5734 n/a (libgobject-2.0.so.0 + 0x33734)
                #15 0x00007fe2a05d6179 g_signal_emit_valist (libgobject-2.0.so.0 + 0x34179)
                #16 0x00007fe2a05d6234 g_signal_emit (libgobject-2.0.so.0 + 0x34234)
                #17 0x00007fe29ef86dae n/a (libgtk-3.so.0 + 0x386dae)
                #18 0x00007fe29ef984b4 gtk_window_propagate_key_event (libgtk-3.so.0 + 0x3984b4)
                #19 0x00007fe2a1150f27 n/a (libwx_gtk3u_core-3.2.so.0 + 0x550f27)
                #20 0x00007fe29ec78c4b n/a (libgtk-3.so.0 + 0x78c4b)
                #21 0x00007fe2a05b3bfc g_closure_invoke (libgobject-2.0.so.0 + 0x11bfc)
                #22 0x00007fe2a05d3cfb n/a (libgobject-2.0.so.0 + 0x31cfb)
                #23 0x00007fe2a05d5734 n/a (libgobject-2.0.so.0 + 0x33734)
                #24 0x00007fe2a05d6179 g_signal_emit_valist (libgobject-2.0.so.0 + 0x34179)
                #25 0x00007fe2a05d6234 g_signal_emit (libgobject-2.0.so.0 + 0x34234)
                #26 0x00007fe29ef86dae n/a (libgtk-3.so.0 + 0x386dae)
                #27 0x00007fe29edfcab4 n/a (libgtk-3.so.0 + 0x1fcab4)
                #28 0x00007fe29edfd797 gtk_main_do_event (libgtk-3.so.0 + 0x1fd797)
                #29 0x00007fe29ff338fb n/a (libgdk-3.so.0 + 0x278fb)
                #30 0x00007fe29ff71620 n/a (libgdk-3.so.0 + 0x65620)
                #31 0x00007fe29e91975e n/a (libglib-2.0.so.0 + 0x6175e)
                #32 0x00007fe29e922c50 n/a (libglib-2.0.so.0 + 0x6ac50)
                #33 0x00007fe29e922f77 g_main_loop_run (libglib-2.0.so.0 + 0x6af77)
                #34 0x00007fe29edfac1f gtk_main (libgtk-3.so.0 + 0x1fac1f)
                #35 0x00007fe2a11455e6 _ZN14wxGUIEventLoop5DoRunEv (libwx_gtk3u_core-3.2.so.0 + 0x5455e6)
                #36 0x00007fe2a08ae552 _ZN15wxEventLoopBase3RunEv (libwx_baseu-3.2.so.0 + 0xae552)
                #37 0x00007fe2a08861f2 _ZN16wxAppConsoleBase8MainLoopEv (libwx_baseu-3.2.so.0 + 0x861f2)
                #38 0x00005653b6d71b01 n/a (kicad + 0x135b01)
                #39 0x00007fe2a08ed452 _Z7wxEntryRiPPw (libwx_baseu-3.2.so.0 + 0xed452)
                #40 0x00005653b6d45799 n/a (kicad + 0x109799)
                #41 0x00007fe29d827781 n/a (libc.so.6 + 0x27781)
                #42 0x00007fe29d8278b9 __libc_start_main (libc.so.6 + 0x278b9)
                #43 0x00005653b6d68505 n/a (kicad + 0x12c505)

Kicad Version info:

Version: 10.0.7, release build
Libraries:
    wxWidgets 3.2.12 EGL
    FreeType 2.14.3
    HarfBuzz 14.6.0
    FontConfig 2.18.3
    libcurl/8.22.0 OpenSSL/3.6.5 zlib/1.3.2 brotli/1.2.0 zstd/1.5.7 libidn2/2.3.8 libpsl/0.21.5 libssh2/1.11.1 nghttp2/1.70.0 ngtcp2/1.25.0 nghttp3/1.18.0 mit-krb5/1.22.2
Platform: Arch Linux, 64 bit, Little endian, wxGTK, Wayland, wayland, KDE, KDE
Build Info:
    Date: Oct 10 2026 01:48:16
    wxWidgets: 3.2.11 (wchar_t,wx containers) GTK+ 3.24
    Boost: 1.92.0
    OCC: 7.9.3
    Curl: 8.22.0
    ngspice: 47
    Compiler: GCC 16.2.1 with C++ ABI 1021
Build settings:
    KICAD_IPC_API=ON
    KICAD_USE_PCH=OFF
    KICAD_STDLIB_DEBUG=OFF
    KICAD_STDLIB_LIGHT_DEBUG=OFF
    KICAD_SANITIZE_ADDRESS=OFF
    KICAD_SANITIZE_THREADS=OFF

I've downgraded to 10.0.6.2

Last edited by zarco (Yesterday 11:08:41)

Offline

#2 Yesterday 01:43:32

mpan
Member
Registered: 2012-08-01
Posts: 1,665
Website

Re: Kicad 10.0.7-2 still not working right

Can’t reproduce, but a very similar issue has been reported upstream 3 days ago:

(…) Pressing a hotkey causes KiCad to complete the associated hotkey action. Every hotkey I've tested also creates error two popups notifying the user of a failed assertion. KiCad seems to be completely usable, but frequent error popups significantly hinder my workflow.

After pressing 'Ctrl+z' to undo in the PCB editor, the following error appears (both as a popup and in the terminal):

(… same as yours …)

The popup also gives the following backtrace:

SSERT INFO:
/usr/src/debug/wxwidgets/wxWidgets/src/unix/utilsx11.cpp(2645): assert ""Assert failure"" failed in wxGetKeyStateGTK(): Unsupported key 90, the only supported ones are: Ctrl, Alt, Shift, Caps Lock, Num Lock and Scroll Lock for GTK 3.18+

BACKTRACE:
[1] wxGetKeyState(wxKeyCode)
[2] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[3] wxEvtHandler::SearchDynamicEventTable(wxEvent&)
[4] wxEvtHandler::TryHereOnly(wxEvent&)
[5] wxEvtHandler::ProcessEventLocally(wxEvent&)
[6] wxEvtHandler::ProcessEvent(wxEvent&)
[7] wxScrollHelperEvtHandler::ProcessEvent(wxEvent&)
[8] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[9] g_closure_invoke
[10] g_signal_emit_valist
[11] g_signal_emit
[12] gtk_window_propagate_key_event
[13] g_closure_invoke
[14] g_signal_emit_valist
[15] g_signal_emit
[16] gtk_main_do_event
[17] g_main_loop_run
[18] gtk_main
[19] wxGUIEventLoop::DoRun()
[20] wxEventLoopBase::Run()
[21] wxAppConsoleBase::MainLoop()
[22] wxEntry(int&, wchar_t**)
[23] __libc_start_main

The error message always appears twice: Once immediately after pressing the hotkey, and once after completing the hotkey's action. Sometimes when 'Ctrl+z' is pressed, a pair of these errors for key 26 also appears. Sometimes when 'Ctrl+y' is pressed, a pair for key 25 also appears.

When editing schematics, I've tested the default 'a', 'p', 'Ctrl+x', 'Ctrl+v', 'Ctrl+z', and 'Ctrl-y' hotkeys and all of them give the same error. When editing PCBs, I've tested the default 'b', 'x', 'Ctrl+x', 'Ctrl+v', 'Ctrl+z', and 'Ctrl+y' hotkeys and all of them give the same error. The error for each key shows the ASCII decimal code of the key pressed in the errors shown above (Unsupported key <ASCII Decimal Code>).

No errors appear when giving mouse inputs to KiCad. No errors appear when clicking on a hotkey's action in the top menu bar (Edit > Fill All Zones instead of pressing the hotkey 'b').

Offline

#3 Yesterday 06:53:01

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,307

Re: Kicad 10.0.7-2 still not working right

@zarco, please use [code][/code] tags.

90 would be Z, no idea about 370 but from the bug it seems ctrl+z is mis-filtered as Shift+z being the modifier.
Might be exposed through https://gitlab.com/kicad/code/kicad/-/c … 78705e15ae

As for the cause/reproducibility : is this X11 or wayland/xwayland?

Offline

#4 Yesterday 11:20:57

zarco
Member
Registered: 2019-10-20
Posts: 14

Re: Kicad 10.0.7-2 still not working right

@seth, this is wayland.

I've a screenshot of the dialog window with same message but Unsupported key 77 instead of 370

Offline

#5 Yesterday 12:06:44

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,307

Re: Kicad 10.0.7-2 still not working right

That's "M", do you get the same errors on X11 or when explicitly setting

GDK_BACKEND=x11 WAYLAND_DISPLAY= kicad

For ancient reference https://stackoverflow.com/questions/732 … land-issue

Offline

#6 Yesterday 13:38:22

zarco
Member
Registered: 2019-10-20
Posts: 14

Re: Kicad 10.0.7-2 still not working right

Using  GDK_BACKEND=x11 WAYLAND_DISPLAY= kicad  same behavior,  I tried to open PCB editor and assertion fail, but with different message:

[/usr/src/debug/wxwidgets/wxWidgets/src/unix/glegl.cpp(703): assert ""Assert failure"" failed in CreateSurface(): Unable to create EGL surface

Offline

#7 Yesterday 14:02:31

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,307

Re: Kicad 10.0.7-2 still not working right

Both upstream reports are on kwin_wayland, what specific wayland compositor are you using and can you test some random X11 session (openbox or twm will do)?
@mpan, for contrast: on what environment can't you reproduce this?

Offline

#8 Yesterday 20:07:25

zarco
Member
Registered: 2019-10-20
Posts: 14

Re: Kicad 10.0.7-2 still not working right

My system is running kwin_wayland. Sorry but can't test now.

Offline

#9 Today 01:39:13

mpan
Member
Registered: 2012-08-01
Posts: 1,665
Website

Re: Kicad 10.0.7-2 still not working right

seth wrote:

@mpan, for contrast: on what environment can't you reproduce this?

X11 (xorg)

Offline

#10 Today 03:20:14

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,307

Re: Kicad 10.0.7-2 still not working right

Methinks them plot is thickening…
@zarco try at least some other compositor

Offline

Board footer

Powered by FluxBB