Bug 690107 - ReusablestreamDecode broken in gs8.63
Summary: ReusablestreamDecode broken in gs8.63
Status: NOTIFIED DUPLICATE of bug 690090
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Config/Install (show other bugs)
Version: 8.63
Hardware: PC Windows 2000
: P4 normal
Assignee: Default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-02 06:38 UTC by norbert.janssen
Modified: 2011-09-18 21:47 UTC (History)
0 users

See Also:
Customer: 661
Word Size: ---


Attachments
gs_reusable_test2.ps (176 bytes, application/postscript)
2008-10-02 06:40 UTC, norbert.janssen
Details
gs_reusable_data.ps (8.17 KB, application/postscript)
2008-10-02 06:41 UTC, norbert.janssen
Details

Note You need to log in before you can comment on or make changes to this bug.
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.