kareemu3 / tesseract-ocr

Automatically exported from code.google.com/p/tesseract-ocr
Other
0 stars 0 forks source link

TessBaseAPICreate/Init causes segmentation fault when executed multiple times. #1463

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am not sure if this behavior is intended or if I'm just using the C-API 
wrong. 

I utilize the C-API with the latest git master version of tesseract through the 
ctypes module of python (loaded shared object). Calling TessBaseAPICreate() 
multiple times works like a charm, but initializing more than 3 of the returned 
API handler without destroying them using TessBaseAPIDelete() first causes a 
segmentation fault. I've got two gdb dumps. The first one is from latest git 
tesseract with debug symbols, the second one tesseract 3.03 from the Debian 
jessie repositories.

Original issue reported on code.google.com by spam-goo...@l.unchti.me on 25 Apr 2015 at 7:35

Attachments:

GoogleCodeExporter commented 9 years ago
See first point of FAQ:
https://code.google.com/p/tesseract-ocr/wiki/FAQ#Rules_and_advices

Original comment by zde...@gmail.com on 25 Apr 2015 at 7:49