[OpenSIPS-Devel] [ opensips-Bugs-3044051 ] dialog_publish deadlock

SourceForge.net noreply at sourceforge.net
Mon Aug 16 10:55:08 CEST 2010


Bugs item #3044051, was opened at 2010-08-13 02:38
Message generated for change (Comment added) made by anca_vamanu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3044051&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: None
>Status: Closed
>Resolution: Duplicate
Priority: 5
Private: No
Submitted By: Stanislaw Pitucha (viraptor)
Assigned to: Nobody/Anonymous (nobody)
Summary: dialog_publish deadlock

Initial Comment:
Hi,
I tried setting up v-1.6.3 with dialoginfo modules added. It worked nicely in testing environment, but then it deadlocked when given live traffic... Here's the bc of this deadlock:

#0  0x00007fd5092cfbe7 in sched_yield () from /lib/libc.so.6
#1  0x00007fd5053e547c in get_lock (lock=0x7fd4fd3f8740) at ../../mem/../fastlock.h:182
#2  0x00007fd5053e5e7c in send_publish (publ=0x7fffffffafa0) at send_publish.c:520
#3  0x00007fd504fcbc78 in dialog_publish (state=0x7fd504fcf454 "confirmed", entity=0x7fffffffb070, peer=0x7fffffffb240, callid=0x7fd4fc651040, initiator=0, lifetime=43200, 
    localtag=0x0, remotetag=0x0) at dialog_publish.c:334
#4  0x00007fd504fcc763 in __dialog_sendpublish (dlg=0x7fd4fc650ff0, type=16, _params=0x7fd505fd1ae0) at pua_dialoginfo.c:314
#5  0x00007fd505dac203 in run_dlg_callbacks (type=16, dlg=0x7fd4fc650ff0, msg=0x808570, dir=1, dlg_data=0x0) at dlg_cb.c:253
#6  0x00007fd505db60c8 in dlg_onroute (req=0x808570, route_params=0x7fffffffb7c0, param=0x0) at dlg_handlers.c:927
#7  0x00007fd50725ea08 in run_rr_callbacks (req=0x808570, rr_params=0x7fd5074627c0) at rr_cb.c:89
#8  0x00007fd50725bddc in after_loose (_m=0x808570, preloaded=0) at loose.c:883
#9  0x00007fd50725900f in loose_route (_m=0x808570, _s1=0x0, _s2=0x0) at loose.c:921
#10 0x000000000041240e in do_action (a=0x7ede18, msg=0x808570) at action.c:1040


----------------------------------------------------------------------

>Comment By: Anca Vamanu (anca_vamanu)
Date: 2010-08-16 11:55

Message:
Hi Stanislaw,

This is a known issue and a fix for it is currently in progress, a first
version has been committed in trunk but still some work needs to be done on
it. I will let you know when it is safe to upgrade.

Regards,
Anca

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3044051&group_id=232389



More information about the Devel mailing list