What steps will reproduce the problem?
/usr/local/bin/tesseract rscan0002.jpg out
What do you see instead?
-----
Tesseract Open Source OCR Engine with Leptonica
Segmentation fault
-----
What version of the product are you using? On what operating system?
Current SVN trunk as of 6 June 2010.
Linux 2.6.32-22-generic (Ubuntu 10.04 64-bit)
leptonlib-1.65
Please provide any additional information below.
It looks like the file was being closed twice when HAVE_LIBLEPT is defined. Explicitly setting the pointer to NULL and checking for that value fixed it for me, or maybe it should be #ifdef'ed out?
Original issue reported on code.google.com by sout...@gmail.com on 7 Jun 2010 at 10:37
Original issue reported on code.google.com by
sout...@gmail.com
on 7 Jun 2010 at 10:37Attachments: