-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Assertion failure with new image and eng+chi_tra fast #4362
Comments
There is a heap-use-after-free before the assertion:
|
The current code uses random values to add noise outside of the image. Using a constant instead of the random values might work better (still to try with the other cases):
|
Still it is better to understand what is wrong with using lists. |
Or more in general - fix all other issues around random values and crashes they spotlight. |
Current Behavior
This is in the recent
main
(9f17a3fd
) I receive a SIGABRT in Release (SIGILL in Debug) with the eng and chi_tra langages. Both are fast and official.Expected Behavior
No sig abort
Suggested Fix
No response
tesseract -v
Operating System
Ubuntu 22.04 Jammy
Other Operating System
WSL
uname -a
Linux hostname 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Compiler
GCC 11.4
CPU
Intel(R) Core(TM) i7-3720QM CPU @ 2.60GHz
Virtualization / Containers
No response
Other Information
I'm sure this is related to the random generator-covered series of issues (#4361 #4146 #4148 #4270). This is also reproducible in 5.5.0, unlike #4361 which worked on in 5.5.0.
The text was updated successfully, but these errors were encountered: