Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#995149: cups-filters: Printing sometimes fails due to log message in PS output.

5 views
Skip to first unread message

Daniel Höpfl

unread,
Sep 27, 2021, 3:10:02 AM9/27/21
to
Package: cups-filters
Version: 1.28.7-1
Severity: important
Tags: upstream patch
X-Debbugs-Cc: deb...@hoepfl.de

Dear Maintainer,

TL;DR: There is a upstream bug/patch that solves the issue.
See <https://github.com/OpenPrinting/cups-filters/issues/422>

When printing some PDF files, using the Debian server as a remote print queue, foomatic-rip sometimes produces an error message "Invalid page range: ...". This message is sent to stdout instead of the log file.

Due to this log message, the PostScript that is sent to stdout contains invalid command sequences.

The patch for upstream solves this issue.

I verified it by replacing the 'I' of the message in the foomatic-rip binary with a '\0'

I verified that the bug has not been fixed in the source of the testing/unstable branches:

filter/foomatic-rip/options.c: printf("Invalid page range: %s\n", tok);

Please note that the very same error also applies to the foomatic-filters package.

Thanks a lot,
Daniel

-- System Information:
Debian Release: 11.0
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-8-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cups-filters depends on:
ii bc 1.07.1-2+b2
ii cups-filters-core-drivers 1.28.7-1
ii ghostscript 9.53.3~dfsg-7+deb11u1
ii libc6 2.31-13
ii libcups2 2.3.3op2-3+deb11u1
ii libcupsfilters1 1.28.7-1
ii libfontconfig1 2.13.1-4.2
ii libfontembed1 1.28.7-1
ii libgcc-s1 10.2.1-6
ii libqpdf28 10.1.0-1
ii libstdc++6 10.2.1-6
ii poppler-utils 20.09.0-3.1

Versions of packages cups-filters recommends:
ii colord 1.4.5-3
ii liblouisutdml-bin 2.9.0-1

Versions of packages cups-filters suggests:
pn antiword <none>
pn docx2txt <none>
ii foomatic-db 20200820-1
ii imagemagick 8:6.9.11.60+dfsg-1.3
ii imagemagick-6.q16 [imagemagick] 8:6.9.11.60+dfsg-1.3

-- no debconf information

Brian Potkin

unread,
Aug 15, 2022, 7:10:03 PM8/15/22
to
On Mon 27 Sep 2021 at 09:06:50 +0200, Daniel Höpfl wrote:

> Package: cups-filters
> Version: 1.28.7-1
> Severity: important
> Tags: upstream patch
> X-Debbugs-Cc: deb...@hoepfl.de

Thank you for your report, Daniel.

> Dear Maintainer,
>
> TL;DR: There is a upstream bug/patch that solves the issue.
> See <https://github.com/OpenPrinting/cups-filters/issues/422>
>
> When printing some PDF files, using the Debian server as a remote print queue, foomatic-rip sometimes produces an error message "Invalid page range: ...". This message is sent to stdout instead of the log file.
>
> Due to this log message, the PostScript that is sent to stdout contains invalid command sequences.
>
> The patch for upstream solves this issue.
>
> I verified it by replacing the 'I' of the message in the foomatic-rip binary with a '\0'
>
> I verified that the bug has not been fixed in the source of the testing/unstable branches:
>
> filter/foomatic-rip/options.c: printf("Invalid page range: %s\n", tok);
>
> Please note that the very same error also applies to the foomatic-filters package.

Fixed in cup-filters V1.28.11. Closing in the present version.

Cheers,

Brian.
0 new messages