hoffstadt / hoffstadt/DearPyGui
Segfault when using specific Keyboard
- Dominant language
- C++
- Stars
- 15.6k
- Forks
- 783
- PR merge metrics
- No merged PRs in 30d
Description
### 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
[MacOSCrashLog.txt](https://github.com/user-attachments/files/29110348/MacOSCrashLog.txt)
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.demo
```
### Expected behavior:
I would expect the keyboard to work over USB or any other transport
### Screenshots:
N/A
### Standalone, minimal, complete and verifiable example:
```python
python -m dearpygui.demo
```
Contributor guide
Assessment
This issue has not been assessed yet.