[sr-dev] [kamailio/kamailio] presense memory leak (#1001)

Dmitri Savolainen notifications at github.com
Fri Feb 17 19:46:48 CET 2017


### Description
pkg memory  leak in register/publish scenario

#### Reproduction
my presense part
```
loadmodule "presence.so"
modparam("presence", "subs_db_mode", 2)  # Write-Back default scheme 
modparam("presence", "db_update_period", 150)  # 100 - default
modparam("presence", "server_address", "sip:213.170.66.150:5071" ) 
loadmodule "presence_xml.so"
modparam("presence_xml", "force_active", 1)
modparam("presence_xml", "integrated_xcap_server", 1)
loadmodule "pua.so"
loadmodule "pua_usrloc.so"
modparam("pua_usrloc", "default_domain", "siptest.ringme.ru")

```

my REGISTER processing config part
```
    pua_set_publish();
    if (!save("location"))
        sl_reply_error();

```
without pua_set_publish() everything is ok.

#### Log Messages
[kamcmd corex.pkg_summary pid 10376](https://github.com/kamailio/kamailio/files/784021/corexpkg_summary.txt)

#### SIP Traffic
sipp -sf register.xml -r 500 -m 100000 -s 111*222 myhost

### Additional Information

  * **Kamailio Version** - output of `kamailio -v`
latest git version: kamailio 5.1.0-dev1 (x86_64/linux) 
&
kamailio 4.4.5

* **Operating System**:
centos7

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1001
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20170217/be0ceb6e/attachment.html>


More information about the sr-dev mailing list