Bug 535634 (RHQ-2309) - Sigar crash on OS X 10.5.8/Intel
Summary: Sigar crash on OS X 10.5.8/Intel
Keywords:
Status: CLOSED WONTFIX
Alias: RHQ-2309
Product: RHQ Project
Classification: Other
Component: No Component
Version: 1.3pre
Hardware: All
OS: All
low
medium
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL: http://jira.rhq-project.org/browse/RH...
Whiteboard:
Depends On:
Blocks: rhq_triage
TreeView+ depends on / blocked
 
Reported: 2009-08-07 16:09 UTC by Heiko W. Rupp
Modified: 2023-09-14 01:18 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
OS X 10.5.8
Last Closed: 2013-12-07 15:40:10 UTC
Embargoed:


Attachments (Terms of Use)

Description Heiko W. Rupp 2009-08-07 16:09:00 UTC
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


Comment 1 Red Hat Bugzilla 2009-11-10 21:01:57 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-2309


Comment 2 wes hayutin 2010-02-16 16:51:39 UTC
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs.

keyword:
new = Tracking + FutureFeature + SubBug

Comment 3 wes hayutin 2010-02-16 16:57:55 UTC
making sure we're not missing any bugs in rhq_triage

Comment 4 Corey Welton 2010-11-22 18:11:29 UTC
Ian, is there an open sigar bug about this?

Comment 5 Red Hat Bugzilla 2023-09-14 01:18:46 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


Note You need to log in before you can comment on or make changes to this bug.