Red Hat Bugzilla – Bug 787017
shutting down agent sometimes causes a JVM crash/core dump
Last modified: 2014-03-04 15:28:35 EST
Periodically (lately on my machine, its about every 3 time or so), when you exit the agent, the JVM crashes, core dumping, and causes the console window to have its stdin hosed.
I think its because the native augeas layer is causing the crash.
We need to a way to turn off the native augeas layer, just like we do with --nonative.
We should have a global plugin container setting "disableNative" so any PC manager can look to see if it should be disabling required native libraries.
This is what I see regularly when exiting the agent:
# A fatal error has been detected by the Java Runtime Environment:
# SIGSEGV (0xb) at pc=0x00007f47706bca10, pid=20166, tid=139944829835008
# JRE version: 6.0_29-b11
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.4-b02 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C 0x00007f47706bca10 _fini+0xfcb4b1b8
# An error report file with more information is saved as:
The agent will wait for  threads to die
Shutdown complete - agent will now exit.
# If you would like to submit a bug report, please visit:
./rhq-agent.sh: line 269: 20166 Aborted (core dumped) "/home/software/java/jdk16/bin/java" "-Djava.endorsed
Created attachment 559149 [details]
hs_err dump file
an example of the hs_err dump.
*** This bug has been marked as a duplicate of bug 824850 ***