Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 471238

Summary: net-print/poster-20060221 produces invalid PostSript output
Product: Gentoo Linux Reporter: quazgar <quazgar>
Component: Current packagesAssignee: Printing Team <printing>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugzilla.redhat.com/show_bug.cgi?id=436969
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch from the Fedora bug report

Description quazgar 2013-05-25 12:55:05 UTC
Created attachment 349130 [details, diff]
Patch from the Fedora bug report

poster (a ps utility to print large documents on many small pages) produces invalid output.

Okular shows nothing at all and gs shows the following error message:

Error: /syntaxerror in -file-
Operand stack:
   print_content_of_complete_page_0
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1894   1   3   %oparray_pop   1893   1   3   %oparray_pop   1877   1   3   %oparray_pop   1771   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push
Dictionary stack:
   --dict:1160/1684(ro)(G)--   --dict:0/20(G)--   --dict:94/200(L)--
Current allocation mode is local
Current file position is 5304
GPL Ghostscript 9.05: Unrecoverable error, exit code 1


I think that this is the same bug as this one at Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=436969 That bug report has a patch which at least produces valid output for me here.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-27 20:03:51 UTC
*** Bug 471270 has been marked as a duplicate of this bug. ***
Comment 2 Konstantin Münning 2013-12-18 21:53:21 UTC
I can confirm this bug on x86 and amd64, GPL Ghostscript 9.10.
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2017-02-19 22:05:21 UTC
 	
commit 7c012a14c2f42d769e52d2bf0d3b5596856ce252
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Sun Feb 19 23:03:59 2017 +0100

    net-print/poster: Add patch for bug 471238
    
    Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-print/poster/files/poster-20060221-fix_gs_crash.patch | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 net-print/poster/poster-20060221-r2.ebuild                | 31 +++++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)