[OpenSIPS-Users] Opensips_getting_crashed_with_XCAP

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Apr 6 18:47:14 CEST 2009


Hi JayaPrakash,

have you compiled the memory debug support (I see you use the QM mem 
manager)? If so, do you get in your  logs something like: "freeing 
already freed pointer" before the abort?  If so, please post the entire 
message.

Regards,
Bogdan


JayaPrakash wrote:
> Hi All,
>
> Opensips 1.5 is installed in Debian 5.
> OpenXCAP 1.0.7, Soap-Simple-Proxy and Opensips-mi-proxy are installed 
> and functioning properly.
> (OpenXCAP is tested by running ./test.py, It is working fine.)
> presence, presence_xml, presence_mwi,pua,pua_mi,presence_xcapdiff,rls 
> and xcap_client are loaded in this order.
> When OpenSIPs is started, it is getting crashed. I am using xlite client.
> Below I am printing backtrace.
> **************************************************************************************************************
> (gdb) bt
> #0  0xb7f81424 in __kernel_vsyscall ()
> #1  0xb7e25640 in raise () from /lib/i686/cmov/libc.so.6
> #2  0xb7e27018 in abort () from /lib/i686/cmov/libc.so.6
> #3  0x080d7478 in qm_free (qm=0x818c4e0, p=0x0, file=0xb77f365f 
> "xcap_functions.c", func=0xb77f39bf "get_xcap_path", line=458) at 
> mem/q_malloc.c:444
> #4  0xb77f1db7 in get_xcap_path (req=
>       {xcap_root = 0xaf706308 "192.168.1.130", port = 9222, doc_sel = 
> {auid = {s = 0xb79792b5 "pres-rules", len = 10}, doc_type = 2, type = 
> 1, xid = {s = 0x81e8484 "sip:Hari at 192.168.1.130 
> <mailto:sip%3AHari at 192.168.1.130>", len = 22}, filename = {s = 
> 0xb79792af "index", len = 5}}, node_sel = 0x0, etag = 0x0, match_type 
> = 0}) at xcap_functions.c:458
> #5  0xb77f29f2 in xcapGetNewDoc (req=
>       {xcap_root = 0xaf706308 "192.168.1.130", port = 9222, doc_sel = 
> {auid = {s = 0xb79792b5 "pres-rules", len = 10}, doc_type = 2, type = 
> 1, xid = {s = 0x81e8484 "sip:Hari at 192.168.1.130 
> <mailto:sip%3AHari at 192.168.1.130>", len = 22}, filename = {s = 
> 0xb79792af "index", len = 5}}, node_sel = 0x0, etag = 0x0, match_type 
> = 0}, user={s = 0x81e78c4 "Hari at 192.168.1.130 
> <mailto:Hari at 192.168.1.130>", len = 4}, domain={s = 0x81e78c9 
> "192.168.1.130", len = 13},
>     xcap_doc=0xbfd9bef8) at xcap_functions.c:318
> #6  0xb79754d8 in http_get_rules_doc (user={s = 0x81e78c4 
> "Hari at 192.168.1.130 <mailto:Hari at 192.168.1.130>", len = 4}, domain={s 
> = 0x81e78c9 "192.168.1.130", len = 13}, rules_doc=0xbfd9c00c) at 
> xcap_auth.c:581
> #7  0xb7975aba in get_rules_doc (user=0xbfd9c0ac, domain=0xbfd9c0bc, 
> type=2, rules_doc=0xbfd9c1dc) at xcap_auth.c:489
> #8  0xb79760ec in pres_get_rules_doc (user=0xbfd9c0ac, 
> domain=0xbfd9c0bc, rules_doc=0xbfd9c1dc) at xcap_auth.c:415
> #9  0xb79a87cb in handle_subscribe (msg=0x81e6120, str1=0x0, str2=0x0) 
> at subscribe.c:660
> #10 0x080552a8 in do_action (a=0x81cf1dc, msg=0x81e6120) at action.c:962
> #11 0x080541a2 in run_action_list (a=0x81cf09c, msg=0x81e6120) at 
> action.c:139
> #12 0x080571e6 in do_action (a=0x81cf26c, msg=0x81e6120) at action.c:706
> #13 0x080541a2 in run_action_list (a=0x81ce314, msg=0x81e6120) at 
> action.c:139
> #14 0x080571e6 in do_action (a=0x81cf2fc, msg=0x81e6120) at action.c:706
> #15 0x080541a2 in run_action_list (a=0x81cf2fc, msg=0x81e6120) at 
> action.c:139
> #16 0x08057712 in do_action (a=0x81cf38c, msg=0x81e6120) at action.c:712
> #17 0x080541a2 in run_action_list (a=0x81cf38c, msg=0x81e6120) at 
> action.c:139
> #18 0x08057712 in do_action (a=0x81cf41c, msg=0x81e6120) at action.c:712
> #19 0x080541a2 in run_action_list (a=0x81cb5d4, msg=0x81e6120) at 
> action.c:139
> #20 0x08058025 in run_top_route (a=0x81cb5d4, msg=0x81e6120) at 
> action.c:119
> #21 0x08093ac4 in receive_msg (
>     buf=0x816b5a0 "SUBSCRIBE sip:Hari at 192.168.1.130 
> <mailto:sip%3AHari at 192.168.1.130> SIP/2.0\r\nRecord-Route: 
> <sip:192.168.1.129:5090;lr=on;nat=yes>\r\nVia: SIP/2.0/UDP 
> 192.168.1.129:5090;branch=z9hG4bKecaa.b7a9e694.0\r\nVia: SIP/2.0/UDP 
> 192.168.1.108:58852 <http://192.168.1.108:58852>;"..., len=852, 
> rcv_info=0xbfd9cf34) at receive.c:165
> #22 0x080d096b in udp_rcv_loop () at udp_server.c:449
> #23 0x0806ce17 in main (argc=9, argv=0xbfd9d0c4) at main.c:779
> *************************************************************************************************************************************************************
> Please review it.
>
> Thanks
> JayaPrakash
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   




More information about the Users mailing list