[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#497492: cupsd: Child exited on signal 13!



severity 497492 important
tag 497492 moreinfo
thanks

Hi Brian,

thank you for your report.

Brian May [2008-09-02 14:14 +1000]:
> Justification: renders package unusable

I downgraded the severity because it really does not affect everyone.

> It works fine in the foreground though:
> 
> I tried downgrading to version 1.3.7-9 again, but it didn't seem to help

Ok, so it doesn't sound like another effect of
http://bugs.debian.org/494168 then.
 
> I don't think strace helps:
> 
> [pid  3977] write(2, "*** WARNING *** The program 'cups"..., 89) = 89
> [...]
> [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

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?

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

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?

Thanks,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

Attachment: signature.asc
Description: Digital signature


Reply to: