queue stuck by endless loop in ipp process

Alexandros Karypidis akarypid at y-ah-oo.nospa/\m.com
Tue Nov 16 12:35:47 PST 2004


Hi all,

I have a CUPS server managing 5 printers. One of the queues (for a Xerox M35
multi-function copier) does not work.

When I submit a job from a Linux client, the ipp process launched to process
the job gets stuck in an endless loop. Jobs submited by windows clients
print just fine. Here is where the ipp process is stuck:

============================================================
server:~ # ps -ef | grep 27828
root     27828  1082 15 16:59 ?        00:00:54 ipp://printerIPaddr:631/
24749 karypid KDE Print System1 Duplex=DuplexNoTumble PageSize=A4
orientation-requested=3

server:~ # strace -p 27828
time(NULL)                              = 1100617483
recv(3, "", 2048, 0)                    = 0
time(NULL)                              = 1100617483
recv(3, "", 2048, 0)                    = 0
.... // infinite number of times, I press Ctrl-C to stop

server:~ # gdb -p 27828 /usr/lib/cups/backend/ipp
(gdb) bt
#0  0x4016a726 in recv () from /lib/libc.so.6
#1  0x4001c3b1 in httpGets () from /usr/lib/libcups.so.2
#2  0x4001be4c in httpRead () from /usr/lib/libcups.so.2
#3  0x4001fd52 in ipp_read () from /usr/lib/libcups.so.2
#4  0x4001e739 in ippRead () from /usr/lib/libcups.so.2
#5  0x400276b8 in cupsDoFileRequest () from /usr/lib/libcups.so.2
#6  0x08049e9e in cupsTempFd ()
#7  0x4009d8ae in __libc_start_main () from /lib/libc.so.6
server:~ #
============================================================

The server runs CUPS 1.1.18 from a SuSE 8.2 RPM.
The clients are Gentoo PCs using version 1.1.20 from an ebuild.

All other printer queues run fine. Also, as I already mentioned, the
problematic queue is able to process jobs by Windows clients with no
problems whatsoever.

Any ideas?

-- 
In theory, there is no difference between theory and practice. In practice,
there is. -- Yogi Berra.




More information about the cups mailing list