[ https://issues.apache.org/jira/browse/PDFBOX-2996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14909727#comment-14909727 ]
Tilman Hausherr commented on PDFBOX-2996: ----------------------------------------- Works fine with 1.8.6 and 1.8.7 (1.8.8 is the first version with quicksort). I'm able to run it on 1.8.8 with the option {{-Xss2m}}, but not with {{-Xss1m}}. Now why does it need to much stack size? Here's a trace of the split() method: {quote} left: 0, split: 11377, right: 11377 left: 0, split: 11376, right: 11376 left: 0, split: 11375, right: 11375 left: 0, split: 11374, right: 11374 left: 0, split: 11373, right: 11373 left: 0, split: 11372, right: 11372 left: 0, split: 11371, right: 11371 left: 0, split: 11370, right: 11370 left: 0, split: 11369, right: 11369 left: 0, split: 11368, right: 11368 left: 0, split: 11367, right: 11367 left: 0, split: 11366, right: 11366 left: 0, split: 11365, right: 11365 left: 0, split: 11364, right: 11364 left: 0, split: 11363, right: 11363 left: 0, split: 11362, right: 11362 left: 0, split: 11361, right: 11361 left: 0, split: 11360, right: 11360 {quote} > 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 > > 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