[Xprint] Re: Hang with "-XpSpoolerType cups"

Roland Mainz roland.mainz at nrubsig.org
Wed Jun 16 07:44:50 EDT 2004


Philip Webley wrote:
>  > Another question is definetely about xprint. When experimenting, I
>  > decided to try option -XpSpoolerType cups. This resulted in deadlocking
>  > of the clients. Even xphelloworld was deadlocked. The printing was done,
>  > but I guess the socket was not closed after it, so the client was
>  > sitting there till the server was terminated. I do have CUPS running so
>  > I find this behaviour kind of strange. As far as I understand the
>  > default value for this option is 'bsd:cups'
> [snip]
> 
> I had the same sort of trouble but was able to fix it by specifying
> 
> *xp-spooler-command: /usr/bin/lp -s
> 
> in /etc/Xprint/C/print/attributes/printer
> 
> This suppresses console output from lp, so it looks like the output
> (printjob ID) from lp is confusing Xprt somehow.

Weired, very weired.

David Schweiger had a good idea - can you try to attach gdb to the Xprt
process and provide a stack trace of the hung Xprt, please ?

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)


More information about the Xprint mailing list