Reproducable crash in OcrTools.x64.dll in function OCR_GetText
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
-
- User
- Posts: 21
- Joined: Wed Jan 23, 2019 11:49 am
Reproducable crash in OcrTools.x64.dll in function OCR_GetText
OCR_GetText crashes on a particular PDF (321 pages) after a long time.
Exception Information:
Exception thrown at 0x00007FF940FA94FC (OcrTools.x64.dll) in TEST_OCR.exe: 0xC0000005: Access violation reading location 0x0000000000000000. occurred
The process does not consume much memory.
This issue can be reproduced with SDK sample TEXT_OCR.
PDF is attached.
Exception Information:
Exception thrown at 0x00007FF940FA94FC (OcrTools.x64.dll) in TEST_OCR.exe: 0xC0000005: Access violation reading location 0x0000000000000000. occurred
The process does not consume much memory.
This issue can be reproduced with SDK sample TEXT_OCR.
PDF is attached.
Uwe Honermann
Leiter Entwicklung
windream GmbH
Wasserstraße 219
44799 Bochum
Leiter Entwicklung
windream GmbH
Wasserstraße 219
44799 Bochum
- Will - Tracker Supp
- Site Admin
- Posts: 6815
- Joined: Mon Oct 15, 2012 9:21 pm
- Location: London, UK
- Contact:
Re: Reproducable crash in OcrTools.x64.dll in function OCR_GetText
Hi uhonermann,
Thanks for the post and sample - Can you advise on the specific version and build of the DLL you're using?
Cheers,
Thanks for the post and sample - Can you advise on the specific version and build of the DLL you're using?
Cheers,
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.
Best regards
Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
Thank you.
Best regards
Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
-
- User
- Posts: 21
- Joined: Wed Jan 23, 2019 11:49 am
Re: Reproducable crash in OcrTools.x64.dll in function OCR_GetText
The following message is displayed in the command window prior to the crash:
"start >= 0 && start + num <= length_:Error:Assert failed:in file d:\workprg\pdf5\trunk\ocrlib\tesseract\tesseract-ocr\ccstruct\ratngs.cpp, line 321"
"start >= 0 && start + num <= length_:Error:Assert failed:in file d:\workprg\pdf5\trunk\ocrlib\tesseract\tesseract-ocr\ccstruct\ratngs.cpp, line 321"
Uwe Honermann
Leiter Entwicklung
windream GmbH
Wasserstraße 219
44799 Bochum
Leiter Entwicklung
windream GmbH
Wasserstraße 219
44799 Bochum
-
- User
- Posts: 21
- Joined: Wed Jan 23, 2019 11:49 am
Re: Reproducable crash in OcrTools.x64.dll in function OCR_GetText
Version of OcrTools.x64.dll ist 7.0.0326.0001
Seems the file is too big, even as ZIP (19,9 MB).
Seems the file is too big, even as ZIP (19,9 MB).
Uwe Honermann
Leiter Entwicklung
windream GmbH
Wasserstraße 219
44799 Bochum
Leiter Entwicklung
windream GmbH
Wasserstraße 219
44799 Bochum
-
- User
- Posts: 21
- Joined: Wed Jan 23, 2019 11:49 am
Re: Reproducable crash in OcrTools.x64.dll in function OCR_GetText
Uwe Honermann
Leiter Entwicklung
windream GmbH
Wasserstraße 219
44799 Bochum
Leiter Entwicklung
windream GmbH
Wasserstraße 219
44799 Bochum
- Will - Tracker Supp
- Site Admin
- Posts: 6815
- Joined: Mon Oct 15, 2012 9:21 pm
- Location: London, UK
- Contact:
Re: Reproducable crash in OcrTools.x64.dll in function OCR_GetText
Hi uhonermann,
Thanks for that - You're using an older release, so please download and test the latest OCR module, and advise on whether or not the crash still occurs:
https://www.pdf-xchange.com/versio ... ge-pro-sdk
Thanks,
Thanks for that - You're using an older release, so please download and test the latest OCR module, and advise on whether or not the crash still occurs:
https://www.pdf-xchange.com/versio ... ge-pro-sdk
Thanks,
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.
Best regards
Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
Thank you.
Best regards
Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
-
- User
- Posts: 21
- Joined: Wed Jan 23, 2019 11:49 am
Re: Reproducable crash in OcrTools.x64.dll in function OCR_GetText
Tried with Version 328, no crash any more.
Will try again with the real application now.
Will try again with the real application now.
Uwe Honermann
Leiter Entwicklung
windream GmbH
Wasserstraße 219
44799 Bochum
Leiter Entwicklung
windream GmbH
Wasserstraße 219
44799 Bochum
- Tracker Supp-Stefan
- Site Admin
- Posts: 17948
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: Reproducable crash in OcrTools.x64.dll in function OCR_GetText
Glad to hear that Uwe!
Regards,
Stefan
Regards,
Stefan
-
- User
- Posts: 21
- Joined: Wed Jan 23, 2019 11:49 am
Re: Reproducable crash in OcrTools.x64.dll in function OCR_GetText
Ok, no crash in the real application, problem is solved.
Uwe Honermann
Leiter Entwicklung
windream GmbH
Wasserstraße 219
44799 Bochum
Leiter Entwicklung
windream GmbH
Wasserstraße 219
44799 Bochum
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Reproducable crash in OcrTools.x64.dll in function OCR_GetText
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ