Bug 697953

Summary: SIGSEGV on RHQ Agent
Product: [Other] RHQ Project Reporter: Mike Foley <mfoley>
Component: AgentAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED NOTABUG QA Contact: Corey Welton <cwelton>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0.0.Beta2CC: hrupp
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-20 13:14:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Log from agent none

Description Mike Foley 2011-04-19 18:33:05 UTC
Created attachment 493254 [details]
Log from agent

Description of problem:
Agent keeps crashing for me.  

Version-Release number of selected component (if applicable):


How reproducible:
Happening on my system quite frequently.  4 times per day.

Steps to Reproduce:
1.  rhq-agent.sh start
2.
3.
  
Actual results:
SIGSEGV

Expected results:
Agent does not SIGSEGV.  

Additional info:
Known workaround is to use --nonative

Comment 1 Mike Foley 2011-04-19 18:36:57 UTC
happening during the discovery phase.  i can trigger the crash by typying "discovery" at the agent prompt.  


> discovery
script2.Script2: Starting discovery...
script2.Script2: Done.

IRC Server.IRC Server: Starting discovery...
IRC Server.IRC Server: Done.

hadoop.Hadoop: Starting discovery...
hadoop.Hadoop: Done.

Twitter.Twitter: Starting discovery...
Twitter.Twitter: Done.

JBossAS5.JBossAS Server: Starting discovery...
JBossAS5.JBossAS Server: Process scan detected a server - scan=[ProcessScan: query=[process|basename|match=^java.*,arg|org.jboss.Main|match=.*], name=[jbossas]], process=[process: pid=[4413], name=[/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java], ppid=[4366]]
JBossAS5.JBossAS Server: Process scan detected a server - scan=[ProcessScan: query=[process|basename|match=^java.*,arg|org.jboss.Main|match=.*], name=[jbossas]], process=[process: pid=[4906], name=[/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java], ppid=[4896]]
JBossAS5.JBossAS Server: key=[/home/mfoley/EAP/jboss-eap-5.1/jboss-as/server/default], name=[localhost:1099 default], version=[5.1.0], description=[JBoss Enterprise Application Platform]
JBossAS5.JBossAS Server: Done.

PerfTest.server-e: Starting discovery...
PerfTest.server-e: Done.

Postfix.Postfix Server: Starting discovery...
Postfix.Postfix Server: key=[/etc/postfix/main.cf], name=[foleymonsterbox1.foleyhomenetwork], version=[], description=[Configuration for Postfix Server]
Postfix.Postfix Server: Done.

Script.Script Server: Starting discovery...
Script.Script Server: Done.

GRUB.GRUB: Starting discovery...
GRUB.GRUB: key=[grub], name=[GRUB], version=[1.0], description=[GRUB configuration on the machine.]
GRUB.GRUB: Done.

Kickstart.Kickstart Client: Starting discovery...
Kickstart.Kickstart Client: Done.

Virtualization.Virtual Host: Starting discovery...
Virtualization.Virtual Host: Done.

PerfTest.server-c: Starting discovery...
PerfTest.server-c: Done.

IIS.IIS: Starting discovery...
IIS.IIS: Done.

Samba.Samba Server: Starting discovery...
Samba.Samba Server: key=[/etc/samba/smb.conf], name=[foleymonsterbox1.foleyhomenetwork], version=[], description=[Configuration for Samba Server]
Samba.Samba Server: Done.

PerfTest.server-d: Starting discovery...
PerfTest.server-d: Done.

JMX.JMX Server: Starting discovery...
JMX.JMX Server: Process scan detected a server - scan=[ProcessScan: query=[process|basename|match=^java.*], name=[java]], process=[process: pid=[4413], name=[/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java], ppid=[4366]]
JMX.JMX Server: Process scan detected a server - scan=[ProcessScan: query=[process|basename|match=^java.*], name=[java]], process=[process: pid=[4906], name=[/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java], ppid=[4896]]
JMX.JMX Server: Process scan detected a server - scan=[ProcessScan: query=[process|basename|match=^java.*], name=[java]], process=[process: pid=[5345], name=[/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java], ppid=[5336]]
JMX.JMX Server: Done.

RHQAgent.RHQ Agent: Starting discovery...
RHQAgent.RHQ Agent: key=[RHQ Agent], name=[RHQ Agent], version=[4.0.0-SNAPSHOT], description=[RHQ Management Agent]
RHQAgent.RHQ Agent: Done.

PerfTest.server-b: Starting discovery...
PerfTest.server-b: Done.

PerfTest.server-a: Starting discovery...
PerfTest.server-a: Done.

Tomcat.Tomcat Server: Starting discovery...
Tomcat.Tomcat Server: Done.

Apache.Apache HTTP Server: Starting discovery...
Apache.Apache HTTP Server: Done.

snmptrapd.SnmpTrapd: Starting discovery...
snmptrapd.SnmpTrapd: Done.

MySql.MySql Server: Starting discovery...
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fcc39581677, pid=5345, tid=140514971084544
#
# JRE version: 6.0_20-b20
# Java VM: OpenJDK 64-Bit Server VM (19.0-b09 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea6 1.9.7
# Distribution: Fedora release 14 (Laughlin), package fedora-52.1.9.7.fc14-x86_64
# Problematic frame:
# V  [libjvm.so+0x62d677]
#
# An error report file with more information is saved as:
# /root/rhq/rhq-agent/hs_err_pid5345.log

Comment 2 Mike Foley 2011-04-20 13:14:22 UTC
I am going to close this.  I understand what was happening now.  Issue with glibc ...wrong version or something.  This was something I precipitated with an ill-advised yum install  (I was trying to get Zimbra Desktop installed ...which needed some dependencies ...).