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

V8 crashes while batch OCRing #31

Open
alangibson opened this issue Nov 24, 2021 · 0 comments
Open

V8 crashes while batch OCRing #31

alangibson opened this issue Nov 24, 2021 · 0 comments

Comments

@alangibson
Copy link

I've just switched to node-tesseract-ocr from the much slower Tesseract.js. Unfortunately I started consistently getting the following error. It occurs at about, but not exactly, the same place in a batch of images. I've tried OCRing them all individually, and in that case it does not crash.

`Fatal error in , line 0
Check failed: result.second.

FailureMessage Object: 0x7ffd149a3550
1: 0xb6f151 [node]
2: 0x1bf56f4 V8_Fatal(char const*, ...) [node]
3: 0xfc3f61 v8::internal::GlobalBackingStoreRegistry::Register(std::shared_ptrv8::internal::BackingStore) [node]
4: 0xd151c8 v8::ArrayBuffer::GetBackingStore() [node]
5: 0xb1df77 [node]
6: 0xd4a18e [node]
7: 0xd4b5af v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) [node]
8: 0x15e7959 [node]
Trace/breakpoint trap (core dumped)`

Node version v16.13.0.
node-tesseract-ocr version 2.2.1
tesseract --version tesseract 4.1.1 leptonica-1.79.0 libgif 5.1.4 : libjpeg 8d (libjpeg-turbo 2.0.3) : libpng 1.6.37 : libtiff 4.1.0 : zlib 1.2.11 : libwebp 0.6.1 : libopenjp2 2.3.1 Found AVX2 Found AVX Found FMA Found SSE Found libarchive 3.4.0 zlib/1.2.11 liblzma/5.2.4 bz2lib/1.0.8 liblz4/1.9.2 libzstd/1.4.4

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