[OpenSIPS-Users] Presence_issue

Anca Vamanu anca at opensips.org
Mon Apr 6 11:32:06 CEST 2009


Hi Jaya,

Thanks for this report.
I have fixed the problem there. Please update and test again.

regards,
Anca

JayaPrakash wrote:
> Hi All,
> Opensips 1.5 is running with presence modules. XCAP 1.0.7 is running.
> When a client is registered, Opensips Server is getting crashed.
> Here the client tried to register is Jp at dev.ongobiz.com 
> <mailto:Jp at dev.ongobiz.com>
> Below I'm printing backtrace.
> ********************************************************************************************************************************************************************************************
> (gdb) bt
> #0  0xb7fd7424 in __kernel_vsyscall ()
> #1  0xb7e7b640 in raise () from /lib/i686/cmov/libc.so.6
> #2  0xb7e7d018 in abort () from /lib/i686/cmov/libc.so.6
> #3  0x080d7478 in qm_free (qm=0x818c4e0, p=0x0, file=0xb784965f 
> "xcap_functions.c", func=0xb78499bf "get_xcap_path", line=458) at 
> mem/q_malloc.c:444
> #4  0xb7847db7 in get_xcap_path (req=
>       {xcap_root = 0xaf75c4bc "192.168.1.130", port = 9222, doc_sel = 
> {auid = {s = 0xb79cf2b5 "pres-rules", len = 10}, doc_type = 2, type = 
> 1, xid = {s = 0x81e7614 "sip:Jp at dev.ongobiz.com 
> <mailto:sip%3AJp at dev.ongobiz.com>", len = 22}, filename = {s = 
> 0xb79cf2af "index", len = 5}}, node_sel = 0x0, etag = 0x0, match_type 
> = 0}) at xcap_functions.c:458
> #5  0xb78489f2 in xcapGetNewDoc (req=
>       {xcap_root = 0xaf75c4bc "192.168.1.130", port = 9222, doc_sel = 
> {auid = {s = 0xb79cf2b5 "pres-rules", len = 10}, doc_type = 2, type = 
> 1, xid = {s = 0x81e7614 "sip:Jp at dev.ongobiz.com 
> <mailto:sip%3AJp at dev.ongobiz.com>", len = 22}, filename = {s = 
> 0xb79cf2af "index", len = 5}}, node_sel = 0x0, etag = 0x0, match_type 
> = 0}, user={s = 0x81e753f "Jpa.1238777853.23723.1.0", len = 2}, domain=
>       {s = 0x81e7530 "dev.ongobiz.comJpa.1238777853.23723.1.0", len = 
> 15}, xcap_doc=0xbfff0e08) at xcap_functions.c:318
> #6  0xb79cb4d8 in http_get_rules_doc (user={s = 0x81e753f 
> "Jpa.1238777853.23723.1.0", len = 2}, domain={s = 0x81e7530 
> "dev.ongobiz.comJpa.1238777853.23723.1.0", len = 15}, 
> rules_doc=0xbfff0f1c)
>     at xcap_auth.c:581
> #7  0xb79cbaba in get_rules_doc (user=0x81e7508, domain=0x81e7510, 
> type=2, rules_doc=0xbfff1214) at xcap_auth.c:489
> #8  0xb79cc0ec in pres_get_rules_doc (user=0x81e7508, 
> domain=0x81e7510, rules_doc=0xbfff1214) at xcap_auth.c:415
> #9  0xb79ec98e in update_presentity (msg=0x81e60d0, 
> presentity=0x81e7504, body=0xbfff1378, new_t=1, sent_reply=0xbfff1384, 
> sphere=0x0) at presentity.c:291
> #10 0xb79f0ec8 in handle_publish (msg=0x81e60d0, sender_uri=0x0, 
> str2=0x0) at publish.c:492
> #11 0x080552a8 in do_action (a=0x81cdb74, msg=0x81e60d0) at action.c:962
> #12 0x080541a2 in run_action_list (a=0x81cd5a4, msg=0x81e60d0) at 
> action.c:139
> #13 0x080571e6 in do_action (a=0x81cf41c, msg=0x81e60d0) at action.c:706
> #14 0x080541a2 in run_action_list (a=0x81cb5d4, msg=0x81e60d0) at 
> action.c:139
> #15 0x08058025 in run_top_route (a=0x81cb5d4, msg=0x81e60d0) at 
> action.c:119
> #16 0x08093ac4 in receive_msg (
>     buf=0x816b5a0 "PUBLISH sip:Jp at dev.ongobiz.com 
> <mailto:sip%3AJp at dev.ongobiz.com> SIP/2.0\r\nVia: SIP/2.0/UDP 
> 192.168.1.105:44192;branch=z9hG4bK-d8754z-3d56f119092aee67-1---d8754z-;rport\r\nMax-Forwards: 
> 69\r\nContact: <sip:Jp at 123.236.244.51:44192 
> <http://sip:Jp@123.236.244.51:44192>>\r\nTo: \"Jp"..., len=989, 
> rcv_info=0xbfff1974) at receive.c:165
> #17 0x080d096b in udp_rcv_loop () at udp_server.c:449
> #18 0x0806ce17 in main (argc=9, argv=0xbfff1b04) at main.c:779
> ******************************************************************************************************************************************************************************
> Below, Iam printing errors.
>
>  ERROR:db_mysql:get_new_stmt_ctx: failed while mysql_stmt_prepare: 
> Lost connection to MySQL server during query
>  ERROR:db_mysql:db_mysql_do_prepared_query: failed to create new context
>  ERROR:presence:update_subs_db: updating presence information
>  ERROR:presence:notify: updating subscription in database
>  ERROR:presence:update_subscription: sending notify request
>  ERROR:presence:handle_subscribe: in update_subscription
>  ERROR:tm:_reply_light: failed to generate 407 reply when a final 200 
> was sent out
>  ERROR:signaling:sig_send_reply_mod: failed to send reply with tm module
>  ERROR:auth:challenge: failed to send the response
>  ERROR:db_mysql:get_new_stmt_ctx: failed while mysql_stmt_prepare: 
> Lost connection to MySQL server during query
>  ERROR:db_mysql:db_mysql_do_prepared_query: failed to create new context
>  ERROR:presence:insert_subs_db: unsuccessful sql insert
>  ERROR:presence:update_subscription: failed to insert subscription in 
> database
>  ERROR:presence:handle_subscribe: in update_subscription
>  ERROR:tm:_reply_light: failed to generate 407 reply when a final 200 
> was sent out
>  ERROR:signaling:sig_send_reply_mod: failed to send reply with tm module
>  ERROR:auth:challenge: failed to send the response
>  CRITICAL:core:qm_free: bad pointer (nil) (out of memory block!) - 
> aborting
>
> Will you please where the issue is.
>
> 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