[omniORB] RE: serious stability problems with omniORB4 snapshots on Solaris 8

Rosimildo daSilva rdasilva@connecttel.com
Thu, 31 Jan 2002 10:41:23 -0600


This is a multi-part message in MIME format.

------=_NextPart_000_00DD_01C1AA43.D3978D60
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Ok.  This is what make multi-threaded applications so *fun* to work on =
it.

The only way I found problems like this before, is to log in the Ctor =
and Dtor of the class being
deleted, some messages like:

Connection::Connection()
{
   printf( "Connection( %X )", this );
}


Connection::~Connection()
{
   printf( "~Connection( %X )", this );
}

And try to make sense of the logfiles.

Rosimildo.
    -----Original Message-----
    From: Bastiaan Bakker <Bastiaan.Bakker@lifeline.nl>
    To: omniorb-list@uk.research.att.com =
<omniorb-list@uk.research.att.com>
    Date: Thursday, January 31, 2002 10:23 AM
    Subject: [omniORB] RE: serious stability problems with omniORB4 =
snapshots on Solaris 8
   =20
   =20
    Hi Rosimildo,
    =20
    I *do* know where the 'pure virtual method call' comes from: in =
notifyWkDone, Peek() is called on a deleted connection. What I do not =
know is where the connection is deleted (actually decRefCount'ed) while =
it's still in use.
    =20
    Regards,
    =20
    Bastiaan Bakker
    LifeLine Networks bv
    =20

------=_NextPart_000_00DD_01C1AA43.D3978D60
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 =
Transitional//EN">
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>Ok.&nbsp; This is what make =
multi-threaded=20
applications so *fun* to work on it.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>The only way I found problems like =
this before,=20
is to log in the Ctor and Dtor of the class being</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>deleted, some messages =
like:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#000000 =
size=3D2>Connection::Connection()</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT><FONT size=3D2>{</FONT></DIV>
<DIV><FONT size=3D2></FONT><FONT color=3D#000000 size=3D2>&nbsp;&nbsp; =
printf(=20
&quot;Connection( %X )&quot;, this );</FONT></DIV>
<DIV><FONT size=3D2>}</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV><FONT color=3D#000000 =
size=3D2>Connection::~Connection()</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT><FONT size=3D2>{</FONT></DIV>
<DIV><FONT size=3D2></FONT><FONT color=3D#000000 size=3D2>&nbsp;&nbsp; =
printf(=20
&quot;~Connection( %X )&quot;, this );</FONT></DIV>
<DIV><FONT size=3D2>}</FONT></DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>And try to make sense of the=20
logfiles.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Rosimildo.</FONT></DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 solid 2px; MARGIN-LEFT: 5px; PADDING-LEFT: =
5px">
    <DIV><FONT face=3DArial size=3D2><B>-----Original =
Message-----</B><BR><B>From:=20
    </B>Bastiaan Bakker &lt;<A=20
    =
href=3D"mailto:Bastiaan.Bakker@lifeline.nl">Bastiaan.Bakker@lifeline.nl</=
A>&gt;<BR><B>To:=20
    </B><A=20
    =
href=3D"mailto:omniorb-list@uk.research.att.com">omniorb-list@uk.research=
.att.com</A>=20
    &lt;<A=20
    =
href=3D"mailto:omniorb-list@uk.research.att.com">omniorb-list@uk.research=
.att.com</A>&gt;<BR><B>Date:=20
    </B>Thursday, January 31, 2002 10:23 AM<BR><B>Subject: </B>[omniORB] =
RE:=20
    serious stability problems with omniORB4 snapshots on Solaris=20
    8<BR><BR></DIV></FONT>
    <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D108241816-31012002>Hi=20
    Rosimildo,</SPAN></FONT></DIV>
    <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
    class=3D108241816-31012002></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D108241816-31012002>I=20
    *do* know where the 'pure virtual method call' comes from: in =
notifyWkDone,=20
    Peek() is called on a deleted connection. What I do not know is =
where the=20
    connection is deleted (actually decRefCount'ed) while it's still in=20
    use.</SPAN></FONT></DIV>
    <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
    class=3D108241816-31012002></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
    class=3D108241816-31012002>Regards,</SPAN></FONT></DIV>
    <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
    class=3D108241816-31012002></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
    class=3D108241816-31012002>Bastiaan Bakker</SPAN></FONT></DIV>
    <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
    class=3D108241816-31012002>LifeLine Networks bv</SPAN></FONT></DIV>
    <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
    =
class=3D108241816-31012002></SPAN></FONT>&nbsp;</DIV></BLOCKQUOTE></BODY>=
</HTML>

------=_NextPart_000_00DD_01C1AA43.D3978D60--