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

Brian May brian at vpac.org
Tue Sep 2 08:02:57 UTC 2008


Martin Pitt wrote:
> Ok, so it doesn't sound like another effect of
> http://bugs.debian.org/494168 then.
>   
Yes, the description in the title sounded different. I haven't read the 
details though.

> This is actually quite insightful, thanks. The outer process
> apparently can write to stderr (fd 2) just fine, but the subprocess
> tries to write to stderr which fails. This is probably a filter or a
> backend. The interesting bit is that neither "*** WARNING" nor "Please
> fix your" appears anywhere in the cups source, so maybe you are using
> a third-party driver?
>   
I would assume it is all part of the following message:

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>


No, nothing related installed outside of Debian. Not that I know of anyway...


> How did you do the strace on the backend process, modified the init
> script?
>   

strace -ff cupsd

> Can you please do:
>  * rm /var/log/cups/error_log
>  * set "LogLevel debug" in /etc/cups/cupsd.conf
>  * try to start cups
>
> and send me /var/log/cups/error_log and /etc/cups/cupsd.conf and
> /etc/cups/printers.conf?
>   
I [02/Sep/2008:17:56:57 +1000] Saving job cache file 
"/var/cache/cups/job.cache"...
I [02/Sep/2008:17:57:04 +1000] Listening to :::631 (IPv6)
I [02/Sep/2008:17:57:04 +1000] Listening to 0.0.0.0:631 (IPv4)
I [02/Sep/2008:17:57:04 +1000] Listening to /var/run/cups/cups.sock (Domain)
I [02/Sep/2008:17:57:04 +1000] Loaded configuration file 
"/etc/cups/cupsd.conf"
I [02/Sep/2008:17:57:04 +1000] Using default TempDir of 
/var/spool/cups/tmp...
I [02/Sep/2008:17:57:04 +1000] Configured for up to 100 clients.
I [02/Sep/2008:17:57:04 +1000] Allowing up to 100 client connections per 
host.
I [02/Sep/2008:17:57:04 +1000] Using policy "default" as the default!
I [02/Sep/2008:17:57:04 +1000] Full reload is required.
I [02/Sep/2008:17:57:05 +1000] Loaded MIME database from '/etc/cups': 36 
types, 40 filters...
D [02/Sep/2008:17:57:05 +1000] Loading printer DellLaser-CfCP...

Hmmm. Maybe this is more significant when I run it with -F and it works:

I [02/Sep/2008:17:58:57 +1000] Listening to :::631 (IPv6)
I [02/Sep/2008:17:58:57 +1000] Listening to 0.0.0.0:631 (IPv4)
I [02/Sep/2008:17:58:57 +1000] Listening to /var/run/cups/cups.sock (Domain)
I [02/Sep/2008:17:58:57 +1000] Loaded configuration file 
"/etc/cups/cupsd.conf"
I [02/Sep/2008:17:58:57 +1000] Using default TempDir of 
/var/spool/cups/tmp...
I [02/Sep/2008:17:58:57 +1000] Configured for up to 100 clients.
I [02/Sep/2008:17:58:57 +1000] Allowing up to 100 client connections per 
host.
I [02/Sep/2008:17:58:57 +1000] Using policy "default" as the default!
I [02/Sep/2008:17:58:57 +1000] Full reload is required.
I [02/Sep/2008:17:58:57 +1000] Loaded MIME database from '/etc/cups': 36 
types, 40 filters...
D [02/Sep/2008:17:58:57 +1000] Loading printer DellLaser-CfCP...
W [02/Sep/2008:17:58:57 +1000] DNS-SD registration of "DellLaser-CfCP" 
failed with -65537
D [02/Sep/2008:17:58:57 +1000] Loading printer Fax-CfCP...
W [02/Sep/2008:17:58:57 +1000] DNS-SD registration of "Fax-CfCP" failed 
with -65537
D [02/Sep/2008:17:58:57 +1000] Loading printer Fax-Level1...
W [02/Sep/2008:17:58:57 +1000] DNS-SD registration of "Fax-Level1" 
failed with -65537
D [02/Sep/2008:17:58:57 +1000] Loading printer Fax-Level3...
W [02/Sep/2008:17:58:57 +1000] DNS-SD registration of "Fax-Level3" 
failed with -65537
D [02/Sep/2008:17:58:57 +1000] Loading printer Kyocera-Level3...
W [02/Sep/2008:17:58:57 +1000] DNS-SD registration of "Kyocera-Level3" 
failed with -65537
D [02/Sep/2008:17:58:57 +1000] Loading printer LaserJet-4350-Level3...
W [02/Sep/2008:17:58:57 +1000] DNS-SD registration of 
"LaserJet-4350-Level3" failed with -65537
D [02/Sep/2008:17:58:57 +1000] Loading printer LaserJet-Level1...
W [02/Sep/2008:17:58:57 +1000] DNS-SD registration of "LaserJet-Level1" 
failed with -65537
D [02/Sep/2008:17:58:57 +1000] Loading printer LaserJet2300-Level3...
W [02/Sep/2008:17:58:57 +1000] DNS-SD registration of 
"LaserJet2300-Level3" failed with -65537
D [02/Sep/2008:17:58:57 +1000] Loading printer Oki-C9500...
W [02/Sep/2008:17:58:57 +1000] DNS-SD registration of "Oki-C9500" failed 
with -65537
I [02/Sep/2008:17:58:57 +1000] Loading job cache file 
"/var/cache/cups/job.cache"...
D [02/Sep/2008:17:58:57 +1000] [Job 9960] Loading from cache...

I have no idea what this error code -65537 is, what DNS-SD is, or if it 
is in anyway related. I am very suspicious in any case, it happens about 
the right point. Out of time now, will investigate again tomorrow.

Thanks

Brian May





More information about the Pkg-cups-devel mailing list