Bug 65660 - PostScript interpreter failed
Summary: PostScript interpreter failed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gv
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-05-29 17:18 UTC by jmbastia
Modified: 2014-03-17 02:27 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-10-14 14:51:17 UTC
Embargoed:


Attachments (Terms of Use)
PostScript file that demonstrates the problem (88.13 KB, application/postscript)
2002-05-29 17:23 UTC, jmbastia
no flags Details
Another failing postscript file (23.14 KB, application/postscript)
2002-07-10 17:00 UTC, Laurence Tyler
no flags Details

Description jmbastia 2002-05-29 17:18:08 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc2) Gecko/20020510

Description of problem:
When trying to view certain PostScript files with gv-3.5.8-15, an error dialog
box pops up with this:
  X Error of failed request:  BadMatch (invalid parameter attributes)
    Major opcode of failed request:  73 (X_GetImage)
    Serial number of failed request:  36
    Current serial number in output stream:  36

  Error: PostScript interpreter failed in main window.

This did not occur with the gv included in RedHat 7.1 and 7.2 with the same
PostScript files.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Run 'gv' on a PostScript file
2. Observe the error message

	

Expected Results:  The PostScript file should have been viewable in gv's window.

Additional info:

It seems to occur only on PostScript files with embedded images, but I'm not
certain of that.

Comment 1 jmbastia 2002-05-29 17:23:43 UTC
Created attachment 58865 [details]
PostScript file that demonstrates the problem

Comment 2 Alexei Podtelezhnikov 2002-05-29 23:50:21 UTC
The component should be changed to ghostscript, since kghostview (KDE) fails to
do  do this too. Interestingly, ps2pdf works without a warning and the
resultiong pdf is rendered fine (isn't it?). I would also file this to
gs-bugs.

Comment 3 jmbastia 2002-05-30 15:39:22 UTC
ps2pdf does render the file correctly, and ggv almost renders it correctly (the
borders or bounding box are cut off on the bottom and right sides).

Comment 4 Laurence Tyler 2002-07-10 17:00:59 UTC
Created attachment 64616 [details]
Another failing postscript file

Comment 5 Laurence Tyler 2002-07-10 17:04:48 UTC
I've seen this problem as well. Strangely, it only seems to happen if GV is set
to 'automatic sizing' of the paper. If you invoke GV with '-media something', e.g.:
'gv -media a4 res_sheet.ps' it seems to work. Also, invoking 'gs res_sheet.ps'
directly from the shell (not using gv) also seems to work. Maybe GV is not
creating/passing to GS a valid X window or pixmap to write in? (I have no idea
how the innards work, this is just a guess...)


Comment 6 Laurence Tyler 2002-07-10 17:11:47 UTC
Hmm... seems you've fixed this in version -18, which I just installed from
RawHide. Apologies for telling you about something you had already fixed!


Comment 7 Peter Englmaier 2002-08-07 11:55:41 UTC
Here is another failing postscript file. 
To my knowledge it doesn't contain embedded images, just text.
It was created using staroffice.
http://www.mpe.mpg.de/~ppe/erlaubnis.ps

Interestingly, ghostscript can display the file, but gv cannot.
Versions (redhat 7.3):
$ rpm -q ghostscript gv ghostscript-fonts
ghostscript-6.52-9.4
gv-3.5.8-15
ghostscript-fonts-5.50-3

Best Wishes


Comment 8 jmbastia 2002-10-14 14:51:11 UTC
As lgt.uk pointed out, gv-3.5.8-18 works fine.  I just grabbed the RPM
from RedHat 8.0 and installed it on my lab full of RedHat 7.3 machines without a
hitch.

You can probably close this bug.


Note You need to log in before you can comment on or make changes to this bug.