Bug 690107

Summary: ReusablestreamDecode broken in gs8.63
Product: Ghostscript Reporter: norbert.janssen
Component: Config/InstallAssignee: Default assignee <ghostpdl-bugs>
Status: NOTIFIED DUPLICATE    
Severity: normal    
Priority: P4    
Version: 8.63   
Hardware: PC   
OS: Windows 2000   
Customer: 661 Word Size: ---
Attachments: gs_reusable_test2.ps
gs_reusable_data.ps

Description norbert.janssen 2008-10-02 06:38:52 UTC
i have to report a error which occurs since Ghostscript 8.63 when using
the /ReusablestreamDecode filter.
If you read in a file through this filter and execute it, during
the execution bytes are missing and leads to postscript errors.
It seems that the bytes are missing on 1024 Byte boundaries.
Attached to this mail you can find two testfiles.
The file gs_reusable_test2.ps can be executed via the ghostscript
command "gs gs_reusable_test2.ps". This file opens and converts
the file gs_reusable_data.ps in a reusable stream and executes it.
Please adjust the file path for your needs.
The file produces a undefined error, because a operator name is destroyed
because of a missing byte.
Inserting or removing a spaces at the beginning of gs_reusable_data.ps
leads to other errors or let the file run without errors if you are lucky.

The error can be removed, if the new "Array of Strings" mode in
gs_frsd.ps is changed to the old Implementation of Ghostscript 8.62.

How to test:
Modify the gs_reusable_test2.ps so that is points to the correct location of
where the gs_reusable_data.ps is. Then:

gs gs_reusable_test2.ps
Comment 1 norbert.janssen 2008-10-02 06:40:29 UTC
Created attachment 4459 [details]
gs_reusable_test2.ps

testfile that reads in a second postscript file.
Comment 2 norbert.janssen 2008-10-02 06:41:14 UTC
Created attachment 4460 [details]
gs_reusable_data.ps

postscript file read in by the gs_reusable_test2.ps
Comment 3 Alex Cherepanov 2008-10-05 21:51:35 UTC

*** This bug has been marked as a duplicate of 690090 ***
Comment 4 Marcos H. Woehrmann 2011-09-18 21:47:45 UTC
Changing customer bugs that have been resolved more than a year ago to closed.