-
Notifications
You must be signed in to change notification settings - Fork 163
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
CPython generates a core dump at exit when StreamDeck library is used on Fedora 42 and CTRL-C is used to quit the program (or kill -INT).
Note: when you quit "normally" the program, there is no core-dump.
Examples:
With 0.14 package of hidapi libray:
$ python src/example_basic.py
Found 1 Stream Deck(s).
Opened 'Stream Deck Original' device (serial number: 'AL19H1A08441', fw: '1.0.170133')
^CTraceback (most recent call last):
File "/Projects/python/python-elgato-streamdeck/src/example_basic.py", line 143, in <module>
t.join()
~~~~~~^^
File "/usr/lib64/python3.13/threading.py", line 1094, in join
self._handle.join(timeout)
~~~~~~~~~~~~~~~~~^^^^^^^^^
KeyboardInterrupt
python: ../../libusb/os/threads_posix.h:58: usbi_mutex_destroy: Assertion `pthread_mutex_destroy(mutex) == 0' failed.
Abandon (core dumped)
With 0.15 package of hidapi libray:
$ python src/example_basic.py
Found 1 Stream Deck(s).
Opened 'Stream Deck Original' device (serial number: 'AL19H1A08441', fw: '1.0.170133')
Traceback (most recent call last):
File "/Projects/python/python-elgato-streamdeck/src/example_basic.py", line 143, in <module>
t.join()
~~~~~~^^
File "/usr/lib64/python3.13/threading.py", line 1094, in join
self._handle.join(timeout)
~~~~~~~~~~~~~~~~~^^^^^^^^^
KeyboardInterrupt
python: ../../libusb/os/threads_posix.h:58: usbi_mutex_destroy: Assertion `pthread_mutex_destroy(mutex) == 0' failed.
python: ../../libusb/os/threads_posix.h:46: usbi_mutex_lock: Assertion `pthread_mutex_lock(mutex) == 0' failed.
Abandon (core dumped)
To Reproduce
On a updated Fedora 42, run any examples in src/ directory in a console, then quit using CTRL-C (sigint).
StreamDeck Information
Model: 20GAA9901, fw: 1.0.170133
System Information
-
Fedora 42 (just updated) on a X86_64 system (python 3.13.7)
-
Tested with following packages providing /usr/lib64/libhidapi-libusb.so:
hidapi-0:0.14.0-7.fc42.x86_64
hidapi-0:0.15.0-1.fc42.x86_64
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working