Skip to content

Using -l <language>+equ frequently causes floating point exceptions (core dumped) #3693

@callegar

Description

@callegar

Environment

  • Tesseract Version: 5.0.0
  • Commit Number: from version tag
  • Platform: Linux 5.15.7-1-MANJARO #1 SMP PREEMPT Wed Dec 8 10:09:19 UTC 2021 x86_64 GNU/Linux

Issue is also occurring with Ubuntu linux 20.04.

Current Behavior:

It is my understanding that for documents containing math, one should use the 'equ' language, as in -l eng+equ. However, (on large documents?) this frequently causes the program to terminate with a floating point exception after some pages.

Expected Behavior:

The program should not terminate with floating point exceptions

Additional notes

Since I have experienced the behavior with documents that I cannot share, I do not have a test case so far. As soon as I can find one, I will attach it here. In the meantime, I have nevertheless opened this issue just in case someone else is encountering the same problem and has a test case ready to attach.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions