--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: /usr/sbin/cupsd: segfault in libavahi-common
- From: Daniel Dickinson <daniel@cshore.neomailbox.net>
- Date: Wed, 20 Jul 2011 22:54:26 -0400
- Message-id: <20110721025426.29216.37568.reportbug@daniloth>
Package: cups
Version: 1.4.7-1
Severity: important
File: /usr/sbin/cupsd
Unplugging the printer (HP OfficeJet J4580 All-in-One) results in segault in libavahi (see logs below)
In addition (not sure if related), attempting to print from Iceweasel or Evince results in part of a page being printed then timeout and the following messages after the segfault syslogs below.
Segfault Syslog
---------------
Jul 20 22:36:07 daniloth kernel: [ 671.243053] usb 2-1: USB disconnect, device number 2
Jul 20 22:36:07 daniloth udev-configure-printer: remove /devices/pci0000:00/0000:00:13.2/usb2/2-1
Jul 20 22:36:07 daniloth udev-configure-printer: Queue ipp://localhost:631/printers/Officejet-J4500-series has matching device URI
Jul 20 22:36:07 daniloth udev-configure-printer: Disabled printer ipp://localhost:631/printers/Officejet-J4500-series as the corresponding device was unplugged or turned off
Jul 20 22:36:07 daniloth udev-configure-printer: Queue ipp://localhost:631/printers/Officejet-J4500-series-Fax has matching device URI
Jul 20 22:36:07 daniloth udev-configure-printer: Disabled printer ipp://localhost:631/printers/Officejet-J4500-series-Fax as the corresponding device was unplugged or turned off
Jul 20 22:36:09 daniloth kernel: [ 673.016125] usb 2-1: new high speed USB device number 6 using ehci_hcd
Jul 20 22:36:09 daniloth kernel: [ 673.149700] usb 2-1: New USB device found, idVendor=03f0, idProduct=2a12
Jul 20 22:36:09 daniloth kernel: [ 673.149711] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul 20 22:36:09 daniloth kernel: [ 673.149719] usb 2-1: Product: Officejet J4500 series
Jul 20 22:36:09 daniloth kernel: [ 673.149725] usb 2-1: Manufacturer: HP
Jul 20 22:36:09 daniloth kernel: [ 673.149730] usb 2-1: SerialNumber: CN9CHD31FB052T
Jul 20 22:36:09 daniloth mtp-probe: checking bus 2, device 6: "/sys/devices/pci0000:00/0000:00:13.2/usb2/2-1"
Jul 20 22:36:09 daniloth mtp-probe: bus: 2, device: 6 was not an MTP device
Jul 20 22:36:09 daniloth udev-configure-printer: add /devices/pci0000:00/0000:00:13.2/usb2/2-1/2-1:1.1
Jul 20 22:36:09 daniloth udev-configure-printer: parent devpath is /devices/pci0000:00/0000:00:13.2/usb2/2-1
Jul 20 22:36:09 daniloth udev-configure-printer: Device vendor/product is 03F0:2A12
Jul 20 22:36:09 daniloth udev-configure-printer: MFG:HP MDL:Officejet J4500 series SERN:CN9CHD31FB052T serial:CN9CHD31FB052T
Jul 20 22:36:10 daniloth kernel: [ 674.456179] usb 2-1: usbfs: process 27771 (usb) did not claim interface 0 before use
Jul 20 22:36:10 daniloth hp[27767]: io/hpmud/pp.c 627: unable to read device-id ret=-1
Jul 20 22:36:11 daniloth python: io/hpmud/pp.c 627: unable to read device-id ret=-1
Jul 20 22:36:25 daniloth udev-configure-printer: SERN fields match
Jul 20 22:36:25 daniloth udev-configure-printer: URI match: usb://HP/Officejet%20J4500%20series?serial=CN9CHD31FB052T&interface=1
Jul 20 22:36:25 daniloth udev-configure-printer: SERN fields match
Jul 20 22:36:25 daniloth udev-configure-printer: URI match: hp:/usb/Officejet_J4500_series?serial=CN9CHD31FB052T
Jul 20 22:36:25 daniloth udev-configure-printer: hp:/usb/Officejet_J4500_series?serial=CN9CHD31FB052T twinned with hpfax:/usb/Officejet_J4500_series?serial=CN9CHD31FB052T
Jul 20 22:36:25 daniloth udev-configure-printer: Queue ipp://localhost:631/printers/Officejet-J4500-series has matching device URI
Jul 20 22:36:25 daniloth udev-configure-printer: Re-enabled printer ipp://localhost:631/printers/Officejet-J4500-series
Jul 20 22:36:25 daniloth udev-configure-printer: Queue ipp://localhost:631/printers/Officejet-J4500-series-Fax has matching device URI
Jul 20 22:36:25 daniloth kernel: [ 689.475096] cupsd[3864]: segfault at d0 ip 00007fe0d98e3ff6 sp 00007fffdc201e58 error 4 in libavahi-common.so.3.5.3[7fe0d98df000+c000]
Printing Failure Timeout Messages - repeated every 30 seconds until cups or hplip gives up.
---------------------------------
Jul 20 21:25:13 daniloth hp[7158]: io/hpmud/musb.c 1420: unable to write data hp:/usb/Officejet_J4500_series?serial=CN9CHD31FB052T: 45 second io timeout
Jul 20 21:25:27 daniloth hp[9502]: prnt/backend/hp.c 772: INFO: open print channel failed stat=21; will retry in 30 seconds...
-- System Information:
Debian Release: wheezy/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'testing'), (100, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.39-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages cups depends on:
ii adduser 3.113 add and remove users and groups
ii bc 1.06.95-2 The GNU bc arbitrary precision cal
ii cups-client 1.4.7-1 Common UNIX Printing System(tm) -
ii cups-common 1.4.7-1 Common UNIX Printing System(tm) -
ii cups-ppdc 1.4.7-1 Common UNIX Printing System(tm) -
ii debconf [debconf-2.0] 1.5.40 Debian configuration management sy
ii ghostscript 9.02~dfsg-3 interpreter for the PostScript lan
ii libacl1 2.2.51-2 Access control list shared library
ii libavahi-client3 0.6.30-5 Avahi client library
ii libavahi-common3 0.6.30-5 Avahi common library
ii libc6 2.13-7 Embedded GNU C Library: Shared lib
ii libcups2 1.4.7-1 Common UNIX Printing System(tm) -
ii libcupscgi1 1.4.7-1 Common UNIX Printing System(tm) -
ii libcupsdriver1 1.4.7-1 Common UNIX Printing System(tm) -
ii libcupsimage2 1.4.7-1 Common UNIX Printing System(tm) -
ii libcupsmime1 1.4.7-1 Common UNIX Printing System(tm) -
ii libcupsppdc1 1.4.7-1 Common UNIX Printing System(tm) -
ii libdbus-1-3 1.4.12-5 simple interprocess messaging syst
ii libgcc1 1:4.6.1-4 GCC support library
ii libgnutls26 2.10.5-2 the GNU TLS library - runtime libr
ii libgssapi-krb5-2 1.9.1+dfsg-1+b1 MIT Kerberos runtime libraries - k
ii libijs-0.35 0.35-7 IJS raster image transport protoco
ii libkrb5-3 1.9.1+dfsg-1+b1 MIT Kerberos runtime libraries
ii liblcms1 1.18.dfsg-1.2+b4 Color management library
ii libldap-2.4-2 2.4.25-1+b1 OpenLDAP libraries
ii libpam0g 1.1.3-2 Pluggable Authentication Modules l
ii libpaper1 1.1.24+nmu1 library for handling paper charact
ii libpoppler13 0.16.7-2 PDF rendering library
ii libslp1 1.2.1-7.8 OpenSLP libraries
ii libstdc++6 4.6.1-4 GNU Standard C++ Library v3
ii libusb-0.1-4 2:0.1.12-18 userspace USB programming library
ii lsb-base 3.2-27 Linux Standard Base 3.2 init scrip
ii poppler-utils 0.16.7-2 PDF utilities (based on Poppler)
ii procps 1:3.2.8-10 /proc file system utilities
ii ssl-cert 1.0.28 simple debconf wrapper for OpenSSL
ii ttf-freefont 20100919-1 Freefont Serif, Sans and Mono True
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages cups recommends:
ii avahi-daemon 0.6.30-5 Avahi mDNS/DNS-SD daemon
ii cups-driver-gutenprint 5.2.6-1 printer drivers for CUPS
ii foomatic-filters 4.0.7-1 OpenPrinting printer support - fil
ii ghostscript-cups 9.02~dfsg-3 interpreter for the PostScript lan
Versions of packages cups suggests:
ii cups-bsd 1.4.7-1 Common UNIX Printing System(tm) -
ii cups-pdf 2.5.1-3 PDF printer for CUPS
ii foomatic-db 20110617-1 OpenPrinting printer support - dat
ii hplip 3.11.5-2 HP Linux Printing and Imaging Syst
ii smbclient 2:3.5.8~dfsg-5 command-line SMB/CIFS clients for
ii udev 171-3 /dev/ and hotplug management daemo
-- Configuration Files:
/etc/cups/cupsd.conf changed:
LogLevel warn
MaxLogSize 0
SystemGroup lpadmin
Port 631
Listen /var/run/cups/cups.sock
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseRemoteProtocols CUPS dnssd
BrowseAddress @LOCAL
BrowseLocalProtocols CUPS dnssd
DefaultAuthType Basic
<Location />
# Allow remote access...
Order allow,deny
Allow all
</Location>
<Location /admin>
</Location>
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
</Location>
<Policy default>
<Limit Create-Job Print-Job Print-URI Validate-Job>
Order deny,allow
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
<Policy authenticated>
<Limit Create-Job Print-Job Print-URI Validate-Job>
AuthType Default
Order deny,allow
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Cancel-Job CUPS-Authenticate-Job>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
-- debconf information:
cupsys/raw-print: true
cupsys/backend: ipp, lpd, parallel, scsi, serial, socket, usb, snmp, dnssd
--- End Message ---
--- Begin Message ---
- To: 634937-done@bugs.debian.org
- Subject: Re: Bug#634937: /usr/sbin/cupsd: segfault in libavahi-common
- From: Brian Potkin <claremont102@gmail.com>
- Date: Tue, 4 Jun 2013 12:37:10 +0100
- Message-id: <20130604113710.GB7183@desktop>
- In-reply-to: <20110721025426.29216.37568.reportbug@daniloth>
- References: <20110721025426.29216.37568.reportbug@daniloth>
Dear Debian User,
Further information on your issue was requested some time ago but there
has been no response from you. Use of our limited, volunteer supported
resources is best served by not keeping open inactive bugs any longer
than desirable, especially when the package concerned is older than the
current stable Debian version. Consequently, the report is now being
closed.
You may, of course, wish to review the reported problem. It would be
appreciated if any future investigation could be conducted using the
testing or unstable distributions. If considered necessary, this report
could be re-opened or a new bug report, possibly referencing this one,
submitted. Please note there are now separate cups and cups-filters
packages.
Thank you for your report.
Regards,
Brian.
--- End Message ---