Red Hat Bugzilla – Bug 65660
PostScript interpreter failed
Last modified: 2014-03-16 22:27:41 EDT
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
Version-Release number of selected component (if applicable):
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.
It seems to occur only on PostScript files with embedded images, but I'm not
certain of that.
Created attachment 58865 [details]
PostScript file that demonstrates the problem
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
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).
Created attachment 64616 [details]
Another failing postscript file
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...)
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!
Here is another failing postscript file.
To my knowledge it doesn't contain embedded images, just text.
It was created using staroffice.
Interestingly, ghostscript can display the file, but gv cannot.
Versions (redhat 7.3):
$ rpm -q ghostscript gv ghostscript-fonts
As email@example.com 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
You can probably close this bug.