A fatal error has been detected by the Java Runtime Environment – Problematic Frame libc.so

I use Ahsay to do a  file level backup on a Linux (Centos 6.6) machine. The scheduled backups suddenly started being missed.


The following error appeared when I ran the backup manually.


# A fatal error has been detected by the Java Runtime Environment:
#  SIGSEGV (0xb) at pc=0x0000003337e7f5bf, pid=2150, tid=140190110197504
# JRE version: 6.0_23-b05
# Java VM: Java HotSpot(TM) 64-Bit Server VM (19.0-b09 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libc.so.6+0x7f5bf]  strcat+0x14f
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.

I tried upgrading and downgrading JRE.  I tried v1.6.x, v1.7.x and v1.8.x but the error still appeared.

The problem is actually due to a bug in the Ahsay client. I was using v6.19.0.0. This is fixed in v6.25.0.0. To work around the issue in do the following:


1) Edit afc.opt file

In my case it was located at : /usr/local/obm/afc.opt

2) Add the following line to the bottom of the file:


3) Re-run job manually to check all is working.