Bug 2050638
| Summary: | libusb1 make some python3 programs crash | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | edpil02 <edpil02> |
| Component: | libusb1 | Assignee: | Benjamin Berg <bberg> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 36 | CC: | bberg, hdegoede, jnovy, jv+fedora, lucilanga, rhbugs, victortoso |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-02-10 12:59:50 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
edpil02
2022-02-04 11:43:28 UTC
Is this a regression compared to libusb1-1.0.24? OK, it is a regression, I'll cancel the updates for now. Will need to debug what is going on. OK, opened https://github.com/libusb/libusb/pull/1058 upstream to fix this. I'll submit new packages later (hopefully upstream will ack them soon). However, that said. I am thinking that the python USB wrapper might be a bit stupid. i.e. it should probably keep the USB context open while if one is still referencing a device. Or libusb1 should be doing that, but I don't think it has refcounting for the USB context. I don't know if there is a connection but all these programs use libusb to control usb RGB and ARGB devices : ( liquidctl , openrgb ..) and segfault randomly or all the time. Thanks. This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle. Changing version to 36. New versions are on their way into F34, F35, F36 and F37 at this point. F34: https://bodhi.fedoraproject.org/updates/FEDORA-2022-9a7ecbb694 F35: https://bodhi.fedoraproject.org/updates/FEDORA-2022-ca13cbc97f F36: https://bodhi.fedoraproject.org/updates/FEDORA-2022-6379467d61 F37: https://bodhi.fedoraproject.org/updates/FEDORA-2022-18b919e19c Closing as fixed (sorry, forgot to mark the bug# in the updates). For completeness sake. pyusb was also updated to fix the issue on their side. But, both updates individually will work fine. See https://bugzilla.redhat.com/show_bug.cgi?id=2051231 |