Trying one more time.

NOTE: I am using "LogLevel Debug" in my cups.conf file, *exactly* as
requested.

This time, since I have now learned that the error_log file size changes
many times, and that the contents of it are lost as the file is
truncated, fills up, is truncated again, and so on, I captured it
differently.

Here's what I did:

cupsys stop
modify cupsd.conf to contain "LogLevel debug"
verify that error_log is empty
tail -f /var/log/cups/error_log >/tmp/cups.error.log.tail  (in another window)
cupsys start
lp textfile (in another window)
<<wait a while>>
cancel print job
cupsys stop
abort the tail -f
restore state of cupsd.conf and restart cupsd

What this caught was roughly the first 1MB of the contents of error_log.
Something must truncate that log automatically when it grows to some
large size (like 1MB) in the ubuntu system, but this captured the first
1MB of data within the error_log file.

I then edited that file and found that once Ghostscript is invoked, it
appears to go into an infinite loop.  The following lines appear over
and over - thousands of times - in the file:

D [14/Mar/2008:16:59:55 -0700] [Job 56] GPL Ghostscript SVN PRE-RELEASE 8.61: 
DEBUG2: cups_get_matrix(0x809e344, 0x81e54b4)
D [14/Mar/2008:16:59:55 -0700] [Job 56] cups->header.Duplex = 0
D [14/Mar/2008:16:59:55 -0700] [Job 56] cups->page = 1
D [14/Mar/2008:16:59:55 -0700] [Job 56] cupsPPD = 0x8190f90
D [14/Mar/2008:16:59:55 -0700] [Job 56] cupsPPD->flip_duplex = 0
D [14/Mar/2008:16:59:55 -0700] [Job 56] width = 5940, height = 3960
D [14/Mar/2008:16:59:55 -0700] [Job 56] PageSize = [ 612 792 ], HWResolution = 
[ 720 360 ]
D [14/Mar/2008:16:59:55 -0700] [Job 56] HWMargins = [ 9.000 0.000 9.000 0.000 ]
D [14/Mar/2008:16:59:55 -0700] [Job 56] matrix = [ 10.000 0.000 0.000 -5.000 
-90.000 3960.000 ]

I have edited them out except for the first two copies, so the error_log
file is now much smaller - only about 125KB.

That is the file I am attaching this time.  This shows the full contents
of error_log from starting cupsd through to the point where it appears
Ghostscript goes into an infinite loop.  After this point, the contents
of the error_log file is mostly just endless repeats of the Ghostscript
messages above, and some contents from the job being held and canceled,
but I cannot capture that content easily.

I hope this helps, and I need an answer relatively soon.  If I cannot
get this resolved, I may have to install 7.10 from scratch and hope that
the issue was a problem of a bad upgrade from 7.4.  However, if ubuntu
is distributing a bad version of Ghostscript, that might not fix the
issue.  Perhaps there is some way to change which version of Ghostscript
I am running within the package system?  If not, I could try downloading
and building the latest stable Ghostscript myself, but I'd rather not.

Thanks for any advice you can provide.


** Attachment added: "cups.error.log.tail"
   http://launchpadlibrarian.net/12680577/cups.error.log.tail

-- 
cannot print on Epson stylus C80 after 7.04 to 7.10 upgrade
https://bugs.launchpad.net/bugs/200060
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to