Sigar from head (4792) crashed on me - have seen that a few days ago as well (here on 10.5.7). This did never crash with older sigar versions. The agent (here embedded, in the other case standalone) was running for a longer time already, so no immediate crash on first call. Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000 Crashed Thread: 74 Application Specific Information: Java information: Version: Java HotSpot(TM) Client VM (1.5.0_19-137 mixed mode) Virtual Machine version: Java HotSpot(TM) Client VM (1.5.0_19-137) for macosx-x86, built on May 29 2009 13:21:56 by root with gcc 4.0.1 (Apple Inc. build 5465) Exception type: Bus Error (0xa) at pc=0x2ae9a93a Current thread (0x29946860): JavaThread "InventoryManager.discovery-1" daemon [_thread_in_native, id=13514752] Stack: [0xb2ccc000,0xb2d4c000) Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) J org.hyperic.sigar.Sigar.getProcArgs(J)[Ljava/lang/String; J sun.reflect.GeneratedMethodAccessor215.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; J sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; 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; J $Proxy460.getProcArgs(J)[Ljava/lang/String; v ~RuntimeStub::alignment_frame_return Runtime1 stub j org.rhq.core.system.ProcessInfo.update(J)V+75 j org.rhq.core.system.ProcessInfo.<init>(JLorg/hyperic/sigar/SigarProxy;)V+33 J org.rhq.core.system.NativeSystemInfo.getAllProcesses()Ljava/util/List; v ~RuntimeStub::alignment_frame_return Runtime1 stub j org.rhq.core.pc.inventory.AutoDiscoveryExecutor.getProcessInfos()Ljava/util/List;+23 j org.rhq.core.pc.inventory.AutoDiscoveryExecutor.call()Lorg/rhq/core/domain/discovery/InventoryReport;+59 j org.rhq.core.pc.inventory.AutoDiscoveryExecutor.call()Ljava/lang/Object;+1 J java.util.concurrent.FutureTask$Sync.innerRun()V J java.util.concurrent.FutureTask.run()V j java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Ljava/util/concurrent/ScheduledThreadPoolExecutor$ScheduledFutureTask;)V+1 j java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run()V+15 J java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Ljava/lang/Runnable;)V v ~RuntimeStub::alignment_frame_return Runtime1 stub j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+28 j java.lang.Thread.run()V+11 v ~StubRoutines::call_stub Thread 74 Crashed: 0 ...igar-universal-macosx.dylib 0x2ae9a93a sigar_kern_proc_args_get + 154 1 ...igar-universal-macosx.dylib 0x2ae9aade sigar_os_proc_args_get + 30 2 ...igar-universal-macosx.dylib 0x2ae8d08e Java_org_hyperic_sigar_Sigar_getProcArgs + 110 3 ??? 0x03d20659 0 + 64095833 4 ??? 0x03e9ea50 0 + 65661520 5 ??? 0x03b334c0 0 + 62076096
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-2309
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs. keyword: new = Tracking + FutureFeature + SubBug
making sure we're not missing any bugs in rhq_triage
Ian, is there an open sigar bug about this?
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days