Java crash in dynaTrace libdtagentcore.so

Solution Verified - Updated

Environment

  • Red Hat JBoss Enterprise Web Server 1.0.0
  • DynaTrace native libraries.

Issue

  • A JVM crash was noticed and the following was found in the hs_err_<pid> file created:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x00002ae4ea50aaaa, pid=14496, tid=47166551357760 
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_22-b03 mixed mode)
# Problematic frame:
# C  [libdtagentcore.so+0xb7aaa]
#

---------------  T H R E A D  ---------------

Current thread is native thread

Resolution

  • Test the latest dynaTrace release to see if the issue has been resolved.
  • Workaround: Remove the dynaTrace agent.
  • Contact the vendor of the dynaTrace native libraries to examine this further.

Root Cause

  • There appears to be a bug in the native libraries that is forcing the JVM to crash under certain conditions.

Diagnostic Steps

  • Obtained hs_err_<pid> files from the crash.
  • Examining these the following trace was noticed:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x00002ae4ea50aaaa, pid=14496, tid=47166551357760 
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_22-b03 mixed mode)
# Problematic frame:
# C  [libdtagentcore.so+0xb7aaa]
#

---------------  T H R E A D  ---------------

Current thread is native thread
  • Looking for this library the following path was observed:
/app/path/dynaTrace/agent/lib64/libdtagent.so
/app/path/dynaTrace/agent/downloads/5.5.0.5226/native/linux-x86-64/libdtagentcore.so
Category
Tags

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.