<div dir="ltr">hello everyone,<div>I'm using some kamailio configurations to perform I-CSCF and S-CSCF.</div><div>My configurations file let me register and unregister correctly.</div><div>When i try to perform an invite I've a memory leak as you can see from this log:</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-size:x-small">Jan 15 11:07:50 localhost kamailio[2873]: INFO: <script>: route: received packet</span></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:07:50 localhost kamailio[2873]: INFO: <script>: route: received register</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:07:50 localhost kamailio[2873]: INFO: ims_auth [authorize.c:663]: authenticate(): uri=sip:<a href="http://ims.test.net">ims.test.net</a> nonce=173692b1aea9182c2ac712f915f0144a response=f1efa37094e4492af1e292043c3d57ea qop=auth nc=00000001 cnonce=a2f5a827ac94467a39e81584c11e8284 hbody=</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:07:50 localhost kamailio[2873]: INFO: ims_auth [authorize.c:708]: authenticate(): UE said: f1efa37094e4492af1e292043c3d57ea and we  expect f1efa37094e4492af1e292043c3d57ea ha1 1c31125e2929b3fd6a609bd1a134a631 (REGISTER)</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:07:50 localhost kamailio[2873]: INFO: ims_registrar_scscf [cxdx_sar.c:79]: create_return_code(): created AVP successfully : [saa_return_code] - [-2]</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:07:50 localhost kamailio[2932]: INFO: ims_registrar_scscf [cxdx_avp.c:138]: cxdx_get_avp(): cxdx_get_experimental_result_code: Failed finding avp</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:07:50 localhost kamailio[2932]: INFO: ims_registrar_scscf [cxdx_sar.c:79]: create_return_code(): created AVP successfully : [saa_return_code] - [1]</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:07:50 localhost kamailio[2932]: WARNING: tm [t_lookup.c:1536]: t_unref(): WARNING: script writer didn't release transaction</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:08:05 localhost kamailio[2940]: ERROR: <script>: INVITE (<a href="mailto:sip%3A%2B393922568123@ims.test.net">sip:+393922568123@ims.test.net</a> (<a href="http://10.139.140.249:14437">10.139.140.249:14437</a>) to <a href="mailto:sip%3A%2B39666555@ims.test.net">sip:+39666555@ims.test.net</a>, <a href="mailto:0gQAAC8WAAACBAAALxYAAM3V1YJ1oc5VxmgXA6gfuMM%2B33iKMHHLO4FAjeWDRORBfoRu5acqCjeTKNa2pjdRdA--@10.139.140.249">0gQAAC8WAAACBAAALxYAAM3V1YJ1oc5VxmgXA6gfuMM+33iKMHHLO4FAjeWDRORBfoRu5acqCjeTKNa2pjdRdA--@10.139.140.249</a>)</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:08:05 localhost kamailio[2940]: INFO: <script>: route: received packet</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:08:05 localhost kamailio[2940]: INFO: <script>: route: Mobile Originating Side</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:08:05 localhost kamailio[2940]: INFO: <script>: Routing Mobile Originating side</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:08:05 localhost kamailio[2940]: INFO: <script>: Adding angle brackets to P-Asserted-Identity</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:08:05 localhost kamailio[2940]: INFO: ims_isc [mod.c:236]: isc_match_filter(): Checking triggers</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:08:05 localhost kamailio[2940]: : <core> [mem/q_malloc.c:454]: qm_free(): BUG: qm_free: bad pointer 0x7f3dc03597a0 (out of memory block!) called from <core>: parser/parse_param.c: do_free_params(629) - aborting</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:08:05 localhost kamailio[2943]: : <core> [pass_fd.c:293]: receive_fd(): ERROR: receive_fd: EOF on 90</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:08:05 localhost kamailio[2863]: ALERT: <core> [main.c:775]: handle_sigs(): child process 2940 exited by a signal 6</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:08:05 localhost kamailio[2863]: ALERT: <core> [main.c:778]: handle_sigs(): core was generated</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:08:05 localhost kamailio[2863]: INFO: <core> [main.c:790]: handle_sigs(): INFO: terminating due to SIGCHLD</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:08:05 localhost kamailio[2939]: INFO: <core> [main.c:841]: sig_usr(): INFO: signal 15 received</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:08:05 localhost kamailio[2942]: INFO: <core> [main.c:841]: sig_usr(): INFO: signal 15 received</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
.....<br> </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-size:x-small">Jan 15 11:08:05 localhost kamailio[2942]: INFO: <core> [main.c:841]: sig_usr(): INFO: signal 15 received</span> </blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:08:05 localhost kamailio[2876]: INFO: <core> [main.c:841]: sig_usr(): INFO: signal 15 received</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:08:05 localhost kamailio[2863]: INFO: cdp [mod.c:251]: cdp_exit(): CDiameterPeer child stopping ...</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:08:05 localhost kamailio[2863]: INFO: cdp [diameter_peer.c:428]: diameter_peer_destroy(): destroy_diameter_peer(): Terminating all children...</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:08:05 localhost kamailio[2863]: INFO: cdp [diameter_peer.c:435]: diameter_peer_destroy(): destroy_diameter_peer(): Waiting for child [2939] to terminate...</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:08:05 localhost kamailio[2863]: INFO: cdp [diameter_peer.c:435]: diameter_peer_destroy(): destroy_diameter_peer(): Waiting for child [2938] to terminate...</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:08:05 localhost kamailio[2863]: INFO: cdp [diameter_peer.c:435]: diameter_peer_destroy(): destroy_diameter_peer(): Waiting for child [2937] to terminate...</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:08:05 localhost kamailio[2863]: INFO: cdp [diameter_peer.c:435]: diameter_peer_destroy(): destroy_diameter_peer(): Waiting for child [2936] to terminate...</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:08:05 localhost kamailio[2863]: INFO: cdp [diameter_peer.c:435]: diameter_peer_destroy(): destroy_diameter_peer(): Waiting for child [2935] to terminate...</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:08:05 localhost kamailio[2863]: INFO: cdp [diameter_peer.c:435]: diameter_peer_destroy(): destroy_diameter_peer(): Waiting for child [2934] to terminate...</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:08:05 localhost kamailio[2863]: INFO: cdp [diameter_peer.c:435]: diameter_peer_destroy(): destroy_diameter_peer(): Waiting for child [2933] to terminate...</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:08:05 localhost kamailio[2863]: INFO: cdp [diameter_peer.c:435]: diameter_peer_destroy(): destroy_diameter_peer(): Waiting for child [2932] to terminate...</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:08:05 localhost kamailio[2863]: INFO: cdp [diameter_peer.c:447]: diameter_peer_destroy(): destroy_diameter_peer(): All processes terminated. Cleaning up.</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:08:05 localhost kamailio[2863]: INFO: cdp [worker.c:137]: worker_destroy(): Unlocking workers waiting on empty queue...</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:08:05 localhost kamailio[2863]: INFO: cdp [worker.c:140]: worker_destroy(): Unlocking workers waiting on full queue...</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:08:05 localhost kamailio[2863]: CRITICAL: cdp [diameter_peer.c:487]: diameter_peer_destroy(): destroy_diameter_peer(): Bye Bye from C Diameter Peer test</font></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font size="1">Jan 15 11:08:05 localhost kamailio[2863]: INFO: cdp [mod.c:253]: cdp_exit(): ... CDiameterPeer child stoped</font></blockquote>
<div><br></div><div>after that the S-CSCF terminate.<br>it's unuseful to attach any wireshark dump because,as I told before, the Serving process terminates just after receiving the INVITE.</div><div>Instead I attach my configuration.</div>
<div><br></div><div>thanks in advance!!!</div><div><br></div><div>saluti</div><div><br></div><div>Gennaro Sarnataro</div></div>