-
Notifications
You must be signed in to change notification settings - Fork 31
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
(signal: 11, SIGSEGV: invalid memory reference) #34
Comments
Hey, I tried this out in a test and it works fine for me. Can you tell me more about your setup? |
I'm on MacOs M1, installed tesseract with
|
I also started seeing this 2nd error occasionally. That particular one should be fixed now. |
Strangely, the test passes on my machine as well. Maybe it's some kind of heisenbug or a bug in the tesseract library itself. I'll let you know if I find a way to reproduce it. |
I found out that it fails at the let mut tesseract = Tesseract::new(None, None)?
.set_image_from_mem(&png_bytes)?;
tesseract = tesseract
.recognize()?; |
I've reproduced the issue. |
antimatter15/tesseract-rs#34 We should be blocking users from segmentation faults and similar. While the bug is there, we should block it.
Fails with
(signal: 11, SIGSEGV: invalid memory reference)
when both Options are None on ::new().The text was updated successfully, but these errors were encountered: