Ticket #24446 (closed defect: fixed)
tesseract segfaults with input filename extension tiff
| Reported by: | ryandesign@… | Owned by: | emer@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.2 |
| Keywords: | Cc: | ||
| Port: | tesseract |
Description
I've built tesseract non-universal (x86_64 only) on Snow Leopard and it segfaults after displaying an error message:
$ port installed tesseract The following ports are currently installed: tesseract @2.04_0 (active) $ tesseract file.tiff out Tesseract Open Source OCR Engine name_to_image_type:Error:Unrecognized image type:file.tiff IMAGE::read_header:Error:Can't read this image type:file.tiff tesseract:Error:Read of file failed:file.tiff Segmentation fault
I've never used tesseract before. I may not be using it correctly. The file I'm giving it might indeed not be valid. But regardless, it should not segfault.
Change History
Note: See
TracTickets for help on using
tickets.


It doesn't segfault if I call the file "file.tif" instead of "file.tiff". So this is the upstream does not recognize .tiff extension bug.