You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2017/03/09 18:56:38 UTC

[jira] [Comment Edited] (PDFBOX-3712) PDFBox goes into an infinite loop with this PDF

    [ https://issues.apache.org/jira/browse/PDFBOX-3712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15903436#comment-15903436 ] 

Tilman Hausherr edited comment on PDFBOX-3712 at 3/9/17 6:56 PM:
-----------------------------------------------------------------

The file did render after I modified PDFDebugger to using {{PDDocument.load(file, password, MemoryUsageSetting.setupMixed(2000000));}} and let it run... took quite a long time.

I extracted the huge stream from page 6 and then uncompressed it. The result has a size of 3 189 455 757 Bytes.


was (Author: tilman):
The file did render after I modified PDFDebugger to using {{PDDocument.load(file, password, MemoryUsageSetting.setupMixed(2000000));}} and let it run... took quite a long time.

> PDFBox goes into an infinite loop with this PDF
> -----------------------------------------------
>
>                 Key: PDFBOX-3712
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3712
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.0.4
>            Reporter: Dirk Groeneveld
>         Attachments: PDFBOX-3712-page6-rendered.png
>
>
> The PDF at https://pdfs.semanticscholar.org/2095/e3df01fc32e0bff982a1e79600d5bcf10b81.pdf puts PDFBox into an infinite loop.
> This is roughly my code:
> {quote}
> final PDDocument pdDoc = PDDocument.load(inputStream);
> PDFTextStripper stripper = new PDFTextStripper();
> stripper.getText(pdDoc);
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org