Asserts while loading pcbnew in debug build

Bug #1776785 reported by Fabián Inostroza
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
High
Seth Hillbrand

Bug Description

Commit 04706d9d added new hotkeys and some check is asserting in debug build because of duplicated default hotkey definitions

Application: kicad
Version: (5.0.0-rc2-149-gf6bd6b136-dirty), debug build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.60.0 GnuTLS/3.5.18 zlib/1.2.11 libidn2/2.0.4 libpsl/0.20.2 (+libidn2/2.0.4) libssh2/1.8.0 nghttp2/1.32.0 librtmp/2.3
Platform: Linux 4.16.0-2-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.62.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.60.0
    Compiler: GCC 7.3.0 with C++ ABI 1011

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=OFF

Revision history for this message
Fabián Inostroza (fabianinostroza) wrote :
description: updated
Revision history for this message
Seth Hillbrand (sethh) wrote :

I just pushed a fix for a couple of duplicates (DXF and line)

There's an obstinate duplicate being asserted between Edit properties and Interactive Router settings that I haven't found yet. Oddly it doesn't prevent either from being correctly used when running. And they are not assigned to the same keys (either now or before).

Changed in kicad:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Jeff Young (jeyjey) wrote :

Both are assigned to the 'E' key, and both are in the GLOBAL context. I don't understand how the Hotkeys infrastructure works though, so I don't know if that's relevant or not.

Revision history for this message
Jeff Young (jeyjey) wrote :

Raising the priority as (on my machine at least) it does prevent the standard 'E' shortcut from working.

Changed in kicad:
importance: Low → High
Revision history for this message
Seth Hillbrand (sethh) wrote :

​JP is right here. The change was to elevate the router settings to a global while changing its hotkey. This is program-specific but if you have local hotkeys, they will override the actual key. Changing the key assignment in your hotkeys settings will fix it as will just deleting the hotkeys file.

Seth Hillbrand (sethh)
Changed in kicad:
status: Confirmed → Fix Committed
assignee: nobody → Seth Hillbrand (sethh)
milestone: none → 5.0.0-rc3
Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.