Opened 11 years ago

Closed 11 years ago

#5238 closed defect (invalid)

PDF file is damaged

Reported by: jolly47roger Owned by: warmerdam
Priority: normal Milestone:
Component: GDAL_Raster Version: 1.10.1
Severity: normal Keywords:
Cc:

Description

I have downloaded some files from British Columbia GEOBC. These are GEOPDFs and all open correctly in Adobe and Irfanview

Some files - not all - fail GDAL.

ERROR 1: Internal: called getRawChars() on non-predictor stream ERROR 1: PDF file is damaged - attempting to reconstruct xref table... ERROR 1: Couldn't find trailer dictionary ERROR 1: Couldn't read xref table ERROR 1: Invalid PDF

Here is an example that fails http://pub.data.gov.bc.ca/datasets/177864/pdf/082E/082E006.pdf

Change History (2)

comment:1 by Kyle Shannon, 11 years ago

What binaries are you using? Do you know which library gdal is linking to for pdf support? podofo or poppler? I can't reproduce with trunk or branches/1.10.

comment:2 by Even Rouault, 11 years ago

Resolution: invalid
Status: newclosed

This is likely due to an issue in the particular libpoppler version used. I've tried with an old poppler version (0.12.4) and a very recent one (0.23.0), and none had issue to deal with the file. Closing as a non-GDAL bug.

Note: See TracTickets for help on using tickets.