Bug 542866
Summary: | Uses cupsSetPasswordCB() which is not reliable with threads | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Kyle Pablo <kylepablo> | ||||||||
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: | 12 | CC: | bugzilla.acct, dmalcolm, ivazqueznet, james.antill, jonathansteffan, jpopelka, katzj, twaugh | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | x86_64 | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | abrt_hash:80275b68bf5961677897637ae8134d62d11004f8 | ||||||||||
Fixed In Version: | 1.1.16-8.fc11 | Doc Type: | Bug Fix | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | |||||||||||
: | 549779 (view as bug list) | Environment: | |||||||||
Last Closed: | 2010-01-15 22:03:51 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: | |||||||||||
Bug Depends On: | |||||||||||
Bug Blocks: | 549779 | ||||||||||
Attachments: |
|
Description
Kyle Pablo
2009-12-01 01:07:59 UTC
Created attachment 374937 [details]
File: backtrace
Thank you for reporting this bug. How reproducable is this problem? If you run the program from a terminal, is an error message printed? What version of system-config-printer do you have installed? Looking at the backtrace, it looks like an incorrect usage of Python's internal thread API was detected in Connection_end_allow_threads in frame #4 of thread #1 Reassigning component from "python" to "system-config-printer" system-config-printer-1.1.13-10.fc12.x86_64 Created attachment 374947 [details]
Error after clicking Forward to get to the Choose Driver box.
That error dialog can be ignored and is not related to the main problem here, the crash. Please run this command from the terminal and try to reproduce the problem: PYCUPS_DEBUG=1 system-config-printer &>debug.txt Are you able to reproduce the crash again? If so, please attach the debug.txt file here. I cannot reproduce the crash. I've attached debug.txt. Created attachment 375251 [details]
debug.txt
Thanks for the debug.txt -- really I need to see one from a run that shows the error though. Looking again at the backtrace it's coming from GUI.fetchDevices() fetching local devices. I can't see anywhere the thread state is mishandled though. :-( Can you remember anything else about when you originally saw the problem? What were you trying to do? Was there anything else unusual that happened? *** Bug 549008 has been marked as a duplicate of this bug. *** I think this might be fixed by upgrading to system-config-printer-1.1.16-1.fc12 which includes pycups-1.9.47. The specific change I hope will fix it is the switch to using cupsSetPasswordCB2() instead of cupsSetPasswordCB(). system-config-printer-1.1.16-1.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/system-config-printer-1.1.16-1.fc11 system-config-printer-1.1.16-1.fc11 has been pushed to the Fedora 11 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: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-13579 system-config-printer-1.1.16-2.fc12 has been pushed to the Fedora 12 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: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-13156 system-config-printer-1.1.16-2.fc11 has been pushed to the Fedora 11 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: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-13579 system-config-printer-1.1.16-6.fc12 has been pushed to the Fedora 12 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: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-13156 system-config-printer-1.1.16-5.fc11 has been pushed to the Fedora 11 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: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-13579 system-config-printer-1.1.16-8.fc11 has been pushed to the Fedora 11 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: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-13579 system-config-printer-1.1.16-8.fc12 has been pushed to the Fedora 12 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: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-13156 system-config-printer-1.1.16-8.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. system-config-printer-1.1.16-8.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. |