Bug 689852 - Page is rendered almost completely blank
Summary: Page is rendered almost completely blank
Status: NOTIFIED FIXED
Alias: None
Product: jbig2dec
Classification: Unclassified
Component: Rendering (show other bugs)
Version: master
Hardware: All All
: P2 normal
Assignee: Ralph Giles
URL:
Keywords:
: 689841 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-05-19 00:09 UTC by Marcos H. Woehrmann
Modified: 2008-12-19 08:31 UTC (History)
1 user (show)

See Also:
Customer: 580
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos H. Woehrmann 2008-05-19 00:09:18 UTC
The customer reports and I've verified that the attache PDF file is rendered almost completely blank with 
gs8.57 (and 8.62 and head (r8746)).  Opening the file with Adobe Acrobat 8.0 or Apple Preview shows a 
complete page.

The command line I'm using for testing:

   bin/gs -sDEVICE=tiff24nc -o test.tif ./img-Z28145827-0001.pdf
Comment 1 Marcos H. Woehrmann 2008-05-19 00:09:40 UTC
Created attachment 4030 [details]
img-Z28145827-0001.pdf
Comment 2 Marcos H. Woehrmann 2008-05-19 00:15:11 UTC
Testing with the luratech build of Ghostscript shows some warnings which imply that it's a JBIG2 issue:

GPL Ghostscript 8.62 (2008-02-29)
Copyright (C) 2008 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 2.
Page 1
Luratech JBIG2 ERROR 0xffffffff as segment data length is not currently supported!

   **** Warning: File has insufficient data for an image.
Luratech JBIG2 ERROR 0xffffffff as segment data length is not currently supported!

   **** Warning: File has insufficient data for an image.
Page 2
Luratech JBIG2 ERROR 0xffffffff as segment data length is not currently supported!

   **** Warning: File has insufficient data for an image.
Luratech JBIG2 ERROR 0xffffffff as segment data length is not currently supported!

   **** Warning: File has insufficient data for an image.
Luratech JBIG2 ERROR 0xffffffff as segment data length is not currently supported!

   **** Warning: File has insufficient data for an image.

   **** This file had errors that were repaired or ignored.
   **** The file was produced by: 
   **** >>>> Xerox WorkCentre 7345 <<<<
   **** Please notify the author of the software that produced this
   **** file that it does not conform to Adobe's published PDF
   **** specification.


Comment 3 Ralph Giles 2008-05-23 14:10:29 UTC
Yes, this is the same issue as bug 689841, and the is from a different model of
Xerox WorkCenter.

jbig2dec should be reporting a similar error, but instead fails silently.
Comment 4 Ralph Giles 2008-05-26 12:05:34 UTC
The patch committed as r8778 allows Ghostscript to decode this file.
Comment 5 Ralph Giles 2008-05-26 12:07:12 UTC
*** Bug 689841 has been marked as a duplicate of this bug. ***