bugGNU gv - Bugs: bug #30081, gv 3.7.0: unable to print/save pdf...


You are not allowed to post comments on this tracker with your current authentication level.

bug #30081: gv 3.7.0: unable to print/save pdf files

Submitted by:  Juergen Daubert <jue>
Submitted on:  Tue Jun 8 09:28:38 2010  
Category: Ghostscript invocationSeverity: 3 - Normal
Item Group: NoneStatus: Ready For Test
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: 3.7.0

(Jump to the original submission Jump to the original submission)

Thu Jun 10 19:14:51 2010, comment #6:

Fixed in release 3.7.1

Markus Steinborn <msteinbo>
Project Administrator
Tue Jun 8 18:06:51 2010, comment #5:

I fully agree - very serious regression.

Release is planed after some final tests. The tarball for the new release is already created.

Markus Steinborn <msteinbo>
Project Administrator
Tue Jun 8 17:25:29 2010, comment #4:

I'd consider this as a serious bug, can we expect a new version 3.7.1 soon?

Juergen Daubert <jue>
Tue Jun 8 11:17:03 2010, comment #3:

Thanks for the quick fix, works for me.

Juergen Daubert <jue>
Tue Jun 8 10:53:18 2010, comment #2:

That's the bug fix:

--- src/save.c
+++ src/save.c
@@ -204,7 +204,7 @@ save_forkPDFToPSConversion(sd)
char *pdfpos;
char *pspos;
char quoted_src_fn, quoted_conv_fn;
- char* src = gv_gs_cmd_scan_pdf;
+ char* src = command;
char* dest = tmp;
int spaceFound = 0;

Markus Steinborn <msteinbo>
Project Administrator
Tue Jun 8 10:24:08 2010, comment #1:

Thabks for the bug report.

That is clearly a problem with the invocation of ghostscript, which should convert the pdf into postscript suitable for printing and saving.

Markus Steinborn <msteinbo>
Project Administrator
Tue Jun 8 09:28:38 2010, original submission:

Starting with 3.7.0 I'm unable to print or save any pdf document, even though viewing just works fine. If I try to print, I get the following gs error:

Error: /undefinedfilename in --findlibfile--
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push --nostringval-- 1767 1 3 %oparray_pop --nostringval--
Dictionary stack:
--dict:1152/1684(ro)(G)-- --dict:0/20(G)-- --dict:70/200(L)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 8.71: Unrecoverable error, exit code 1
Warning: empty file.

and after that a gv error like:

Failed to scan file /tmp/gv_make_ps.CK8WSR

Some remarks:
- printing/saving works with ps files
- all options are set to defaults
- everything works with gv version 3.6.9

Juergen Daubert <jue>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by msteinbo (Posted a comment)
  • -unavailable- added by jue (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu Jun 10 19:14:51 2010msteinboOpen/ClosedOpen=>Closed
    Tue Jun 8 10:53:18 2010msteinboStatusConfirmed=>Ready For Test
    Tue Jun 8 10:24:08 2010msteinboCategoryNone=>Ghostscript invocation

    Back to the top

    Powered by Savane 3.1-cleanup1