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.

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@ghostscript.com.

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...)