Bug 690966

Summary: gswin32c crashes with specific PS files in PDF conversion
Product: Ghostscript Reporter: Ruediger Bahr <ruediger.bahr>
Component: PDF WriterAssignee: Ken Sharp <ken.sharp>
Status: RESOLVED FIXED    
Severity: normal CC: alex
Priority: P4    
Version: 8.70   
Hardware: PC   
OS: Windows XP   
Customer: Word Size: ---

Description Ruediger Bahr 2009-12-01 01:26:50 UTC
I have PostScript files which I want to convert to PDF format. Special files 
let gswin32c crash or run infinitely.
I run the conversion with following command line:

C:\temp>"c:\Program Files\gs\gs8.70\bin\gswin32c.exe" -q -dSAFER -dNOPAUSE -dBAT
CH -sDEVICE#pdfwrite -sOutputFile#"C:\temp\sk100ur\TJ-TestJournal-sk1u00r8@ww300
-633930131902134049.xml.1.pdf" -dCompatibilityLevel#1.5  -dMaxSubsetPct=100 -dEm
bedAllFonts=true -dSubsetFonts=true -dCompatibilityLevel#1.5 -dPDFSETTINGS=/prep
ress  -r600 -c .setpdfwrite -f"C:\temp\sk100ur\TJ-TestJournal-sk1u00r8@ww300-633
930131902134049.xml.ps"
%%[ ProductName: GPL Ghostscript ]%%
%%[Page: 1]%%

Ghostscript crashes with a pop-up telling: The instruction at "0x101ce534" 
referenced memory at "0x2f303037". The memory could not be read.

The PostScript files which cause PDF conversion problems I can make available 
for a reproduction of the problem. Let me know how I can make them available.

Thanks
RĂ¼diger
Comment 1 Ken Sharp 2009-12-01 01:31:54 UTC
Please attach the simplest possible file to this bug report. If you navigate to
this page:

http://bugs.ghostscript.com/show_bug.cgi?id=690966

Then follow the 'Create a New Attachment' link. You can mark the attachment
private afterwards if required, which will limit its availability to Artifex
employees and contractors.
Comment 2 Ruediger Bahr 2009-12-01 01:50:19 UTC
Created attachment 5727 [details]
633930131902134049.xml.ps">TJ-TestJournal-sk1u00r8@ww300-633930131902134049.xml.ps

The PostScript File lets the actual version of gswin32c crash.
Please mark the file as private and to be used at artifex.com only.
Thanks
RĂ¼diger Bahr
Comment 3 Ken Sharp 2009-12-07 23:59:39 UTC
Clearing the customer field. If this is a report from an Artifex commercial
customer please enter the customer number in this field.
Comment 4 Alex Cherepanov 2011-01-02 04:13:25 UTC
The file works for me on Ghostscript v. 9.00 and the current development version.
Please upgrade.