Bugs item #3063966, was opened at 2010-09-11 01:10 Message generated for change (Comment added) made by neutrino38 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3063966&group_id=232389
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: modules Group: 1.5.x Status: Open Resolution: None Priority: 8 Private: No Submitted By: Emmanuel BUU (neutrino38) Assigned to: Nobody/Anonymous (nobody) Summary: deadlock in send_publish() Initial Comment: Hello, we discovered a bug in OpenSIPS 1.5.3 : when using pua_usrloc OpenSIPS hangs when processing REGISTER messages if a certain scenario is executed; launch the UA (cause it to register Ok) stop the UA (cause it to unregister) launch the UA again (register hangs) I wonder if this could be related to issue 3044051. See traces, script extract and stack in comments ---------------------------------------------------------------------- >Comment By: Emmanuel BUU (neutrino38) Date: 2010-09-11 01:14 Message: traces when it is hanging Sep 11 00:54:20 astdev2 /usr/sbin/opensips[5468]: DBG:auth:check_response: authorization is OK Sep 11 00:54:20 astdev2 /usr/sbin/opensips[5468]: DBG:auth:post_auth: nonce index= 1 Sep 11 00:54:20 astdev2 /usr/sbin/opensips[5468]: DBG:auth_db:generate_avps: set string AVP "password"/0 = "xxxxx" Sep 11 00:54:20 astdev2 /usr/sbin/opensips[5468]: DBG:auth_db:generate_avps: set string AVP "username"/0 = "2005" Sep 11 00:54:20 astdev2 /usr/sbin/opensips[5468]: DBG:auth_db:generate_avps: set int AVP ""/1 = 50393 Sep 11 00:54:20 astdev2 /usr/sbin/opensips[5468]: DBG:core:db_free_columns: freeing result columns at 0x7ae540 Sep 11 00:54:20 astdev2 /usr/sbin/opensips[5468]: DBG:core:db_free_rows: freeing 1 rows Sep 11 00:54:20 astdev2 /usr/sbin/opensips[5468]: DBG:core:db_free_row: freeing row values at 0x7ae5d0 Sep 11 00:54:20 astdev2 /usr/sbin/opensips[5468]: DBG:core:db_free_rows: freeing rows at 0x7ae5c0 Sep 11 00:54:20 astdev2 /usr/sbin/opensips[5468]: DBG:core:db_free_result: freeing result set at 0x7ae500Sep 11 00:54:20 astdev2 /usr/sbin/opensips[5468]: DBG:core:db_free_result: SYNC-DBG - freeing result! Sep 11 00:54:20 astdev2 /usr/sbin/opensips[5468]: DBG:core:comp_scriptvar: int 20 : 1 / -1 Sep 11 00:54:20 astdev2 /usr/sbin/opensips[5468]: DBG:core:comp_scriptvar: int 20 : 1 / -5Sep 11 00:54:20 astdev2 /usr/sbin/opensips[5468]: DBG:core:comp_scriptvar: int 26 : 1 / 0Sep 11 00:54:20 astdev2 /usr/sbin/opensips[5468]: DBG:uri_db:check_username: Digest username and URI username matchSep 11 00:54:20 astdev2 /usr/sbin/opensips[5468]: DBG:pua_usrloc:pua_set_publish: set send publish Sep 11 00:54:20 astdev2 /usr/sbin/opensips[5468]: DBG:core:parse_headers: flags=ffffffffffffffff Sep 11 00:54:20 astdev2 /usr/sbin/opensips[5468]: DBG:core:parse_headers: flags=8000000 Sep 11 00:54:20 astdev2 /usr/sbin/opensips[5468]: DBG:core:parse_headers: flags=ffffffffffffffff Sep 11 00:54:20 astdev2 /usr/sbin/opensips[5468]: DBG:core:parse_methods: methods 0x173F Sep 11 00:54:20 astdev2 /usr/sbin/opensips[5468]: DBG:usrloc:run_ul_callbacks: contact=0x7fdedd814e20, callback type 1/1, i d 0 entered Sep 11 00:54:20 astdev2 /usr/sbin/opensips[5468]: DBG:pua_usrloc:ul_publish: #012ul_publish: INSERT type Sep 11 00:54:20 astdev2 /usr/sbin/opensips[5468]: DBG:pua_usrloc:build_pidf: new_body:#012<?xml version="1.0"?>#012<presence xmlns="urn:ietf:params:xml:ns:pidf" xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model" xmlns:rpid="urn:ietf:params:xml:ns: pidf:rpid" xmlns:c="urn:ietf:params:xml:ns:pidf:cipid" entity="[email protected]">#012 <tuple>#012 <status>#012 <basic>open</basic>#012 </status>#012 </tuple>#012</presence>#012 Sep 11 00:54:20 astdev2 /usr/sbin/opensips[5468]: DBG:pua_usrloc:ul_publish: uri= sip:[email protected] Sep 11 00:54:20 astdev2 /usr/sbin/opensips[5468]: DBG:pua:send_publish: pres_uri=sip:[email protected] ---------------------------------------------------------------------- Comment By: Emmanuel BUU (neutrino38) Date: 2010-09-11 01:11 Message: Script executed pua_set_publish(); if (!save("os_location")) { xlog(" ERREUR save os_location\n"); sl_send_reply("500", "Registrar error"); } ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3063966&group_id=232389 _______________________________________________ Devel mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
