[Pkg-cups-devel] Bug#497492: cupsd: Child exited on signal 13!

Brian May brian at vpac.org
Tue Sep 2 04:14:47 UTC 2008


Package: cups
Version: 1.3.8-1
Severity: grave
Justification: renders package unusable

After upgrading to lenny (several weeks old) to lenny, cups won't start anymore.

sam lintory # /etc/init.d/cups restart
Restarting Common Unix Printing System: cupsdcupsd: Child exited on signal 13!
 failed!


It works fine in the foreground though:

sam lintory # /usr/sbin/cupsd -f 
*** WARNING *** The program 'cupsd' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=cupsd>


I tried downgrading to version 1.3.7-9 again, but it didn't seem to help


I don't think strace helps:

[pid  3977] open("/etc/cups/ppd/DellLaser-CfCP.ppd", O_RDONLY|O_LARGEFILE) = 4
[pid  3977] fcntl64(4, F_GETFD)         = 0
[pid  3977] fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
[pid  3977] read(4, "*PPD-Adobe: \"4.3\"\n*%\n*% For infor"..., 4096) = 4096
[pid  3977] read(4, "eRegion 11x17/11x17: \"<</PageSize"..., 4096) = 4096
[pid  3977] read(4, "ous\n\n*OpenUI *PreFilter/GhostScri"..., 4096) = 2953
[pid  3977] read(4, ""..., 4096)        = 0
[pid  3977] read(4, ""..., 4096)        = 0
[pid  3977] close(4)                    = 0
[pid  3977] access("/usr/lib/cups/filter/foomatic-rip", X_OK) = 0
[pid  3977] readlink("/proc/self/exe", "/usr/sbin/cupsd"..., 1023) = 15
[pid  3977] write(2, "*** WARNING *** The program 'cups"..., 89) = 89
[pid  3977] time(NULL)                  = 1220327944
[pid  3977] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2183, ...}) = 0
[pid  3977] socket(PF_FILE, SOCK_DGRAM, 0) = 4
[pid  3977] fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
[pid  3977] connect(4, {sa_family=AF_FILE, path="/dev/log"...}, 110) = 0
[pid  3977] send(4, "<12>Sep  2 13:59:04 cupsd[3977]: "..., 121, MSG_NOSIGNAL) = 121
[pid  3977] close(4)                    = 0
[pid  3977] write(2, "*** WARNING *** Please fix your a"..., 76) = -1 EPIPE (Broken pipe)
[pid  3977] --- SIGPIPE (Broken pipe) @ 0 (0) ---
Process 3977 detached
<... nanosleep resumed> 0xbfe312e4)     = ? ERESTART_RESTARTBLOCK (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
wait4(-1, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGPIPE}], 0, NULL) = 3977
write(2, "cupsd: Child exited on signal 13!"..., 34cupsd: Child exited on signal 13!

) = 34
exit_group(3)                           = ?


I tried gdb too, but so far can't get it to break at the right point (its been a while since I used
gdb - am I doing something wrong?):


sam lintory # gdb /usr/sbin/cupsd 
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(no debugging symbols found)
(gdb) stop
(gdb) r
Starting program: /usr/sbin/cupsd 
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
cupsd: Child exited on signal 13!

Program exited with code 03.
(gdb) bt
No stack.
(gdb) quit



-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (200, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.16-xen (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cups depends on:
ii  adduser               3.110              add and remove users and groups
ii  cups-common           1.3.8-1            Common UNIX Printing System(tm) - 
ii  debconf [debconf-2.0] 1.5.22             Debian configuration management sy
ii  ghostscript           8.62.dfsg.1-3      The GPL Ghostscript PostScript/PDF
ii  libavahi-compat-libdn 0.6.22-3           Avahi Apple Bonjour compatibility 
ii  libc6                 2.7-13             GNU C Library: Shared libraries
ii  libcups2              1.3.8-1            Common UNIX Printing System(tm) - 
ii  libcupsimage2         1.3.8-1            Common UNIX Printing System(tm) - 
ii  libdbus-1-3           1.2.1-3            simple interprocess messaging syst
ii  libgnutls26           2.4.1-1            the GNU TLS library - runtime libr
ii  libkrb53              1.6.dfsg.4~beta1-4 MIT Kerberos runtime libraries
ii  libldap-2.4-2         2.4.10-3           OpenLDAP libraries
ii  libpam0g              1.0.1-4            Pluggable Authentication Modules l
ii  libpaper1             1.1.23+nmu1        library for handling paper charact
ii  libslp1               1.2.1-7.3          OpenSLP libraries
ii  lsb-base              3.2-19             Linux Standard Base 3.2 init scrip
ii  perl-modules          5.10.0-13          Core Perl modules
ii  procps                1:3.2.7-8          /proc file system utilities
ii  ssl-cert              1.0.22             simple debconf wrapper for OpenSSL
ii  xpdf-utils [poppler-u 3.02-1.3           Portable Document Format (PDF) sui

Versions of packages cups recommends:
pn  avahi-utils           <none>             (no description available)
ii  cups-client           1.3.8-1            Common UNIX Printing System(tm) - 
ii  foomatic-filters      3.0.2-20080211-3.1 OpenPrinting printer support - fil
ii  smbclient             2:3.2.0-4.vpac.1   a LanManager-like simple client fo

Versions of packages cups suggests:
ii  cups-bsd                1.3.8-1          Common UNIX Printing System(tm) - 
pn  cups-driver-gutenprint  <none>           (no description available)
pn  cups-pdf                <none>           (no description available)
ii  foomatic-db             20080211-2       OpenPrinting printer support - dat
ii  foomatic-db-engine      3.0.2-20080211-1 OpenPrinting printer support - pro
pn  hplip                   <none>           (no description available)
pn  xpdf-korean | xpdf-japa <none>           (no description available)

-- debconf information excluded





More information about the Pkg-cups-devel mailing list