[Bug 936647] Re: parallel goes into endless loop

2012-03-14 Thread Launchpad Bug Tracker
This bug was fixed in the package cups-filters - 1.0.5-1 --- cups-filters (1.0.5-1) unstable; urgency=low * New upstream release - cups-filters 1.0.5 release - pdftops: Added insertion of workaround PostScript code for printers with bugs in their PS interpreters (LP: #

[Bug 936647] Re: parallel goes into endless loop

2012-03-14 Thread Till Kamppeter
I have fixed the problem in cups-filters upstream (1.0.5) now. A Precise package is on its way. Thank you very much for all your work on finding this, Ulf! ** Changed in: cups-filters (Ubuntu) Status: Triaged => Fix Committed -- You received this bug notification because you are a membe

[Bug 936647] Re: parallel goes into endless loop

2012-03-13 Thread Till Kamppeter
** Changed in: cups-filters (Ubuntu) Importance: Undecided => High ** Changed in: cups-filters (Ubuntu) Assignee: (unassigned) => Till Kamppeter (till-kamppeter) ** Changed in: cups-filters (Ubuntu) Milestone: None => ubuntu-12.04-beta-2 -- You received this bug notification because

[Bug 936647] Re: parallel goes into endless loop

2012-03-12 Thread Till Kamppeter
Fix committed to cups-filters upstream. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/936647 Title: parallel goes into endless loop To manage notifications about this bug go to: https://bugs.launch

[Bug 936647] Re: parallel goes into endless loop

2012-03-12 Thread Till Kamppeter
Ulf, thank you, so the patch will get forwarded upstream and added to our package. Thank you very much for the debugging work. The lpstat problem is already solved upstream (http://www.cups.org/str.php?L4033), this will also go into our package. ** Changed in: cups-filters (Ubuntu) Status:

[Bug 936647] Re: parallel goes into endless loop

2012-03-12 Thread Till Kamppeter
One thing about where the stuff goes: The parallel backend is upstream twice: For Ubuntu and Debian it is in cups-filters and for all the other distros in cups. I will apply the patch to cups-filters and report the problem to cups. From CUPS 1.6.x on it will be only in cups-filters. The lpstat pr

[Bug 936647] Re: parallel goes into endless loop

2012-03-12 Thread Ulf Rompe
Yeah, the patch helps! Printing works again. The other problem (authistic lpq and lpstat) remains and seems completely unrelated, so I will file another bug for that. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launch

[Bug 936647] Re: parallel goes into endless loop

2012-03-10 Thread Ubuntu Foundation's Bug Bot
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/936647 Title: parallel goes into endless loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+sou

[Bug 936647] Re: parallel goes into endless loop

2012-03-10 Thread Till Kamppeter
Ulf, can you apply the attached patch to parallel.c and see whether it solves the problem? Thanks. ** Patch added: "parallel-backend-do-not-hang-on-sidechannel.patch" https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/936647/+attachment/2847254/+files/parallel-backend-do-not-hang-on-s

[Bug 936647] Re: parallel goes into endless loop

2012-03-09 Thread Till Kamppeter
The parallel CUPS backend is in the cups-filters package from Precise on, moving ... ** Package changed: cups (Ubuntu) => cups-filters (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/936647 Ti

[Bug 936647] Re: parallel goes into endless loop

2012-03-09 Thread Ulf Rompe
I just compiled parallel.c with debug symbols, installed it and spooled a test page. After it reached the endless loop, I attached gdb to the process and got this backtrace: #0 0x7f20b4d26a93 in select () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x7f20b56901bd in run_loop (print_fd=0, dev

[Bug 936647] Re: parallel goes into endless loop

2012-03-08 Thread Ulf Rompe
Stracing "lpq -a -l" ends with this: socket(PF_FILE, SOCK_STREAM, 0) = 4 setsockopt(4, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 setsockopt(4, SOL_TCP, TCP_NODELAY, [1], 4) = -1 EOPNOTSUPP (Operation not supported) fcntl(4, F_SETFD, FD_CLOEXEC) = 0 connect(4, {sa_family=AF_FILE, pat

[Bug 936647] Re: parallel goes into endless loop

2012-03-08 Thread Ulf Rompe
I seem to suffer from the same problem, so here is what I could find out so far. Attached with strace, this is the only thing that eats up all CPU power: [...] select(6, [0 4], [], NULL, {5, 0}) = 2 (in [0 4], left {4, 98}) poll([{fd=4, events=POLLIN}], 1, 1000) = 1 ([{fd=4, revents=POLL

Re: [Bug 936647] Re: parallel goes into endless loop

2012-02-20 Thread Bernd Schubert
On 02/20/2012 08:11 PM, Till Kamppeter wrote: > Never heard about such behavior, seems really to be the best to attach > it with gdb. Can you do that? I do not have a parallel port printer. > Yes, I can do it. Just need to find the time. For now I reverted back my cups version. Thanks, Bernd

[Bug 936647] Re: parallel goes into endless loop

2012-02-20 Thread Till Kamppeter
Never heard about such behavior, seems really to be the best to attach it with gdb. Can you do that? I do not have a parallel port printer. ** Changed in: cups (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subsc

[Bug 936647] Re: parallel goes into endless loop

2012-02-19 Thread Bernd Schubert
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/936647 Title: parallel goes into endless loop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/936647/+