When I try to run omreport on my CentOS 4.7 box I get a segfault. I was
running OMSA 5.X before (I don't recall the version). I don't have good
gdb fu, but heres what I came up with. Anyone have any ideas?
Patrick
# gdb omreport
GNU gdb Red Hat Linux (6.3.0.0-1.162.el4rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i386-redhat-linux-gnu"...(no debugging
symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) run chassis
Starting program: /usr/sbin/omreport chassis
[Thread debugging using libthread_db enabled]
[New Thread -1208404288 (LWP 16658)]
[New Thread -1210528864 (LWP 16662)]
[New Thread -1210664032 (LWP 16663)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208404288 (LWP 16658)]
0x005e0ad0 in xmlXPathCacheNewString (ctxt=0x8fd6638, val=0x8fe0be0
"25") at xpath.c:2130
2130 xpath.c: No such file or directory.
in xpath.c
(gdb) where
#0 0x005e0ad0 in xmlXPathCacheNewString (ctxt=0x8fd6638, val=0x8fe0be0
"25") at xpath.c:2130
#1 0x005ea6dc in xmlXPathCompPathExpr (ctxt=0x8f341f8) at xpath.c:9889
#2 0x005eaa57 in xmlXPathCompUnaryExpr (ctxt=0x8f341f8) at
xpath.c:10316
#3 0x005eabd7 in xmlXPathCompMultiplicativeExpr (ctxt=0x8f341f8) at
xpath.c:10381
#4 0x005ead27 in xmlXPathCompAdditiveExpr (ctxt=0x8f341f8) at
xpath.c:10422
#5 0x005eae17 in xmlXPathCompRelationalExpr (ctxt=0x8f341f8) at
xpath.c:10460
#6 0x005eafce in xmlXPathCompEqualityExpr (ctxt=0x8f341f8) at
xpath.c:10514
#7 0x005eb034 in xmlXPathCompAndExpr (ctxt=0x8f341f8) at xpath.c:10533
#8 0x005eb12e in xmlXPathCompileExpr (ctxt=0x8f341f8, sort=1) at
xpath.c:10559
#9 0x005ef219 in xmlXPathCtxtCompile__internal_alias (ctxt=0x8f341f8,
str=0x8fd5fa0 "/OMA/Parent/ParentName/ChassisProps1/ChassType='25'") at
xpath.c:14113
#10 0x0055c14a in xsltXPathCompile () from /usr/lib/libxslt.so.1
#11 0x0056d3b0 in xsltStylePreCompute () from /usr/lib/libxslt.so.1
#12 0x00556df9 in xsltParseStylesheetOutput () from
/usr/lib/libxslt.so.1
#13 0x00557451 in xsltParseStylesheetProcess () from
/usr/lib/libxslt.so.1
#14 0x00558b6c in xsltParseStylesheetImportedDoc () from
/usr/lib/libxslt.so.1
#15 0x00558db8 in xsltParseStylesheetDoc () from /usr/lib/libxslt.so.1
#16 0x00558e69 in xsltParseStylesheetFile () from /usr/lib/libxslt.so.1
#17 0x0011d9fd in XSITransformXMLByType (
pXMLBuf=0x8fb6300 "<?xml-stylesheet type=\"text/xsl\"
version=\"1.0\"
encoding=\"UTF-8\"?><OMA><Parent><Oid>2</Oid><ParentName><ChassisProps1
oid=\"67108865\"
status=\"2\"><ChassType>23</ChassType><SystemClass>4</SystemClass><Cha".
.., xmlSize=20881, xmlBufType=1, pXSLBuf=0x8fbd6e8
"/opt/dell/srvadmin/var/lib/openmanage/xslroot//hip/cli/CHhealth.xsl",
xslSize=150824504, xslBufType=4, pDataSize=0xbfef8bcc) at
../src/common/src/xmlsintf.c:182
#18 0x0011cef0 in XMLSupTransformXMLByType (pXMLBuf=0x8fd6638 "",
xmlSize=150824504, xmlBufType=150824504, pXSLBuf=0x8fd6638 "",
xslSize=150824504, xslBufType=150824504,
pDataSize=0x8fd6638) at ../src/common/src/xmlsexp.c:83
---Type <return> to continue, or q <return> to quit---
#19 0x001d8df7 in CLIPRespOutputTransform (pCOD=0x8d64830,
pRespObj=0x8d683f0) at
../cli/processors/omclpr/common/src/clipresp.c:494
#20 0x001d7727 in CLIPInvkSnglCmd (pCOD=0x8d64830, pCI=0x8d66c50,
processRightsMask=262151, numNVPair=9, ppNVPair=0x8d64c48) at
../cli/processors/omclpr/common/src/clipinvk.c:492
#21 0x001d845f in CLIPInvkCmd (pCOD=0x8d64830, pCCI=0x8d66c68) at
../cli/processors/omclpr/common/src/clipinvk.c:1178
#22 0x001d47aa in CLIINIInvokeCLIP (pCOD=0x8d64830, pSecName=0x8d64a38
"omreport", pKeyName=0x8d64b40 "chassis", argc=1, argv=0xbfef9018,
valueIdx=150824504)
at ../cli/processors/omclpr/common/src/cliini.c:847
#23 0x001d9325 in CLIProcMain (pCOD=0x8d64830, argc=1, argv=0xbfef9018)
at ../cli/processors/omclpr/common/src/cliproc.c:223
#24 0x001d50d5 in CLIMainProcessor (argc=2, argv=0xbfef9014,
pCLIName=0x8048a53 "omreport") at
../cli/processors/omclpr/common/src/climain.c:444
#25 0x001d553e in CLIMain (argc=150824504, argv=0x8fd6638,
pCLIName=0x8fd6638 "") at
../cli/processors/omclpr/common/src/climain.c:701
#26 0x001d966d in OMCLPRCLIMain (argc=150824504, argv=0x8fd6638,
pCLIName=0x8fd6638 "") at
../cli/processors/omclpr/common/src/clprexp.c:80
#27 0x08048774 in ModuleMain ()
#28 0x08048963 in main ()
(gdb) list
80 ../cli/processors/omclpr/common/src/clprexp.c: No such file or
directory.
in ../cli/processors/omclpr/common/src/clprexp.c
# rpm -qa | grep srv | sort
srvadmin-all-6.2.0-1.5.el4
srvadmin-base-6.2.0-1.5.el4
srvadmin-cm-6.2.0-677
srvadmin-deng-6.2.0-1.6.el4
srvadmin-fsa-6.2.0-1.6.el3
srvadmin-hapi-6.2.0-1.17.el4
srvadmin-idrac-6.2.0-1.5.el4
srvadmin-idracadm-6.2.0-677
srvadmin-idrac-components-6.2.0-677
srvadmin-idracdrsc-6.2.0-677
srvadmin-isvc-6.2.0-1.16.el4
srvadmin-itunnelprovider-6.2.0-1.6.el4
srvadmin-iws-6.2.0-1.18.el4
srvadmin-jre-6.2.0-1.17.el4
srvadmin-megalib-6.2.0-1.6.el3
srvadmin-omacore-6.2.0-1.18.el4
srvadmin-omcommon-6.2.0-1.19.el4
srvadmin-omilcore-6.2.0-1.9.el4
srvadmin-rac4-6.2.0-1.5.el4
srvadmin-rac4-components-6.2.0-677
srvadmin-rac5-6.2.0-1.5.el4
srvadmin-rac5-components-6.2.0-677
srvadmin-racadm4-6.2.0-677
srvadmin-racadm5-6.2.0-677
srvadmin-racdrsc4-6.2.0-677
srvadmin-racdrsc5-6.2.0-677
srvadmin-racsvc-6.2.0-677
srvadmin-smcommon-6.2.0-1.29.el4
srvadmin-smweb-6.2.0-1.29.el4
srvadmin-standardAgent-6.2.0-1.5.el4
srvadmin-storage-6.2.0-1.29.el4
srvadmin-storage-populator-6.2.0-1.25.el3
srvadmin-storageservices-6.2.0-1.5.el4
srvadmin-storelib-6.2.0-1.11.el3
srvadmin-storelib-libpci-6.2.0-1.1.el4
srvadmin-storelib-sysfs-6.2.0-1.1.el4
srvadmin-sysfsutils-6.2.0-2.1.el4
srvadmin-webserver-6.2.0-1.5.el4
srvadmin-xmlsup-6.2.0-1.18.el4
_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq