-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Tesseract creating tiff image get core dumped and segmentation fault. #3909
Comments
I installed latest version and latest version of training with tesstrain.py but got same error tessseract --version |
Please provide all necessary files for reproducing problem + whole log (not screenshot) of training process. |
Since I don't have permission to share data to public I made a private repository and shared it with you including files that is required to reproduce problem. |
Could you reproduce the problem? |
No. Simple I do not have time. |
I found that when I want to generate training files for one font it wont give me any error but with two or more fonts, it gives me core dumped error. |
I found the solution :D |
I am not sure if this is a real problem. I see your training_text size is 12M. Example training text has 26M... |
I'm working on it. |
I think this issue is duplicate of #2860.
Try to change it to much smaller value.
Yes, the text line should not be too long. Try to limit it to 10-12 words. |
??? |
I want to create tiff images from 55 fonts using this code:
but every time I get segmentation fault and (core dumped) during the process with random error message like double linked list fault or double free or corruption(!prev) for example :
With Intel Xeon X5670 @ 2.93GHz 24 core and around 50 GB RAM
I checked CPU and RAM usage everything is OK but some CPU cores are at 100% and then this happen.
I have to mention that when I use google Colab everything is OK but take too much time because of limited resource.
Environment
Current Behavior:
Get core dumped on creating tiff images for new fonts
Expected Behavior:
Complete creating tiff image for new fonts
Suggested Fix: None
The text was updated successfully, but these errors were encountered: