[ https://issues.apache.org/jira/browse/PDFBOX-2996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15028312#comment-15028312 ]
Tilman Hausherr commented on PDFBOX-2996: ----------------------------------------- I tried the attached quicksort.java, and I get differences, e.g. for the file PDFBOX-3110-poems-beads.pdf: Org: \[position: 19, size: 3, lines: \[Es scheinen die alten Weiden so grau. —„Ich liebe dich, mich reizt deine schöne Gestalt; Dem Vater grauset’s; er reitet geschwind,, Und bist du nicht willig, so brauch’ ich Gewalt.“ — Er hält in Armen das ächzende Kind,, Mein Vater, mein Vater, jetzt faßt er mich an! Erreicht den Hof mit Mühe und Not;]] New: \[position: 19, size: 11, lines: \[Es scheinen die alten Weiden so grau. —„Ich liebe dich, mich reizt deine schöne Gestalt; Dem taV er grauset’s;, d, we nr , cr, b, e, n, i dt he i st, U, ge, ist d u nicht willig, so brauch’ ich Gewalt.“ — Er hält in Arm ne das ächzende iK dn ,, Mein Vater, mein Vat re , jetzt faßt er m i hc ea rn r! E icht de n Ho f im t M hü e und oN t;]] try it yourself... > StackOverflow in Quicksort > -------------------------- > > Key: PDFBOX-2996 > URL: https://issues.apache.org/jira/browse/PDFBOX-2996 > Project: PDFBox > Issue Type: Bug > Components: Text extraction > Affects Versions: 1.8.10, 2.0.0 > Environment: Java 7 > Reporter: Manuel Aristaran > Attachments: 001991.pdf, QuickSort.java, > artikel1_20_arab.pdf-sorted-diff.txt, artikel1_20_arab.pdf-sorted-iter.txt, > artikel1_20_arab.pdf-sorted-rekur.txt, failing_sort.pdf, quicksort.patch > > > Running PDFTextStripper through ExtractText triggers a StackOverflow > exception in the QuickSort implementation for [this particular > document|https://www.dropbox.com/s/6crie7y5gqadwa5/1.pdf?dl=0]. > To reproduce: {{java -jar pdfbox-app-1.8.11-SNAPSHOT.jar ExtractText -sort > failing_sort.pdf}} > (Related to PDFBOX-1512) -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org