[Pkg-cups-devel] Bug#613846: cups: Various segfaults with silent exits, daemon quits

Dominique Brazziel dbrazziel at snet.net
Thu Feb 17 17:20:53 UTC 2011


Package: cups
Version: 1.4.5-2
Severity: important

    After attempting to print the web page at 
http://en.community.dell.com/support-forums/desktop/f/3514/t/17880588.aspx,
the list of available printers stopped after showing 'print to file'
and only after looking around did I notice that the cups daemon was
not running.  Restart attempts failed to bring the daemon up because
the old pid file was still around.  After starting the daemon it kept
failing, not always with a segfault.

    After cleaning out the cups spool totally ('rm -rf *' from
'/var/spool/cups/') and restarting cups with debug turned on
I still experience some cups segfaults, most recently when trying
to display active and/or completed jobs.

Feb 16 11:16:54 asusb202 kernel: [341991.559082] cupsd[7809]: segfault at 7f546a34 ip b89096df sp bfaa34cc error 6
Feb 16 11:53:18 asusb202 kernel: [344175.596479] cupsd[17107]: segfault at 3 ip 00000003 sp bfe1109c error 4 in libnss_files-2.11.2.so[b7083000+a000]
Feb 17 10:22:46 asusb202 kernel: [398579.210319] cupsd[1618]: segfault at 20 ip b78534a9 sp bf82b000 error 4 in cupsd[b7846000+6e000]
Feb 17 12:02:48 asusb202 kernel: [404581.892081] cupsd[1902]: segfault at 72209fa8 ip b74503e2 sp bfbb79cc error 4

    I am attaching the cups log in gzipped format.
-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-interactive-5-atom (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cups depends on:
ii  adduser                 3.112+nmu2       add and remove users and groups
ii  bc                      1.06.95-2        The GNU bc arbitrary precision cal
ii  cups-client             1.4.5-2          Common UNIX Printing System(tm) - 
ii  cups-common             1.4.5-2          Common UNIX Printing System(tm) - 
ii  cups-ppdc               1.4.5-2          Common UNIX Printing System(tm) - 
ii  debconf [debconf-2.0]   1.5.38           Debian configuration management sy
ii  ghostscript             8.71~dfsg2-10    The GPL Ghostscript PostScript/PDF
ii  libavahi-client3        0.6.27-3         Avahi client library
ii  libavahi-common3        0.6.27-3         Avahi common library
ii  libc6                   2.11.2-11        Embedded GNU C Library: Shared lib
ii  libcups2                1.4.5-2          Common UNIX Printing System(tm) - 
ii  libcupscgi1             1.4.5-2          Common UNIX Printing System(tm) - 
ii  libcupsdriver1          1.4.5-2          Common UNIX Printing System(tm) - 
ii  libcupsimage2           1.4.5-2          Common UNIX Printing System(tm) - 
ii  libcupsmime1            1.4.5-2          Common UNIX Printing System(tm) - 
ii  libcupsppdc1            1.4.5-2          Common UNIX Printing System(tm) - 
ii  libdbus-1-3             1.2.24-4         simple interprocess messaging syst
ii  libgcc1                 1:4.4.5-10       GCC support library
ii  libgnutls26             2.8.6-1          the GNU TLS library - runtime libr
ii  libgssapi-krb5-2        1.8.3+dfsg-4     MIT Kerberos runtime libraries - k
ii  libijs-0.35             0.35-7           IJS raster image transport protoco
ii  libkrb5-3               1.8.3+dfsg-4     MIT Kerberos runtime libraries
ii  libldap-2.4-2           2.4.23-7         OpenLDAP libraries
ii  libpam0g                1.1.1-6.1        Pluggable Authentication Modules l
ii  libpaper1               1.1.24           library for handling paper charact
ii  libpoppler5             0.12.4-1.2       PDF rendering library
ii  libslp1                 1.2.1-7.8        OpenSLP libraries
ii  libstdc++6              4.4.5-10         The GNU Standard C++ Library v3
ii  libusb-0.1-4            2:0.1.12-16      userspace USB programming library
ii  lsb-base                3.2-27           Linux Standard Base 3.2 init scrip
ii  poppler-utils           0.12.4-1.2       PDF utilitites (based on libpopple
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            20090104-7       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.27-3      Avahi mDNS/DNS-SD daemon
ii  cups-driver-gutenprint     5.2.6-1       printer drivers for CUPS
ii  foomatic-filters           4.0.5-6       OpenPrinting printer support - fil
ii  ghostscript-cups           8.71~dfsg2-10 The GPL Ghostscript PostScript/PDF

Versions of packages cups suggests:
ii  cups-bsd                  1.4.5-2        Common UNIX Printing System(tm) - 
pn  cups-pdf                  <none>         (no description available)
ii  foomatic-db               20100804-1     OpenPrinting printer support - dat
ii  hplip                     3.10.6-2       HP Linux Printing and Imaging Syst
ii  smbclient                 2:3.5.6~dfsg-5 command-line SMB/CIFS clients for 
ii  udev                      164-3          /dev/ and hotplug management daemo

-- Configuration Files:
/etc/cups/cupsd.conf changed:
LogLevel debug2
MaxLogSize 0
SystemGroup lpadmin
Listen localhost:631
Listen /var/run/cups/cups.sock
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseLocalProtocols CUPS dnssd
DefaultAuthType Basic
<Location />
  Order allow,deny
</Location>
<Location /admin>
  Order allow,deny
</Location>
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
</Location>
<Policy default>
  # Job-related operations must be done by the owner or an administrator...
  <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>
  # All administration operations require an administrator to authenticate...
  <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>
  # All printer operations require a printer operator to authenticate...
  <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>
  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit All>
    Order deny,allow
  </Limit>
</Policy>
<Policy authenticated>
  # Job-related operations must be done by the owner or an administrator...
  <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>
  # All administration operations require an administrator to authenticate...
  <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>
  # All printer operations require a printer operator to authenticate...
  <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>
  # Only the owner or an administrator can cancel or authenticate a job...
  <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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debug.log
Type: application/x-gzip
Size: 183880 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cups-devel/attachments/20110217/36f0ff5b/attachment-0001.bin>


More information about the Pkg-cups-devel mailing list