Bug 662047
Summary: | troubleshooter uses D-Bus from two threads | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jiri Popelka <jpopelka> | ||||||
Component: | system-config-printer | Assignee: | Tim Waugh <twaugh> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 14 | CC: | jpopelka, twaugh | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | abrt_hash:984c54d958369a27389cadefd911db72de27c7e8 | ||||||||
Fixed In Version: | system-config-printer-1.2.7-2.fc13 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2011-02-07 20:00:59 UTC | Type: | --- | ||||||
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
Jiri Popelka
2010-12-10 12:27:51 UTC
Created attachment 467963 [details]
File: backtrace
Looks like maybe threads 2 and 3 are both using D-Bus at the same time? Probably the troubleshooter needs to be using the newer asyncconn module for asynchronous calling instead of timeops. Created attachment 468371 [details]
another backtrace
In this one, threads 1 and 2 are both using D-Bus at the same time. One work-around would be to change AuthConnFactory so that it creates a cups.Connection instead of an authconn.Connection -- although the side effect would be that authentication would always be denied. An alternative would be to adjust authconn.Connection so that the caller can prevent the underlying object being a cupspk.Connection (which uses D-Bus). The real fix would be to use the proper asynchronous calling interface, asyncconn. Should be fixed by this commit actually: commit 7480e83f04ec73cc1cccbefae440c26b1ba5c5a4 Author: Tim Waugh <twaugh> Date: Thu Dec 16 14:31:04 2010 +0000 Initialise D-Bus threading in timedops module (bug #662047). Initialise threading for D-Bus. This is needed as long as it is used from two separate threads. We only do this in a few places now, but in particular the troubleshooter does this. system-config-printer-1.2.6-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/system-config-printer-1.2.6-1.fc14 system-config-printer-1.2.6-1.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/system-config-printer-1.2.6-1.fc13 system-config-printer-1.2.6-2.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-printer'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/system-config-printer-1.2.6-2.fc13 system-config-printer-1.2.6-3.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. system-config-printer-1.2.7-2.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. |