I am using FineReader Engine 11.1.3_glibc_2.5 via the java JNI interface. The JVM version is Oracle jdk1.6.0_45.

I use JUnit to stress test a simple OCR Java class that loads the Engine, performs an OCR operation

document = engine.CreateFRDocument();

document.AddImageFile(filePath, null, null);


result = document.getPlainText().getText();

Then unloads the engine. It repeats this for various files (png and pdf - embedded image). When this test is run in a loop I get JVM crashes (SIGSEGV) occasionally. Of the form:

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00002aaabc370063, pid=11551, tid=1082636608

JRE version: 6.0_45-b06

Java VM: Java HotSpot(TM) 64-Bit Server VM (20.45-b01 mixed mode linux-amd64 compressed oops)

Problematic frame:

C [libFREngine.so+0x370063] CFRDocument::removeAllData()+0x73

If you would like to submit a bug report, please visit:


The crash happened outside the Java Virtual Machine in native code.

See problematic frame for where to report the bug.

To me this looks like something in the finalization. Does this occur elsewhere? Is there a workaround?


Doug McNeil

asked 17 Jun '14, 19:44

smokindoug's gravatar image


Can you please provide the description of your issue and the serial number you use to dev_support@abbyyusa.com?

(18 Jun '14, 10:21) SDK_support ♦♦
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 17 Jun '14, 19:44

Seen: 2,138 times

Last updated: 18 Jun '14, 10:21

© 2016 ABBYY. All rights Reserved. www.ABBYY.com | Privacy Policy | Legal