[cups.bugs] [CRIT] STR #2549: CUPS 1.3.3 compressed IPP from server causes 1.2.8 clients to segfault

Michael Adams madams at ezrac.com
Sat Oct 6 10:47:55 PDT 2007


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

On two systems at the company I work for (both running Ubuntu Linux 7.04
with CUPS 1.2.8), when I tried to setup IPP print jobs with the
compression=gzip option, the clients develop a segfault. Furthermore,
rebooting does not solve this issue. If I replaced the file that gets
deleted and delete the printers.conf, CUPS does start working again.

--- corrective actions ---

*The corrupt system was missing /usr/bin/cupsdoprint: I replaced it with a
good copy.
*I deleted /etc/cups/printers.conf on the corrupt system.

--- output from error_log (before fix) ---

I [05/Oct/2007:17:04:54 -0400] Listening to :::631 (IPv6)
I [05/Oct/2007:17:04:54 -0400] Listening to 0.0.0.0:631 (IPv4)
I [05/Oct/2007:17:04:54 -0400] Listening to /var/run/cups/cups.sock
(Domain)
I [05/Oct/2007:17:04:54 -0400] Loaded configuration file
"/etc/cups/cupsd.conf"
I [05/Oct/2007:17:04:54 -0400] Using default TempDir of
/var/spool/cups/tmp...
I [05/Oct/2007:17:04:54 -0400] Cleaning out old temporary files in
"/var/spool/cups/tmp"...
I [05/Oct/2007:17:04:54 -0400] Configured for up to 100 clients.
I [05/Oct/2007:17:04:54 -0400] Allowing up to 100 client connections per
host.
I [05/Oct/2007:17:04:54 -0400] Using policy "default" as the default!
I [05/Oct/2007:17:04:54 -0400] Full reload is required.
I [05/Oct/2007:17:04:54 -0400] Loaded MIME database from
'/usr/share/cups/mime:/etc/cups': 34 types, 39 filters...
I [05/Oct/2007:17:04:54 -0400] Loading NextJobId from job cache file
"/var/cache/cups/job.cache"...
I [05/Oct/2007:17:04:54 -0400] Full reload complete.
I [05/Oct/2007:17:04:54 -0400] Listening to :::631 on fd 5...
I [05/Oct/2007:17:04:54 -0400] Listening to 0.0.0.0:631 on fd 6...
I [05/Oct/2007:17:04:54 -0400] Listening to /var/run/cups/cups.sock on fd
7...

--- output of error_log (after fix) ---

I [05/Oct/2007:17:22:50 -0400] Full reload complete.
I [05/Oct/2007:17:22:50 -0400] Listening to :::631 on fd 5...
I [05/Oct/2007:17:22:50 -0400] Listening to 0.0.0.0:631 on fd 6...
I [05/Oct/2007:17:22:50 -0400] Listening to /var/run/cups/cups.sock on fd
7...
W [05/Oct/2007:17:22:50 -0400] Printer/class (null) has gone away;
canceling job 1160!
E [05/Oct/2007:17:22:50 -0400] Unable to open job control file
"/var/spool/cups/c01160" - No such file or directory!
I [05/Oct/2007:17:23:05 -0400] Listening to :::631 (IPv6)
I [05/Oct/2007:17:23:05 -0400] Listening to 0.0.0.0:631 (IPv4)
I [05/Oct/2007:17:23:05 -0400] Listening to /var/run/cups/cups.sock
(Domain)
I [05/Oct/2007:17:23:05 -0400] Loaded configuration file
"/etc/cups/cupsd.conf"
I [05/Oct/2007:17:23:05 -0400] Using default TempDir of
/var/spool/cups/tmp...
I [05/Oct/2007:17:23:05 -0400] Cleaning out old temporary files in
"/var/spool/cups/tmp"...
I [05/Oct/2007:17:23:05 -0400] Configured for up to 100 clients.
I [05/Oct/2007:17:23:05 -0400] Allowing up to 100 client connections per
host.
I [05/Oct/2007:17:23:05 -0400] Using policy "default" as the default!
I [05/Oct/2007:17:23:05 -0400] Full reload is required.
I [05/Oct/2007:17:23:05 -0400] Loaded MIME database from
'/usr/share/cups/mime:/etc/cups': 34 types, 39 filters...
I [05/Oct/2007:17:23:05 -0400] Loading NextJobId from job cache file
"/var/cache/cups/job.cache"...
I [05/Oct/2007:17:23:05 -0400] Full reload complete.
I [05/Oct/2007:17:23:05 -0400] Listening to :::631 on fd 2...
I [05/Oct/2007:17:23:05 -0400] Listening to 0.0.0.0:631 on fd 3...
I [05/Oct/2007:17:23:05 -0400] Listening to /var/run/cups/cups.sock on fd
4...
I [05/Oct/2007:17:23:39 -0400] commptr=""
I [05/Oct/2007:17:23:39 -0400] Started
"/usr/lib/cups/cgi-bin/printers.cgi" (pid=5459)
I [05/Oct/2007:17:23:42 -0400] commptr=""
I [05/Oct/2007:17:23:42 -0400] Started "/usr/lib/cups/cgi-bin/jobs.cgi"
(pid=5460)
I [05/Oct/2007:17:23:44 -0400] commptr="?which_jobs=all"
I [05/Oct/2007:17:23:44 -0400] Started "/usr/lib/cups/cgi-bin/jobs.cgi"
(pid=5461)
I [05/Oct/2007:17:24:56 -0400] cupsdCloseClient: SSL shutdown successful!
I [05/Oct/2007:17:24:56 -0400] cupsdCloseClient: SSL shutdown successful!

Link: http://www.cups.org/str.php?L2549
Version: 1.3.3





More information about the cups mailing list