OpenPegasus crash upon bad request

Johnny Hwang <[email protected]> Thu, 1 Oct 2015 01:05:18 +0000
Newsgroups gmane.network.open-pegasus.general
Message-ID <SN1PR07MB2224F78B37A35A613BDD61C3B44C0@SN1PR07MB2224.namprd07.prod.outlook.com>
--_000_SN1PR07MB2224F78B37A35A613BDD61C3B44C0SN1PR07MB2224namp_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hello all,

I noticed that OpenPegasus crashes after 1 minute if SCVMM sends a bad (mal=
formed) request over:

1443657185s-800557us: XmlIO [20195:140164881024992:HTTPConnection.cpp:2328]=
: <!-- Request: queue id: 40 -->
POST /cimom HTTP/1.1^M
Connection: Keep-Alive^M
Content-Type: application/xml; charset=3D"utf-8"^M
Authorization: Basic XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX^M
Host: TTVM53.TINTRI.COM^M
User-Agent: msftsm^M
CIMOperation: MethodCall^M
CIMMethod: Associators^M
CIMObject: interop^M
Content-Length: 627^M
^M
<?xml version=3D"1.0" encoding=3D"UTF-8"?>^M
<CIM CIMVERSION=3D"2.0" DTDVERSION=3D"2.0">^M
  <MESSAGE ID=3D"5" PROTOCOLVERSION=3D"1.0">^M
    <SIMPLEREQ>^M
      <IMETHODCALL NAME=3D"Associators">^M
        <LOCALNAMESPACEPATH>^M
          <NAMESPACE NAME=3D"interop" />^M
        </LOCALNAMESPACEPATH>^M
        <IPARAMVALUE NAME=3D"ObjectName" />^M
        <IPARAMVALUE NAME=3D"AssocClass">^M
          <CLASSNAME NAME=3D"CIM_ElementConformsToProfile" />^M
        </IPARAMVALUE>^M
        <IPARAMVALUE NAME=3D"ResultClass">^M
          <CLASSNAME NAME=3D"CIM_ComputerSystem" />^M
        </IPARAMVALUE>^M
      </IMETHODCALL>^M
    </SIMPLEREQ>^M
  </MESSAGE>^M
</CIM>
1443657185s-800585us: Http [20195:140164881024992:HTTPConnection.cpp:2343]:=
 Now setting state to 1
1443657185s-800599us: Http [20195:140164881024992:HTTPAuthenticatorDelegato=
r.cpp:297]: HTTPAuthenticatorDelegator - HTTP processing start
1443657185s-800624us: Authentication [20195:140164881024992:HTTPAuthenticat=
orDelegator.cpp:431]: HTTPAuthenticatorDelegator - Authentication processin=
g start
1443657185s-800661us: Authentication [20195:140164881024992:HTTPAuthenticat=
orDelegator.cpp:1169]: HTTPAuthenticatorDelegator - Authentication processi=
ng ended
1443657185s-800677us: Http [20195:140164881024992:HTTPAuthenticatorDelegato=
r.cpp:1283]: HTTPAuthenticatorDelegator - CIMOperation: MethodCall
1443657185s-800691us: Http [20195:140164881024992:CIMOperationRequestDecode=
r.cpp:420]: CIMOperationRequestDecoder::handleHTTPMessage()- httpMessage->g=
etCloseConnect() returned 0
1443657185s-800763us: L10N [20195:140164881024992:MessageLoader.cpp:418]: M=
essage ID =3D Common.XmlParser.VALIDATION_ERROR
1443657185s-800784us: L10N [20195:140164881024992:MessageLoader.cpp:418]: M=
essage ID =3D Common.XmlReader.INVALID_NULL_IPARAMVALUE
1443657185s-800860us: Http [20195:140164881024992:HTTPConnection.cpp:384]: =
HTTPConnection::handleEnqueue - HTTP_MESSAGE
1443657185s-800885us: Http [20195:140164881024992:HTTPConnection.cpp:924]: =
HTTPConnection::_handleWriteEvent: Server write event.
1443657185s-800900us: XmlIO [20195:140164881024992:HTTPConnection.cpp:932]:=
 <!-- Response: queue id: 40 -->
HTTP/1.1 400 Bad Request^M
CIMError: request-not-valid^M
PGErrorDetail: Validation%20error%3A%20on%20line%209%3A%20A%20null%20value%=
20is%20not%20valid%20for%20IPARAMVALUE%20%22ObjectName%22.^M
^M

1443657185s-800912us: Http [20195:140164881024992:HTTPConnection.cpp:1040]:=
 HTTPConnection::_handleWriteEvent: Sending non-chunked data.
1443657185s-800943us: Http [20195:140164881024992:HTTPConnection.cpp:1181]:=
 A response has been sent (192 of 192 bytes have been written). A total of =
15 requests have been processed on this connection.
1443657185s-800959us: Http [20195:140164881024992:HTTPConnection.cpp:1222]:=
 Now setting state to 0
1443657185s-800981us: Http [20195:140164881024992:Monitor.cpp:597]: Exited =
HTTPConnection::run()
1443657185s-801003us: Http [20195:140164881024992:Monitor.cpp:543]: Monitor=
::run select event received events =3D 1, monitoring 5 idle entries
1443657185s-801015us: Http [20195:140164881024992:Monitor.cpp:555]: Monitor=
::run indx =3D 0, queueId =3D 1, q =3D 0x17f8460
1443657185s-801659us: Http [20195:140164881024992:Monitor.cpp:543]: Monitor=
::run select event received events =3D 1, monitoring 5 idle entries
1443657185s-801680us: Http [20195:140164881024992:Monitor.cpp:555]: Monitor=
::run indx =3D 5, queueId =3D 40, q =3D 0x1a94450
1443657185s-801690us: Http [20195:140164881024992:Monitor.cpp:563]: entries=
[5].type is TYPE_CONNECTION
1443657185s-801700us: Http [20195:140164881024992:Monitor.cpp:584]: Enterin=
g HTTPConnection::run() for indx =3D 5, queueId =3D 40, q =3D 0x1a94450
1443657185s-801713us: Http [20195:140164881024992:HTTPConnection.cpp:374]: =
HTTPConnection::handleEnqueue - SOCKET_MESSAGE
1443657185s-801727us: Http [20195:140164881024992:HTTPConnection.cpp:2252]:=
 Total bytesRead =3D 0; Bytes read this iteration =3D 0
1443657185s-801738us: XmlIO [20195:140164881024992:HTTPConnection.cpp:2284]=
: <!-- No request message received; connection closed: queue id: 40 -->
1443657185s-801748us: Http [20195:140164881024992:HTTPConnection.cpp:1614]:=
 Now setting state to 2
1443657185s-801758us: Http [20195:140164881024992:Monitor.cpp:597]: Exited =
HTTPConnection::run()
1443657185s-801814us: Http [20195:140164881024992:Monitor.cpp:543]: Monitor=
::run select event received events =3D 1, monitoring 4 idle entries
1443657185s-801840us: Http [20195:140164881024992:Monitor.cpp:555]: Monitor=
::run indx =3D 0, queueId =3D 1, q =3D 0x17f8460
1443657245s-637744us: Thread [17137:140360732653536:Thread.cpp:380]: Thread=
: able to create a thread key




And here is the stack trace from the crash:

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/opt/pegasus/bin/cimserver daemon=3Dfalse enableAuth=
entication=3Dtrue traceLevel=3D4'.
Program terminated with signal 6, Aborted.
#0  0x00007fd77c79f815 in raise () from /lib64/libc.so.6
(gdb) bt full
#0  0x00007fd77c79f815 in raise () from /lib64/libc.so.6
No symbol table info available.
#1  0x00007fd77c7a0ff5 in abort () from /lib64/libc.so.6
No symbol table info available.
#2  0x00007fd77c7dc66b in __libc_message () from /lib64/libc.so.6
No symbol table info available.
#3  0x00007fd77c8672b7 in __fortify_fail () from /lib64/libc.so.6
No symbol table info available.
#4  0x00007fd77c867249 in ____longjmp_chk () from /lib64/libc.so.6
No symbol table info available.
#5  0x00007fd77c8671b3 in __longjmp_chk () from /lib64/libc.so.6
No symbol table info available.
#6  0x00007fd77b7d6885 in alarmfunc (sig=3D<optimized out>) at hostip.c:518
No locals.
#7  <signal handler called>
No symbol table info available.
#8  0x00007fd77c846193 in select () from /lib64/libc.so.6
No symbol table info available.
#9  0x00007fd77da5696e in Pegasus::Monitor::run (this=3D0x649530, milliseco=
nds=3D500000) at Monitor.cpp:511
        tv =3D {tv_sec =3D 440, tv_usec =3D 230163}
        fdread =3D {fds_bits =3D {14368, 0 <repeats 15 times>}}
        autoEntryMutex =3D {_mutex =3D @0x649538}
        __PRETTY_FUNCTION__ =3D "void Pegasus::Monitor::run(Pegasus::Uint32=
)"
        timeNow =3D {tv_sec =3D 1443641567, tv_usec =3D 565472}
        entries =3D {_data =3D 0x649610, _size =3D 32}
        _idleEntries =3D 4
        maxSocketCurrentPass =3D 14
        events =3D 1
#10 0x00007fd7815c2784 in Pegasus::CIMServer::runForever (this=3D0x649470) =
at CIMServer.cpp:743
        lastIdleCleanupTime =3D {tv_sec =3D 1443641442, tv_usec =3D 0}
        now =3D {tv_sec =3D 1443641567, tv_usec =3D 565500}
#11 0x0000000000406dd2 in CIMServerProcess::cimserver_run (this=3D0x63c830,=
 argc=3D0, argv=3D0x7fffeb7dcb48, shutdownOption=3Dfalse, debugOutputOption=
=3Dfalse) at cimserver.cpp:1307
        daemonOption =3D false
        configManager =3D 0x643190
#12 0x00007fd781a28a9b in Pegasus::ServerProcess::platform_run (this=3D0x63=
c830, argc=3D9, argv=3D0x7fffeb7dcb48, shutdownOption=3Dfalse, debugOutputO=
ption=3Dfalse) at ServerProcessUnix.cpp:187
No locals.
#13 0x00000000004051de in main (argc=3D9, argv=3D0x7fffeb7dcb48) at cimserv=
er.cpp:708
        pegasusHome =3D {static EMPTY =3D {static EMPTY =3D <same as static=
 member of an already seen type>, _rep =3D 0x7fd77dd57080}, _rep =3D 0x6431=
50}
        shutdownOption =3D false
        debugOutputOption =3D false
        tmp =3D 0x7fffeb7dcfd0 "/opt/pegasus"
(gdb)

Monitor.cpp:511 has this line (this is 2.13.0):

    int events =3D select(maxSocketCurrentPass, &fdread, NULL, NULL, &tv);


My guess is Bad Request doesn't clean up properly. Where in the code should=
 I start looking?

Thank you,
Johnny

--_000_SN1PR07MB2224F78B37A35A613BDD61C3B44C0SN1PR07MB2224namp_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hello all,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I noticed that OpenPegasus crashes after 1 minute if=
 SCVMM sends a bad (malformed) request over:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">1443657185s-800557us: XmlIO [20195:140164881024992:H=
TTPConnection.cpp:2328]: &lt;!-- Request: queue id: 40 --&gt;<o:p></o:p></p=
>
<p class=3D"MsoNormal">POST /cimom HTTP/1.1^M<o:p></o:p></p>
<p class=3D"MsoNormal">Connection: Keep-Alive^M<o:p></o:p></p>
<p class=3D"MsoNormal">Content-Type: application/xml; charset=3D&quot;utf-8=
&quot;^M<o:p></o:p></p>
<p class=3D"MsoNormal">Authorization: Basic XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=
XXXXX^M<o:p></o:p></p>
<p class=3D"MsoNormal">Host: TTVM53.TINTRI.COM^M<o:p></o:p></p>
<p class=3D"MsoNormal">User-Agent: msftsm^M<o:p></o:p></p>
<p class=3D"MsoNormal">CIMOperation: MethodCall^M<o:p></o:p></p>
<p class=3D"MsoNormal">CIMMethod: Associators^M<o:p></o:p></p>
<p class=3D"MsoNormal">CIMObject: interop^M<o:p></o:p></p>
<p class=3D"MsoNormal">Content-Length: 627^M<o:p></o:p></p>
<p class=3D"MsoNormal">^M<o:p></o:p></p>
<p class=3D"MsoNormal">&lt;?xml version=3D&quot;1.0&quot; encoding=3D&quot;=
UTF-8&quot;?&gt;^M<o:p></o:p></p>
<p class=3D"MsoNormal">&lt;CIM CIMVERSION=3D&quot;2.0&quot; DTDVERSION=3D&q=
uot;2.0&quot;&gt;^M<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp; &lt;MESSAGE ID=3D&quot;5&quot; PROTOCOLVERSIO=
N=3D&quot;1.0&quot;&gt;^M<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp; &lt;SIMPLEREQ&gt;^M<o:p></o:p></p=
>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;IMETHODCALL NAME=
=3D&quot;Associators&quot;&gt;^M<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;LOCAL=
NAMESPACEPATH&gt;^M<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; &lt;NAMESPACE NAME=3D&quot;interop&quot; /&gt;^M<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/LOCA=
LNAMESPACEPATH&gt;^M<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;IPARA=
MVALUE NAME=3D&quot;ObjectName&quot; /&gt;^M<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;IPARA=
MVALUE NAME=3D&quot;AssocClass&quot;&gt;^M<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; &lt;CLASSNAME NAME=3D&quot;CIM_ElementConformsToProfile&quot; /&gt;^M<o:=
p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/IPAR=
AMVALUE&gt;^M<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;IPARA=
MVALUE NAME=3D&quot;ResultClass&quot;&gt;^M<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; &lt;CLASSNAME NAME=3D&quot;CIM_ComputerSystem&quot; /&gt;^M<o:p></o:p></=
p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/IPAR=
AMVALUE&gt;^M<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/IMETHODCALL&gt;^=
M<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp; &lt;/SIMPLEREQ&gt;^M<o:p></o:p></=
p>
<p class=3D"MsoNormal">&nbsp; &lt;/MESSAGE&gt;^M<o:p></o:p></p>
<p class=3D"MsoNormal">&lt;/CIM&gt;<o:p></o:p></p>
<p class=3D"MsoNormal">1443657185s-800585us: Http [20195:140164881024992:HT=
TPConnection.cpp:2343]: Now setting state to 1<o:p></o:p></p>
<p class=3D"MsoNormal">1443657185s-800599us: Http [20195:140164881024992:HT=
TPAuthenticatorDelegator.cpp:297]: HTTPAuthenticatorDelegator - HTTP proces=
sing start<o:p></o:p></p>
<p class=3D"MsoNormal">1443657185s-800624us: Authentication [20195:14016488=
1024992:HTTPAuthenticatorDelegator.cpp:431]: HTTPAuthenticatorDelegator - A=
uthentication processing start<o:p></o:p></p>
<p class=3D"MsoNormal">1443657185s-800661us: Authentication [20195:14016488=
1024992:HTTPAuthenticatorDelegator.cpp:1169]: HTTPAuthenticatorDelegator - =
Authentication processing ended<o:p></o:p></p>
<p class=3D"MsoNormal">1443657185s-800677us: Http [20195:140164881024992:HT=
TPAuthenticatorDelegator.cpp:1283]: HTTPAuthenticatorDelegator - CIMOperati=
on: MethodCall<o:p></o:p></p>
<p class=3D"MsoNormal">1443657185s-800691us: Http [20195:140164881024992:CI=
MOperationRequestDecoder.cpp:420]: CIMOperationRequestDecoder::handleHTTPMe=
ssage()- httpMessage-&gt;getCloseConnect() returned 0<o:p></o:p></p>
<p class=3D"MsoNormal">1443657185s-800763us: L10N [20195:140164881024992:Me=
ssageLoader.cpp:418]: Message ID =3D Common.XmlParser.VALIDATION_ERROR<o:p>=
</o:p></p>
<p class=3D"MsoNormal">1443657185s-800784us: L10N [20195:140164881024992:Me=
ssageLoader.cpp:418]: Message ID =3D Common.XmlReader.INVALID_NULL_IPARAMVA=
LUE<o:p></o:p></p>
<p class=3D"MsoNormal">1443657185s-800860us: Http [20195:140164881024992:HT=
TPConnection.cpp:384]: HTTPConnection::handleEnqueue - HTTP_MESSAGE<o:p></o=
:p></p>
<p class=3D"MsoNormal">1443657185s-800885us: Http [20195:140164881024992:HT=
TPConnection.cpp:924]: HTTPConnection::_handleWriteEvent: Server write even=
t.<o:p></o:p></p>
<p class=3D"MsoNormal">1443657185s-800900us: XmlIO [20195:140164881024992:H=
TTPConnection.cpp:932]: &lt;!-- Response: queue id: 40 --&gt;<o:p></o:p></p=
>
<p class=3D"MsoNormal">HTTP/1.1 400 Bad Request^M<o:p></o:p></p>
<p class=3D"MsoNormal">CIMError: request-not-valid^M<o:p></o:p></p>
<p class=3D"MsoNormal">PGErrorDetail: Validation%20error%3A%20on%20line%209=
%3A%20A%20null%20value%20is%20not%20valid%20for%20IPARAMVALUE%20%22ObjectNa=
me%22.^M<o:p></o:p></p>
<p class=3D"MsoNormal">^M<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">1443657185s-800912us: Http [20195:140164881024992:HT=
TPConnection.cpp:1040]: HTTPConnection::_handleWriteEvent: Sending non-chun=
ked data.<o:p></o:p></p>
<p class=3D"MsoNormal">1443657185s-800943us: Http [20195:140164881024992:HT=
TPConnection.cpp:1181]: A response has been sent (192 of 192 bytes have bee=
n written). A total of 15 requests have been processed on this connection.<=
o:p></o:p></p>
<p class=3D"MsoNormal">1443657185s-800959us: Http [20195:140164881024992:HT=
TPConnection.cpp:1222]: Now setting state to 0<o:p></o:p></p>
<p class=3D"MsoNormal">1443657185s-800981us: Http [20195:140164881024992:Mo=
nitor.cpp:597]: Exited HTTPConnection::run()<o:p></o:p></p>
<p class=3D"MsoNormal">1443657185s-801003us: Http [20195:140164881024992:Mo=
nitor.cpp:543]: Monitor::run select event received events =3D 1, monitoring=
 5 idle entries<o:p></o:p></p>
<p class=3D"MsoNormal">1443657185s-801015us: Http [20195:140164881024992:Mo=
nitor.cpp:555]: Monitor::run indx =3D 0, queueId =3D 1, q =3D 0x17f8460<o:p=
></o:p></p>
<p class=3D"MsoNormal">1443657185s-801659us: Http [20195:140164881024992:Mo=
nitor.cpp:543]: Monitor::run select event received events =3D 1, monitoring=
 5 idle entries<o:p></o:p></p>
<p class=3D"MsoNormal">1443657185s-801680us: Http [20195:140164881024992:Mo=
nitor.cpp:555]: Monitor::run indx =3D 5, queueId =3D 40, q =3D 0x1a94450<o:=
p></o:p></p>
<p class=3D"MsoNormal">1443657185s-801690us: Http [20195:140164881024992:Mo=
nitor.cpp:563]: entries[5].type is TYPE_CONNECTION<o:p></o:p></p>
<p class=3D"MsoNormal">1443657185s-801700us: Http [20195:140164881024992:Mo=
nitor.cpp:584]: Entering HTTPConnection::run() for indx =3D 5, queueId =3D =
40, q =3D 0x1a94450<o:p></o:p></p>
<p class=3D"MsoNormal">1443657185s-801713us: Http [20195:140164881024992:HT=
TPConnection.cpp:374]: HTTPConnection::handleEnqueue - SOCKET_MESSAGE<o:p><=
/o:p></p>
<p class=3D"MsoNormal">1443657185s-801727us: Http [20195:140164881024992:HT=
TPConnection.cpp:2252]: Total bytesRead =3D 0; Bytes read this iteration =
=3D 0<o:p></o:p></p>
<p class=3D"MsoNormal">1443657185s-801738us: XmlIO [20195:140164881024992:H=
TTPConnection.cpp:2284]: &lt;!-- No request message received; connection cl=
osed: queue id: 40 --&gt;<o:p></o:p></p>
<p class=3D"MsoNormal">1443657185s-801748us: Http [20195:140164881024992:HT=
TPConnection.cpp:1614]: Now setting state to 2<o:p></o:p></p>
<p class=3D"MsoNormal">1443657185s-801758us: Http [20195:140164881024992:Mo=
nitor.cpp:597]: Exited HTTPConnection::run()<o:p></o:p></p>
<p class=3D"MsoNormal">1443657185s-801814us: Http [20195:140164881024992:Mo=
nitor.cpp:543]: Monitor::run select event received events =3D 1, monitoring=
 4 idle entries<o:p></o:p></p>
<p class=3D"MsoNormal">1443657185s-801840us: Http [20195:140164881024992:Mo=
nitor.cpp:555]: Monitor::run indx =3D 0, queueId =3D 1, q =3D 0x17f8460<o:p=
></o:p></p>
<p class=3D"MsoNormal">1443657245s-637744us: Thread [17137:140360732653536:=
Thread.cpp:380]: Thread: able to create a thread key<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">And here is the stack trace from the crash:<o:p></o:=
p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">warning: Can't read pathname for load map: Input/out=
put error.<o:p></o:p></p>
<p class=3D"MsoNormal">[Thread debugging using libthread_db enabled]<o:p></=
o:p></p>
<p class=3D"MsoNormal">Using host libthread_db library &quot;/lib64/libthre=
ad_db.so.1&quot;.<o:p></o:p></p>
<p class=3D"MsoNormal">Core was generated by `/opt/pegasus/bin/cimserver da=
emon=3Dfalse enableAuthentication=3Dtrue traceLevel=3D4'.<o:p></o:p></p>
<p class=3D"MsoNormal">Program terminated with signal 6, Aborted.<o:p></o:p=
></p>
<p class=3D"MsoNormal">#0&nbsp; 0x00007fd77c79f815 in raise () from /lib64/=
libc.so.6<o:p></o:p></p>
<p class=3D"MsoNormal">(gdb) bt full<o:p></o:p></p>
<p class=3D"MsoNormal">#0&nbsp; 0x00007fd77c79f815 in raise () from /lib64/=
libc.so.6<o:p></o:p></p>
<p class=3D"MsoNormal">No symbol table info available.<o:p></o:p></p>
<p class=3D"MsoNormal">#1&nbsp; 0x00007fd77c7a0ff5 in abort () from /lib64/=
libc.so.6<o:p></o:p></p>
<p class=3D"MsoNormal">No symbol table info available.<o:p></o:p></p>
<p class=3D"MsoNormal">#2&nbsp; 0x00007fd77c7dc66b in __libc_message () fro=
m /lib64/libc.so.6<o:p></o:p></p>
<p class=3D"MsoNormal">No symbol table info available.<o:p></o:p></p>
<p class=3D"MsoNormal">#3&nbsp; 0x00007fd77c8672b7 in __fortify_fail () fro=
m /lib64/libc.so.6<o:p></o:p></p>
<p class=3D"MsoNormal">No symbol table info available.<o:p></o:p></p>
<p class=3D"MsoNormal">#4&nbsp; 0x00007fd77c867249 in ____longjmp_chk () fr=
om /lib64/libc.so.6<o:p></o:p></p>
<p class=3D"MsoNormal">No symbol table info available.<o:p></o:p></p>
<p class=3D"MsoNormal">#5&nbsp; 0x00007fd77c8671b3 in __longjmp_chk () from=
 /lib64/libc.so.6<o:p></o:p></p>
<p class=3D"MsoNormal">No symbol table info available.<o:p></o:p></p>
<p class=3D"MsoNormal">#6&nbsp; 0x00007fd77b7d6885 in alarmfunc (sig=3D&lt;=
optimized out&gt;) at hostip.c:518<o:p></o:p></p>
<p class=3D"MsoNormal">No locals.<o:p></o:p></p>
<p class=3D"MsoNormal">#7&nbsp; &lt;signal handler called&gt;<o:p></o:p></p=
>
<p class=3D"MsoNormal">No symbol table info available.<o:p></o:p></p>
<p class=3D"MsoNormal">#8&nbsp; 0x00007fd77c846193 in select () from /lib64=
/libc.so.6<o:p></o:p></p>
<p class=3D"MsoNormal">No symbol table info available.<o:p></o:p></p>
<p class=3D"MsoNormal">#9&nbsp; 0x00007fd77da5696e in Pegasus::Monitor::run=
 (this=3D0x649530, milliseconds=3D500000) at Monitor.cpp:511<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tv =3D {t=
v_sec =3D 440, tv_usec =3D 230163}<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fdread =
=3D {fds_bits =3D {14368, 0 &lt;repeats 15 times&gt;}}<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; autoEntry=
Mutex =3D {_mutex =3D @0x649538}<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; __PRETTY_=
FUNCTION__ =3D &quot;void Pegasus::Monitor::run(Pegasus::Uint32)&quot;<o:p>=
</o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; timeNow =
=3D {tv_sec =3D 1443641567, tv_usec =3D 565472}<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; entries =
=3D {_data =3D 0x649610, _size =3D 32}<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _idleEntr=
ies =3D 4<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; maxSocket=
CurrentPass =3D 14<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; events =
=3D 1<o:p></o:p></p>
<p class=3D"MsoNormal">#10 0x00007fd7815c2784 in Pegasus::CIMServer::runFor=
ever (this=3D0x649470) at CIMServer.cpp:743<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lastIdleC=
leanupTime =3D {tv_sec =3D 1443641442, tv_usec =3D 0}<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; now =3D {=
tv_sec =3D 1443641567, tv_usec =3D 565500}<o:p></o:p></p>
<p class=3D"MsoNormal">#11 0x0000000000406dd2 in CIMServerProcess::cimserve=
r_run (this=3D0x63c830, argc=3D0, argv=3D0x7fffeb7dcb48, shutdownOption=3Df=
alse, debugOutputOption=3Dfalse) at cimserver.cpp:1307<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; daemonOpt=
ion =3D false<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; configMan=
ager =3D 0x643190<o:p></o:p></p>
<p class=3D"MsoNormal">#12 0x00007fd781a28a9b in Pegasus::ServerProcess::pl=
atform_run (this=3D0x63c830, argc=3D9, argv=3D0x7fffeb7dcb48, shutdownOptio=
n=3Dfalse, debugOutputOption=3Dfalse) at ServerProcessUnix.cpp:187<o:p></o:=
p></p>
<p class=3D"MsoNormal">No locals.<o:p></o:p></p>
<p class=3D"MsoNormal">#13 0x00000000004051de in main (argc=3D9, argv=3D0x7=
fffeb7dcb48) at cimserver.cpp:708<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pegasusHo=
me =3D {static EMPTY =3D {static EMPTY =3D &lt;same as static member of an =
already seen type&gt;, _rep =3D 0x7fd77dd57080}, _rep =3D 0x643150}<o:p></o=
:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; shutdownO=
ption =3D false<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; debugOutp=
utOption =3D false<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tmp =3D 0=
x7fffeb7dcfd0 &quot;/opt/pegasus&quot;<o:p></o:p></p>
<p class=3D"MsoNormal">(gdb)<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Monitor.cpp:511 has this line (this is 2.13.0):<o:p>=
</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp; int events =3D select(maxSocketCu=
rrentPass, &amp;fdread, NULL, NULL, &amp;tv);<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">My guess is Bad Request doesn&#8217;t clean up prope=
rly. Where in the code should I start looking?<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Thank you,<o:p></o:p></p>
<p class=3D"MsoNormal">Johnny<o:p></o:p></p>
</div>
</body>
</html>

--_000_SN1PR07MB2224F78B37A35A613BDD61C3B44C0SN1PR07MB2224namp_--