[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-developers] Re: Memory Leak on Reregistration
From: |
Thomas Reitmayr |
Subject: |
[Linphone-developers] Re: Memory Leak on Reregistration |
Date: |
Sat, 20 Jan 2007 05:03:44 -0800 (PST) |
Hi,
some time ago I reported a memory leak which apparently no one else sees. The
statement below about it not occurring on a regular PC was wrong, and I am now
able to pinpoint it to certain sequence of SIP messages during the
reregistration process.
Here is what I found out:
* Using my account at voipstation.de does not create the memory leak. At every
reregistration there are two calls to osip_transaction_init and two calls to
osip_transaction_free in the following sequence:
osip_transaction_free
osip_transaction_init
osip_transaction_free
osip_transaction_init
Registration on sip:voipstation.de sucessful.
I.e. everything is ok, a detailed log from "linphone -d" is attached and
called linphone_voipstation.log.
* Using my main account at yesss.at, the server seems to insert some OPTIONS
requests which might cause the memory leak of 12-16 KB. The
osip_transaction_init/free sequence looks like:
osip_transaction_free
osip_transaction_init
osip_transaction_free
osip_transaction_init
osip_transaction_init
osip_transaction_init
Registration on sip:sip.yesss.at sucessful.
Note the two additional osip_transaction_init's. That's also shown in the
attached log file linphone_yesss.log. There is also the .linphonerc I am using.
Can anyone shed some light on what's happening here?
Thanks a lot,
-Thomas
----- Ursprüngliche Mail ----
Von: Thomas Reitmayr <address@hidden>
An: address@hidden
Gesendet: Mittwoch, den 27. September 2006, 22:39:07 Uhr
Betreff: Memory Leak on Reregistration
Hi,
I am having a problem with a memory leak using linphonec, where with each
reregistration 16KB more are allocated (according to the process 'status').
This just happens on my ARM platform (Linksys NSLU2), but not on a regular
Linux PC. The Linphone versions are both 1.4.1, also libosip2 v2.2.2 is used on
both architectures.
Did anyone notice something similar?
Has anyone experience using memory profiling with linphone on an embedded
platform? Valgrind would be really nice but does not support ARM CPUs.
Hoping for some advice...
-Thomas
___________________________________________________________
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail:
http://mail.yahoo.de
logs.tgz
Description: application/compressed-tar
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Linphone-developers] Re: Memory Leak on Reregistration,
Thomas Reitmayr <=