2012-06-30 20:58:17 |
Brian Candler |
bug |
|
|
added bug |
2012-06-30 21:18:11 |
Brian Candler |
summary |
foomatic pdf jobs stopped, bash error |
foomatic fails when printing from OSX client, bash error |
|
2012-06-30 23:29:19 |
Dave Gilbert |
foomatic-filters (Ubuntu): importance |
Undecided |
High |
|
2012-06-30 23:29:29 |
Dave Gilbert |
summary |
foomatic fails when printing from OSX client, bash error |
foomatic fails when printing from OSX client, bash error [arg length ???] |
|
2012-07-02 10:19:53 |
Till Kamppeter |
foomatic-filters (Ubuntu): status |
New |
In Progress |
|
2012-07-02 15:35:02 |
Till Kamppeter |
nominated for series |
|
Ubuntu Precise |
|
2012-07-02 15:35:02 |
Till Kamppeter |
bug task added |
|
foomatic-filters (Ubuntu Precise) |
|
2012-07-02 15:35:13 |
Launchpad Janitor |
foomatic-filters (Ubuntu): status |
In Progress |
Fix Released |
|
2012-07-02 16:03:55 |
Till Kamppeter |
foomatic-filters (Ubuntu Precise): status |
New |
Triaged |
|
2012-07-02 16:03:57 |
Till Kamppeter |
foomatic-filters (Ubuntu Precise): importance |
Undecided |
Medium |
|
2012-07-02 16:04:01 |
Till Kamppeter |
foomatic-filters (Ubuntu Precise): importance |
Medium |
High |
|
2012-07-02 16:04:05 |
Till Kamppeter |
foomatic-filters (Ubuntu Precise): milestone |
|
ubuntu-12.04.1 |
|
2012-07-02 16:04:24 |
Till Kamppeter |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2012-07-02 16:20:39 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/foomatic-filters |
|
2012-07-02 16:24:29 |
Till Kamppeter |
description |
Submitting PDF jobs from an OSX 10.7.4 laptop to a Linux desktop running 12.04 amd64 over CUPS/IPP, with USB-attached HP Laserjet 1020.
Job goes into "stopped" state. /var/log/cups/error.log shows:
...
D [30/Jun/2012:21:21:22 +0100] [Job 65] ================================================
D [30/Jun/2012:21:21:22 +0100] [Job 65]
D [30/Jun/2012:21:21:22 +0100] [Job 65] File: <STDIN>
D [30/Jun/2012:21:21:22 +0100] [Job 65]
D [30/Jun/2012:21:21:22 +0100] [Job 65] ================================================
D [30/Jun/2012:21:21:22 +0100] [Job 65]
D [30/Jun/2012:21:21:22 +0100] [Job 65] Filetype: PDF
D [30/Jun/2012:21:21:22 +0100] [Job 65] Neither PDF renderer command line nor Ghostscript-based renderer command line found
D [30/Jun/2012:21:21:22 +0100] [Job 65] Driver does not understand PDF input, converting to PostScript
D [30/Jun/2012:21:21:22 +0100] [Job 65] Storing temporary files in /var/spool/cups/tmp
D [30/Jun/2012:21:21:22 +0100] [Job 65] Starting process "pdf-to-ps" (generation 1)
D [30/Jun/2012:21:21:22 +0100] [Job 65] /bin/bash: -c: line 0: unexpected EOF while looking for matching `''
D [30/Jun/2012:21:21:22 +0100] [Job 65] /bin/bash: -c: line 1: syntax error: unexpected end of file
D [30/Jun/2012:21:21:22 +0100] [Job 65] Cannot process "<STDIN>": Unknown filetype.
D [30/Jun/2012:21:21:22 +0100] [Job 65] pdf-to-ps exited with status 1
D [30/Jun/2012:21:21:22 +0100] [Job 65] Process is dying with "Could not print file <STDIN>
D [30/Jun/2012:21:21:22 +0100] [Job 65] ", exit stat 2
D [30/Jun/2012:21:21:22 +0100] [Job 65] Cleaning up...
D [30/Jun/2012:21:21:22 +0100] [Job 65] prnt/backend/hp.c 839: ERROR: null print job total=0
D [30/Jun/2012:21:21:22 +0100] [Job 65] End of messages
D [30/Jun/2012:21:21:22 +0100] [Job 65] printer-state=3(idle)
D [30/Jun/2012:21:21:22 +0100] [Job 65] printer-state-message="/usr/lib/cups/filter/foomatic-rip failed"
D [30/Jun/2012:21:21:22 +0100] [Job 65] printer-state-reasons=none
E [30/Jun/2012:21:26:29 +0100] [Job 65] Stopping unresponsive job!
I refer especially to the log line "/bin/bash: -c: line 0: unexpected EOF while looking for matching `''
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: foomatic-filters 4.0.16-0ubuntu0.1
ProcVersionSignature: Ubuntu 3.2.0-25.40-generic 3.2.18
Uname: Linux 3.2.0-25-generic x86_64
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Sat Jun 30 21:49:08 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
Lpstat: device for HP-LaserJet-1020: hp:/usb/HP_LaserJet_1020?serial=JL3FLCA
MachineType: Dell Inc. Inspiron 400
Papersize: a4
PpdFiles: HP-LaserJet-1020: HP LaserJet 1020 Foomatic/foo2zjs-z1 (recommended)
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm
PATH=(custom, user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-25-generic root=UUID=81f2a233-7bda-4350-902f-2e7fcdad5f94 ro quiet splash vt.handoff=7
SourcePackage: foomatic-filters
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/04/2009
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A01
dmi.board.name: 03D1TV
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 3
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: Not Specified
dmi.modalias: dmi:bvnDellInc.:bvrA01:bd09/04/2009:svnDellInc.:pnInspiron400:pvr00:rvnDellInc.:rn03D1TV:rvrA00:cvnDellInc.:ct3:cvrNotSpecified:
dmi.product.name: Inspiron 400
dmi.product.version: 00
dmi.sys.vendor: Dell Inc. |
Submitting PDF jobs from an OSX 10.7.4 laptop to a Linux desktop running 12.04 amd64 over CUPS/IPP, with USB-attached HP Laserjet 1020.
Job goes into "stopped" state. /var/log/cups/error.log shows:
...
D [30/Jun/2012:21:21:22 +0100] [Job 65] ================================================
D [30/Jun/2012:21:21:22 +0100] [Job 65]
D [30/Jun/2012:21:21:22 +0100] [Job 65] File: <STDIN>
D [30/Jun/2012:21:21:22 +0100] [Job 65]
D [30/Jun/2012:21:21:22 +0100] [Job 65] ================================================
D [30/Jun/2012:21:21:22 +0100] [Job 65]
D [30/Jun/2012:21:21:22 +0100] [Job 65] Filetype: PDF
D [30/Jun/2012:21:21:22 +0100] [Job 65] Neither PDF renderer command line nor Ghostscript-based renderer command line found
D [30/Jun/2012:21:21:22 +0100] [Job 65] Driver does not understand PDF input, converting to PostScript
D [30/Jun/2012:21:21:22 +0100] [Job 65] Storing temporary files in /var/spool/cups/tmp
D [30/Jun/2012:21:21:22 +0100] [Job 65] Starting process "pdf-to-ps" (generation 1)
D [30/Jun/2012:21:21:22 +0100] [Job 65] /bin/bash: -c: line 0: unexpected EOF while looking for matching `''
D [30/Jun/2012:21:21:22 +0100] [Job 65] /bin/bash: -c: line 1: syntax error: unexpected end of file
D [30/Jun/2012:21:21:22 +0100] [Job 65] Cannot process "<STDIN>": Unknown filetype.
D [30/Jun/2012:21:21:22 +0100] [Job 65] pdf-to-ps exited with status 1
D [30/Jun/2012:21:21:22 +0100] [Job 65] Process is dying with "Could not print file <STDIN>
D [30/Jun/2012:21:21:22 +0100] [Job 65] ", exit stat 2
D [30/Jun/2012:21:21:22 +0100] [Job 65] Cleaning up...
D [30/Jun/2012:21:21:22 +0100] [Job 65] prnt/backend/hp.c 839: ERROR: null print job total=0
D [30/Jun/2012:21:21:22 +0100] [Job 65] End of messages
D [30/Jun/2012:21:21:22 +0100] [Job 65] printer-state=3(idle)
D [30/Jun/2012:21:21:22 +0100] [Job 65] printer-state-message="/usr/lib/cups/filter/foomatic-rip failed"
D [30/Jun/2012:21:21:22 +0100] [Job 65] printer-state-reasons=none
E [30/Jun/2012:21:26:29 +0100] [Job 65] Stopping unresponsive job!
I refer especially to the log line "/bin/bash: -c: line 0: unexpected EOF while looking for matching `''
[Impact] Printing from Mac OS X clients to all printers with foo2zjs drivers ("Foomatic/foo2...") and with Foomatic-based PostScript drivers ("Foomatic/Postscript") does not work. Also local printing to printers with these drivers will not work in some cases.
[Test Case] To reproduce without having the appropriate printer (foo2zjs must be installed):
cupsctl FileDevice=yes
cupsctl LogLevel=debug
lpadmin -p test -E -v file:/tmp/printout -m foo2zjs:0/ppd/foo2zjs/Samsung-CLP-610.ppd
lp -d test -o testoption=`perl -e 'for($i = 0; $i < 200; $i ++) { $a .= sprintf ("%10d", $i) }; $a =~ s/ /-/g; print "$a\n"; '` ~/.bashrc
lpstat -o
Note that the Perl magic generates a string which is 2000 characters long. This will be inserted as value for the option "testoption". foomatic-rip of Precise will error out as shown above. The job will hang in the queue.
After installing the proposed package and reprinting the job (via the job viewer) or sending the job again one will see that these jobs get printed (job gets removed from the queue, /tmp/printout will contain the print data).
[Regression Potential] The two fix in the C code is trivial, only the maximum length for a string will be raised, so regressions cannot be caused.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: foomatic-filters 4.0.16-0ubuntu0.1
ProcVersionSignature: Ubuntu 3.2.0-25.40-generic 3.2.18
Uname: Linux 3.2.0-25-generic x86_64
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Sat Jun 30 21:49:08 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
Lpstat: device for HP-LaserJet-1020: hp:/usb/HP_LaserJet_1020?serial=JL3FLCA
MachineType: Dell Inc. Inspiron 400
Papersize: a4
PpdFiles: HP-LaserJet-1020: HP LaserJet 1020 Foomatic/foo2zjs-z1 (recommended)
ProcEnviron:
LANGUAGE=en_GB:en
TERM=xterm
PATH=(custom, user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-25-generic root=UUID=81f2a233-7bda-4350-902f-2e7fcdad5f94 ro quiet splash vt.handoff=7
SourcePackage: foomatic-filters
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/04/2009
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A01
dmi.board.name: 03D1TV
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 3
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: Not Specified
dmi.modalias: dmi:bvnDellInc.:bvrA01:bd09/04/2009:svnDellInc.:pnInspiron400:pvr00:rvnDellInc.:rn03D1TV:rvrA00:cvnDellInc.:ct3:cvrNotSpecified:
dmi.product.name: Inspiron 400
dmi.product.version: 00
dmi.sys.vendor: Dell Inc. |
|
2012-07-02 16:40:42 |
Till Kamppeter |
attachment added |
|
foomatic-filters_4.0.16-0ubuntu0.1_4.0.16-0ubuntu0.2.debdiff https://bugs.launchpad.net/ubuntu/+source/foomatic-filters/+bug/1019662/+attachment/3211019/+files/foomatic-filters_4.0.16-0ubuntu0.1_4.0.16-0ubuntu0.2.debdiff |
|
2012-07-04 15:49:35 |
Sebastien Bacher |
foomatic-filters (Ubuntu Precise): assignee |
|
Till Kamppeter (till-kamppeter) |
|
2012-07-04 21:56:49 |
Till Kamppeter |
foomatic-filters (Ubuntu Precise): status |
Triaged |
Fix Committed |
|
2012-07-05 22:36:02 |
Launchpad Janitor |
branch linked |
|
lp:debian/foomatic-filters |
|
2012-07-06 12:14:36 |
Colin Watson |
bug |
|
|
added subscriber SRU Verification |
2012-07-06 12:14:38 |
Colin Watson |
tags |
amd64 apport-bug precise |
amd64 apport-bug precise verification-needed |
|
2012-07-06 12:42:34 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/precise-proposed/foomatic-filters |
|
2012-07-06 14:33:21 |
Brian Candler |
tags |
amd64 apport-bug precise verification-needed |
amd64 apport-bug precise verification-done |
|
2012-07-16 10:38:09 |
Launchpad Janitor |
foomatic-filters (Ubuntu Precise): status |
Fix Committed |
Fix Released |
|
2014-02-14 16:18:21 |
Launchpad Janitor |
branch linked |
|
lp:debian/cups-filters |
|
2014-02-14 22:13:40 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/trusty-proposed/cups-filters |
|
2014-02-14 22:42:50 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/cups-filters |
|