Hello to all members.<br><br>Currently we are trying to deploy presence module in the following environment:<br><br>1. Openser 1.2.1<br>2. Solaris 10 on Sparc System<br>3. libxml 2.6.30<br><br>Openser starts up fine, but when happens any event as a Status change of a user agent, Openser crashes.
<br>Below I send an extract from the logfile, and the backtrace of the core.<br>Thanks in advance for your attention.<br><br>Sergio Gutiérrez<br>EPM Telecomunicaciones<br>Medellin - Colombia<br><br>****************************************************
<br>From Openser logfile.<br><br>&nbsp;0(5493) Nuevo Requerimiento - M=SUBSCRIBE RURI=<a href="mailto:sip:5192901@200.13.225.250">sip:5192901@200.13.225.250</a> F=<a href="mailto:sip:5192902@200.13.225.250">sip:5192902@200.13.225.250
</a> T=<a href="mailto:sip:5192901@200.13.225.250">sip:5192901@200.13.225.250</a> IP=<a href="http://200.116.28.88">200.116.28.88</a> ID=YmE2MGVhMGQzMTI3ZmU0YTkzMDJjNjIxODNmMGIwOWE.<br>&nbsp;0(5493) comp_scriptvar: str 20 : 5192901
<br>&nbsp;0(5493) DEBUG:maxfwd:is_maxfwd_present: value = 70 <br>&nbsp;0(5493) parse_headers: flags=ffffffffffffffff<br>&nbsp;0(5493) get_hdr_field: cseq &lt;CSeq&gt;: &lt;1&gt; &lt;SUBSCRIBE&gt;<br>&nbsp;0(5493) DEBUG: get_hdr_body : content_length=0
<br>&nbsp;0(5493) found end of header<br>&nbsp;0(5493) PRESENCE: handle_subscribe: &#39;expires&#39; found<br>&nbsp;0(5493) PRESENCE: handle_subscribe: lexpire= 3600<br>&nbsp;0(5493) PRESENCE: handle_subscribe: &#39;To&#39; header ALREADY PARSED: &lt;
<a href="mailto:sip:5192901@200.13.225.250">sip:5192901@200.13.225.250</a>&gt;<br>&nbsp;0(5493) PRESENCE:handle_subscribe: generating to_tag<br>&nbsp;0(5493) <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [p_user]= 5192901&nbsp; [p_domain]= <a href="http://200.13.225.250">
200.13.225.250</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [w_user]= 5192902 [w_domain]= <a href="http://200.13.225.250">200.13.225.250</a><br>&nbsp;0(5493) [event]= presence<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [staus]= pending<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [expires]= 3600<br>&nbsp;0(5493) [to_tag]= 10.5493.1194034490.40
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [from_tag]= 1f783845<br>&nbsp;0(5493) PRESENCE: update_subscription ...<br>&nbsp;0(5493) <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [p_user]= 5192901&nbsp; [p_domain]= <a href="http://200.13.225.250">200.13.225.250</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [w_user]= 5192902 [w_domain]= 
<a href="http://200.13.225.250">200.13.225.250</a><br>&nbsp;0(5493) [event]= presence<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [staus]= pending<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [expires]= 3600<br>&nbsp;0(5493) [to_tag]= 10.5493.1194034490.40<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [from_tag]= 1f783845<br>&nbsp;0(5493) expires: 3600
<br>&nbsp;0(5493) PRESENCE:update_subscription:Inserting into database:<br>n_query_cols:14<br>&nbsp;0(5493) [0] = to_user 5192901<br>&nbsp;0(5493) [1] = to_domain <a href="http://200.13.225.250">200.13.225.250</a><br>&nbsp;0(5493) [2] = from_user 5192902
<br>&nbsp;0(5493) [3] = from_domain <a href="http://200.13.225.250">200.13.225.250</a><br>&nbsp;0(5493) [4] = event presence<br>&nbsp;0(5493) [5] = event_id <br>&nbsp;0(5493) [6] = callid YmE2MGVhMGQzMTI3ZmU0YTkzMDJjNjIxODNmMGIwOWE.<br>&nbsp;0(5493) [7] = to_tag 
10.5493.1194034490.40<br>&nbsp;0(5493) [8] = from_tag 1f783845<br>&nbsp;0(5493) [9] = contact sip:5192902@200.116.28.88:47166<br>&nbsp;0(5493) [10] = status pending<br>&nbsp;0(5493) [11] = cseq 1<br>&nbsp;0(5493) [12] = expires 1194038090<br>&nbsp;0(5493) [13] = version 0
<br>&nbsp;0(5493) parse_headers: flags=ffffffffffffffff<br>&nbsp;0(5493) check_via_address(<a href="http://200.116.28.88">200.116.28.88</a>, <a href="http://192.168.0.13">192.168.0.13</a>, 0)<br>&nbsp;0(5493) DBG:sl:run_sl_callbacks: callback id 0 entered
<br>&nbsp;0(5493) trace_sl_onreply_out: trace off...<br>&nbsp;0(5493) PRESENCE: get_subs_dialog:n= 1<br>&nbsp;0(5493) PRESENCE:notify:dialog informations:<br>&nbsp;0(5493) <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [p_user]= 5192901&nbsp; [p_domain]= <a href="http://200.13.225.250">
200.13.225.250</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [w_user]= 5192901 [w_domain]= <a href="http://200.13.225.250">200.13.225.250</a><br>&nbsp;0(5493) [event]= presence.winfo<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [staus]= active<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [expires]= 3518<br>&nbsp;0(5493) [to_tag]= 
10.5493.1194034408.34<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [from_tag]= 39320458<br>&nbsp;0(5493) presence:uandd_to_uri: uri=<a href="mailto:sip:5192901@200.13.225.250">sip:5192901@200.13.225.250</a><br>&nbsp;0(5493) presence:uandd_to_uri: uri=<a href="mailto:sip:5192902@200.13.225.250">
sip:5192902@200.13.225.250</a><br>&nbsp;0(5493) presence:uandd_to_uri: uri=<a href="mailto:sip:5192901@200.13.225.250">sip:5192901@200.13.225.250</a><br>&nbsp;0(5493) PRESENCE: notify: build notify to user= 5192901 domain= <a href="http://200.13.225.250">
200.13.225.250</a> for event= presence.winfo<br>&nbsp;0(5493) <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [p_user]= 5192901&nbsp; [p_domain]= <a href="http://200.13.225.250">200.13.225.250</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [w_user]= 5192901 [w_domain]= <a href="http://200.13.225.250">
200.13.225.250</a><br>&nbsp;0(5493) [event]= presence.winfo<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [staus]= active<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [expires]= 3518<br>&nbsp;0(5493) [to_tag]= 10.5493.1194034408.34<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [from_tag]= 39320458<br>&nbsp;0(5493) PRESENCE:build_str_hdr: expires = 3518
<br>&nbsp;0(5493) PRESENCE:build_str_hdr: subs_expires : 3518<br>&nbsp;0(5493) PRESENCE: build_str_hdr: headers:<br>Event: presence.winfo<br>Contact: &lt;sip:<a href="http://200.13.225.250:5060">200.13.225.250:5060</a>&gt;<br>Subscription-State: active;expires=3518
<br>Content-Type: application/watcherinfo+xml<br><br>&nbsp;0(5493) PRESENCE:notify: headers:Event: presence.winfo<br>Contact: &lt;sip:<a href="http://200.13.225.250:5060">200.13.225.250:5060</a>&gt;<br>Subscription-State: active;expires=3518
<br>Content-Type: application/watcherinfo+xml<br><br>&nbsp; 0(5493) CONTACT = sip:5192901@200.13.254.180:17116<br>&nbsp;0(5493) presence:uandd_to_uri: uri=<a href="mailto:sip:5192901@200.13.225.250">sip:5192901@200.13.225.250</a><br>
&nbsp;0(5493) parse_rr_body(): No body for record-route<br>&nbsp;0(5493) PRESENCE: notify:Send notify for presence on callback 1(5494) DEBUG: timer routine:4,tl=fc5c9a80 next=0, timeout=353600000<br>&nbsp;1(5494) DEBUG: retransmission_handler : request resending (t=fc5c9910, NOTIFY si ... )
<br>&nbsp;1(5494) DEBUG:tm:set_timer: relative timeout is 1000000<br>&nbsp;1(5494) DEBUG: add_to_tail_of_timer[5]: fc5c9a80 (354600000)<br>&nbsp;1(5494) DEBUG: retransmission_handler : done<br>&nbsp;1(5494) DEBUG: timer routine:5,tl=fc5c9a80 next=0, timeout=354600000
<br>&nbsp;1(5494) DEBUG: retransmission_handler : request resending (t=fc5c9910, NOTIFY si ... )<br>&nbsp;1(5494) DEBUG:tm:set_timer: relative timeout is 2000000<br>&nbsp;1(5494) DEBUG: add_to_tail_of_timer[6]: fc5c9a80 (356600000)<br>&nbsp;1(5494) DEBUG: retransmission_handler : done
<br>&nbsp;1(5494) DEBUG: timer routine:6,tl=fc5c9a80 next=0, timeout=356600000<br>&nbsp;1(5494) DEBUG: retransmission_handler : request resending (t=fc5c9910, NOTIFY si ... )<br>&nbsp;1(5494) DEBUG:tm:set_timer: relative timeout is 4000000
<br>&nbsp;1(5494) DEBUG: add_to_tail_of_timer[7]: fc5c9a80 (360600000)<br>&nbsp;1(5494) DEBUG: retransmission_handler : done<br><br><br>********************************************************************************<br>Backtrace of the core:
<br><br>#0&nbsp; 0xfe7f77bc in shm_dup_subs (subs=0xffbff1b0, to_tag=Cannot access memory at address 0x96<br>) at notify.c:1819<br>1819&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cb_param-&gt;wi_subs-&gt;to_user.s = (char*)cb_param + size;<br>(gdb) bt<br>#0&nbsp; 0xfe7f77bc in shm_dup_subs (subs=0xffbff1b0, to_tag=Cannot access memory at address 0x96
<br>) at notify.c:1819<br>#1&nbsp; 0xfe7f8238 in notify (subs=0x1779c8, watcher_subs=0x15, n_body=0x0, force_null_body=1024) at notify.c:1562<br>#2&nbsp; 0xfe7f8f18 in query_db_notify (p_user=0x234, p_domain=0xdff08, event=0xfe809a28 &quot;
presence.winfo&quot;, watcher_subs=0xffbff1b0, etag=0x0)<br>&nbsp;&nbsp;&nbsp; at notify.c:957<br>#3&nbsp; 0xfe8028a8 in update_subscription (msg=0x175fd8, subs=0xffbff1b0, rtag=0xffbff228, to_tag_gen=1) at subscribe.c:476<br>#4&nbsp; 0xfe805080 in handle_subscribe (msg=0x175fd8, str1=0xffbff0e0 &quot;&quot;, str2=0x800 &lt;Address 0x800 out of bounds&gt;) at 
subscribe.c:1252<br>#5&nbsp; 0x00018378 in do_action (a=0x145270, msg=0x175fd8) at action.c:883<br>#6&nbsp; 0x00019bb8 in run_action_list (a=0x145270, msg=0x175fd8) at action.c:131<br>#7&nbsp; 0x000192bc in do_action ()<br>#8&nbsp; 0x00019bb8 in run_action_list (a=0x1452c8, msg=0x175fd8) at 
action.c:131<br>#9&nbsp; 0x00019df8 in run_top_route (a=0x143e10, msg=0x175fd8) at action.c:111<br>#10 0x00043b60 in receive_msg (buf=0x12dc00 &quot;&quot;, len=1024, rcv_info=0xe0400) at receive.c:156<br>#11 0x0006f294 in udp_rcv_loop () at udp_server.c:465
<br>#12 0x000338bc in main_loop () at main.c:834<br>#13 0x00035c44 in main (argc=9, argv=0xe7800) at main.c:1399<br>(gdb) quit<br><br><br>