Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when working with PDF file > 100 pages #347

Closed
2 of 5 tasks
willaaam opened this issue Feb 8, 2019 · 0 comments
Closed
2 of 5 tasks

Crash when working with PDF file > 100 pages #347

willaaam opened this issue Feb 8, 2019 · 0 comments

Comments

@willaaam
Copy link

willaaam commented Feb 8, 2019

Describe the issue
I want to deskew a PDF. I'm using OCRmyPDF for this and it breaks when writing the resulting PDF. The crash happens at page 101 (exactly). Please see attached logs. It seems something doesn't play nice when a counter reaches 100.

To Reproduce
What command line were you trying to run?

ocrmypdf input.pdf output.pdf --deskew --tesseract-timeout 0 --force-ocr

Example file
Please include an example input PDF (or image). The input file is more helpful.
input.pdf
apple annual report test.pdf

Please check any or all that apply about the test file:

  • This is the input file
  • The file contains no personal or confidential information
  • I am the copyright holder for this file
  • I permit this file to be included in the OCRmyPDF test suite under the CC-BY-SA 4.0 license
  • I am not the copyright holder, but this file is available under a free software license

Files that are not free for inclusion in this project are quite welcome, but we like to collect free files for our test suite when possible. Please do not submit files with confidential information. At your option you may encrypt files for OCRmyPDF's author only.

Expected behavior
Not crash at page 101 of a PDF

System:

  • OS: Linux
  • OCRmyPDF Version: v8.0.1

Additional context
See logs of run attached:
apple.log
cookcounty.log

Update: doesn't occur with 6.2.5

@willaaam willaaam changed the title Crash when working with PDF file Crash when working with PDF file > 100 pages Feb 8, 2019
@bayosolutions bayosolutions mentioned this issue Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant