<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
seems to be something related to t_replicate(). Can you reproduce it
easily? If not, how often does it happen? Do you see any particular
error messages in syslog, before frozen?<br>
<br>
Cheers,<br>
Daniel<br>
<br>
On 5/13/10 10:39 AM, Santiago Gimeno wrote:
<blockquote
 cite="mid:AANLkTimjj_T-lbDjPPo1fz49KWudzLu4Dk_xltT1FZ6L@mail.gmail.com"
 type="cite">Hi,<br>
  <br>
I'm working with Kamailio 1.5 (rev 5968) and from time to time kamailio
freezes and stops processing messages. Kamailio is working only in UDP.
I really don't know in which conditions this problem is happening: it
happens both in high and low load.<br>
Here is a backtrace of one of the UDP working processes when kamailio
is frozen (all the other UDP process backtraces look similar) :<br>
  <br>
#0&nbsp; 0xb7fdf410 in ?? ()<br>
#1&nbsp; 0xbfbfec28 in ?? ()<br>
#2&nbsp; 0x00000001 in ?? ()<br>
#3&nbsp; 0xa7392ad0 in ?? ()<br>
#4&nbsp; 0xb7f3b4ac in sched_yield () from /lib/tls/i686/cmov/libc.so.6<br>
#5&nbsp; 0xb7ba9463 in lock_hash (i=10361) at ../../mem/../fastlock.h:182<br>
#6&nbsp; 0xb7bc4587 in t_lookup_request (p_msg=0x823fc70,
leave_new_locked=1) at t_lookup.c:468<br>
#7&nbsp; 0xb7bc54ae in t_newtran (p_msg=0x823fc70) at t_lookup.c:1124<br>
#8&nbsp; 0xb7bb740c in t_relay_to (p_msg=0x823fc70, proxy=0x0, flags=1) at
t_funcs.c:212<br>
#9&nbsp; 0xb7bb8f6c in t_replicate (p_msg=0x823fc70, dst=0x817cdf8, flags=1)
at t_fwd.c:763<br>
#10 0xb7bc7fce in w_t_replicate (p_msg=0x823fc70, dst=0x817cdf8
"\230&ecirc;\030\b\016", flags=0x0) at tm.c:957<br>
#11 0x0805301c in do_action (a=0x818eb20, msg=0x823fc70) at action.c:874<br>
#12 0x080557aa in run_action_list (a=0x818eb20, msg=0x823fc70) at
action.c:145<br>
#13 0x08054491 in do_action (a=0x818ec78, msg=0x823fc70) at action.c:746<br>
#14 0x080557aa in run_action_list (a=0x818c940, msg=0x823fc70) at
action.c:145<br>
#15 0x08053efb in do_action (a=0x81b38e0, msg=0x823fc70) at action.c:120<br>
#16 0x080557aa in run_action_list (a=0x81b3878, msg=0x823fc70) at
action.c:145<br>
#17 0x08054491 in do_action (a=0x81b5f00, msg=0x823fc70) at action.c:746<br>
#18 0x080557aa in run_action_list (a=0x81b5f00, msg=0x823fc70) at
action.c:145<br>
#19 0x08054f2d in do_action (a=0x81b5f68, msg=0x823fc70) at action.c:752<br>
#20 0x080557aa in run_action_list (a=0x81b5f68, msg=0x823fc70) at
action.c:145<br>
#21 0x08054f2d in do_action (a=0x81b5fd0, msg=0x823fc70) at action.c:752<br>
#22 0x080557aa in run_action_list (a=0x81aefd0, msg=0x823fc70) at
action.c:145<br>
#23 0x08053efb in do_action (a=0x818bc08, msg=0x823fc70) at action.c:120<br>
#24 0x080557aa in run_action_list (a=0x8187910, msg=0x823fc70) at
action.c:145<br>
#25 0x08055b43 in run_top_route (a=0x8187910, msg=0x823fc70) at
action.c:120<br>
#26 0x0808c659 in receive_msg (<br>
&nbsp;&nbsp;&nbsp; buf=0x8158040 "REGISTER sip:<a moz-do-not-send="true"
 href="http://xxxxxxxxxxx.com">xxxxxxxxxxx.com</a> SIP/2.0\r\nFrom: &lt;<a
 moz-do-not-send="true" href="mailto:sip%3Axxxxxx@xxxxxxxxxxxx.com">sip:xxxxxx@xxxxxxxxxxxx.com</a>&gt;;tag=as516fcce2\r\nTo:
&lt;<a moz-do-not-send="true"
 href="mailto:sip%3Axxxxxxx@xxxxxxxxxxxx.com">sip:xxxxxxx@xxxxxxxxxxxx.com</a>&gt;\r\nCall-ID:
  <a moz-do-not-send="true"
 href="mailto:01e4ea8e185c85332ea68874543c810e@xxxxxxxxxxxxxx.com">01e4ea8e185c85332ea68874543c810e@xxxxxxxxxxxxxx.com</a>\r\nCSeq:
383 REGISTER\r\nVia: SIP"..., len=794, rcv_info=0xbfc004d4) at
receive.c:175<br>
#27 0x080c3ea3 in udp_rcv_loop () at udp_server.c:449<br>
#28 0x0806e394 in main (argc=9, argv=0xbfc006b4) at main.c:774<br>
  <br>
Any idea of what might be happening?<br>
  <br>
Best regards,<br>
  <br>
Santi<br>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
* <a class="moz-txt-link-freetext" href="http://www.asipto.com/">http://www.asipto.com/</a>
* <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a>
* <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/danielconstantinmierla">http://www.linkedin.com/in/danielconstantinmierla</a> 
</pre>
</body>
</html>