Bug 692379

Summary: GS of PostScript containing EPS image dies on UNIX platforms
Product: Ghostscript Reporter: Jonathan Dagresta <jdagresta>
Component: PS InterpreterAssignee: Chris Liddell (chrisl) <chris.liddell>
Status: RESOLVED INVALID    
Severity: major CC: alex, chris.liddell
Priority: P4    
Version: 9.02   
Hardware: Sun   
OS: Solaris   
Customer: Word Size: ---
Attachments: Sample PostScript file containg EPS of JPG image
JPG image that occurs in sample.ps as an EPS image

Description Jonathan Dagresta 2011-07-27 16:04:06 UTC
Created attachment 7717 [details]
Sample PostScript file containg EPS of JPG image

Attached PostScript file (sample.ps) contains an EPS image (of a JPG graphic) and running GS 9.02 on the file dies if using GS built on Solaris, AIX, or Linux. This file works fine with GS 8.63 (on those platforms). The file does work ok with GS 9.02 built on Windows, but not with GS 9.02 built for UNIX.
Comment 1 Jonathan Dagresta 2011-07-27 16:06:44 UTC
Created attachment 7718 [details]
JPG image that occurs in sample.ps as an EPS image

If it's needed here (graphic1.jpg) is the JPG image that occurs in sample.ps as an EPS image.
Comment 2 Chris Liddell (chrisl) 2011-07-27 16:11:56 UTC
No command line supplied, but works fine for me on Linux x86_64 with the following command line:

./gs -sDEVICE=pnmraw -r300 -dBATCH -dNOPAUSE -o stuff%03d.pnm sample.ps
Comment 3 Chris Liddell (chrisl) 2011-07-27 16:12:33 UTC
Oops, meant to say: works fine with the current "master" in git......
Comment 4 Jonathan Dagresta 2011-07-27 16:19:15 UTC
I was just using GS to view the PostScript with this command:
./gs -sDEVICE=x11 sample.ps

Does that command also work with the current "master" in git?
Comment 5 Chris Liddell (chrisl) 2011-07-27 16:47:03 UTC
Yes, it does.

I'll leave the bug open for now: hopefully I'll have time tomorrow to test it on Solaris/SPARC.

And I'll assign the bug to me, at least until I do have time to test on the Sun machine.
Comment 6 Alex Cherepanov 2011-07-27 17:54:37 UTC
Works for me on 64-bit GNU/Linux.
I've tested v.9.02 release and current debug builds.
Comment 7 Chris Liddell (chrisl) 2011-07-27 18:24:34 UTC
I tested it on Solaris 10 SPARC and it does work with the latest code. There is currently a build problem, but I suspect that is a bug in the compiler version on my Sun box - should be fixed soon, anyway.

I'm closing the bug.

If you have more information which might allow us to reproduce a problem please reopen it.