[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] Re: Memory leak in ortp?

From: Simon Morlat
Subject: [Linphone-developers] Re: Memory leak in ortp?
Date: Fri, 15 Dec 2006 21:53:28 +0100
User-agent: KMail/1.9.5


What version of ortp are you using ?
I'm very surprised. I run valgrind on ortp nearly every day and I never saw 
this supposed memory leak.
Maybe it comes from the way your application uses it ?
Do you have several threads sending packets through the same session ?


Le dimanche 10 décembre 2006 14:15, Krichevsky, Alex (Alex) a écrit :
> Hi Simon,
> I'm a developer in Avaya using ortp package for our voicemail
> application.
> Using the MemScope tool I found that there is an allocation of a big
> amount of memory (65536 bytes) that is never been freed, even when I
> close the RTP session by calling rtp_session_destroy().
> The allocation is for mblk_t structure. It always takes place according
> to the following trace:
> ...->rtp_session_send_with_ts()->rtp_session_create_packet()->allocb->da
> tab_alloc->ortp_malloc()->malloc()
> It doesn't happen all the time, but usually there's one such leak per
> one voice session.
> Is it some problem in ortp or maybe it is caused by improper use of the
> ortp API?
> Any ideas and any help is appreciated.....
> Regards,
> Alex Krichevsky        AVAYA Inc.
> Voice / fax: +972-3-6457547
> Atidim Technology Park, Building 3, mailbox 58173,
> Tel-Aviv 61581, Israel
> mailto:address@hidden <mailto:address@hidden>
> <>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]