Bug 2074587
| Summary: | Launching GTK4 apps on beta 36 doesn't work at all because of a deadlock in opencryptoki when called from gst-plugin-scanner. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Emilio Cobos Álvarez (:emilio) <emilio> | ||||||
| Component: | opencryptoki | Assignee: | Dan Horák <dan> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 36 | CC: | bdpepple, dan, emilio, ksinny, mschmidt, uraeus, wtaymans | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | opencryptoki-3.17.0-7.fc36 | Doc Type: | If docs needed, set a value | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2022-05-07 04:27:59 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: | |||||||||
| Attachments: |
|
||||||||
|
Description
Emilio Cobos Álvarez (:emilio)
2022-04-12 14:58:38 UTC
Created attachment 1871988 [details]
Stack of the scanner process
Seems dead-locked.
Created attachment 1871989 [details]
Stack of gtk4-widget-factory.
For reference.
check_user_and_group() fails and leaves the mutex locked, so if another module tries to load later it deadlocks. https://github.com/opencryptoki/opencryptoki/commit/3fea29baa97be9c132a8189eb00c7a782900d472 is the fix, apparently, took a bit to track down. It'd be nice to get that into the Fedora 36 release. Of course locally I can just add myself to the right group. sudo usermod -a -G pkcs11 $(whoami) fixed it, as expected. Kinda nasty, I had to fix my debugger to diagnose it (https://github.com/rr-debugger/rr/pull/3140) :-) Presumably doesn't affect all gtk4 apps, only those that use gstreamer. FEDORA-2022-158ea10931 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-158ea10931 FEDORA-2022-158ea10931 has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-158ea10931` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-158ea10931 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2022-158ea10931 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report. |