Bug 20382 - pdftoppm is giving this error: Error (5745153): 2 extraneous bytes after segment
Summary: pdftoppm is giving this error: Error (5745153): 2 extraneous bytes after segment
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-28 13:19 UTC by Miles
Modified: 2009-04-16 13:44 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Miles 2009-02-28 13:19:32 UTC
If I try to run pdftoppm on some pdfs, I get the error mention in the summary.  I'll attach a pdf that demonstrates this problem (I can give more examples, if needed.)

Here's the command I run:

pdftoppm 01.images.pdf out

The error reported above occurs when ran on gentoo.  I have tried various version of poppler and they all have the same problem.  On windows, instead the error is reported as: Bogus memory allocation size

Here's the full output (when ran on gentoo with version 0.10.4): http://puttext.com/dG
Comment 1 Miles 2009-02-28 13:23:45 UTC
The pdf was too large to upload to bugzilla, here's a link to it:

http://pdfhost.focus.nps.gov/docs/NHLS/Text/89001101.pdf
Comment 2 Albert Astals Cid 2009-03-01 13:50:12 UTC
Marking it as fixed as i can't reproduce it with what will be poppler 0.10.5. Please reopen if still fails for you once 0.10.5 is released.
Comment 3 Miles 2009-03-19 01:31:09 UTC
10.5 has showed up in gentoo and the bug is still present.

Here's a link to a pdf that takes a lot less time to give the error:

http://pdfhost.focus.nps.gov/docs/NHLS/Photos/86000084.pdf

which might make testing/reproducing less annoying.

Oh my goodness... I just realized why you weren't able to reproduce the bug.  That URL I gave you should have said Photos instead of Text.  That's a completely different pdf.

Sorry about that.  Using the URL I just gave should enable you to reproduce.
Comment 4 Miles 2009-03-19 01:42:00 UTC
For some reason, those URLs no longer work.

I've uploaded the pdf to: http://www.sendspace.com/file/y1xn8r

Comment 5 Albert Astals Cid 2009-03-20 16:40:50 UTC
Ok, this one crashes, working on it
Comment 6 Albert Astals Cid 2009-04-16 13:44:09 UTC
Fixed in just released poppler 0.10.6


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.