hyperic / sigar

System Information Gatherer And Reporter
http://sigar.hyperic.com/
Apache License 2.0
1.52k stars 504 forks source link

Sigar crashes JDK 1.8 jvm after latest Windows Patches #141

Open nddipiazza opened 4 years ago

nddipiazza commented 4 years ago

I am getting Java core dumps when running Sigar:

Windows 10 - Version 1909 Build 18363.959 I have verified the issue happens on OpenJDK 8u242, 8u261 and Oracle JDK 1.8.0_261 sigar-amd64-winnt.dll version 1.6.4

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000001800156c4, pid=1376, tid=0x0000000000002b40
#
# JRE version: OpenJDK Runtime Environment (8.0_242-b08) (build 1.8.0_242-b08)
# Java VM: OpenJDK 64-Bit Server VM (25.242-b08 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [sigar-amd64-winnt.dll+0x156c4]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

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

Current thread (0x0000017a90c2e000):  JavaThread "agent-host-metrics-poller" daemon [_thread_in_native, id=11072, stack(0x0000004916f00000,0x0000004917000000)]

siginfo: ExceptionCode=0xc0000005, reading address 0xffffffff92c80d90

Registers:
RAX=0xffffffff92c80c40, RBX=0x0000017a93310c50, RCX=0x0000017a90c2e1e0, RDX=0x0000004916ffec58
RSP=0x0000004916ffeae0, RBP=0x0000004916ffec38, RSI=0x0000000000200021, RDI=0x00000000000004ab
R8 =0x0000000000000032, R9 =0x00000000f3657458, R10=0x00000000000002a8, R11=0x000000006aa0ecf4
R12=0x0000000000000000, R13=0x0000017a93310c48, R14=0x0000004916ffec60, R15=0x0000017a90c2e000
RIP=0x00000001800156c4, EFLAGS=0x0000000000010282

Top of Stack: (sp=0x0000004916ffeae0)
0x0000004916ffeae0:   0000017a90c2e1e0 0000004916ffec58
0x0000004916ffeaf0:   0000017a90c2e000 0000000000000000
0x0000004916ffeb00:   ffffffff92c80c40 0000017a90c2e000
0x0000004916ffeb10:   00000000000004ab 0000000180018761
0x0000004916ffeb20:   0000017a90c2e1e0 0000004916ffec58
0x0000004916ffeb30:   0000000000200021 000000006a326665
0x0000004916ffeb40:   0000004916fff3f0 0000017a90c2e000
0x0000004916ffeb50:   0000017a93310c50 000000006a395103
0x0000004916ffeb60:   0000017a93310c50 0000017a90c2e000
0x0000004916ffeb70:   0000017a93310c50 0000017a90c2e000
0x0000004916ffeb80:   00000000000004ab 0000017a800194a6
0x0000004916ffeb90:   0000017a90309c00 0000017a91b8efd8
0x0000004916ffeba0:   0000000000200021 0000017a93310c50
0x0000004916ffebb0:   0000000000200021 0000017a8001964e
0x0000004916ffebc0:   0000017a90c2e1e0 0000004916ffec60
0x0000004916ffebd0:   0000004916ffec58 0000017a93310c50 

Instructions: (pc=0x00000001800156c4)
0x00000001800156a4:   7c 24 20 00 75 15 48 8d 15 9f f2 03 00 48 8b 4c
0x00000001800156b4:   24 40 e8 45 00 00 00 33 c0 eb 32 48 8b 44 24 20
0x00000001800156c4:   83 b8 50 01 00 00 00 74 1f 48 8b 44 24 20 44 8b
0x00000001800156d4:   80 50 01 00 00 48 8b 54 24 20 48 8b 4c 24 40 e8 

Register to memory mapping:

RAX=0xffffffff92c80c40 is an unknown value
RBX={method} {0x0000017a93310c58} 'gather' '(Lorg/hyperic/sigar/Sigar;)V' in 'org/hyperic/sigar/Cpu'
RCX=0x0000017a90c2e1e0 is an unknown value
RDX=0x0000004916ffec58 is pointing into the stack for thread: 0x0000017a90c2e000
RSP=0x0000004916ffeae0 is pointing into the stack for thread: 0x0000017a90c2e000
RBP=0x0000004916ffec38 is pointing into the stack for thread: 0x0000017a90c2e000
RSI=0x0000000000200021 is an unknown value
RDI=0x00000000000004ab is an unknown value
R8 =0x0000000000000032 is an unknown value
R9 =0x00000000f3657458 is an oop
org.hyperic.sigar.Sigar 
 - klass: 'org/hyperic/sigar/Sigar'
R10=0x00000000000002a8 is an unknown value
R11=0x000000006aa0ecf4 is an unknown value
R12=0x0000000000000000 is an unknown value
R13=0x0000017a93310c48 is pointing into metadata
R14=0x0000004916ffec60 is pointing into the stack for thread: 0x0000017a90c2e000
R15=0x0000017a90c2e000 is a thread

Stack: [0x0000004916f00000,0x0000004917000000],  sp=0x0000004916ffeae0,  free space=1018k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [sigar-amd64-winnt.dll+0x156c4]
C  [sigar-amd64-winnt.dll+0x18761]
C  0x0000017a8001964e

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.hyperic.sigar.Cpu.gather(Lorg/hyperic/sigar/Sigar;)V+0
j  org.hyperic.sigar.Cpu.fetch(Lorg/hyperic/sigar/Sigar;)Lorg/hyperic/sigar/Cpu;+10
j  org.hyperic.sigar.Sigar.getCpu()Lorg/hyperic/sigar/Cpu;+1
j  org.hyperic.sigar.Sigar.getCpuPerc()Lorg/hyperic/sigar/CpuPerc;+8
j  com.lucidworks.apollo.metrics.DefaultHostInfoMetricReporter.getMetrics()Ljava/util/Map;+177
j  com.lucidworks.apollo.metrics.DefaultHostInfoMetricReporter.report()V+5
j  com.lucidworks.apollo.agent.AgentServerMain.lambda$run$1(Lcom/lucidworks/apollo/metrics/HostInfoMetricReporter;)V+1
j  com.lucidworks.apollo.agent.AgentServerMain$$Lambda$163.run()V+4
J 3869 C1 java.util.concurrent.Executors$RunnableAdapter.call()Ljava/lang/Object; (14 bytes) @ 0x0000017a80a46c4c [0x0000017a80a46b40+0x10c]
J 4050 C1 java.util.concurrent.FutureTask.runAndReset()Z (128 bytes) @ 0x0000017a80afa0dc [0x0000017a80af9e80+0x25c]
J 3884 C1 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run()V (59 bytes) @ 0x0000017a80a4f1ec [0x0000017a80a4ecc0+0x52c]
j  java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+95
j  java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x0000017a8fe92000 JavaThread "Thread-387" daemon [_thread_in_native, id=4988, stack(0x0000004914000000,0x0000004914100000)]
  0x0000017a8fe93000 JavaThread "WaitForProcess-java.lang.ProcessImpl@5f6f9e85" daemon [_thread_in_native, id=7408, stack(0x0000004918500000,0x0000004918600000)]
  0x0000017a8fe8a800 JavaThread "Thread-373" daemon [_thread_in_native, id=12128, stack(0x0000004918400000,0x0000004918500000)]
  0x0000017a8fe8b800 JavaThread "Thread-372" daemon [_thread_in_native, id=12892, stack(0x0000004917900000,0x0000004917a00000)]
  0x0000017a8fe89000 JavaThread "WaitForProcess-java.lang.ProcessImpl@3c00c70c" daemon [_thread_in_native, id=10392, stack(0x0000004918200000,0x0000004918300000)]
  0x0000017a8fe90000 JavaThread "Thread-205" daemon [_thread_in_native, id=3204, stack(0x0000004918100000,0x0000004918200000)]
  0x0000017a8fe8f000 JavaThread "Thread-204" daemon [_thread_in_native, id=13196, stack(0x0000004918000000,0x0000004918100000)]
  0x0000017a8fe8a000 JavaThread "admin-ui service-monitor" daemon [_thread_blocked, id=4496, stack(0x0000004917f00000,0x0000004918000000)]
  0x0000017a8fe8d800 JavaThread "service-pool-3" daemon [_thread_blocked, id=3932, stack(0x0000004918300000,0x0000004918400000)]
  0x0000017a90c2f800 JavaThread "service-pool-2" daemon [_thread_blocked, id=13140, stack(0x0000004917300000,0x0000004917400000)]
  0x0000017a90c37000 JavaThread "WaitForProcess-java.lang.ProcessImpl@ffc09ea" daemon [_thread_in_native, id=15672, stack(0x0000004917800000,0x0000004917900000)]
  0x0000017a90c35800 JavaThread "Thread-129" daemon [_thread_in_native, id=15564, stack(0x0000004917700000,0x0000004917800000)]
  0x0000017a90c29800 JavaThread "Thread-128" daemon [_thread_in_native, id=11028, stack(0x0000004917500000,0x0000004917600000)]
  0x0000017a90c30800 JavaThread "webapps service-monitor" daemon [_thread_blocked, id=4044, stack(0x0000004917400000,0x0000004917500000)]
  0x0000017a90c31000 JavaThread "WaitForProcess-java.lang.ProcessImpl@585e594f" daemon [_thread_in_native, id=9856, stack(0x0000004917d00000,0x0000004917e00000)]
  0x0000017a90c36800 JavaThread "Thread-112" daemon [_thread_in_native, id=9612, stack(0x0000004917c00000,0x0000004917d00000)]
  0x0000017a90c34000 JavaThread "Thread-111" daemon [_thread_in_native, id=1936, stack(0x0000004917b00000,0x0000004917c00000)]
  0x0000017a90c35000 JavaThread "api service-monitor" daemon [_thread_blocked, id=784, stack(0x0000004917100000,0x0000004917200000)]
  0x0000017a90c33800 JavaThread "qtp571598641-145" [_thread_blocked, id=11720, stack(0x0000004917600000,0x0000004917700000)]
  0x0000017a90c28000 JavaThread "zookeeper service-monitor" daemon [_thread_blocked, id=12648, stack(0x0000004917200000,0x0000004917300000)]
  0x0000017a90c2a800 JavaThread "qtp571598641-115" [_thread_blocked, id=14572, stack(0x0000004917000000,0x0000004917100000)]
  0x0000017a90c27800 JavaThread "Scheduler-1789767826" [_thread_blocked, id=10004, stack(0x0000004916600000,0x0000004916700000)]
=>0x0000017a90c2e000 JavaThread "agent-host-metrics-poller" daemon [_thread_in_native, id=11072, stack(0x0000004916f00000,0x0000004917000000)]
  0x0000017a90c2d800 JavaThread "qtp571598641-101" [_thread_in_native, id=4256, stack(0x0000004916e00000,0x0000004916f00000)]
  0x0000017a90c2c000 JavaThread "qtp571598641-100-acceptor-0@1949264d-ServerConnector@b842275{HTTP/1.1,[http/1.1]}{0.0.0.0:8091}" [_thread_in_native, id=8588, stack(0x0000004916d00000,0x0000004916e00000)]
  0x0000017a90c2b000 JavaThread "qtp571598641-99" [_thread_in_native, id=13968, stack(0x0000004916c00000,0x0000004916d00000)]
  0x0000017a90c29000 JavaThread "qtp571598641-98" [_thread_blocked, id=15572, stack(0x0000004916b00000,0x0000004916c00000)]
  0x0000017a90c2c800 JavaThread "qtp571598641-97" [_thread_in_native, id=12860, stack(0x0000004916a00000,0x0000004916b00000)]
  0x0000017afd540800 JavaThread "qtp571598641-96" [_thread_in_native, id=4344, stack(0x0000004916900000,0x0000004916a00000)]
  0x0000017afd545000 JavaThread "qtp571598641-95" [_thread_blocked, id=1864, stack(0x0000004916800000,0x0000004916900000)]
  0x0000017afd547800 JavaThread "qtp571598641-94" [_thread_blocked, id=9792, stack(0x0000004916200000,0x0000004916300000)]
  0x0000017afd544800 JavaThread "proxy service-monitor" daemon [_thread_in_native, id=1868, stack(0x0000004916700000,0x0000004916800000)]
  0x0000017afd542000 JavaThread "tika-server service-monitor" daemon [_thread_blocked, id=10260, stack(0x0000004916500000,0x0000004916600000)]
  0x0000017afd543000 JavaThread "service-pool-1" daemon [_thread_blocked, id=852, stack(0x0000004916400000,0x0000004916500000)]
  0x0000017afdd52800 JavaThread "connectors-rpc service-monitor" daemon [_thread_blocked, id=856, stack(0x0000004916300000,0x0000004916400000)]
  0x0000017afe341000 JavaThread "connectors-classic service-monitor" daemon [_thread_blocked, id=7136, stack(0x0000004916100000,0x0000004916200000)]
  0x0000017afefa7000 JavaThread "service-pool-0" daemon [_thread_blocked, id=2152, stack(0x0000004915f00000,0x0000004916000000)]
  0x0000017afef9b000 JavaThread "solr service-monitor" daemon [_thread_blocked, id=13948, stack(0x0000004915e00000,0x0000004915f00000)]
  0x0000017afe451000 JavaThread "pollingConfigurationSource" daemon [_thread_blocked, id=15560, stack(0x0000004915d00000,0x0000004915e00000)]
  0x0000017afe44f800 JavaThread "pollingConfigurationSource" daemon [_thread_blocked, id=900, stack(0x0000004915c00000,0x0000004915d00000)]
  0x0000017afe320000 JavaThread "Thread-1" daemon [_thread_in_native, id=11428, stack(0x0000004915b00000,0x0000004915c00000)]
  0x0000017afe486800 JavaThread "pid-file-watcher" daemon [_thread_blocked, id=8400, stack(0x0000004915a00000,0x0000004915b00000)]
  0x0000017afe057800 JavaThread "Log4j2-TF-4-Scheduled-1" daemon [_thread_blocked, id=16192, stack(0x0000004915900000,0x0000004915a00000)]
  0x0000017afd5da800 JavaThread "Service Thread" daemon [_thread_blocked, id=15116, stack(0x0000004915700000,0x0000004915800000)]
  0x0000017afd541800 JavaThread "C1 CompilerThread3" daemon [_thread_blocked, id=9464, stack(0x0000004915600000,0x0000004915700000)]
  0x0000017afd546800 JavaThread "C2 CompilerThread2" daemon [_thread_blocked, id=2580, stack(0x0000004915500000,0x0000004915600000)]
  0x0000017afd532800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=3324, stack(0x0000004915400000,0x0000004915500000)]
  0x0000017afd52c800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=14828, stack(0x0000004915300000,0x0000004915400000)]
  0x0000017afd529800 JavaThread "Attach Listener" daemon [_thread_blocked, id=5992, stack(0x0000004915200000,0x0000004915300000)]
  0x0000017afd529000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3312, stack(0x0000004915100000,0x0000004915200000)]
  0x0000017afd528000 JavaThread "Surrogate Locker Thread (Concurrent GC)" daemon [_thread_blocked, id=1816, stack(0x0000004915000000,0x0000004915100000)]
  0x0000017afd4fe000 JavaThread "Finalizer" daemon [_thread_blocked, id=7948, stack(0x0000004914f00000,0x0000004915000000)]
  0x0000017afd4f5800 JavaThread "Reference Handler" daemon [_thread_blocked, id=5152, stack(0x0000004914e00000,0x0000004914f00000)]
  0x0000017af819f800 JavaThread "main" [_thread_blocked, id=8044, stack(0x0000004914300000,0x0000004914400000)]

Other Threads:
  0x0000017afd4ce000 VMThread [stack: 0x0000004914d00000,0x0000004914e00000] [id=4056]
  0x0000017afd5dc800 WatcherThread [stack: 0x0000004915800000,0x0000004915900000] [id=7128]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

heap address: 0x00000000f0000000, size: 256 MB, Compressed Oops mode: 32-bit
Narrow klass base: 0x0000000000000000, Narrow klass shift: 3
Compressed class space size: 1073741824 Address: 0x0000000100000000

Heap:
 par new generation   total 54656K, used 12435K [0x00000000f0000000, 0x00000000f4000000, 0x00000000f4000000)
  eden space 43776K,   3% used [0x00000000f0000000, 0x00000000f0184c50, 0x00000000f2ac0000)
  from space 10880K, 100% used [0x00000000f3560000, 0x00000000f4000000, 0x00000000f4000000)
  to   space 10880K,   0% used [0x00000000f2ac0000, 0x00000000f2ac0000, 0x00000000f3560000)
 concurrent mark-sweep generation total 196608K, used 4153K [0x00000000f4000000, 0x0000000100000000, 0x0000000100000000)
 Metaspace       used 33867K, capacity 35156K, committed 35480K, reserved 1081344K
  class space    used 4099K, capacity 4386K, committed 4504K, reserved 1048576K

Card table byte_map: [0x0000017af9ea0000,0x0000017af9f30000] byte_map_base: 0x0000017af9720000

Marking Bits: (CMSBitMap*) 0x0000017af81ffb38
 Bits: [0x0000017afa3f0000, 0x0000017afa6f0000)

Mod Union Table: (CMSBitMap*) 0x0000017af81ffbf8
 Bits: [0x0000017af82f0000, 0x0000017af82fc000)

Polling page: 0x0000017af82c0000

CodeCache: size=245760Kb used=11328Kb max_used=11333Kb free=234431Kb
 bounds [0x0000017a80000000, 0x0000017a80b20000, 0x0000017a8f000000]
 total_blobs=4263 nmethods=3742 adapters=435
 compilation: enabled

Compilation events (10 events):
Event: 80.619 Thread 0x0000017afd541800 4089       3       java.net.AbstractPlainSocketImpl::finalize (5 bytes)
Event: 80.619 Thread 0x0000017afd541800 nmethod 4089 0x0000017a80b1afd0 code [0x0000017a80b1b140, 0x0000017a80b1b350]
Event: 80.624 Thread 0x0000017afd541800 4090       3       java.io.FileInputStream::finalize (22 bytes)
Event: 80.625 Thread 0x0000017afd541800 nmethod 4090 0x0000017a80b1ab50 code [0x0000017a80b1acc0, 0x0000017a80b1af50]
Event: 80.634 Thread 0x0000017afd541800 4091       3       java.io.FileOutputStream::finalize (39 bytes)
Event: 80.635 Thread 0x0000017afd541800 nmethod 4091 0x0000017a80b1a550 code [0x0000017a80b1a6c0, 0x0000017a80b1aa90]
Event: 80.641 Thread 0x0000017afd541800 4092       3       java.lang.ProcessImpl::finalize (9 bytes)
Event: 80.641 Thread 0x0000017afd541800 nmethod 4092 0x0000017a80b1a1d0 code [0x0000017a80b1a340, 0x0000017a80b1a4d0]
Event: 80.763 Thread 0x0000017afd541800 4095       3       java.util.Formatter$FormatSpecifier::print (59 bytes)
Event: 80.764 Thread 0x0000017afd541800 nmethod 4095 0x0000017a80b19590 code [0x0000017a80b19700, 0x0000017a80b19970]

GC Heap History (10 events):
Event: 1.754 GC heap before
{Heap before GC invocations=0 (full 0):
 par new generation   total 54656K, used 43776K [0x00000000f0000000, 0x00000000f4000000, 0x00000000f4000000)
  eden space 43776K, 100% used [0x00000000f0000000, 0x00000000f2ac0000, 0x00000000f2ac0000)
  from space 10880K,   0% used [0x00000000f2ac0000, 0x00000000f2ac0000, 0x00000000f3560000)
  to   space 10880K,   0% used [0x00000000f3560000, 0x00000000f3560000, 0x00000000f4000000)
 concurrent mark-sweep generation total 196608K, used 0K [0x00000000f4000000, 0x0000000100000000, 0x0000000100000000)
 Metaspace       used 17670K, capacity 17910K, committed 18048K, reserved 1064960K
  class space    used 2089K, capacity 2170K, committed 2176K, reserved 1048576K
Event: 1.765 GC heap after
Heap after GC invocations=1 (full 0):
 par new generation   total 54656K, used 10296K [0x00000000f0000000, 0x00000000f4000000, 0x00000000f4000000)
  eden space 43776K,   0% used [0x00000000f0000000, 0x00000000f0000000, 0x00000000f2ac0000)
  from space 10880K,  94% used [0x00000000f3560000, 0x00000000f3f6e308, 0x00000000f4000000)
  to   space 10880K,   0% used [0x00000000f2ac0000, 0x00000000f2ac0000, 0x00000000f3560000)
 concurrent mark-sweep generation total 196608K, used 0K [0x00000000f4000000, 0x0000000100000000, 0x0000000100000000)
 Metaspace       used 17670K, capacity 17910K, committed 18048K, reserved 1064960K
  class space    used 2089K, capacity 2170K, committed 2176K, reserved 1048576K
}
Event: 9.815 GC heap before
{Heap before GC invocations=1 (full 1):
 par new generation   total 54656K, used 41342K [0x00000000f0000000, 0x00000000f4000000, 0x00000000f4000000)
  eden space 43776K,  70% used [0x00000000f0000000, 0x00000000f1e51640, 0x00000000f2ac0000)
  from space 10880K,  94% used [0x00000000f3560000, 0x00000000f3f6e308, 0x00000000f4000000)
  to   space 10880K,   0% used [0x00000000f2ac0000, 0x00000000f2ac0000, 0x00000000f3560000)
 concurrent mark-sweep generation total 196608K, used 0K [0x00000000f4000000, 0x0000000100000000, 0x0000000100000000)
 Metaspace       used 23082K, capacity 23414K, committed 23876K, reserved 1071104K
  class space    used 2767K, capacity 2911K, committed 2968K, reserved 1048576K
Event: 9.856 GC heap after
Heap after GC invocations=2 (full 1):
 par new generation   total 54656K, used 7443K [0x00000000f0000000, 0x00000000f4000000, 0x00000000f4000000)
  eden space 43776K,   0% used [0x00000000f0000000, 0x00000000f0000000, 0x00000000f2ac0000)
  from space 10880K,  68% used [0x00000000f2ac0000, 0x00000000f3204e40, 0x00000000f3560000)
  to   space 10880K,   0% used [0x00000000f3560000, 0x00000000f3560000, 0x00000000f4000000)
 concurrent mark-sweep generation total 196608K, used 3450K [0x00000000f4000000, 0x0000000100000000, 0x0000000100000000)
 Metaspace       used 23082K, capacity 23414K, committed 23876K, reserved 1071104K
  class space    used 2767K, capacity 2911K, committed 2968K, reserved 1048576K
}
Event: 17.461 GC heap before
{Heap before GC invocations=2 (full 1):
 par new generation   total 54656K, used 51219K [0x00000000f0000000, 0x00000000f4000000, 0x00000000f4000000)
  eden space 43776K, 100% used [0x00000000f0000000, 0x00000000f2ac0000, 0x00000000f2ac0000)
  from space 10880K,  68% used [0x00000000f2ac0000, 0x00000000f3204e40, 0x00000000f3560000)
  to   space 10880K,   0% used [0x00000000f3560000, 0x00000000f3560000, 0x00000000f4000000)
 concurrent mark-sweep generation total 196608K, used 3450K [0x00000000f4000000, 0x0000000100000000, 0x0000000100000000)
 Metaspace       used 27466K, capacity 28008K, committed 28184K, reserved 1073152K
  class space    used 3333K, capacity 3502K, committed 3608K, reserved 1048576K
Event: 17.473 GC heap after
Heap after GC invocations=3 (full 1):
 par new generation   total 54656K, used 9405K [0x00000000f0000000, 0x00000000f4000000, 0x00000000f4000000)
  eden space 43776K,   0% used [0x00000000f0000000, 0x00000000f0000000, 0x00000000f2ac0000)
  from space 10880K,  86% used [0x00000000f3560000, 0x00000000f3e8f760, 0x00000000f4000000)
  to   space 10880K,   0% used [0x00000000f2ac0000, 0x00000000f2ac0000, 0x00000000f3560000)
 concurrent mark-sweep generation total 196608K, used 3450K [0x00000000f4000000, 0x0000000100000000, 0x0000000100000000)
 Metaspace       used 27466K, capacity 28008K, committed 28184K, reserved 1073152K
  class space    used 3333K, capacity 3502K, committed 3608K, reserved 1048576K
}
Event: 26.457 GC heap before
{Heap before GC invocations=3 (full 1):
 par new generation   total 54656K, used 53181K [0x00000000f0000000, 0x00000000f4000000, 0x00000000f4000000)
  eden space 43776K, 100% used [0x00000000f0000000, 0x00000000f2ac0000, 0x00000000f2ac0000)
  from space 10880K,  86% used [0x00000000f3560000, 0x00000000f3e8f760, 0x00000000f4000000)
  to   space 10880K,   0% used [0x00000000f2ac0000, 0x00000000f2ac0000, 0x00000000f3560000)
 concurrent mark-sweep generation total 196608K, used 3450K [0x00000000f4000000, 0x0000000100000000, 0x0000000100000000)
 Metaspace       used 33067K, capacity 34056K, committed 34328K, reserved 1079296K
  class space    used 4049K, capacity 4310K, committed 4376K, reserved 1048576K
Event: 26.472 GC heap after
Heap after GC invocations=4 (full 1):
 par new generation   total 54656K, used 10880K [0x00000000f0000000, 0x00000000f4000000, 0x00000000f4000000)
  eden space 43776K,   0% used [0x00000000f0000000, 0x00000000f0000000, 0x00000000f2ac0000)
  from space 10880K, 100% used [0x00000000f2ac0000, 0x00000000f3560000, 0x00000000f3560000)
  to   space 10880K,   0% used [0x00000000f3560000, 0x00000000f3560000, 0x00000000f4000000)
 concurrent mark-sweep generation total 196608K, used 3858K [0x00000000f4000000, 0x0000000100000000, 0x0000000100000000)
 Metaspace       used 33067K, capacity 34056K, committed 34328K, reserved 1079296K
  class space    used 4049K, capacity 4310K, committed 4376K, reserved 1048576K
}
Event: 80.582 GC heap before
{Heap before GC invocations=4 (full 1):
 par new generation   total 54656K, used 54656K [0x00000000f0000000, 0x00000000f4000000, 0x00000000f4000000)
  eden space 43776K, 100% used [0x00000000f0000000, 0x00000000f2ac0000, 0x00000000f2ac0000)
  from space 10880K, 100% used [0x00000000f2ac0000, 0x00000000f3560000, 0x00000000f3560000)
  to   space 10880K,   0% used [0x00000000f3560000, 0x00000000f3560000, 0x00000000f4000000)
 concurrent mark-sweep generation total 196608K, used 3858K [0x00000000f4000000, 0x0000000100000000, 0x0000000100000000)
 Metaspace       used 33859K, capacity 35156K, committed 35480K, reserved 1081344K
  class space    used 4099K, capacity 4386K, committed 4504K, reserved 1048576K
Event: 80.599 GC heap after
Heap after GC invocations=5 (full 1):
 par new generation   total 54656K, used 10880K [0x00000000f0000000, 0x00000000f4000000, 0x00000000f4000000)
  eden space 43776K,   0% used [0x00000000f0000000, 0x00000000f0000000, 0x00000000f2ac0000)
  from space 10880K, 100% used [0x00000000f3560000, 0x00000000f4000000, 0x00000000f4000000)
  to   space 10880K,   0% used [0x00000000f2ac0000, 0x00000000f2ac0000, 0x00000000f3560000)
 concurrent mark-sweep generation total 196608K, used 4153K [0x00000000f4000000, 0x0000000100000000, 0x0000000100000000)
 Metaspace       used 33859K, capacity 35156K, committed 35480K, reserved 1081344K
  class space    used 4099K, capacity 4386K, committed 4504K, reserved 1048576K
}

Deoptimization events (10 events):
Event: 22.072 Thread 0x0000017a90c29000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000017a8026eef8 method=java.util.HashMap.putVal(ILjava/lang/Object;Ljava/lang/Object;ZZ)Ljava/lang/Object; @ 203
Event: 22.144 Thread 0x0000017a90c29000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000017a803b2d08 method=java.util.Hashtable$Enumerator.nextElement()Ljava/lang/Object; @ 71
Event: 22.464 Thread 0x0000017a90c2a800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000017a801ff97c method=java.lang.CharacterDataLatin1.isWhitespace(I)Z @ 14
Event: 22.823 Thread 0x0000017a90c2a800 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x0000017a807d4358 method=java.util.HashMap.putVal(ILjava/lang/Object;Ljava/lang/Object;ZZ)Ljava/lang/Object; @ 253
Event: 22.937 Thread 0x0000017a90c2a800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000017a80363558 method=sun.net.www.ParseUtil.encodePath(Ljava/lang/String;Z)Ljava/lang/String; @ 109
Event: 22.948 Thread 0x0000017a90c2a800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000017a80169e70 method=java.lang.String.startsWith(Ljava/lang/String;I)Z @ 25
Event: 22.948 Thread 0x0000017a90c2a800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000017a80148808 method=java.lang.String.startsWith(Ljava/lang/String;I)Z @ 25
Event: 23.656 Thread 0x0000017a90c2b000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000017a80117540 method=java.util.regex.Pattern$Curly.match(Ljava/util/regex/Matcher;ILjava/lang/CharSequence;)Z @ 19
Event: 23.656 Thread 0x0000017a90c2b000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000017a80117540 method=java.util.regex.Pattern$Curly.match(Ljava/util/regex/Matcher;ILjava/lang/CharSequence;)Z @ 19
Event: 23.687 Thread 0x0000017a90c2b000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000017a804bcd60 method=java.util.LinkedHashMap.get(Ljava/lang/Object;)Ljava/lang/Object; @ 20

Classes redefined (0 events):
No events

Internal exceptions (10 events):
Event: 18.141 Thread 0x0000017af819f800 Implicit null exception at 0x0000017a802063af to 0x0000017a80206419
Event: 21.512 Thread 0x0000017a90c29000 Exception <a 'java/lang/NoSuchMethodError': java.lang.Object.lambda$comparingByKey$6d558cbf$1(Ljava/util/Comparator;Ljava/util/Map$Entry;Ljava/util/Map$Entry;)I> (0x00000000f15cd790) thrown at [C:\cygwin64\tmp\openjdk-jdk8u-windows-x64-hotspot\workspace\b
Event: 22.972 Thread 0x0000017a90c2a800 Exception <a 'java/lang/UnsatisfiedLinkError': The specified procedure could not be found.

> (0x00000000f1e8b938) thrown at [C:\cygwin64\tmp\openjdk-jdk8u-windows-x64-hotspot\workspace\build\src\hotspot\src\share\vm\prims\jni.cpp, line 737]
Event: 30.443 Thread 0x0000017afd543000 Exception <a 'java/net/ConnectException': Connection refused: connect> (0x00000000f0b4b778) thrown at [C:\cygwin64\tmp\openjdk-jdk8u-windows-x64-hotspot\workspace\build\src\hotspot\src\share\vm\prims\jni.cpp, line 737]
Event: 34.632 Thread 0x0000017afd543000 Exception <a 'java/net/ConnectException': Connection refused: connect> (0x00000000f0b4c520) thrown at [C:\cygwin64\tmp\openjdk-jdk8u-windows-x64-hotspot\workspace\build\src\hotspot\src\share\vm\prims\jni.cpp, line 737]
Event: 38.756 Thread 0x0000017afd543000 Exception <a 'java/net/ConnectException': Connection refused: connect> (0x00000000f0b4d1b8) thrown at [C:\cygwin64\tmp\openjdk-jdk8u-windows-x64-hotspot\workspace\build\src\hotspot\src\share\vm\prims\jni.cpp, line 737]
Event: 45.240 Thread 0x0000017afd543000 Exception <a 'java/net/ConnectException': Connection refused: connect> (0x00000000f0b575d0) thrown at [C:\cygwin64\tmp\openjdk-jdk8u-windows-x64-hotspot\workspace\build\src\hotspot\src\share\vm\prims\jni.cpp, line 737]
Event: 49.532 Thread 0x0000017afd543000 Exception <a 'java/net/ConnectException': Connection refused: connect> (0x00000000f0b58288) thrown at [C:\cygwin64\tmp\openjdk-jdk8u-windows-x64-hotspot\workspace\build\src\hotspot\src\share\vm\prims\jni.cpp, line 737]
Event: 53.988 Thread 0x0000017afd543000 Exception <a 'java/net/ConnectException': Connection refused: connect> (0x00000000f0b58f20) thrown at [C:\cygwin64\tmp\openjdk-jdk8u-windows-x64-hotspot\workspace\build\src\hotspot\src\share\vm\prims\jni.cpp, line 737]
Event: 58.387 Thread 0x0000017afd543000 Exception <a 'java/net/ConnectException': Connection refused: connect> (0x00000000f0b59bb8) thrown at [C:\cygwin64\tmp\openjdk-jdk8u-windows-x64-hotspot\workspace\build\src\hotspot\src\share\vm\prims\jni.cpp, line 737]

Events (10 events):
Event: 80.006 Thread 0x0000017a8fe8c000 Thread exited: 0x0000017a8fe8c000
Event: 80.128 Thread 0x0000017a8fe8c000 Thread added: 0x0000017a8fe8c000
Event: 80.437 Thread 0x0000017a8fe8e800 Thread exited: 0x0000017a8fe8e800
Event: 80.570 Thread 0x0000017a8fe94800 Thread exited: 0x0000017a8fe94800
Event: 80.582 Executing VM operation: GenCollectForAllocation
Event: 80.599 Executing VM operation: GenCollectForAllocation done
Event: 80.757 Thread 0x0000017a8fe8c000 Thread exited: 0x0000017a8fe8c000
Event: 80.774 Thread 0x0000017a8fe92000 Thread added: 0x0000017a8fe92000
Event: 80.780 loading class org/hyperic/sigar/Cpu
Event: 80.780 loading class org/hyperic/sigar/Cpu done

Dynamic libraries:
0x00007ff6c4620000 - 0x00007ff6c465a000     C:\Users\User\Downloads\jdk8u242-b08\bin\javaw.exe
0x00007ffa27520000 - 0x00007ffa27710000     C:\Windows\SYSTEM32\ntdll.dll
0x00007ffa26550000 - 0x00007ffa26602000     C:\Windows\System32\KERNEL32.DLL
0x00007ffa24cd0000 - 0x00007ffa24f74000     C:\Windows\System32\KERNELBASE.dll
0x00007ffa25a00000 - 0x00007ffa25aa3000     C:\Windows\System32\ADVAPI32.dll
0x00007ffa26e20000 - 0x00007ffa26ebe000     C:\Windows\System32\msvcrt.dll
0x00007ffa25620000 - 0x00007ffa256b7000     C:\Windows\System32\sechost.dll
0x00007ffa26d00000 - 0x00007ffa26e20000     C:\Windows\System32\RPCRT4.dll
0x00007ffa25cc0000 - 0x00007ffa25e54000     C:\Windows\System32\USER32.dll
0x00007ffa24ca0000 - 0x00007ffa24cc1000     C:\Windows\System32\win32u.dll
0x00007ffa255f0000 - 0x00007ffa25616000     C:\Windows\System32\GDI32.dll
0x00007ffa25430000 - 0x00007ffa255c6000     C:\Windows\System32\gdi32full.dll
0x00007ffa24f80000 - 0x00007ffa2501e000     C:\Windows\System32\msvcp_win.dll
0x00007ffa251e0000 - 0x00007ffa252da000     C:\Windows\System32\ucrtbase.dll
0x00007ffa144a0000 - 0x00007ffa14724000     C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.18362.959_none_e6c7bbbf130c62bb\COMCTL32.dll
0x00007ffa256c0000 - 0x00007ffa259f5000     C:\Windows\System32\combase.dll
0x00007ffa25020000 - 0x00007ffa250a0000     C:\Windows\System32\bcryptPrimitives.dll
0x00007ffa27050000 - 0x00007ffa2707e000     C:\Windows\System32\IMM32.DLL
0x00007ffa016f0000 - 0x00007ffa017df000     C:\Users\User\Downloads\jdk8u242-b08\jre\bin\msvcr120.dll
0x00007ffa07670000 - 0x00007ffa07716000     C:\Users\User\Downloads\jdk8u242-b08\jre\bin\msvcp120.dll
0x000000006a290000 - 0x000000006aa91000     C:\Users\User\Downloads\jdk8u242-b08\jre\bin\server\jvm.dll
0x00007ffa25b60000 - 0x00007ffa25b68000     C:\Windows\System32\PSAPI.DLL
0x00007ffa1b010000 - 0x00007ffa1b01a000     C:\Windows\SYSTEM32\VERSION.dll
0x00007ffa20a00000 - 0x00007ffa20a24000     C:\Windows\SYSTEM32\WINMM.dll
0x00007ffa12470000 - 0x00007ffa12479000     C:\Windows\SYSTEM32\WSOCK32.dll
0x00007ffa27460000 - 0x00007ffa274cf000     C:\Windows\System32\WS2_32.dll
0x00007ffa209d0000 - 0x00007ffa209fd000     C:\Windows\SYSTEM32\winmmbase.dll
0x00007ffa24c30000 - 0x00007ffa24c7a000     C:\Windows\System32\cfgmgr32.dll
0x00007ffa147a0000 - 0x00007ffa147af000     C:\Users\User\Downloads\jdk8u242-b08\jre\bin\verify.dll
0x00007ffa07800000 - 0x00007ffa07828000     C:\Users\User\Downloads\jdk8u242-b08\jre\bin\java.dll
0x00007ffa122f0000 - 0x00007ffa12306000     C:\Users\User\Downloads\jdk8u242-b08\jre\bin\zip.dll
0x00007ffa25e60000 - 0x00007ffa26546000     C:\Windows\System32\SHELL32.dll
0x00007ffa25ab0000 - 0x00007ffa25b59000     C:\Windows\System32\shcore.dll
0x00007ffa244a0000 - 0x00007ffa24c22000     C:\Windows\System32\windows.storage.dll
0x00007ffa24470000 - 0x00007ffa24493000     C:\Windows\System32\profapi.dll
0x00007ffa24400000 - 0x00007ffa2444a000     C:\Windows\System32\powrprof.dll
0x00007ffa243d0000 - 0x00007ffa243e0000     C:\Windows\System32\UMPDC.dll
0x00007ffa27080000 - 0x00007ffa270d2000     C:\Windows\System32\shlwapi.dll
0x00007ffa243e0000 - 0x00007ffa243f1000     C:\Windows\System32\kernel.appcore.dll
0x00007ffa24c80000 - 0x00007ffa24c97000     C:\Windows\System32\cryptsp.dll
0x00007ffa14790000 - 0x00007ffa1479d000     C:\Users\User\Downloads\jdk8u242-b08\jre\bin\management.dll
0x00007ffa0b630000 - 0x00007ffa0b64a000     C:\Users\User\Downloads\jdk8u242-b08\jre\bin\net.dll
0x00007ffa23bf0000 - 0x00007ffa23c57000     C:\Windows\system32\mswsock.dll
0x00007ffa02af0000 - 0x00007ffa02b06000     C:\Windows\system32\napinsp.dll
0x00007ffa02ad0000 - 0x00007ffa02aea000     C:\Windows\system32\pnrpnsp.dll
0x00007ffa23950000 - 0x00007ffa23a1b000     C:\Windows\SYSTEM32\DNSAPI.dll
0x00007ffa274d0000 - 0x00007ffa274d8000     C:\Windows\System32\NSI.dll
0x00007ffa23910000 - 0x00007ffa2394a000     C:\Windows\SYSTEM32\IPHLPAPI.DLL
0x00007ffa02ac0000 - 0x00007ffa02ace000     C:\Windows\System32\winrnr.dll
0x00007ffa20810000 - 0x00007ffa2082c000     C:\Windows\system32\NLAapi.dll
0x00007ffa1f900000 - 0x00007ffa1f915000     C:\Windows\system32\wshbth.dll
0x00007ffa18480000 - 0x00007ffa184f7000     C:\Windows\System32\fwpuclnt.dll
0x00007ffa250a0000 - 0x00007ffa250c6000     C:\Windows\System32\bcrypt.dll
0x00007ffa18210000 - 0x00007ffa1821a000     C:\Windows\System32\rasadhlp.dll
0x00007ffa08f00000 - 0x00007ffa08f12000     C:\Users\User\Downloads\jdk8u242-b08\jre\bin\nio.dll
0x00007ffa08cc0000 - 0x00007ffa08ce3000     C:\Users\User\Downloads\jdk8u242-b08\jre\bin\sunec.dll
0x00007ffa23770000 - 0x00007ffa237a3000     C:\Windows\system32\rsaenh.dll
0x00007ffa242c0000 - 0x00007ffa242e5000     C:\Windows\SYSTEM32\USERENV.dll
0x00007ffa23d70000 - 0x00007ffa23d7c000     C:\Windows\SYSTEM32\CRYPTBASE.dll
0x00007ffa1af10000 - 0x00007ffa1af26000     C:\Windows\SYSTEM32\dhcpcsvc6.DLL
0x00007ffa1ade0000 - 0x00007ffa1adfc000     C:\Windows\SYSTEM32\dhcpcsvc.DLL
0x0000000180000000 - 0x0000000180069000     C:\Users\User\test\var\agent\work\sigar-amd64-winnt.dll
0x00007ffa27300000 - 0x00007ffa27457000     C:\Windows\System32\ole32.dll
0x00007ffa26f80000 - 0x00007ffa27045000     C:\Windows\System32\OLEAUT32.dll
0x00007ffa18660000 - 0x00007ffa18677000     C:\Windows\SYSTEM32\NETAPI32.dll
0x00007ffa07440000 - 0x00007ffa07488000     C:\Windows\SYSTEM32\pdh.dll
0x00007ffa23a20000 - 0x00007ffa23a2c000     C:\Windows\SYSTEM32\NETUTILS.DLL
0x00007ffa0e650000 - 0x00007ffa0e676000     C:\Windows\SYSTEM32\SRVCLI.DLL
0x00007ffa208b0000 - 0x00007ffa208d5000     C:\Users\User\test\var\agent\work\jna-2645995\jna8532340300183197341.dll
0x000000006a1b0000 - 0x000000006a282000     C:\Windows\SYSTEM32\MSVCR100.dll
0x00007ffa208e0000 - 0x00007ffa208ef000     C:\Windows\System32\perfproc.dll
0x00007ffa20950000 - 0x00007ffa2095e000     C:\Windows\System32\perfos.dll
0x00007ffa22af0000 - 0x00007ffa22ce4000     C:\Windows\SYSTEM32\dbghelp.dll

VM Arguments:
jvm_args: -Dfile.encoding=UTF-8 -DserviceName=agent -Dvar.dir=C:/Users/User/test/var/agent -Djava.io.tmpdir=C:/Users/User/test/var/agent/work -Dlog4j.configurationFile=file://C:/Users/User/test/conf/agent-log4j2.xml -Duser.timezone=UTC -Dapollo.home=C:/Users/User/test -Dcom.lucidworks.apollo.solr.zk.connect=localhost:9983/lwfusion/4.2.2/solr -Dspark.home=C:/Users/User/test/apps/spark-dist -Dcurator.zk.connect=localhost:9983 -DIGNITE_UPDATE_NOTIFIER=false -DIGNITE_NO_ASCII=true -Dcom.lucidworks.apollo.app.port=8091 -Dcom.lucidworks.apollo.app.hostname=192.168.1.39 -Dcom.lucidworks.apollo.app.bindAddress=localhost -Dcurator.namespace=lwfusion/4.2.2/core -Djava.net.preferIPv4Stack=true -Dfile.encoding=UTF-8 -verbose:gc -Xloggc:C:\Users\User\test\var\log\agent\gc_20200811_1907.log -XX:+PrintHeapAtGC -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+PrintTenuringDistribution -XX:+PrintGCApplicationStoppedTime -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=20 -XX:GCLogFileSize=10M -XX:NewRatio=3 -XX:SurvivorRatio=4 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=8 -XX:ConcGCThreads=4 -XX:ParallelGCThreads=4 -XX:+CMSScavengeBeforeRemark -XX:PretenureSizeThreshold=64m -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=50 -XX:CMSMaxAbortablePrecleanTime=6000 -XX:+CMSParallelRemarkEnabled -XX:+ParallelRefProcEnabled -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -Xmx256m -XX:+ExitOnOutOfMemoryError -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=C:/Users/User/test/var/crash/agent -Dlog4j.skipJansi=true 
java_command: com.lucidworks.apollo.agent.AgentServerMain -f C:\Users\User\test\var\agent\agent-20200811_190717.config.json
java_class_path (initial): C:\Users\User\test\apps\lucidworks-agent.jar;C:\Users\User\Downloads\jdk8u242-b08\lib\tools.jar
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=C:\Users\User\Downloads\jdk8u242-b08
JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8
PATH=C:\Users\User\Downloads\jdk8u242-b08\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files (x86)\Bitvise SSH Client;C:\Program Files\nodejs\;C:\Program Files\Docker\Docker\resources\bin;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\Calibre2\;C:\Python27;C:\Users\User\AppData\Local\Microsoft\WindowsApps;C:\Users\User\.dotnet\tools;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.1.3\bin;;
USERNAME=User
OS=Windows_NT
PROCESSOR_IDENTIFIER=AMD64 Family 23 Model 24 Stepping 1, AuthenticAMD

---------------  S Y S T E M  ---------------

OS: Windows 10.0 , 64 bit Build 18362 (10.0.18362.959)

CPU:total 8 (initial active 8) (8 cores per cpu, 1 threads per core) family 23 model 24 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, mmxext, 3dnowpref, lzcnt, sse4a, tsc, tscinvbit, tscinv, bmi1

Memory: 4k page, physical 64894756k(51268456k free), swap 74331940k(50369144k free)

vm_info: OpenJDK 64-Bit Server VM (25.242-b08) for windows-amd64 JRE (1.8.0_242-b08), built on Jan 19 2020 14:45:52 by "jenkins" with MS VC++ 12.0 (VS2013)

time: Wed Aug 12 00:08:38 2020
timezone: UTC
elapsed time: 80 seconds (0d 0h 1m 20s)
Rayn-liuwei commented 4 years ago

Yeah, It's bug. me too

aldrato commented 3 years ago

any solution to this problem?

cnstar9988 commented 3 years ago

Duplicate of #136, #138

cnstar9988 commented 3 years ago

I debug into running sigar process, find the reason: sigar use int save pointer, latest 64Bit windows load dll above 4G base address.

sadacs2005 commented 3 years ago

Hello @cnstar9988 , Could you please guide on steps to rebuild the dll ?

sadacs2005 commented 3 years ago

I re-built the project and copied the latest sigar-amd64-winnt.dll to /lib folder. Now I get this dependency error: C:\ServerAgent-2.2.3\ServerAgent-2.2.3\lib\sigar-amd64-winnt.dll: Can't find dependent libraries org.hyperic.sigar.SigarException: C:\ServerAgent-2.2.3\ServerAgent-2.2.3\lib\sigar-amd64-winnt.dll: Can't find dependent libraries at org.hyperic.sigar.Sigar.loadLibrary(Sigar.java:172) at org.hyperic.sigar.Sigar.(Sigar.java:100) at kg.apc.perfmon.PerfMonWorker.(PerfMonWorker.java:44) at kg.apc.perfmon.AgentTool.getWorker(AgentTool.java:93) at kg.apc.perfmon.AgentTool.processParams(AgentTool.java:23) at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:63) at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:23) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at kg.apc.cmd.UniversalRunner.main(UniversalRunner.java:174)

cnstar9988 commented 3 years ago

you can download for test, rename it to sigar-amd64-winnt.dll for sigar 1.6.4 https://github.com/cnstar9988/sigar/commit/9e5dba8d520cca718209d93fb89a4c5daebb7655

I can rebuilt the project and copied the latest sigar-amd64-winnt.dll for sigar 1.6.4 vs2010+Perl 5.8 + JDK 1.8 + ant 1.9.7

I can rebuild sigar 1.6.4, vs2010+Perl 5.8 + JDK 1.8 + ant 1.9.7

  1. run into vs2010 x64 command prompt environment.
  2. change dir into sigar-1.6.4\bindings\java.
  3. run ant. sigar-amd64-winnt.dll will be in sigar-1.6.4\bindings\java\sigar-bin\lib
cnstar9988 commented 3 years ago

the latest stable sigar 1.6.4, you can use code changes for sigar 1.6.4 code. replace only sigar-amd64-winnt.dll for sigar 1.6.4...

or use latest sigar.jar + sigar-amd64-winnt.dll both together.

sadacs2005 commented 3 years ago

@cnstar9988 I am finding it hard to follow the steps build steps mentioned above. Is it possible to share directly the sigar-amd64-winnt.dll and other dependent files?

cnstar9988 commented 3 years ago

you can download from the following links, it show a picture, you download it ,and rename it to sigar-amd64-winnt.dll, it works well with sigar 1.6.4. https://github.com/cnstar9988/sigar/commit/9e5dba8d520cca718209d93fb89a4c5daebb7655 https://github.com/cnstar9988/sigar/raw/master/sigar-amd64-winnt.dll

sigar-amd64-winnt.dll md5: adeeb56eb62e4929440b9a7f52efdfe4 sha1: b0a070dc77d6f4751c39df13cf1a9fc4775b8933

sadacs2005 commented 3 years ago

@cnstar9988 Thank you for sharing the dll. It works fine now

cnstar9988 commented 3 years ago

ok, it affects latest windows 64, maybe other 64bit OS.

reason: sigar use int save pointer, latest 64Bit windows may load dll above 4G base address. It must use jlong to save c/c++ pointer.

aldrato commented 3 years ago

It worked for me too, @cnstar9988 thank you very much!

cnstar9988 commented 3 years ago

Not at all. Good luck to you all.

fjmjuhqc commented 3 years ago

https://user-images.githubusercontent.com/895069/100061599-40e31600-2e69-11eb-9f18-6cf58344460d.jpg, this link is invalid,please take time to update,thank you very much. @cnstar9988

aldrato commented 3 years ago

I took the liberty of making the sigar-amd64-winnt.dll file from @cnstar9988 available on a fixed link in this topic. I hope it's not a problem.

https://drive.google.com/file/d/1JMxshmXKFF30w_J8qg25ISv34QFkkKUO/view?usp=sharing

nddipiazza commented 3 years ago

@aldrato I've been struggling to build this myself.

Can you tell me what specific versions of everything you used?

Windows SDK version Windows OS version Perl version JDK version Ant version

anything else that might be pertinent?

jgreffe commented 3 years ago

Same issue here, using org.hyperic.sigar-1.6.4.jar library. Windows 10 Professional, version 20H2 (19042.746). JDK java version "1.8.0_271" Java(TM) SE Runtime Environment (build 1.8.0_271-b09) Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)

aldrato commented 3 years ago

@nddipiazza I didn't rebuild the dll, I just got the dll made available by @ cnstar9988. For me it worked perfectly. @jgreffe use the dll provided in the link above. Replace your dll with it, it will probably work

Babak-abd commented 3 years ago

@ilanuriel @dougm When do we gonna get a new release with this fix? I see a download link for sigar-amd64-winnt.dll . I tried it and it fixed my issue. but I prefer to get a new release with this fix (if possible).

nddipiazza commented 3 years ago

@dougm @ilanuriel same here. still stick unable to run a build to generate this DLL. if you get a quick minute, any way you can create a fresh release with this fix?

jps17183 commented 3 years ago

Where do I place the sigar-amd64-winnt.dll file?

antmikinka commented 3 years ago

Where do I place the sigar-amd64-winnt.dll file?

go to your cassandra 3.x file > lib > sigar-bin then remove the other sigar-amd64-winnit.dll file and replace it with the one you downloaded. I just did that and its working now, so exited.

espx commented 1 year ago

Is this going to be part of a release soon? win64 is completely broken because of this. #142 fixes it

aldrato commented 1 year ago

Is this going to be part of a release soon? win64 is completely broken because of this. #142 fixes it

I believe it will no longer be updated