VMware Cloud Community
gregbo8
Contributor
Contributor

Windows agent crashing

When I try to install the agent on my windows xp box, it crashes:

- Informing agent of new HQ server
- Validating
- Successfully setup agent
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x10003935, pid=2356, tid=3068
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 interpreted mode)
# Problematic frame:
# C [sigar-x86-winnt.dll+0x3935]
#
# An error report file with more information is saved as hs_err_pid2356.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#

log follows:

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x100039a8, pid=404, tid=3708
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 interpreted mode)
# Problematic frame:
# C [sigar-x86-winnt.dll+0x39a8]
#

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

Current thread (0x0f2fc4d0): JavaThread "Thread-0" [_thread_in_native, id=3708]

siginfo: ExceptionCode=0xc0000005, reading address 0x236b88f2

Registers:
EAX=0x236b88f2, EBX=0x0b16e250, ECX=0x00000000, EDX=0x236b88f2
ESP=0x0f5ef3a8, EBP=0x0f5ef3fc, ESI=0x0b16e248, EDI=0x0f2fc4d0
EIP=0x100039a8, EFLAGS=0x00010207

Top of Stack: (sp=0x0f5ef3a8)
0x0f5ef3a8: 0b16e248 0f2fc590 0f5ef474 00000082
0x0f5ef3b8: 0f2fc4d0 0b16e248 0f6b74f0 176b7cf0
0x0f5ef3c8: 00000000 0f5ef538 6d795d8a 6d79f8f0
0x0f5ef3d8: ffffffff 0f5ef3fc 10009c8a 00000000
0x0f5ef3e8: 0f5ef474 00000082 00000082 236b88f2
0x0f5ef3f8: 00000000 0f5ef438 1000e74d 0f615840
0x0f5ef408: 0f5ef420 0f2fc4d0 0b16e248 00000006
0x0f5ef418: 00000008 0f3379c0 00000000 00000100

Instructions: (pc=0x100039a8)
0x10003998: 45 c4 8b 4d cc 3b 48 28 73 75 8b 55 f8 8b 45 f8
0x100039a8: 03 02 89 45 b8 83 7d e8 00 74 0d 8b 4d b8 03 4d


Stack: [0x0f4f0000,0x0f5f0000), sp=0x0f5ef3a8, free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [sigar-x86-winnt.dll+0x39a8]
C [sigar-x86-winnt.dll+0xe74d]
j org.hyperic.sigar.Sigar.getProcList()[J+0
v ~StubRoutines::call_stub
V [jvm.dll+0x845a9]
V [jvm.dll+0xd9317]
V [jvm.dll+0x8447a]
V [jvm.dll+0xed13f]
V [jvm.dll+0xa23ad]
C [java.dll+0x6d11]
j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+111
j org.hyperic.sigar.SigarProxyCache.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+363
j $Proxy0.getProcList()[J+9
j org.hyperic.sigar.ptql.ProcessFinder.find(Lorg/hyperic/sigar/ptql/ProcessQuery;)[J+8
j org.hyperic.sigar.ptql.ProcessFinder.find(Lorg/hyperic/sigar/SigarProxy;Ljava/lang/String;)[J+14
j org.hyperic.hq.product.ServerDetector.getPids(Ljava/lang/String;)[J+4
j org.hyperic.hq.plugin.iplanet.iPlanet6Detector.findServerProcess()Ljava/lang/String;+15
j org.hyperic.hq.plugin.iplanet.iPlanetMeasurementPlugin.getMIBs()[Ljava/lang/String;+14
j org.hyperic.hq.product.SNMPMeasurementPlugin.init(Lorg/hyperic/hq/product/PluginManager;)V+105
j org.hyperic.hq.product.PluginManager.registerPlugin(Lorg/hyperic/hq/product/GenericPlugin;Lorg/hyperic/util/config/ConfigResponse;)V+124
j org.hyperic.hq.product.ProductPluginManager.registerTypePlugin(Lorg/hyperic/hq/product/PluginManager;Lorg/hyperic/hq/product/PluginInfo;Lorg/hyperic/hq/product/GenericPlugin;Lorg/hyperic/hq/product/TypeInfo;)V+211
j org.hyperic.hq.product.ProductPluginManager.registerPluginJar(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/String;+512
j org.hyperic.hq.product.ProductPluginManager.registerPluginJar(Ljava/lang/String;)Ljava/lang/String;+3
j org.hyperic.hq.product.ProductPluginManager.registerPlugins(Ljava/lang/String;)I+246
j org.hyperic.hq.agent.server.AgentDaemon.startPluginManagers()V+41
j org.hyperic.hq.agent.server.AgentDaemon.start()V+79
j org.hyperic.hq.agent.server.AgentDaemon$RunnableAgent.run()V+69
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
V [jvm.dll+0x845a9]
V [jvm.dll+0xd9317]
V [jvm.dll+0x8447a]
V [jvm.dll+0x841d7]
V [jvm.dll+0x9ed69]
V [jvm.dll+0x109fe3]
V [jvm.dll+0x109fb1]
C [MSVCRT.dll+0x2a3b0]
C [kernel32.dll+0xb683]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.hyperic.sigar.Sigar.getProcList()[J+0
v ~StubRoutines::call_stub
j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+111
j org.hyperic.sigar.SigarProxyCache.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+363
j $Proxy0.getProcList()[J+9
j org.hyperic.sigar.ptql.ProcessFinder.find(Lorg/hyperic/sigar/ptql/ProcessQuery;)[J+8
j org.hyperic.sigar.ptql.ProcessFinder.find(Lorg/hyperic/sigar/SigarProxy;Ljava/lang/String;)[J+14
j org.hyperic.hq.product.ServerDetector.getPids(Ljava/lang/String;)[J+4
j org.hyperic.hq.plugin.iplanet.iPlanet6Detector.findServerProcess()Ljava/lang/String;+15
j org.hyperic.hq.plugin.iplanet.iPlanetMeasurementPlugin.getMIBs()[Ljava/lang/String;+14
j org.hyperic.hq.product.SNMPMeasurementPlugin.init(Lorg/hyperic/hq/product/PluginManager;)V+105
j org.hyperic.hq.product.PluginManager.registerPlugin(Lorg/hyperic/hq/product/GenericPlugin;Lorg/hyperic/util/config/ConfigResponse;)V+124
j org.hyperic.hq.product.ProductPluginManager.registerTypePlugin(Lorg/hyperic/hq/product/PluginManager;Lorg/hyperic/hq/product/PluginInfo;Lorg/hyperic/hq/product/GenericPlugin;Lorg/hyperic/hq/product/TypeInfo;)V+211
j org.hyperic.hq.product.ProductPluginManager.registerPluginJar(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/String;+512
j org.hyperic.hq.product.ProductPluginManager.registerPluginJar(Ljava/lang/String;)Ljava/lang/String;+3
j org.hyperic.hq.product.ProductPluginManager.registerPlugins(Ljava/lang/String;)I+246
j org.hyperic.hq.agent.server.AgentDaemon.startPluginManagers()V+41
j org.hyperic.hq.agent.server.AgentDaemon.start()V+79
j org.hyperic.hq.agent.server.AgentDaemon$RunnableAgent.run()V+69
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
=>0x0f2fc4d0 JavaThread "Thread-0" [_thread_in_native, id=3708]
0x00aeb520 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2580]
0x00aea258 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1928]
0x00ae0d60 JavaThread "Finalizer" daemon [_thread_blocked, id=3084]
0x00adf8c8 JavaThread "Reference Handler" daemon [_thread_blocked, id=3608]
0x00326c98 JavaThread "main" [_thread_in_native, id=3688]

Other Threads:
0x00adb728 VMThread [id=3596]
0x00ae9d18 WatcherThread [id=3944]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation total 576K, used 186K [0x02b30000, 0x02bd0000, 0x03500000)
eden space 512K, 25% used [0x02b30000, 0x02b50278, 0x02bb0000)
from space 64K, 90% used [0x02bb0000, 0x02bbe820, 0x02bc0000)
to space 64K, 0% used [0x02bc0000, 0x02bc0000, 0x02bd0000)
tenured generation total 2528K, used 1566K [0x03500000, 0x03778000, 0x0ab30000)
the space 2528K, 61% used [0x03500000, 0x03687ad0, 0x03687c00, 0x03778000)
compacting perm gen total 8192K, used 7436K [0x0ab30000, 0x0b330000, 0x0eb30000)
the space 8192K, 90% used [0x0ab30000, 0x0b273298, 0x0b273400, 0x0b330000)
No shared spaces configured.

Dynamic libraries:
0x00400000 - 0x00408000 C:\Documents and Settings\Greg\Desktop\hyperic-hq-agent-2.7.3\hq-agent.exe
0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
0x6d670000 - 0x6d804000 C:\Program Files\Java\jre1.5.0_06\bin\client\jvm.dll
0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
0x6d280000 - 0x6d288000 C:\Program Files\Java\jre1.5.0_06\bin\hpi.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
0x6d640000 - 0x6d64c000 C:\Program Files\Java\jre1.5.0_06\bin\verify.dll
0x6d300000 - 0x6d31d000 C:\Program Files\Java\jre1.5.0_06\bin\java.dll
0x6d660000 - 0x6d66f000 C:\Program Files\Java\jre1.5.0_06\bin\zip.dll
0x0ffd0000 - 0x0fff8000 C:\WINDOWS\system32\rsaenh.dll
0x769c0000 - 0x76a73000 C:\WINDOWS\system32\USERENV.dll
0x5b860000 - 0x5b8b4000 C:\WINDOWS\system32\netapi32.dll
0x6d4c0000 - 0x6d4d3000 C:\Program Files\Java\jre1.5.0_06\bin\net.dll
0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
0x71a50000 - 0x71a8f000 C:\WINDOWS\System32\mswsock.dll
0x76f20000 - 0x76f47000 C:\WINDOWS\system32\DNSAPI.dll
0x76fb0000 - 0x76fb8000 C:\WINDOWS\System32\winrnr.dll
0x76f60000 - 0x76f8c000 C:\WINDOWS\system32\WLDAP32.dll
0x76fc0000 - 0x76fc6000 C:\WINDOWS\system32\rasadhlp.dll
0x662b0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
0x71a90000 - 0x71a98000 C:\WINDOWS\System32\wshtcpip.dll
0x10000000 - 0x10028000 C:\Documents and Settings\Greg\Desktop\hyperic-hq-agent-2.7.3\pdk\lib\sigar-x86-winnt.dll
0x7c9c0000 - 0x7d1d5000 C:\WINDOWS\system32\SHELL32.dll
0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
0x74000000 - 0x74056000 C:\WINDOWS\system32\pdh.dll
0x763b0000 - 0x763f9000 C:\WINDOWS\system32\comdlg32.dll
0x5d090000 - 0x5d127000 C:\WINDOWS\system32\COMCTL32.dll
0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
0x77120000 - 0x771ac000 C:\WINDOWS\system32\OLEAUT32.dll
0x74320000 - 0x7435d000 C:\WINDOWS\system32\ODBC32.dll
0x711a0000 - 0x711a6000 C:\WINDOWS\system32\odbcbcp.dll
0x77c00000 - 0x77c08000 C:\WINDOWS\system32\VERSION.dll
0x77a80000 - 0x77b14000 C:\WINDOWS\system32\CRYPT32.dll
0x77b20000 - 0x77b32000 C:\WINDOWS\system32\MSASN1.dll
0x773d0000 - 0x774d2000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
0x20000000 - 0x20017000 C:\WINDOWS\system32\odbcint.dll

VM Arguments:
jvm_args: -Djava.compiler=NONE -Djava.security.auth.login.config=jaas.config -Dagent.mode=thread -Xmx256M -Xrs -Xmx128m -Djava.net.preferIPv4Stack=true exit
java_command: <unknown>
Launcher Type: generic

Environment Variables:
JAVA_HOME=C:\Program Files\Java\jre1.5.0_06
CLASSPATH=C:\Program Files\Java\jre1.5.0_06\lib\ext\QTJava.zip
JAVA_COMPILER=NONE
PATH=C:\texmf\miktex\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\SecureCRT\;C:\PROGRA~1\SecureFX;C:\Program Files\QuickTime\QTSystem\
USERNAME=Greg
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 4, GenuineIntel



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

OS: Windows XP Build 2600 Service Pack 2

CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht

Memory: 4k page, physical 1046620k(590188k free), swap 2519164k(2073448k free)

vm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for windows-x86, built on Nov 10 2005 11:12:14 by "java_re" with MS VC++ 6.0
Reply
0 Kudos
5 Replies
JohnMarkOrg
Hot Shot
Hot Shot

Hi,

We don't yet support Java 1.5, as it doesn't seem as stable as 1.4.2, which is what we bundle with our downloads. Please try the install with that version.

Thanks,
John Mark Walker
Community Manager
JohnMarkOrg
Hot Shot
Hot Shot

correction: we do support java 1.5, but we bundle 1.4.2. We're trying to reproduce this error as you are the 2nd person to report it. As soon as we track down a solution, we'll post it here. In the meantime, let us know if 1.4.2 works.
gregbo8
Contributor
Contributor

I installed 1.4.2, but get the following error:

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0362fba1, pid=2544, tid=2660
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_12-b03 interpreted mode)
# Problematic frame:
# C 0x0362fba1
#

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

Current thread (0x00a83638): VMThread [id=2660]

siginfo: ExceptionCode=0xc0000005, reading address 0xffffffff

Registers:
EAX=0x080e3895, EBX=0x00000000, ECX=0x77de6d34, EDX=0x00160001
ESP=0x02c9febc, EBP=0x02c9fed0, ESI=0xffffffff, EDI=0x00325250
EIP=0x0362fba1, EFLAGS=0x00010246

Top of Stack: (sp=0x02c9febc)
0x02c9febc: 0362fba0 00a836c0 00a836d8 00a836e0
0x02c9fecc: 00a83acc 02c9fef0 080e3306 00325250
0x02c9fedc: 00000000 00a836c0 00a836d8 00a836e0
0x02c9feec: 00a83acc 02c9ff44 080e34ae 0362fba0
0x02c9fefc: 00325320 00a83638 00a83f78 77c2c42e
0x02c9ff0c: 00000098 00000000 02c9ff80 7c90e64e
0x02c9ff1c: 7c80c136 00a83638 00a83ad8 00a83af8
0x02c9ff2c: 00a83b00 00a83eec 00a83ef8 00000618

Instructions: (pc=0x0362fba1)
0x0362fb91: fb 62 03 5f 35 07 08 0f 00 00 00 d0 be a8 00 58
0x0362fba1: dc 0e 08 d0 be a8 00 05 00 00 00 95 2e cf 61 38


Stack: [0x02ba0000,0x02ca0000), sp=0x02c9febc, free space=1023k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C 0x0362fba1
V [jvm.dll+0xe3306]
V [jvm.dll+0xe34ae]
V [jvm.dll+0xe3217]
C [MSVCRT.dll+0x2a3b0]
C [kernel32.dll+0xb683]

VM_Operation (0x0362fba0): exit, mode: safepoint, requested by thread 0x00a8bed0


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

Java Threads: ( => current thread )
0x00a8bed0 JavaThread "Thread-0" [_thread_blocked, id=3104]
0x00a4c790 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2700]
0x00a497f8 JavaThread "Finalizer" daemon [_thread_blocked, id=2672]
0x00a48470 JavaThread "Reference Handler" daemon [_thread_blocked, id=2664]
0x00325b58 JavaThread "main" [_thread_in_native, id=2548]

Other Threads:
=>0x00a83638 VMThread [id=2660]

VM state:at safepoint (shutting down)

VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x00325220/0x000006f0] Threads_lock - owner thread: 0x00a83638

Heap
def new generation total 576K, used 569K [0x10010000, 0x100b0000, 0x109e0000)
eden space 512K, 99% used [0x10010000, 0x1008f140, 0x10090000)
from space 64K, 94% used [0x100a0000, 0x100af2c0, 0x100b0000)
to space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
tenured generation total 1408K, used 1098K [0x109e0000, 0x10b40000, 0x18010000)
the space 1408K, 78% used [0x109e0000, 0x10af2980, 0x10af2a00, 0x10b40000)
compacting perm gen total 4608K, used 4433K [0x18010000, 0x18490000, 0x1c010000)
the space 4608K, 96% used [0x18010000, 0x184646f0, 0x18464800, 0x18490000)

Dynamic libraries:
0x00400000 - 0x00408000 C:\Documents and Settings\Greg\Desktop\hyperic-hq-agent-2.7.3\hq-agent.exe
0x7c900000 - 0x7c9b0000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f4000 C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\MSVCRT.dll
0x08000000 - 0x08140000 C:\Program Files\Java\j2re1.4.2_12\bin\client\jvm.dll
0x77d40000 - 0x77dd0000 C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f57000 C:\WINDOWS\system32\GDI32.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
0x10000000 - 0x10007000 C:\Program Files\Java\j2re1.4.2_12\bin\hpi.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
0x008f0000 - 0x008fe000 C:\Program Files\Java\j2re1.4.2_12\bin\verify.dll
0x00900000 - 0x00919000 C:\Program Files\Java\j2re1.4.2_12\bin\java.dll
0x00920000 - 0x0092e000 C:\Program Files\Java\j2re1.4.2_12\bin\zip.dll
0x0ffd0000 - 0x0fff8000 C:\WINDOWS\system32\rsaenh.dll
0x769c0000 - 0x76a73000 C:\WINDOWS\system32\USERENV.dll
0x5b860000 - 0x5b8b4000 C:\WINDOWS\system32\netapi32.dll
0x009f0000 - 0x009ff000 C:\Program Files\Java\j2re1.4.2_12\bin\net.dll
0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
0x71a50000 - 0x71a8f000 C:\WINDOWS\System32\mswsock.dll
0x76f20000 - 0x76f47000 C:\WINDOWS\system32\DNSAPI.dll
0x76fb0000 - 0x76fb8000 C:\WINDOWS\System32\winrnr.dll
0x76f60000 - 0x76f8c000 C:\WINDOWS\system32\WLDAP32.dll
0x76fc0000 - 0x76fc6000 C:\WINDOWS\system32\rasadhlp.dll
0x662b0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
0x71a90000 - 0x71a98000 C:\WINDOWS\System32\wshtcpip.dll

VM Arguments:
jvm_args: -Djava.compiler=NONE -Djava.security.auth.login.config=jaas.config -Dagent.mode=thread -Xmx256M -Xrs -Xmx128m -Djava.net.preferIPv4Stack=true -Xint exit
java_command: <unknown>
Launcher Type: generic

Environment Variables:
JAVA_HOME=C:\Program Files\Java\j2re1.4.2_12
CLASSPATH=C:\Program Files\Java\j2re1.4.2_12\lib\ext\QTJava.zip
JAVA_COMPILER=NONE
PATH=C:\texmf\miktex\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files\SecureCRT\;C:\PROGRA~1\SecureFX;C:\Program Files\QuickTime\QTSystem\
USERNAME=Greg
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 4, GenuineIntel


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

OS: Windows XP Build 2600 Service Pack 2

CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2

Memory: 4k page, physical 1046620k(599044k free), swap 2519164k(2179248k free)

vm_info: Java HotSpot(TM) Client VM (1.4.2_12-b03) for windows-x86, built on May 9 2006 12:30:51 by "java_re" with MS VC++ 6.0
Reply
0 Kudos
dougm_hyperic
VMware Employee
VMware Employee

On Aug 29, 2006, at 5:42 PM, Gregory Bogle wrote:

> When I try to install the agent on my windows xp box, it crashes:
>
> - Informing agent of new HQ server
...
> Stack: [0x0f4f0000,0x0f5f0000), sp=0x0f5ef3a8, free space=1020k
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
> C=native code)
> C [sigar-x86-winnt.dll+0x39a8]
> C [sigar-x86-winnt.dll+0xe74d]
> j org.hyperic.sigar.Sigar.getProcList()[J+0
>

We haven't been able to reproduce this problem, but this is the
second report of a crash on Windows with Sigar.getProcList in the stack.
I have changed the method to use a different windows function to get
the process list. If you want to give it a try, the bug and download
URL are here:
http://jira.hyperic.com/browse/SIGAR-13

- stop the agent service

- copy sigar-x86-winnt.dll
from: http://svn.hyperic.org/dist/SIGAR_1_2_0_1/lib/sigar-x86-
winnt.dll?revision=2817&root=Hyperic+SIGAR
to: C:\Documents and Settings\Greg\Desktop\hyperic-hq-agent-2.7.3\pdk
\lib\sigar-x86-winnt.dll

- start the agent service

Let us know if that helps. This change will also be included in the
upcoming 2.7.4 release.



Reply
0 Kudos
gregbo8
Contributor
Contributor

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x3A541EE
Function=sigar_proc_state_get+0x1A8
Library=C:\Program Files\agent-2.7.3\pdk\lib\sigar-x86-winnt.dll

Current Java thread:
at org.hyperic.sigar.ProcState.gather(Native Method)
at org.hyperic.sigar.ProcState.fetch(ProcState.java:30)
at org.hyperic.sigar.Sigar.getProcState(Sigar.java:395)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.hyperic.sigar.SigarProxyCache.invoke(SigarProxyCache.java:184)
at $Proxy0.getProcState(Unknown Source)
at org.hyperic.sigar.ptql.GENERATED.PTQL0.match(org.hyperic.sigar.ptql.GENERATED.PTQL0.java)
at org.hyperic.sigar.ptql.ProcessFinder.find(ProcessFinder.java:136)
at org.hyperic.sigar.ptql.ProcessFinder.find(ProcessFinder.java:97)
at org.hyperic.hq.product.ServerDetector.getPids(ServerDetector.java:628)
at org.hyperic.hq.plugin.iplanet.iPlanet6Detector.findServerProcess(iPlanet6Detector.java:107)
at org.hyperic.hq.plugin.iplanet.iPlanetMeasurementPlugin.getMIBs(iPlanetMeasurementPlugin.java:110)
at org.hyperic.hq.product.SNMPMeasurementPlugin.init(SNMPMeasurementPlugin.java:146)
at org.hyperic.hq.product.PluginManager.registerPlugin(PluginManager.java:362)
at org.hyperic.hq.product.ProductPluginManager.registerTypePlugin(ProductPluginManager.java:472)
at org.hyperic.hq.product.ProductPluginManager.registerPluginJar(ProductPluginManager.java:810)
at org.hyperic.hq.product.ProductPluginManager.registerPluginJar(ProductPluginManager.java:530)
at org.hyperic.hq.product.ProductPluginManager.registerPlugins(ProductPluginManager.java:597)
at org.hyperic.hq.agent.server.AgentDaemon.startPluginManagers(AgentDaemon.java:584)
at org.hyperic.hq.agent.server.AgentDaemon.start(AgentDaemon.java:675)
at org.hyperic.hq.agent.server.AgentDaemon$RunnableAgent.run(AgentDaemon.java:744)
at java.lang.Thread.run(Unknown Source)

Dynamic libraries:
0x00400000 - 0x00408000 C:\Program Files\agent-2.7.3\hq-agent.exe
0x7C900000 - 0x7C9B0000 C:\WINDOWS\system32\ntdll.dll
0x7C800000 - 0x7C8F4000 C:\WINDOWS\system32\kernel32.dll
0x77DD0000 - 0x77E6B000 C:\WINDOWS\system32\ADVAPI32.dll
0x77E70000 - 0x77F01000 C:\WINDOWS\system32\RPCRT4.dll
0x77C10000 - 0x77C68000 C:\WINDOWS\system32\MSVCRT.dll
0x08000000 - 0x08139000 C:\Program Files\agent-2.7.3\jre\bin\client\jvm.dll
0x77D40000 - 0x77DD0000 C:\WINDOWS\system32\USER32.dll
0x77F10000 - 0x77F57000 C:\WINDOWS\system32\GDI32.dll
0x76B40000 - 0x76B6D000 C:\WINDOWS\system32\WINMM.dll
0x10000000 - 0x10007000 C:\Program Files\agent-2.7.3\jre\bin\hpi.dll
0x008F0000 - 0x008FE000 C:\Program Files\agent-2.7.3\jre\bin\verify.dll
0x00900000 - 0x00919000 C:\Program Files\agent-2.7.3\jre\bin\java.dll
0x00920000 - 0x0092D000 C:\Program Files\agent-2.7.3\jre\bin\zip.dll
0x0FFD0000 - 0x0FFF8000 C:\WINDOWS\system32\rsaenh.dll
0x769C0000 - 0x76A73000 C:\WINDOWS\system32\USERENV.dll
0x5B860000 - 0x5B8B4000 C:\WINDOWS\system32\netapi32.dll
0x009F0000 - 0x009FF000 C:\Program Files\agent-2.7.3\jre\bin\net.dll
0x71AB0000 - 0x71AC7000 C:\WINDOWS\system32\WS2_32.dll
0x71AA0000 - 0x71AA8000 C:\WINDOWS\system32\WS2HELP.dll
0x71A50000 - 0x71A8F000 C:\WINDOWS\System32\mswsock.dll
0x76F20000 - 0x76F47000 C:\WINDOWS\system32\DNSAPI.dll
0x76FB0000 - 0x76FB8000 C:\WINDOWS\System32\winrnr.dll
0x76F60000 - 0x76F8C000 C:\WINDOWS\system32\WLDAP32.dll
0x76FC0000 - 0x76FC6000 C:\WINDOWS\system32\rasadhlp.dll
0x662B0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
0x71A90000 - 0x71A98000 C:\WINDOWS\System32\wshtcpip.dll
0x03A50000 - 0x03A79000 C:\Program Files\agent-2.7.3\pdk\lib\sigar-x86-winnt.dll
0x7C9C0000 - 0x7D1D5000 C:\WINDOWS\system32\SHELL32.dll
0x77F60000 - 0x77FD6000 C:\WINDOWS\system32\SHLWAPI.dll
0x74000000 - 0x74056000 C:\WINDOWS\system32\pdh.dll
0x763B0000 - 0x763F9000 C:\WINDOWS\system32\comdlg32.dll
0x5D090000 - 0x5D127000 C:\WINDOWS\system32\COMCTL32.dll
0x774E0000 - 0x7761D000 C:\WINDOWS\system32\ole32.dll
0x77120000 - 0x771AC000 C:\WINDOWS\system32\OLEAUT32.dll
0x74320000 - 0x7435D000 C:\WINDOWS\system32\ODBC32.dll
0x711A0000 - 0x711A6000 C:\WINDOWS\system32\odbcbcp.dll
0x77C00000 - 0x77C08000 C:\WINDOWS\system32\VERSION.dll
0x77A80000 - 0x77B14000 C:\WINDOWS\system32\CRYPT32.dll
0x77B20000 - 0x77B32000 C:\WINDOWS\system32\MSASN1.dll
0x773D0000 - 0x774D2000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
0x20000000 - 0x20017000 C:\WINDOWS\system32\odbcint.dll
0x76BF0000 - 0x76BFB000 C:\WINDOWS\system32\psapi.dll
0x76C90000 - 0x76CB8000 C:\WINDOWS\system32\imagehlp.dll
0x59A60000 - 0x59B01000 C:\WINDOWS\system32\DBGHELP.dll

Heap at VM Abort:
Heap
def new generation total 576K, used 129K [0x10010000, 0x100b0000, 0x109e0000)
eden space 512K, 16% used [0x10010000, 0x10025938, 0x10090000)
from space 64K, 67% used [0x100a0000, 0x100aac48, 0x100b0000)
to space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
tenured generation total 1536K, used 1347K [0x109e0000, 0x10b60000, 0x18010000)
the space 1536K, 87% used [0x109e0000, 0x10b30e80, 0x10b31000, 0x10b60000)
compacting perm gen total 5376K, used 5303K [0x18010000, 0x18550000, 0x1c010000)
the space 5376K, 98% used [0x18010000, 0x1853dc30, 0x1853de00, 0x18550000)

Local Time = Mon Sep 18 21:46:15 2006
Elapsed Time = 6
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_06-b03 interpreted mode)
#
Reply
0 Kudos