Free Support Forum -

Aspose.OCR core dump

I am unable to run the OCR using the new version 20.11.
//fileIn is the path to an image file .png
public static String scan2(String fileIn) {

    AsposeOCR api = new AsposeOCR();
    try {
        String result = api.RecognizePage(fileIn);
        return result;

    } catch (IOException e) {
        return null;

The error is as follows:

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

SIGBUS (0xa) at pc=0x00000001444e52ba, pid=82186, tid=0x0000000000001003

JRE version: Java™ SE Runtime Environment (8.0_152-b16) (build 1.8.0_152-b16)

Java VM: Java HotSpot™ 64-Bit Server VM (25.152-b16 mixed mode bsd-amd64 compressed oops)

Problematic frame:

C [libonnxruntime.1.2.0.dylib+0x5a62ba] .LComputeBlockBy4Loop830+0x7b

Failed to write core dump. Core dumps have been disabled. To enable core dumping, try “ulimit -c unlimited” before starting Java again

An error report file with more information is saved as:


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.

Process finished with exit code 134 (interrupted by signal 6: SIGABRT)


It seems like your environment is generating issue with onnxruntime dependency. Would you please double check if onnxruntime is properly installed along with the API? Please share your complete environment details with us in case issue still persists.