Segfault when using specific Keyboard
Author: RoedyAdraxeCreated Jun 18, 2026Updated Jun 19, 2026
Labelsstate: pendingtype: bug
Dear PyGui version:
2.3.1
Python version:
3.14.6, python 3.11.5
Operating system:
Macos 26.5.1 (25F80)
My issue/question:
This was a very interesting troubleshooting process with the help of an AI assistant.
Keyboard: Keychron K10 HE Transport: USB
Vendor ID: 0x3434 (13364) Product ID: 0x0EA0 Firmware/Product Version: 0x0111
Environment:
- macOS 26.5.1
- Apple Silicon (M5 Pro)
- Python 3.12.13 ARM64
- DearPyGui 2.3.1
Behavior:
- DearPyGui crashes when opening a viewport with the keyboard connected via USB.
- DearPyGui works normally if:
- the keyboard is disconnected, or
- the same keyboard is connected via RF receiver.
MacOS crash log is included as an attachment
Steps to reproduce:
Plug a Keychron HE10 keyboard into the computer over USB. There is an onboard switch to choose the transport type as USB
Run the dearpygui demo
python -m dearpygui.demoExpected behavior:
I would expect the keyboard to work over USB or any other transport
Screenshots:
N/A
Standalone, minimal, complete and verifiable example:
python -m dearpygui.demoSource: hoffstadt/DearPyGui