[Pkg-cups-devel] Bug#525127: cupsd segfaults after multicast

Benoit Panizzon bp at imp.ch
Wed Apr 22 11:16:53 UTC 2009


Package: cups
Version: 1.3.10-1
Severity: normal


Hi, this is a problem I could not yet pinpoint to the real problem.

I use a notebook in different networks where printers are announced by cups servers.

In one of those networks, cups sefaults shortly after starting.
If I unplug the network cable, cups keeps running, until I plug it in again. So it is something on the local
network which causes cups to segfault.

Other machines with lenny and cupsd running on the same network, don't show that problem.

I did a strace:

sendto(12, "\2\1\0\0\221 \0\0\0\0Y\10\0\2en\0a157.161.4.135,"..., 145, MSG_NOSIGNAL, {sa_family=AF_INET, sin_port=htons(427), sin_addr=inet_addr("239.255.255.253")}, 16) = 145                                                                                                       
select(13, [12], NULL, NULL, {1, 500000}) = 0 (Timeout)                                                                                    
close(12)                               = 0                                                                                                
time(NULL)                              = 1240398647
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 12
ioctl(12, SIOCGIFCONF, {64, {{"lo", {AF_INET, inet_addr("127.0.0.1")}}, {"eth0", {AF_INET, inet_addr("157.161.4.177")}}}}) = 0
ioctl(12, SIOCGIFFLAGS, {ifr_name="lo", ifr_flags=IFF_UP|IFF_LOOPBACK|IFF_RUNNING}) = 0
ioctl(12, SIOCGIFFLAGS, {ifr_name="eth0", ifr_flags=IFF_UP|IFF_BROADCAST|IFF_RUNNING|IFF_MULTICAST}) = 0
ioctl(12, SIOCGIFBRDADDR, {ifr_name="eth0", ifr_broadaddr={AF_INET, inet_addr("157.161.4.255")}}) = 0
close(12)                               = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 12
setsockopt(12, SOL_IP, IP_MULTICAST_IF, [-1325096547], 4) = 0
setsockopt(12, SOL_IP, IP_MULTICAST_TTL, [8], 4) = 0
sendto(12, "\2\6\0\0R \0\0\0\0Y\t\0\2en\0\0\0001service:prin"..., 82, MSG_NOSIGNAL, {sa_family=AF_INET, sin_port=htons(427), sin_addr=inet_addr("239.255.255.253")}, 16) = 82
select(13, [12], NULL, NULL, {0, 750000}) = 0 (Timeout)
close(12)                               = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 12
setsockopt(12, SOL_IP, IP_MULTICAST_IF, [-1325096547], 4) = 0
setsockopt(12, SOL_IP, IP_MULTICAST_TTL, [8], 4) = 0
sendto(12, "\2\6\0\0R \0\0\0\0Y\t\0\2en\0\0\0001service:prin"..., 82, MSG_NOSIGNAL, {sa_family=AF_INET, sin_port=htons(427), sin_addr=inet_addr("239.255.255.253")}, 16) = 82
select(13, [12], NULL, NULL, {1, 0})    = 0 (Timeout)
close(12)                               = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 12
setsockopt(12, SOL_IP, IP_MULTICAST_IF, [-1325096547], 4) = 0
setsockopt(12, SOL_IP, IP_MULTICAST_TTL, [8], 4) = 0
sendto(12, "\2\6\0\0R \0\0\0\0Y\t\0\2en\0\0\0001service:prin"..., 82, MSG_NOSIGNAL, {sa_family=AF_INET, sin_port=htons(427), sin_addr=inet_addr("239.255.255.253")}, 16) = 82
select(13, [12], NULL, NULL, {1, 500000}) = 0 (Timeout)
close(12)                               = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

An help appriciated on where to start looking for the cause of that problem.

-Benoit-

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (700, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.29.1 (SMP w/1 CPU core)
Locale: LANG=de_CH, LC_CTYPE=de_CH (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages cups depends on:
ii  adduser              3.110               add and remove users and groups
ii  bc                   1.06.94-3.1         The GNU bc arbitrary precision cal
ii  cups-common          1.3.10-1            Common UNIX Printing System(tm) - 
ii  debconf [debconf-2.0 1.5.26              Debian configuration management sy
ii  ghostscript          8.64~dfsg-1         The GPL Ghostscript PostScript/PDF
ii  libavahi-compat-libd 0.6.25-1            Avahi Apple Bonjour compatibility 
ii  libc6                2.9-7               GNU C Library: Shared libraries
ii  libcups2             1.3.10-1            Common UNIX Printing System(tm) - 
ii  libcupsimage2        1.3.10-1            Common UNIX Printing System(tm) - 
ii  libdbus-1-3          1.2.12-1            simple interprocess messaging syst
ii  libgcc1              1:4.3.3-8           GCC support library
ii  libgnutls26          2.6.5-1             the GNU TLS library - runtime libr
ii  libgssapi-krb5-2     1.6.dfsg.4~beta1-13 MIT Kerberos runtime libraries - k
ii  libijs-0.35          0.35-6              IJS raster image transport protoco
ii  libkrb5-3            1.6.dfsg.4~beta1-13 MIT Kerberos runtime libraries
ii  libldap-2.4-2        2.4.15-1.1          OpenLDAP libraries
ii  libpam0g             1.0.1-9             Pluggable Authentication Modules l
ii  libpaper1            1.1.23+nmu1         library for handling paper charact
ii  libpoppler4          0.10.6-1            PDF rendering library
ii  libslp1              1.2.1-7.5           OpenSLP libraries
ii  libstdc++6           4.3.3-8             The GNU Standard C++ Library v3
ii  lsb-base             3.2-22              Linux Standard Base 3.2 init scrip
ii  perl-modules         5.10.0-19           Core Perl modules
ii  procps               1:3.2.7-11          /proc file system utilities
ii  ssl-cert             1.0.23              simple debconf wrapper for OpenSSL
ii  ttf-freefont         20090104-2          Freefont Serif, Sans and Mono True
ii  xpdf-utils [poppler- 3.02-1.4            Portable Document Format (PDF) sui
ii  zlib1g               1:1.2.3.3.dfsg-13   compression library - runtime

Versions of packages cups recommends:
ii  avahi-utils               0.6.25-1       Avahi browsing, publishing and dis
ii  cups-client               1.3.10-1       Common UNIX Printing System(tm) - 
ii  foomatic-filters          4.0-20090311-1 OpenPrinting printer support - fil
ii  smbclient                 2:3.3.3-1      command-line SMB/CIFS clients for 

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

-- debconf information:
  cupsys/raw-print: true
  cupsys/backend: ipp, lpd, parallel, scsi, serial, socket, usb, snmp, dnssd





More information about the Pkg-cups-devel mailing list