Expected behavior
Duplicate performance counter registrations are handled gracefully.
Actual behavior
This error from the unit tests:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ff9ced0f621, pid=9980, tid=0x00000000000031c4
#
# JRE version: Java(TM) SE Runtime Environment (8.0_212-b10) (build 1.8.0_212-b10)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.212-b10 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [ucrtbased.dll+0xbf621]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# D:\Source\Repos\ApplicationInsights-Java\azure-application-insights-spring-boot-starter\hs_err_pid9980.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
To Reproduce
I was able to reproduce yesterday, but now I can't. It was happening just from running the unit tests. I have been working with the native build tools and changing several different things in that area, so I think I may have just built an incompatible version of the jni lib.
System information
Please provide the following information:
- SDK Version: 2.4.0-BETA-SNAPSHOT (after beta release)
- OS type and version: Windows 10, 1703
- Additional relevant libraries (with version, if applicable): java version "1.8.0_212", 64bit
Expected behavior
Duplicate performance counter registrations are handled gracefully.
Actual behavior
This error from the unit tests:
To Reproduce
I was able to reproduce yesterday, but now I can't. It was happening just from running the unit tests. I have been working with the native build tools and changing several different things in that area, so I think I may have just built an incompatible version of the jni lib.
System information
Please provide the following information: