APM Agent controller service would not start and crashes

Solution Number:
S36279
Last Modified:
2022-08-26
Description
Agent controller fails to start with fatal error and with the following hs_err_pid message log:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ILLEGAL_INSTRUCTION (0xc000001d) at pc=0x000002b600000c06, pid=5364, tid=1516
#
# JRE version:  (11.0.6+10) (build )
# Java VM: OpenJDK 64-Bit Server VM (11.0.6+10, mixed mode, tiered, compressed oops, g1 gc, windows-amd64)
# Problematic frame:
# v  ~StubRoutines::call_stub

This is actually an open JDK bug https://bugs.openjdk.java.net/browse/JDK-8238246 OpenJDK 11.0.6 crashes immediately on CPUs without AVX A DESCRIPTION OF THE PROBLEM : A regression was introduced between OpenJDK 11.0.6 EA3 and 11.0.6 EA4 that causes the JRE to crash immediately with EXCEPTION_ILLEGAL_INSTRUCTION on CPUs without AVX. The disassembly indicates that a vmovdqu is being used. Such CPUs are somewhat rare on actual hardware, but the virtual CPUs presented by VMs sometimes mask out features like AVX to facilitate live migration across different hypervisor hardware. The virtual CPU presented by Hyper-V with the CompatibilityForMigrationEnabled flag set is one such CPU.
So from the looks of it is fixed with
OpenJDK 11.0.7+4 EA build
Solution
Use latest 10.21.13 Agent instead of 10.21.10 or 10.21.12.
We have updated the openjdk to the latest 11.0.8 which fixes the above bug.
Environment
APM Agent 10.21.10 or 10.21.12.
Attachments
NOTICE: Riverbed® product names have changed. Please refer to the Product List for a complete list of product names.
Can't find an answer? Create a case