RE: Memory leak in nist implementation

Francisco Javier Tellez Vaquero <[email protected]> Mon, 30 Jun 2008 20:32:39 +0200
Newsgroups gmane.comp.voip.nist-sip
Message-ID <[email protected]>
--===============1152843674367306802==
Content-Type: multipart/alternative;
	boundary="_d44bdc03-7f08-46f5-b7df-ec807f182aa7_"

--_d44bdc03-7f08-46f5-b7df-ec807f182aa7_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Hi Ranga,
I agree the example case is a listener bug, but think the opposite case:

  - You send a BYE request but no response is received.

You have no control about this point, so the idea is trying to close the di=
alog anyway.=20

BR.
=20

> Date: Mon, 30 Jun 2008 14:09:05 -0400
> From: [email protected]
> To: [email protected]
> Subject: Re: [nist-sip] Memory leak in nist implementation
> CC: [email protected]
>=20
> On Mon, Jun 30, 2008 at 1:55 PM, Francisco Javier Tellez Vaquero
> <[email protected]> wrote:
> > Hi all,
> > I see sometimes not all stack objects are destroyed.
> >
> > For example, if you receive BYE request but no 200 response is sent, di=
alog
> > is never closed. There're a lot of different cases (ACK's lost, ...).
>=20
> Not sending a 200 OK to a BYE is an application bug. Please fix that.
>=20
> Please post a specific test case (without listener bugs) and I can look i=
nto it.
>=20
> Ranga
>=20
> >
> > I have tried to free memory executing 'terminate()' and/or 'delete()'
> > methods in both transaction and dialog objects but without any result.
> >
> > Is there any way to force to free these objects (timers, dialogs,
> > transactions, ...) ?
> >
> > Regards.
> >
> >
> >
> > ________________________________
> > Tecnolog=EDa, moda, motor, viajes,.suscr=EDbete a nuestros boletines pa=
ra estar
> > siempre a la =FAltima MSN Newsletters
> > _______________________________________________
> > nist-sip mailing list
> > [email protected]
> > http://www-x.antd.nist.gov/mailman/listinfo/nist-sip
> >
> >
>=20
>=20
>=20
> --=20
> M. Ranganathan

_________________________________________________________________
La vida de los famosos al desnudo en MSN Entretenimiento
http://entretenimiento.es.msn.com/=

--_d44bdc03-7f08-46f5-b7df-ec807f182aa7_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class=3D'hmmessage'>
Hi Ranga,<br>I agree the example case is a listener bug, but think the oppo=
site case:<br><br>&nbsp; - You send a BYE request but no response is receiv=
ed.<br><br>You have no control about this point, so the idea is trying to c=
lose the dialog anyway. <br><br>BR.<br>&nbsp;<br><br>&gt; Date: Mon, 30 Jun=
 2008 14:09:05 -0400<br>&gt; From: [email protected]<br>&gt; To: fjavier_tel=
[email protected]<br>&gt; Subject: Re: [nist-sip] Memory leak in nist impleme=
ntation<br>&gt; CC: [email protected]<br>&gt; <br>&gt; On Mon, Jun 30,=
 2008 at 1:55 PM, Francisco Javier Tellez Vaquero<br>&gt; &lt;fjavier_telle=
[email protected]&gt; wrote:<br>&gt; &gt; Hi all,<br>&gt; &gt; I see sometimes =
not all stack objects are destroyed.<br>&gt; &gt;<br>&gt; &gt; For example,=
 if you receive BYE request but no 200 response is sent, dialog<br>&gt; &gt=
; is never closed. There're a lot of different cases (ACK's lost, ...).<br>=
&gt; <br>&gt; Not sending a 200 OK to a BYE is an application bug. Please f=
ix that.<br>&gt; <br>&gt; Please post a specific test case (without listene=
r bugs) and I can look into it.<br>&gt; <br>&gt; Ranga<br>&gt; <br>&gt; &gt=
;<br>&gt; &gt; I have tried to free memory executing 'terminate()' and/or '=
delete()'<br>&gt; &gt; methods in both transaction and dialog objects but w=
ithout any result.<br>&gt; &gt;<br>&gt; &gt; Is there any way to force to f=
ree these objects (timers, dialogs,<br>&gt; &gt; transactions, ...) ?<br>&g=
t; &gt;<br>&gt; &gt; Regards.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt=
; &gt; ________________________________<br>&gt; &gt; Tecnolog=EDa, moda, mo=
tor, viajes,.suscr=EDbete a nuestros boletines para estar<br>&gt; &gt; siem=
pre a la =FAltima MSN Newsletters<br>&gt; &gt; ____________________________=
___________________<br>&gt; &gt; nist-sip mailing list<br>&gt; &gt; nist-si=
[email protected]<br>&gt; &gt; http://www-x.antd.nist.gov/mailman/listinfo/ni=
st-sip<br>&gt; &gt;<br>&gt; &gt;<br>&gt; <br>&gt; <br>&gt; <br>&gt; -- <br>=
&gt; M. Ranganathan<br><br /><hr />Sigue los principales acontecimientos de=
portivos en directo. <a href=3D'http://video.msn.com/video.aspx?mkt=3Des-es=
' target=3D'_new'>MSN Motor</a></body>
</html>=

--_d44bdc03-7f08-46f5-b7df-ec807f182aa7_--

--===============1152843674367306802==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
nist-sip mailing list
[email protected]
http://www-x.antd.nist.gov/mailman/listinfo/nist-sip

--===============1152843674367306802==--