Package: cups Version: 1.5.3-5 Followup-For: Bug #549050 I'm not sure this bug was fixed in 1.4.4-1, at least not in the Debian package (the report that it was fixed came from an Ubuntu user). I'm experiencing what seems to be the same problem as described previously in this report.
cupsd segfaults every time I do 'service cups reload' on this machine. Reload also happens daily due to logrotate, so cups is frequently not running when it's supposed to be. This system has no printers directly attached, it just uses network printers. Another wheezy system, with the same version of cups, with a printer attached, doesn't segfault on cups reload. kenyon@einstein ~ % zgrep "segfault" $(echo /var/log/all.log* | tr ' ' '\n' | sort --reverse --version-sort) /var/log/all.log.5.gz:2013-07-26T06:25:08.883055-07:00 einstein kernel: [2646982.277299] cupsd[21582]: segfault at 0 ip 00007f5a1e0e4fc7 sp 00007fffb99015b8 error 4 in libcups.so.2[7f5a1e0a5000+53000] /var/log/all.log.3.gz:2013-07-28T06:25:08.231050-07:00 einstein kernel: [2819683.726579] cupsd[19538]: segfault at 0 ip 00007f83c1e1dfc7 sp 00007fffc01cc1c8 error 4 in libcups.so.2[7f83c1dde000+53000] /var/log/all.log:2013-07-31T00:10:45.619051-07:00 einstein kernel: [3056287.088650] cupsd[21252]: segfault at 0 ip 00007f56751e0fc7 sp 00007fff012cc1c8 error 4 in libcups.so.2[7f56751a1000+53000] /var/log/all.log:2013-07-31T00:57:56.419067-07:00 einstein kernel: [3059116.282068] cupsd[3401]: segfault at 0 ip 00007f6b8c982fc7 sp 00007fff2f29ed38 error 4 in libcups.so.2[7f6b8c943000+53000] /var/log/all.log:2013-07-31T01:14:17.583085-07:00 einstein kernel: [3060096.893996] cupsd[13299]: segfault at 0 ip 00007fb1011f4fc7 sp 00007fffcb5e5d68 error 4 in libcups.so.2[7fb1011b5000+53000] Here is a backtrace of the segfault: #0 0x00007f93576f7475 in raise () from /lib/x86_64-linux-gnu/libc.so.6 No symbol table info available. #1 0x00007f93576fa6f0 in abort () from /lib/x86_64-linux-gnu/libc.so.6 No symbol table info available. #2 0x00007f935773252b in ?? () from /lib/x86_64-linux-gnu/libc.so.6 No symbol table info available. #3 0x00007f935773bd76 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 No symbol table info available. #4 0x00007f935957028d in mime_delete_rules (rules=<optimized out>) at mime.c:662 next = 0x51 #5 0x00007f9359570335 in mimeDeleteType (mime=<optimized out>, mt=0x7f935b1e45b0) at mime.c:184 No locals. #6 0x00007f93599e6aa3 in cupsdDeletePrinter (p=0x7f935b1e9c00, update=update@entry=0) at printers.c:919 i = <optimized out> changed = 0 #7 0x00007f93599e6cda in cupsdDeleteAllPrinters () at printers.c:714 p = <optimized out> #8 0x00007f93599c6225 in cupsdReadConfiguration () at conf.c:1432 type = <optimized out> mimetype = "\000\210\261\203\377\177\000\000\360\207\261\203\377\177\000\000\025\000\000\000\000\000\000\000p\211\261\203\377\177\000\000\000\210\261\203\377\177\000\000\t\210pW\223\177\000\000\212˞Y", '\000' <repeats 12 times>, "\001", '\000' <repeats 15 times>"\212, ˞Y\223\177\000\000<\316pW\223\177\000\000LT\034X\223\177\000\000d\000\000\000\227\206\261\203\330\205\261\203", '\000' <repeats 12 times>, "0T\034X\223\177\000\000\000\000\000\000\267\206\261\203", '\000' <repeats 40 times>, " ", '\000' <repeats 11 times>, "\001\000\000\000\270\206\261\203\000\000\000\000\377\377\377\377\377\377\377\377", '\000' <repeats 12 times>, "\001", '\000' <repeats 11 times>, "2013\n\000\000\000\267\206\261\203\377\177\000\000\000\206\261\203\377\177\000\000\000\000\000\000\000\000\000" i = <optimized out> fp = <optimized out> status = <optimized out> temp = "/var/cache/cups/rss\000\000\177\000\000d\000\000\000\000\000\000\000\230\206\261\203\377\177\000\000<\316pW\223\177\000\000\211˞Y\223\177\000\000d\000\000\000\000\000\000\000\270\206\261\203\377\177\000\000\000\000\000\000\000\000\000\000\177˞Y\223\177", '\000' <repeats 22 times>, "\t", '\000' <repeats 107 times>, "0\340\245W\223\177\000\000\001", '\000' <repeats 23 times>, "\002", '\000' <repeats 15 times>"\200, \224)W\223\177\000\000\361\000\000\000\000\000\000\000\332&\244Y\000\000\000\000\000rrr\000\000\000\000\001\003\267\335\000\000\000\000Sa\036\026\000\000\000\000&\267\003\r\000\000\000\000\020\000\000\000\000\000\000\000D\000\"[\223\177\000\000 \211\261\203\377\177\000\000\361F\336\340\000\000\000\000\361F\336\340\000\000\000\000\200\234)W\223\177\000\000\200\240)W\223"... mimedir = "\000\000End of \"$Id$\".\000ol/cups/tmp\000urity reasons...\000tandard (public) temporary\000 on\000ue\000\060<KW\223\177\000\060\340\315\037[\223\177\000\000L\320\037[\223\177\000\000\237\366'W\223\177\000\000SXPFD\003\000\000\a\000\000\000\000\000\000\000(\000\000\000\060\000\000\000P\212\261\203\377\177\000\000\220\211\261\203\377\177\000\000\000\000\000\000\000\000\000\000\003", '\000' <repeats 147 times>, "秎\257\035\257\374}\277i\210\312?3bƄ\314װ8\023_\036\200", '\000' <repeats 12 times>"\210, \261\203\377\177\000\000`\212\261\203\377\177\000\000\360\210\261\203\377\177\000\000\001\000\000\000\000\000\000\000p\211\261\203\377\177\000\000\377\003\000\000\000\000\000\000"... slash = <optimized out> language = <optimized out> user = <optimized out> group = <optimized out> old_serverroot = 0x7f935b1b0154 "/etc/cups" old_requestroot = 0x7f935b1bdb14 "/var/spool/cups" old_remote_port = 0 tmpdir = <optimized out> tmpinfo = {st_dev = 140270815171665, st_ino = 0, st_nlink = 0, st_mode = 0, st_uid = 0, st_gid = 0, __pad0 = 0, st_rdev = 0, st_size = 0, st_blksize = -8957231029693710336, st_blocks = 0, st_atim = {tv_sec = 0, tv_nsec = 0}, st_mtim = {tv_sec = 0, tv_nsec = 0}, st_ctim = {tv_sec = 48, tv_nsec = 140735402837984}, __unused = {140735402837464, -1, 34}} p = <optimized out> #9 0x00007f93599b4802 in main (argc=<optimized out>, argv=<optimized out>) at main.c:817 i = 11896 opt = <optimized out> fg = <optimized out> fds = 2 con = <optimized out> job = <optimized out> lis = <optimized out> current_time = <optimized out> activity = <optimized out> avahi_client_time = 1375257765 browse_time = 1375257769 senddoc_time = 1375257765 expire_time = 1375257769 report_time = 0 event_time = 1375257698 timeout = <optimized out> limit = {rlim_cur = 4096, rlim_max = 4096} action = {__sigaction_handler = {sa_handler = 0x7f93599d0690 <sigterm_handler>, sa_sigaction = 0x7f93599d0690 <sigterm_handler>}, sa_mask = {__val = {81920, 0 <repeats 15 times>}}, sa_flags = 0, sa_restorer = 0} run_as_child = 1375257765 netif_time = 1375257765 tmo = <optimized out> tmo_delay = 0 -- System Information: Debian Release: 7.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable'), (50, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages cups depends on: ii adduser 3.113+nmu3 ii bc 1.06.95-2+b1 ii cups-client 1.5.3-5 ii cups-common 1.5.3-5 ii cups-filters 1.0.18-2.1 ii cups-ppdc 1.5.3-5 ii debconf [debconf-2.0] 1.5.49 ii dpkg 1.16.10 ii ghostscript 9.05~dfsg-6.3+deb7u1 ii libavahi-client3 0.6.31-2 ii libavahi-common3 0.6.31-2 ii libc-bin 2.13-38 ii libc6 2.13-38 ii libcups2 1.5.3-5 ii libcupscgi1 1.5.3-5 ii libcupsimage2 1.5.3-5 ii libcupsmime1 1.5.3-5 ii libcupsppdc1 1.5.3-5 ii libdbus-1-3 1.6.8-1+deb7u1 ii libgcc1 1:4.7.2-5 ii libgnutls26 2.12.20-7 ii libgssapi-krb5-2 1.10.1+dfsg-5+deb7u1 ii libkrb5-3 1.10.1+dfsg-5+deb7u1 ii libldap-2.4-2 2.4.31-1+nmu2 ii libpam0g 1.1.3-7.1 ii libpaper1 1.1.24+nmu2 ii libslp1 1.2.1-9 ii libstdc++6 4.7.2-5 ii libusb-1.0-0 2:1.0.11-1 ii lsb-base 4.1+Debian8+deb7u1 ii poppler-utils 0.18.4-6 ii procps 1:3.3.3-3 ii ssl-cert 1.0.32 Versions of packages cups recommends: ii avahi-daemon 0.6.31-2 ii colord 0.1.21-1 ii foomatic-filters 4.0.17-1 ii ghostscript-cups 9.05~dfsg-6.3+deb7u1 ii printer-driver-gutenprint 5.2.9-1 Versions of packages cups suggests: pn cups-bsd <none> pn cups-pdf <none> ii foomatic-db-compressed-ppds [foomatic-db] 20120523-1 ii hplip 3.12.6-3.1 ii printer-driver-hpcups 3.12.6-3.1 ii smbclient 2:3.6.6-6 ii udev 175-7.2 -- debconf information: * cupsys/raw-print: true * cupsys/backend: ipp, lpd, socket, usb, snmp, dnssd -- Kenyon Ralph
signature.asc
Description: Digital signature