Filter crash signal 11

Kent Kent
Mon Nov 15 14:01:29 PST 2004


You're correct.  The problem was that my filter was closing a garbage file descriptor at exit.  The timing was such that the seg fault occurred just when the socket backend had processed 16384 bytes.
Thanks again.


Michael Sweet wrote:
> Kent Hammerstrom wrote:
> > I developed a filter based on the texttohp filter example in the CUPS
> > book.  The filter processes both text and PCL formatted files.  The
> > PCL files are passed through in 'raw' mode with a short prolog and
> > epilog.  The filter crashes when printing a PCL file longer than
> > 16384 bytes (4k hex).  Is the 4k limit a configurable option?  If
> > not, any suggestions on how to get around this problem.
>
> There is no programmed limit in the CUPS code, so more than likely
> you are running into a bug in your code...
>
> --
> ______________________________________________________________________
> Michael Sweet, Easy Software Products           mike at easysw dot com
> Internet Printing and Document Software          http://www.easysw.com






More information about the cups mailing list