Opened 14 years ago

Closed 13 years ago

#24446 closed defect (fixed)

tesseract segfaults with input filename extension tiff

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: markemer (Mark Anderson)
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 (2)

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: tesseract segfaultstesseract 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 13 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

3.00 works fine.

Note: See TracTickets for help on using tickets.