Alfresco 4.3.d PDFBox fatal error Java Runtime
Our JVM kept crashing as soon as we went to the ‘Document Library’ within Alfresco 4.3.d
We tracked the issue down to a uploaded PDF file which contained metadata that the shipped version of PDFBox 1.2.1 (pdfbox-1.2.1.jar) chokes on and takes out the JVM.
By replacing the pdfbox.jar with the latest version pdfbox-1.7.1.jar our issues seem to have gone.
Replace old file with new in : /alfresco-3.4.d/tomcat/webapps/alfresco/WEB-INF/lib/
Random error we where receiving in ‘catalina.out’ shown below:
# A fatal error has been detected by the Java Runtime Environment:
# SIGSEGV (0xb) at pc=0x59ee264a, pid=4534, tid=1553988496
# JRE version: 6.0_18-b07
# Java VM: Java HotSpot(TM) Server VM (16.0-b13 mixed mode linux-x86 )
# Problematic frame:
# C [libfontmanager.so+0x2464a]
# 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.