New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #24446 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

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

comment:1 Changed 3 years ago by ryandesign@…

  • Summary changed from tesseract segfaults to tesseract segfaults with input filename extension tiff

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.

comment:2 Changed 2 years ago by jmr@…

  • Status changed from new to closed
  • Resolution set to fixed

3.00 works fine.

Note: See TracTickets for help on using tickets.