Bug 474362
Summary: | hp backend crashes when dbus not running | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Pete Wyckoff <pw> | ||||
Component: | hplip | Assignee: | Tim Waugh <twaugh> | ||||
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 10 | CC: | mlichvar, twaugh | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 2.8.12-6.fc10 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-03-13 18:35:01 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: |
|
Thanks for the patch. hplip-2.8.12-1.fc10 has been pushed to the Fedora 10 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 hplip'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2008-11236 hplip-2.8.12-5.fc10 has been pushed to the Fedora 10 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 hplip'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2008-11236 hplip-2.8.12-6.fc10 has been pushed to the Fedora 10 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 hplip'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2008-11236 hplip-2.8.12-6.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 325540 [details] hplip dbus bug patch Description of problem: HP backend crashes if dbus (messagebus) is not running. Version-Release number of selected component (if applicable): hplip-2.8.7-3 How reproducible: every time Steps to Reproduce: 1. configure a printer to use hp:/net/hp_LaserJet_... 2. print to it Additional info: /var/log/cups/error_log: I [03/Dec/2008:08:54:22 -0500] [Job 47] Started backend /usr/lib/cups/backend/hp (PID 9219) E [03/Dec/2008:08:54:23 -0500] PID 9219 (/usr/lib/cups/backend/hp) crashed on signal 6! I [03/Dec/2008:08:54:23 -0500] Hint: Try setting the LogLevel to "debug" to find out more. I [03/Dec/2008:08:54:44 -0500] [Job 47] Backend returned status -6 (crashed) /var/log/messages: Dec 3 08:54:23 host hp_LaserJet_9050_MFP?ip=10.62.229.18: prnt/backend/hp.c 528: dBus Connection Error (Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused)! strace shows that it is libdbus that is killing hplip with SIGABRT: 9219 write(2, "process 9219: "..., 14 <unfinished ...> 9219 write(2, "arguments to dbus_connection_send() were incorrect, assertion \"connection != NULL\" failed in file dbus-connection.c line 3099.\nThis is normally a bug in some application using the D-Bus library.\n"..., 195 <unfinished ...> 9219 write(2, " D-Bus not built with -rdynamic so unable to print a backtrace\n"..., 64 <unfinished ...> 9219 rt_sigprocmask(SIG_UNBLOCK, [ABRT], <unfinished ...> 9219 tgkill(9219, 9219, SIGABRT <unfinished ...> 9219 --- SIGABRT (Aborted) @ 0 (0) --- Patch attached that makes hplip avoid sending messages to dbus if the connection attempt was unsuccessful.