[SR-Users] S-CSCF configuration brings to seg fault

Carsten Bock carsten at ng-voice.com
Fri Jan 17 17:13:12 CET 2014


Hi Gennaro,

Did you follow this tutorial?
http://www.kamailio.org/wiki/tutorials/ims/installation-howto

Thats a nightly build of Kamailio 4.1.x.

If the problem persists, you will have to enable the coredumps and
send us a backtrace.

Just for the record: I'll be travelling next week, so i won't be able
to answer on short notice.

Thanks,
Carsten

2014/1/17 Gennaro Sarnataro <gen.sarnataro at gmail.com>:
> Hi Carsten,
> I would like to try my scenarios using a kamailio nightly build but i wasn't
> able to checkout it.
> Can you indicate me where to find latest builds?
>
>
> 2014/1/15 Gennaro Sarnataro <gen.sarnataro at gmail.com>
>>
>> hi Carsten,
>> thank for your responsivness!!!
>> i'm using 4.1 version installed from repository.
>> how do you fix it??
>>
>>
>> 2014/1/15 Carsten Bock <carsten at ng-voice.com>
>>>
>>> Salut Gennaro,
>>>
>>> what Version of Kamailio are you using? Did you install it from GIT or
>>> from what repository?
>>> Looks similar to a bug, i just fixed yesterday...
>>> I recommend to use at least a 4.1 nightly build.
>>>
>>> Thanks,
>>> Carsten
>>>
>>> 2014/1/15 Gennaro Sarnataro <gsarnataro at it.tiscali.com>:
>>> > hello everyone,
>>> > I'm using some kamailio configurations to perform I-CSCF and S-CSCF.
>>> > My configurations file let me register and unregister correctly.
>>> > When i try to perform an invite I've a memory leak as you can see from
>>> > this
>>> > log:
>>> >
>>> >> Jan 15 11:07:50 localhost kamailio[2873]: INFO: <script>: route:
>>> >> received
>>> >> packet
>>> >>
>>> >> Jan 15 11:07:50 localhost kamailio[2873]: INFO: <script>: route:
>>> >> received
>>> >> register
>>> >>
>>> >> Jan 15 11:07:50 localhost kamailio[2873]: INFO: ims_auth
>>> >> [authorize.c:663]: authenticate(): uri=sip:ims.test.net
>>> >> nonce=173692b1aea9182c2ac712f915f0144a
>>> >> response=f1efa37094e4492af1e292043c3d57ea qop=auth nc=00000001
>>> >> cnonce=a2f5a827ac94467a39e81584c11e8284 hbody=
>>> >>
>>> >> 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)
>>> >>
>>> >> 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]
>>> >>
>>> >> 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
>>> >>
>>> >> 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]
>>> >>
>>> >> Jan 15 11:07:50 localhost kamailio[2932]: WARNING: tm
>>> >> [t_lookup.c:1536]:
>>> >> t_unref(): WARNING: script writer didn't release transaction
>>> >>
>>> >> Jan 15 11:08:05 localhost kamailio[2940]: ERROR: <script>: INVITE
>>> >> (sip:+393922568123 at ims.test.net (10.139.140.249:14437) to
>>> >> sip:+39666555 at ims.test.net,
>>> >>
>>> >> 0gQAAC8WAAACBAAALxYAAM3V1YJ1oc5VxmgXA6gfuMM+33iKMHHLO4FAjeWDRORBfoRu5acqCjeTKNa2pjdRdA-- at 10.139.140.249)
>>> >>
>>> >> Jan 15 11:08:05 localhost kamailio[2940]: INFO: <script>: route:
>>> >> received
>>> >> packet
>>> >>
>>> >> Jan 15 11:08:05 localhost kamailio[2940]: INFO: <script>: route:
>>> >> Mobile
>>> >> Originating Side
>>> >>
>>> >> Jan 15 11:08:05 localhost kamailio[2940]: INFO: <script>: Routing
>>> >> Mobile
>>> >> Originating side
>>> >>
>>> >> Jan 15 11:08:05 localhost kamailio[2940]: INFO: <script>: Adding angle
>>> >> brackets to P-Asserted-Identity
>>> >>
>>> >> Jan 15 11:08:05 localhost kamailio[2940]: INFO: ims_isc [mod.c:236]:
>>> >> isc_match_filter(): Checking triggers
>>> >>
>>> >> 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
>>> >>
>>> >> Jan 15 11:08:05 localhost kamailio[2943]: : <core> [pass_fd.c:293]:
>>> >> receive_fd(): ERROR: receive_fd: EOF on 90
>>> >>
>>> >> Jan 15 11:08:05 localhost kamailio[2863]: ALERT: <core> [main.c:775]:
>>> >> handle_sigs(): child process 2940 exited by a signal 6
>>> >>
>>> >> Jan 15 11:08:05 localhost kamailio[2863]: ALERT: <core> [main.c:778]:
>>> >> handle_sigs(): core was generated
>>> >>
>>> >> Jan 15 11:08:05 localhost kamailio[2863]: INFO: <core> [main.c:790]:
>>> >> handle_sigs(): INFO: terminating due to SIGCHLD
>>> >>
>>> >> Jan 15 11:08:05 localhost kamailio[2939]: INFO: <core> [main.c:841]:
>>> >> sig_usr(): INFO: signal 15 received
>>> >>
>>> >> Jan 15 11:08:05 localhost kamailio[2942]: INFO: <core> [main.c:841]:
>>> >> sig_usr(): INFO: signal 15 received
>>> >>
>>> >>
>>> >> .....
>>> >>
>>> >>
>>> >> Jan 15 11:08:05 localhost kamailio[2942]: INFO: <core> [main.c:841]:
>>> >> sig_usr(): INFO: signal 15 received
>>> >>
>>> >> Jan 15 11:08:05 localhost kamailio[2876]: INFO: <core> [main.c:841]:
>>> >> sig_usr(): INFO: signal 15 received
>>> >>
>>> >> Jan 15 11:08:05 localhost kamailio[2863]: INFO: cdp [mod.c:251]:
>>> >> cdp_exit(): CDiameterPeer child stopping ...
>>> >>
>>> >> Jan 15 11:08:05 localhost kamailio[2863]: INFO: cdp
>>> >> [diameter_peer.c:428]:
>>> >> diameter_peer_destroy(): destroy_diameter_peer(): Terminating all
>>> >> children...
>>> >>
>>> >> 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...
>>> >>
>>> >> 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...
>>> >>
>>> >> 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...
>>> >>
>>> >> 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...
>>> >>
>>> >> 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...
>>> >>
>>> >> 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...
>>> >>
>>> >> 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...
>>> >>
>>> >> 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...
>>> >>
>>> >> 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.
>>> >>
>>> >> Jan 15 11:08:05 localhost kamailio[2863]: INFO: cdp [worker.c:137]:
>>> >> worker_destroy(): Unlocking workers waiting on empty queue...
>>> >>
>>> >> Jan 15 11:08:05 localhost kamailio[2863]: INFO: cdp [worker.c:140]:
>>> >> worker_destroy(): Unlocking workers waiting on full queue...
>>> >>
>>> >> 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
>>> >>
>>> >> Jan 15 11:08:05 localhost kamailio[2863]: INFO: cdp [mod.c:253]:
>>> >> cdp_exit(): ... CDiameterPeer child stoped
>>> >
>>> >
>>> > after that the S-CSCF terminate.
>>> > it's unuseful to attach any wireshark dump because,as I told before,
>>> > the
>>> > Serving process terminates just after receiving the INVITE.
>>> > Instead I attach my configuration.
>>> >
>>> > thanks in advance!!!
>>> >
>>> > saluti
>>> >
>>> > Gennaro Sarnataro
>>> >
>>> > _______________________________________________
>>> > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>> > sr-users at lists.sip-router.org
>>> > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>> >
>>>
>>>
>>>
>>> --
>>> Carsten Bock
>>> CEO (Geschäftsführer)
>>>
>>> ng-voice GmbH
>>> Schomburgstr. 80
>>> D-22767 Hamburg / Germany
>>>
>>> http://www.ng-voice.com
>>> mailto:carsten at ng-voice.com
>>>
>>> Office +49 40 34927219
>>> Fax +49 40 34927220
>>>
>>> Sitz der Gesellschaft: Hamburg
>>> Registergericht: Amtsgericht Hamburg, HRB 120189
>>> Geschäftsführer: Carsten Bock
>>> Ust-ID: DE279344284
>>>
>>> Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
>>> http://www.ng-voice.com/imprint/
>>>
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>> sr-users at lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>>
>>
>> --
>> Gennaro Sarnataro
>
>
>
>
> --
> Gennaro Sarnataro
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>



-- 
Carsten Bock
CEO (Geschäftsführer)

ng-voice GmbH
Schomburgstr. 80
D-22767 Hamburg / Germany

http://www.ng-voice.com
mailto:carsten at ng-voice.com

Office +49 40 34927219
Fax +49 40 34927220

Sitz der Gesellschaft: Hamburg
Registergericht: Amtsgericht Hamburg, HRB 120189
Geschäftsführer: Carsten Bock
Ust-ID: DE279344284

Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
http://www.ng-voice.com/imprint/



More information about the sr-users mailing list