2 Replies Latest reply on Nov 11, 2009 11:54 AM by samuele tonon

    problem with jopr 2.3.1 agent and windows 64 bit

    samuele tonon Newbie

      hello all,
      i have installed and configured jopr 2.31 on a linux server and i'm running
      some agents on a mixed cluster windows/linux.

      At the moment i'm stuck with a problem: rhq-agent on windows 64 bit and jdk 1.6 segfaults when trying to discover jboss as.

      Jopr is running under jdk 1.6.0_17, on windows 2003 server jdk is 1.6.0_13
      this is the dump, any idea ? i didn't find any information on known bugs about it.
      #
      # An unexpected error has been detected by Java Runtime Environment:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000143c7e9b, pid=12944, tid=12204
      #
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (11.3-b02 mixed mode windows-amd64)
      # Problematic frame:
      # C [sigar-amd64-winnt.dll+0x7e9b]
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      # 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 (0x0000000013f81000): JavaThread "ResourceDiscoveryComponent.invoker.daemon-1" daemon [_thread_in_native, id=12204, stack(0x0000000015500000,0x0000000015600000)]

      siginfo: ExceptionCode=0xc0000005, reading address 0x00000000005f5fc4

      Registers:
      EAX=0x00000000005f5fc4, EBX=0x00000000070e9600, ECX=0x00000000005f5fc4, EDX=0x0000000000000000
      ESP=0x00000000155f3cd0, EBP=0x00000000155fefe0, ESI=0x0000000000000003, EDI=0x0000000001f5319a
      EIP=0x00000000143c7e9b, EFLAGS=0x0000000000010212

      Top of Stack: (sp=0x00000000155f3cd0)
      0x00000000155f3cd0: 00000000155feed0 00000000155f3d10
      0x00000000155f3ce0: 00000000000000b3 00000000155f5f2e
      0x00000000155f3cf0: 0000000000000095 0000000000000000
      0x00000000155f3d00: 000000000000005a 00000000000004e4
      0x00000000155f3d10: 4e49575c3a433b53 7379535c53574f44
      0x00000000155f3d20: 62575c32336d6574 72505c3a433b6d65
      0x00000000155f3d30: 6946206d6172676f 363878282073656c
      0x00000000155f3d40: 69445c4d42495c29 625c726f74636572
      0x00000000155f3d50: 72505c3a433b6e69 6946206d6172676f
      0x00000000155f3d60: 363878282073656c 6e6f6d6d6f435c29
      0x00000000155f3d70: 495c73656c694620 635c4343495c4d42
      0x00000000155f3d80: 6e69625c6d6f6d69 004e49575c3a433b
      0x00000000155f3d90: 00000000155f5f2e 0000009500000000
      0x00000000155f3da0: 00000000000000b3 000050b8c8b42f6b
      0x00000000155f3db0: 00000000070e9600 00000000143c816a
      0x00000000155f3dc0: 00000000005f5fc4 00000000155feee8

      Instructions: (pc=0x00000000143c7e9b)
      0x00000000143c7e8b: 48 89 84 24 d8 00 00 00 48 8b 84 24 f0 00 00 00
      0x00000000143c7e9b: 0f b6 00 85 c0 0f 84 4f 01 00 00 48 8b 84 24 f0


      Stack: [0x0000000015500000,0x0000000015600000], sp=0x00000000155f3cd0, free space=975k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [sigar-amd64-winnt.dll+0x7e9b]
      j org.hyperic.sigar.Sigar.getProcEnv(J)Ljava/util/Map;+2
      j sun.reflect.GeneratedMethodAccessor30.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+135
      J java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
      j $Proxy0.getProcEnv(J)Ljava/util/Map;+19
      j org.rhq.core.system.ProcessInfo.update(J)V+155
      j org.rhq.core.system.ProcessInfo.(JLorg/hyperic/sigar/SigarProxy;)V+34
      j org.rhq.core.system.NativeSystemInfo.getAllProcesses()Ljava/util/List;+148
      j org.rhq.core.system.NativeSystemInfo.getProcesses(Ljava/lang/String;)Ljava/util/List;+5
      j org.rhq.plugins.jmx.JMXDiscoveryComponent.discoverResources(Lorg/rhq/core/pluginapi/inventory/ResourceDiscoveryContext;)Ljava/util/Set;+14
      j sun.reflect.GeneratedMethodAccessor37.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+40
      J java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
      j java.util.concurrent.FutureTask$Sync.innerRun()V+30
      j java.util.concurrent.FutureTask.run()V+4
      j java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Ljava/lang/Runnable;)V+59
      j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+28
      j java.lang.Thread.run()V+11
      v ~StubRoutines::call_stub

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j org.hyperic.sigar.ProcEnv.getAll(Lorg/hyperic/sigar/Sigar;J)Ljava/util/Map;+0
      j org.hyperic.sigar.Sigar.getProcEnv(J)Ljava/util/Map;+2
      j sun.reflect.GeneratedMethodAccessor30.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+135
      J java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
      j org.rhq.core.system.SigarAccess$SigarAccessHandler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+53
      j $Proxy0.getProcEnv(J)Ljava/util/Map;+19
      j org.rhq.core.system.ProcessInfo.update(J)V+155
      j org.rhq.core.system.ProcessInfo.(JLorg/hyperic/sigar/SigarProxy;)V+34
      j org.rhq.core.system.NativeSystemInfo.getAllProcesses()Ljava/util/List;+148
      j org.rhq.core.system.NativeSystemInfo.getProcesses(Ljava/lang/String;)Ljava/util/List;+5
      j org.rhq.plugins.jmx.JMXDiscoveryComponent.discoverResources(Lorg/rhq/core/pluginapi/inventory/ResourceDiscoveryContext;)Ljava/util/Set;+14
      j sun.reflect.GeneratedMethodAccessor37.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+40
      J java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
      j org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call()Ljava/lang/Object;+29
      j java.util.concurrent.FutureTask$Sync.innerRun()V+30
      j java.util.concurrent.FutureTask.run()V+4
      j java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Ljava/lang/Runnable;)V+59
      j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+28
      j java.lang.Thread.run()V+11
      v ~StubRoutines::call_stub

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

      Java Threads: ( => current thread )
      0x0000000001db0400 JavaThread "DestroyJavaVM" [_thread_blocked, id=11564, stack(0x0000000001e50000,0x0000000001f50000)]
      0x0000000013f85400 JavaThread "RHQ Agent Prompt Input Thread" [_thread_blocked, id=13280, stack(0x0000000019200000,0x0000000019300000)]
      0x0000000013f85000 JavaThread "RHQ VM Health Check Thread" [_thread_blocked, id=11428, stack(0x0000000019100000,0x0000000019200000)]
      0x0000000013f84800 JavaThread "RHQ Primary Server Switchover Thread" daemon [_thread_blocked, id=13136, stack(0x0000000019000000,0x0000000019100000)]
      0x0000000013f84000 JavaThread "EventManager.sender-1" daemon [_thread_blocked, id=10056, stack(0x0000000018f00000,0x0000000019000000)]
      0x0000000013f83800 JavaThread "Content.discovery-1" daemon [_thread_blocked, id=10132, stack(0x0000000018e00000,0x0000000018f00000)]
      0x0000000013f83400 JavaThread "OperationManager.invoker.timeout-timer" [_thread_blocked, id=9284, stack(0x0000000018d00000,0x0000000018e00000)]
      0x0000000013f82c00 JavaThread "ConfigurationManager.threadpool-1" daemon [_thread_blocked, id=11404, stack(0x0000000018c00000,0x0000000018d00000)]
      0x0000000013f82400 JavaThread "MeasurementManager.collector-1" daemon [_thread_blocked, id=11960, stack(0x0000000018b00000,0x0000000018c00000)]
      0x0000000013f81c00 JavaThread "MeasurementManager.sender-1" daemon [_thread_blocked, id=11108, stack(0x0000000018a00000,0x0000000018b00000)]
      0x0000000013f81400 JavaThread "InventoryManager.discovery-1" daemon [_thread_blocked, id=11736, stack(0x0000000018900000,0x0000000018a00000)]
      0x0000000013f80000 JavaThread "InventoryManager.availability-1" daemon [_thread_blocked, id=12112, stack(0x0000000018800000,0x0000000018900000)]
      =>0x0000000013f81000 JavaThread "ResourceDiscoveryComponent.invoker.daemon-1" daemon [_thread_in_native, id=12204, stack(0x0000000015500000,0x0000000015600000)]
      0x0000000013f7f800 JavaThread "WorkerThread#0[10.10.80.163:45108]" [_thread_blocked, id=12352, stack(0x0000000015700000,0x0000000015800000)]
      0x0000000001db6c00 JavaThread "ClientCommandSenderTask Timer Thread #0" daemon [_thread_blocked, id=11788, stack(0x0000000015600000,0x0000000015700000)]
      0x0000000001db5800 JavaThread "RHQ Server Polling Thread" daemon [_thread_blocked, id=5788, stack(0x0000000015300000,0x0000000015400000)]
      0x0000000001db5000 JavaThread "ServerSocketRefresh" daemon [_thread_blocked, id=12496, stack(0x0000000015200000,0x0000000015300000)]
      0x0000000001db4800 JavaThread "AcceptorThread#0:16163" [_thread_in_native, id=12708, stack(0x0000000015100000,0x0000000015200000)]
      0x0000000001db4000 JavaThread "RHQ Send Throttle Quiet Period Thread" daemon [_thread_blocked, id=12600, stack(0x0000000014f80000,0x0000000015080000)]
      0x0000000001db3c00 JavaThread "RHQ Command Queue Throttle Thread" daemon [_thread_blocked, id=13000, stack(0x0000000014e80000,0x0000000014f80000)]
      0x0000000001db3400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=11560, stack(0x00000000135b0000,0x00000000136b0000)]
      0x0000000001db2c00 JavaThread "CompilerThread1" daemon [_thread_blocked, id=10244, stack(0x00000000134b0000,0x00000000135b0000)]
      0x0000000001db2400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=12780, stack(0x00000000133b0000,0x00000000134b0000)]
      0x0000000001db2000 JavaThread "Attach Listener" daemon [_thread_blocked, id=13040, stack(0x00000000132b0000,0x00000000133b0000)]
      0x0000000001db1800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=13016, stack(0x00000000131b0000,0x00000000132b0000)]
      0x0000000001db1000 JavaThread "Finalizer" daemon [_thread_blocked, id=6432, stack(0x00000000130b0000,0x00000000131b0000)]
      0x0000000001db0800 JavaThread "Reference Handler" daemon [_thread_blocked, id=12820, stack(0x0000000012fb0000,0x00000000130b0000)]

      Other Threads:
      0x0000000012cb3400 VMThread [stack: 0x0000000012eb0000,0x0000000012fb0000] [id=12744]
      0x0000000012cb3800 WatcherThread [stack: 0x00000000136b0000,0x00000000137b0000] [id=11028]

      VM state:not at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: None

      Heap
      PSYoungGen total 30912K, used 30701K [0x000000000f970000, 0x0000000011ca0000, 0x0000000012410000)
      eden space 29632K, 99% used [0x000000000f970000,0x000000001163b4d8,0x0000000011660000)
      from space 1280K, 95% used [0x0000000011750000,0x0000000011880038,0x0000000011890000)
      to space 3200K, 0% used [0x0000000011980000,0x0000000011980000,0x0000000011ca0000)
      PSOldGen total 43712K, used 9080K [0x000000000a410000, 0x000000000cec0000, 0x000000000f970000)
      object space 43712K, 20% used [0x000000000a410000,0x000000000acee290,0x000000000cec0000)
      PSPermGen total 35648K, used 35647K [0x0000000005010000, 0x00000000072e0000, 0x000000000a410000)
      object space 35648K, 99% used [0x0000000005010000,0x00000000072dfc50,0x00000000072e0000)

      Dynamic libraries:
      0x0000000000400000 - 0x000000000042e000 C:\WINDOWS\system32\java.exe
      0x0000000077ec0000 - 0x0000000077ffb000 C:\WINDOWS\system32\ntdll.dll
      0x0000000077d40000 - 0x0000000077eb3000 C:\WINDOWS\system32\kernel32.dll
      0x000007ff7fee0000 - 0x000007ff7ffe6000 C:\WINDOWS\system32\ADVAPI32.dll
      0x000007ff7fd30000 - 0x000007ff7fec9000 C:\WINDOWS\system32\RPCRT4.dll
      0x000007ff7e9c0000 - 0x000007ff7e9e2000 C:\WINDOWS\system32\Secur32.dll
      0x000000006d7f0000 - 0x000000006dda8000 C:\Programmi\Java\jre6\bin\server\jvm.dll
      0x0000000077c20000 - 0x0000000077d2c000 C:\WINDOWS\system32\USER32.dll
      0x000007ff7fc90000 - 0x000007ff7fd2c000 C:\WINDOWS\system32\GDI32.dll
      0x000007ff7e240000 - 0x000007ff7e290000 C:\WINDOWS\system32\WINMM.dll
      0x000007ff7fc00000 - 0x000007ff7fc86000 C:\WINDOWS\system32\msvcrt.dll
      0x000007ff7d500000 - 0x000007ff7d539000 C:\WINDOWS\system32\IMM32.DLL
      0x000007ff77100000 - 0x000007ff7710b000 C:\WINDOWS\system32\rdpsnd.dll
      0x000007ff7d4d0000 - 0x000007ff7d4ea000 C:\WINDOWS\system32\WINSTA.dll
      0x000007ff77370000 - 0x000007ff77409000 C:\WINDOWS\system32\NETAPI32.dll
      0x000007ff7e380000 - 0x000007ff7e390000 C:\WINDOWS\system32\PSAPI.DLL
      0x000000006d310000 - 0x000000006d31a000 C:\Programmi\Java\jre6\bin\hpi.dll
      0x000000006d760000 - 0x000000006d76e000 C:\Programmi\Java\jre6\bin\verify.dll
      0x000000006d3b0000 - 0x000000006d3d7000 C:\Programmi\Java\jre6\bin\java.dll
      0x000000006d7b0000 - 0x000000006d7c2000 C:\Programmi\Java\jre6\bin\zip.dll
      0x00000000143c0000 - 0x000000001442f000 D:\jboss-4.2.1.GA\rhq-agent\lib\sigar-amd64-winnt.dll
      0x000007ff5b170000 - 0x000007ff5b201000 C:\WINDOWS\system32\pdh.dll
      0x000007ff7ef60000 - 0x000007ff7effb000 C:\WINDOWS\system32\SHLWAPI.dll
      0x000007ff7d540000 - 0x000007ff7d5b7000 C:\WINDOWS\system32\comdlg32.dll
      0x000007ff7f000000 - 0x000007ff7f187000 C:\WINDOWS\WinSxS\AMD64_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.3959_x-ww_0A7B2435\COMCTL32.dll
      0x000007ff7f190000 - 0x000007ff7fb9b000 C:\WINDOWS\system32\SHELL32.dll
      0x000007ff57140000 - 0x000007ff573c5000 C:\WINDOWS\system32\ole32.dll
      0x000007ff7ebc0000 - 0x000007ff7ecd6000 C:\WINDOWS\system32\OLEAUT32.dll
      0x000007ff63f00000 - 0x000007ff63f67000 C:\WINDOWS\system32\ODBC32.dll
      0x000007ff63ee0000 - 0x000007ff63ee8000 C:\WINDOWS\system32\odbcbcp.dll
      0x000007ff7fbf0000 - 0x000007ff7fbfb000 C:\WINDOWS\system32\VERSION.dll
      0x000007ff7d370000 - 0x000007ff7d4cf000 C:\WINDOWS\system32\CRYPT32.dll
      0x000007ff7d340000 - 0x000007ff7d36c000 C:\WINDOWS\system32\MSASN1.dll
      0x000007ff77310000 - 0x000007ff77340000 C:\WINDOWS\system32\WS2_32.dll
      0x000007ff77140000 - 0x000007ff7714c000 C:\WINDOWS\system32\WS2HELP.dll
      0x000007ff63dc0000 - 0x000007ff63dd8000 C:\WINDOWS\system32\odbcint.dll
      0x000000006d600000 - 0x000000006d617000 C:\Programmi\Java\jre6\bin\net.dll
      0x000007ff771b0000 - 0x000007ff7722d000 C:\WINDOWS\System32\mswsock.dll
      0x000007ff7e8f0000 - 0x000007ff7e93e000 C:\WINDOWS\system32\DNSAPI.dll
      0x000007ff7e9f0000 - 0x000007ff7e9fb000 C:\WINDOWS\System32\winrnr.dll
      0x000007ff7e950000 - 0x000007ff7e9b6000 C:\WINDOWS\system32\WLDAP32.dll
      0x000007ff7ea00000 - 0x000007ff7ea07000 C:\WINDOWS\system32\rasadhlp.dll
      0x000000006d540000 - 0x000000006d54a000 C:\Programmi\Java\jre6\bin\management.dll
      0x0000000068000000 - 0x000000006804c000 C:\WINDOWS\system32\rsaenh.dll
      0x000007ff7c680000 - 0x000007ff7c78a000 C:\WINDOWS\system32\USERENV.dll
      0x000007ff6d200000 - 0x000007ff6d293000 C:\WINDOWS\system32\hnetcfg.dll
      0x000007ff77170000 - 0x000007ff7717b000 C:\WINDOWS\System32\wshtcpip.dll
      0x000007ff5a790000 - 0x000007ff5a7a1000 C:\WINDOWS\system32\perfproc.dll
      0x000007ff57040000 - 0x000007ff57071000 C:\WINDOWS\system32\iphlpapi.dll

      VM Arguments:
      jvm_args: -Djava.endorsed.dirs=D:\jboss-4.2.1.GA\rhq-agent\lib\endorsed -Djava.library.path=D:\jboss-4.2.1.GA\rhq-agent\lib -Xms64m -Xmx128m -Djava.net.preferIPv4Stack=true -Dlog4j.configuration=log4j.xml
      java_command: org.rhq.enterprise.agent.AgentMain -l -u
      Launcher Type: SUN_STANDARD

      Environment Variables:
      JAVA_HOME=C:\Programmi\Java\jdk1.6.0_13
      CLASSPATH=D:\jboss-4.2.1.GA\rhq-agent\conf;D:\jboss-4.2.1.GA\rhq-agent\lib\commons-httpclient-2.0.2.jar;D:\jboss-4.2.1.GA\rhq-agent\lib\commons-logging-1.1.0.jboss.jar;D:\jboss-4.2.1.GA\rhq-agent\lib\concurrent-1.3.4-jboss-update1.jar;D:\jboss-4.2.1.GA\rhq-agent\lib\dom4j-1.6.jar;D:\jboss-4.2.1.GA\rhq-agent\lib\getopt-1.0.13.jar;D:\jboss-4.2.1.GA\rhq-agent\lib\i18nlog-1.0.9.jar;D:\jboss-4.2.1.GA\rhq-agent\lib\jboss-common-1.2.1.GA.jar;D:\jboss-4.2.1.GA\rhq-agent\lib\jboss-jmx-4.2.3.GA.jar;D:\jboss-4.2.1.GA\rhq-agent\lib\jboss-remoting-2.2.2.SP8.jar;D:\jboss-4.2.1.GA\rhq-agent\lib\jboss-serialization-1.0.3.GA.jar;D:\jboss-4.2.1.GA\rhq-agent\lib\log4j-1.2.14.jar;D:\jboss-4.2.1.GA\rhq-agent\lib\persistence-api-1.0.jar;D:\jboss-4.2.1.GA\rhq-agent\lib\rhq-core-client-api-1.3.1.jar;D:\jboss-4.2.1.GA\rhq-agent\lib\rhq-core-comm-api-1.3.1.jar;D:\jboss-4.2.1.GA\rhq-agent\lib\rhq-core-domain-1.3.1.jar;D:\jboss-4.2.1.GA\rhq-agent\lib\rhq-core-native-system-1.3.1.jar;D:\jboss-4.2.1.GA\rhq-agent\lib\rhq-core-plugin-api-1.3.1.jar;D:\jboss-4.2.1.GA\rhq-agent\lib\rhq-core-plugin-container-1.3.1.jar;D:\jboss-4.2.1.GA\rhq-agent\lib\rhq-core-util-1.3.1.jar;D:\jboss-4.2.1.GA\rhq-agent\lib\rhq-enterprise-agent-1.3.1.jar;D:\jboss-4.2.1.GA\rhq-agent\lib\rhq-enterprise-comm-1.3.1.jar;D:\jboss-4.2.1.GA\rhq-agent\lib\sigar-1.6.3.82.jar;D:\jboss-4.2.1.GA\rhq-agent\lib\endorsed\activation-1.1.jar;D:\jboss-4.2.1.GA\rhq-agent\lib\endorsed\jaxb-api-2.1.jar;D:\jboss-4.2.1.GA\rhq-agent\lib\endorsed\jaxb-impl-2.1.6.jar
      PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files (x86)\IBM\Director\bin;C:\Program Files (x86)\Common Files\IBM\ICC\cimom\bin;C:\WINDOWS\system32\WindowsPowerShell\v1.0
      USERNAME=tonon_s
      OS=Windows_NT
      PROCESSOR_IDENTIFIER=EM64T Family 6 Model 23 Stepping 10, GenuineIntel



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

      OS: Windows Server 2003 family Build 3790 Service Pack 2

      CPU:total 8 (4 cores per cpu, 1 threads per core) family 6 model 7 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3

      Memory: 4k page, physical 16776252k(7885976k free), swap 41304588k(31485336k free)

      vm_info: Java HotSpot(TM) 64-Bit Server VM (11.3-b02) for windows-amd64 JRE (1.6.0_13-b03), built on Mar 9 2009 10:50:19 by "java_re" with MS VC++ 8.0

      time: Wed Nov 11 15:44:36 2009
      elapsed time: 46 seconds