No subject


Mon May 3 10:49:10 CEST 2010


<br>
#0 =A00xb7f6d410 in ?? ()<br>
#1 =A00xbff60768 in ?? ()<br>
#2 =A00x00000001 in ?? ()<br>
#3 =A00xa7358180 in ?? ()<br>
#4 =A00xb7ec94ac in sched_yield () from /lib/tls/i686/cmov/libc.so.6<br>
#5 =A00xb7b37463 in lock_hash (i=3D19819) at ../../mem/../fastlock.h:182<br=
>
#6 =A00xb7b52587 in t_lookup_request (p_msg=3D0x82403d0, leave_new_locked=
=3D1) at t_lookup.c:468<br>
#7 =A00xb7b534ae in t_newtran (p_msg=3D0x82403d0) at t_lookup.c:1124<br>
</blockquote>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
The backtrace of the other is:<br>
<br>
#0 =A00xb7f6d410 in ?? ()<br>
#1 =A00xbff60138 in ?? ()<br>
#2 =A00x00000001 in ?? ()<br>
#3 =A00xa7358180 in ?? ()<br>
#4 =A00xb7ec94ac in sched_yield () from /lib/tls/i686/cmov/libc.so.6<br>
#5 =A00xb7b37463 in lock_hash (i=3D19819) at ../../mem/../fastlock.h:182<br=
>
#6 =A00xb7b6ce01 in t_uac (method=3D0xbff60558, headers=3D0x81e3108, body=
=3D0x81d9afb, dialog=3D0xa772c6a8, cb=3D0xb734a622 &lt;publ_cback_func&gt;,=
 cbp=3D0xa7715158)<br>
 =A0 =A0at uac.c:306<br>
#7 =A00xb7b6e311 in request (m=3D0xbff60558, ruri=3D0x81d9adc, to=3D0x81d9a=
dc, from=3D0x81d9adc, h=3D0x81e3108, b=3D0x81d9afb, oburi=3D0xb73564ac,<br>
 =A0 =A0cb=3D0xb734a622 &lt;publ_cback_func&gt;, cbp=3D0xa7715158) at uac.c=
:503<br>
#8 =A00xb7349641 in send_publish (publ=3D0x81d9aa8) at send_publish.c:552<b=
r>
#9 =A00xb73339bf in dialog_publish (state=3D0xb7335bb4 &quot;Trying&quot;, =
entity=3D0xa7709f34, peer=3D0xa7709f3c, callid=3D0xa7709f2c, initiator=3D1,=
 lifetime=3D300,<br>
 =A0 =A0localtag=3D0x0, remotetag=3D0x0, localtarget=3D0x0, remotetarget=3D=
0x0) at dialog_publish.c:347<br>
#10 0xb73348ea in __dialog_created (dlg=3D0xa7709ef0, type=3D2, _params=3D0=
xb7a7cb9c) at pua_dialoginfo.c:343<br>
#11 0xb7a586ff in run_create_callbacks (dlg=3D0xa7709ef0, msg=3D0x81f18a8) =
at dlg_cb.c:230<br>
#12 0xb7a60d1f in dlg_new_dialog (msg=3D0x81f18a8, t=3D0xa75deeb0) at dlg_h=
andlers.c:494<br>
#13 0xb7a61f77 in dlg_onreq (t=3D0xa75deeb0, type=3D1, param=3D0xb7b785a8) =
at dlg_handlers.c:414<br>
#14 0xb7b4a791 in run_reqin_callbacks (trans=3D0xa75deeb0, req=3D0x81f18a8,=
 code=3D1) at t_hooks.c:272<br>
#15 0xb7b376af in build_cell (p_msg=3D0x81f18a8) at h_table.c:284<br>
#16 0xb7b535fa in t_newtran (p_msg=3D0x81f18a8) at t_lookup.c:1064<br>
#17 0xb7b4540c in t_relay_to (p_msg=3D0x81f18a8, proxy=3D0x0, flags=3D8) at=
 t_funcs.c:212<br>
#18 0xb7b58ac7 in w_t_relay (p_msg=3D0x81f18a8, proxy=3D0x0, flags=3D0x8 &l=
t;Address 0x8 out of bounds&gt;) at tm.c:1002<br>
#19 0x0805301c in do_action (a=3D0x818c370, msg=3D0x81f18a8) at action.c:87=
4<br>
#20 0x080557aa in run_action_list (a=3D0x818c370, msg=3D0x81f18a8) at actio=
n.c:145<br>
#21 0x0809c304 in eval_expr (e=3D0x818c3d8, msg=3D0x81f18a8, val=3D0x0) at =
route.c:1171<br>
#22 0x0809bd80 in eval_expr (e=3D0x818c400, msg=3D0x81f18a8, val=3D0x0) at =
route.c:1488<br>
#23 0x0809bd16 in eval_expr (e=3D0x818c428, msg=3D0x81f18a8, val=3D0x0) at =
route.c:1493<br>
#24 0x080527ed in do_action (a=3D0x818c740, msg=3D0x81f18a8) at action.c:72=
9<br>
#25 0x080557aa in run_action_list (a=3D0x818be08, msg=3D0x81f18a8) at actio=
n.c:145<br>
#26 0x08053efb in do_action (a=3D0x81a12e0, msg=3D0x81f18a8) at action.c:12=
0<br>
#27 0x080557aa in run_action_list (a=3D0x818ee78, msg=3D0x81f18a8) at actio=
n.c:145<br>
#28 0x08053efb in do_action (a=3D0x81b3448, msg=3D0x81f18a8) at action.c:12=
0<br>
#29 0x080557aa in run_action_list (a=3D0x81b0ed0, msg=3D0x81f18a8) at actio=
n.c:145<br>
#30 0x08054491 in do_action (a=3D0x81b5f68, msg=3D0x81f18a8) at action.c:74=
6<br>
#31 0x080557aa in run_action_list (a=3D0x81b5f68, msg=3D0x81f18a8) at actio=
n.c:145<br>
#32 0x08054f2d in do_action (a=3D0x81b5fd0, msg=3D0x81f18a8) at action.c:75=
2<br>
#33 0x080557aa in run_action_list (a=3D0x81aefd0, msg=3D0x81f18a8) at actio=
n.c:145<br>
#34 0x08053efb in do_action (a=3D0x818bc08, msg=3D0x81f18a8) at action.c:12=
0<br>
#35 0x080557aa in run_action_list (a=3D0x8187910, msg=3D0x81f18a8) at actio=
n.c:145<br>
#36 0x08055b43 in run_top_route (a=3D0x8187910, msg=3D0x81f18a8) at action.=
c:120<br>
#37 0x0808c659 in receive_msg (<br>
 =A0 =A0buf=3D0x8158040 &quot;INVITE <a href=3D"mailto:sip%3Axxxxx at xxxxxxxx=
xxxxxx.com" target=3D"_blank">sip:xxxxx at xxxxxxxxxxxxxx.com</a> &lt;mailto:<=
a href=3D"mailto:sip%253Axxxxx at xxxxxxxxxxxxxx.com" target=3D"_blank">sip%3A=
xxxxx at xxxxxxxxxxxxxx.com</a>&gt; SIP/2.0\r\nRecord-Route: &lt;sip:10.100.29=
.7;lr=3Don;ftag=3Das60035314&gt;\r\nVia: SIP/2.0/UDP 10.100.29.7;branch=3Dz=
9hG4bKb6d4.a49d7633.0\r\nVia: SIP/2.0/UDP 10.100.29.8:5060;branch=3Dz9hG&qu=
ot;..., len=3D926, rcv_info=3D0xbff62334) at receive.c:175<br>


#38 0x080c3ea3 in udp_rcv_loop () at udp_server.c:449<br>
#39 0x0806e394 in main (argc=3D9, argv=3D0xbff62514) at main.c:774,<br>
<br>
</blockquote>
<br>
Hello<br>
<br>
I am a little busy atm, so before I dig into the code, I have a question fo=
r core devs. Is the LOCK_HASH() call =A0recursive (being called again from =
the same process will not block) ? I ask this because in the 4th blocked IN=
VITE the hash _might_ be blocked by both t_newtran(#16 0xb7b535fa in t_newt=
ran (p_msg=3D0x81f18a8) at t_lookup.c:1064)<br>


and 6 =A0t_uac (#6 =A00xb7b6ce01 in t_uac (method=3D0xbff60558, headers=3D0=
x81e3108, body=3D0x81d9afb, dialog=3D0xa772c6a8, cb=3D0xb734a622 &lt;publ_c=
back_func&gt;, cbp=3D0xa7715158)), thus causing a deadlock.<br>
<br>
Thanks<br>
Marius<br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href=3D"mailto:sr-users at lists.sip-router.org" target=3D"_blank">sr-users=
@lists.sip-router.org</a><br>
<a href=3D"http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" t=
arget=3D"_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-us=
ers</a><br>
<br>
<br>_______________________________________________<br>
sr-dev mailing list<br>
<a href=3D"mailto:sr-dev at lists.sip-router.org">sr-dev at lists.sip-router.org<=
/a><br>
<a href=3D"http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" tar=
get=3D"_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev<=
/a><br>
<br></blockquote></div><br>

--0016e6434be8500088048767001e--



More information about the sr-dev mailing list