Bug 688835 - gs\toolbin\pdfinflt.ps fails with /typecheck in --known--
Summary: gs\toolbin\pdfinflt.ps fails with /typecheck in --known--
Status: RESOLVED DUPLICATE of bug 687796
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Test Framework (show other bugs)
Version: master
Hardware: PC Windows XP
: P4 normal
Assignee: Alex Cherepanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-11 04:59 UTC by leonardo
Modified: 2007-12-13 12:55 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
attachment.pdf (1.21 KB, application/pdf)
2006-08-11 05:01 UTC, leonardo
Details
Suggested patch (444 bytes, patch)
2006-08-14 02:40 UTC, SaGS
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description leonardo 2006-08-11 04:59:33 UTC
gswin32c.exe -dBATCH -dNOPAUSE -- ../../gs-hd/toolbin/pdfinflt.ps 
attachment.pdf decompr-attachment.pdf

Will attach "attachment.pdf'
Comment 1 leonardo 2006-08-11 05:01:14 UTC
Created attachment 2411 [details]
attachment.pdf

The test file (same as 2178 in the bug 688678).
Comment 2 SaGS 2006-08-14 02:40:23 UTC
Created attachment 2415 [details]
Suggested patch

I think the problem surfaced after
    http://ghostscript.com/pipermail/gs-cvs/2006-August/006716.html .

The cycle that applies filters uses a "null" filter name as a flag that there
are no (more) filters. When this pseudo-name is looked into "filterstoremove",
now we (correctly, I understand) get a "typecheck"; before, "<dict> null known"
was simply returning "false".
Comment 3 SaGS 2006-08-14 02:49:43 UTC
Reminder: many more patches affecting pdfinflt.ps are waiting on, or are 
referenced from, bug 687796 "pdfinflt.ps creates an incomplete PDF". In 
particular http://bugs.ghostscript.com/show_bug.cgi?id=687796#c7 changes the 
method used to apply filters, and the problem described in the current bug 
report doesn't appear anymore.
Comment 4 Ralph Giles 2006-08-16 09:46:12 UTC
assign to Alex to see if the patches on bug 688786 fix the issue.
Comment 5 Alex Cherepanov 2006-09-09 14:48:03 UTC
I confirm that this problem does not occur with the final version of
pdfinflt.ps from bug 687796, comment #16. I'm closing this bug report 
as a duplicate.


*** This bug has been marked as a duplicate of 687796 ***