From: SourceForge.net <no...@so...> - 2005-04-28 16:54:41
|
Bugs item #1191278, was opened at 2005-04-27 20:25 Message generated for change (Comment added) made by bestorga-oss You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=712784&aid=1191278&group_id=128809 Category: Client Group: Function Status: Open Resolution: None Priority: 5 Submitted By: Gareth S Bestor (bestorga-oss) Assigned to: Nobody/Anonymous (nobody) Summary: wbemcli segv's on ec Initial Comment: after installing sfcb with cmpi-base, cmpi-fad, etc running wbemcli enumerateclasses causes the command to segv. [bestorga@bestorga sfcb]$ wbemcli ec 'http://localhost:5988/root/cimv2:' Segmentation fault [bestorga@bestorga sfcb]$ wbemcli -dx ec 'http://localhost:5988/root/cimv2' [...] </QUALIFIER> </PROPERTY> <PROPERTY.ARRAY NAME="Roles" TYPE="string"> <QUALIFIER NAME="Write" TYPE="boolean"> <VALUE>TRUE</VALUE> </QUALIFIER> <QUALIFIER NAME="Description" TYPE="string"> <VALUE>An array (bag) of strings that specify the administrator -defined roles this System plays in the managed environment. Examples might be 'Building 8 print server' or 'Boise user directories'. A single system may perform multiple roles. \nNote that instrumentation's view of a System's 'roles' is defined by instantiating a specific subclass of System and/ or by properties in a subclass. For example, a ComputerSystem's purpose is defined using the Dedicated and OtherDedicatedDescription properties.</VALUE> </QUALIFIER> </PROPERTY.ARRAY> </CLASS> Segmentation fault ---------------------------------------------------------------------- >Comment By: Gareth S Bestor (bestorga-oss) Date: 2005-04-28 16:54 Message: Logged In: YES user_id=1215486 Ran output returned by sfcb thru xmllint to see if it picked up any bad XML that might be causing sbemcli to segv. [bestorga@bestorga bestorga]$ cat ec.xml <?xml version="1.0" encoding="utf-8" ?> <CIM CIMVERSION="2.0" DTDVERSION="2.0"> <MESSAGE ID="4711" PROTOCOLVERSION="1.0"><SIMPLEREQ><IMETHODCALL NAME="EnumerateClasses"><LOCALNAMESPACEPATH><NAMESPACE NAME="root"></NAMESPACE><NAMESPACE NAME="cimv2"></NAMESPACE></LOCALNAMESPACEPATH> <IPARAMVALUE NAME="ClassName"><CLASSNAME NAME=""/></IPARAMVALUE> <IPARAMVALUE NAME="DeepInheritance"><VALUE>TRUE</VALUE></IPARAMVALUE> <IPARAMVALUE NAME="LocalOnly"><VALUE>FALSE</VALUE></IPARAMVALUE> <IPARAMVALUE NAME="IncludeQualifiers"><VALUE>FALSE</VALUE></IPARAMVALUE> <IPARAMVALUE NAME="IncludeClassOrigin"><VALUE>TRUE</VALUE></IPARAMVALUE> </IMETHODCALL></SIMPLEREQ> </MESSAGE></CIM> [bestorga@bestorga bestorga]$ wbemcat ec.xml > ec.out [bestorga@bestorga bestorga]$ vi ec.out ## to string off http headers [bestorga@bestorga bestorga]$ xmllint ec.out ec.out:5033: error: Premature end of data in tag IRETURNVALUE line 6 ^ ec.out:5033: error: Premature end of data in tag IMETHODRESPONSE line 5 ^ ec.out:5033: error: Premature end of data in tag SIMPLERSP line 4 ^ ec.out:5033: error: Premature end of data in tag MESSAGE line 3 ^ ec.out:5033: error: Premature end of data in tag CIM line 2 ^ However, the 'errors' reported by xmllint at line 5033 are all at the end of the results file, ie wbemcli died before being able to complete the output. Adrian, I'll send you the complete XML output file for you to look at, in case you can spot anything amiss near the end. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=712784&aid=1191278&group_id=128809 |