On trying to extract data from multiple pdf files asynchronously crashes the application with following error


# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f5298371afc, pid=5501, tid=0x00007f52ab74f700
#
# JRE version: Java(TM) SE Runtime Environment (8.0181-b13) (build 1.8.0181-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.181-b13 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libPdfTools.APDFLWrapper.so+0x26afc]  PdfTools::CDocOpener::Open(char const, PdfTools::TOpenPermission, bool, _t_PDDoc&)+0x3c
#
# 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:
# /home/ubuntu/DocsProcessor/hserrpid5501.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.

The extraction is successful when I sequentially execute for the same files.

The extraction works seamlessly for multiple images asynchronously.

Please lemme know how can I overcome this.