[asterisk-dev] Deadlock GIT 13

Mark Michelson mmichelson at digium.com
Wed Feb 8 11:55:47 CST 2017


On 02/08/2017 11:26 AM, Ross Beer wrote:
>
> Hi,
>
>
> I'm getting a deadlock every so often with asterisk 13 GIT. There are 
> a lot of low level locks:
>
>
>     #0  0x00007f64ca6f052d in nanosleep () from /lib64/libc.so.6
>     [Current thread is 1 (Thread 0x7f64cdcc9700 (LWP 20745))]
>     #0  0x00007f64ca6f052d in nanosleep () at /lib64/libc.so.6
>     #1  0x00007f64ca6f03c4 in sleep () at /lib64/libc.so.6
>     #2  0x00000000004fc844 in db_sync_thread (data=0x0) at db.c:980
>             __PRETTY_FUNCTION__ = "db_sync_thread"
>     #3  0x000000000060401e in dummy_start (data=0x1e04440) at utils.c:1235
>             __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf =
>     {0, -361566044794415684, 140733401961727, 140070926194432, 507904,
>     0, -361566044802804292, 302566635355346364}, __mask_was_saved =
>     0}}, __pad = {0x7f64cdcc8df0, 0x0, 0x0, 0x0}}
>             __cancel_routine = 0x452814 <ast_unregister_thread>
>             __cancel_arg = 0x7f64cdcc9700
>             __not_first_call = 0
>             ret = 0x7f64cdcc8df0
>             a = {start_routine = 0x4fc765 <db_sync_thread>, data =
>     0x0, name = 0x1e055b0 "db_sync_thread       started at [ 1022]
>     db.c astdb_init()"}
>     #4  0x00007f64cb3ee61a in start_thread (arg=0x7f64cdcc9700) at
>     pthread_create.c:334
>             __res = <optimized out>
>             pd = 0x7f64cdcc9700
>             now = <optimized out>
>             unwind_buf = {cancel_jmp_buf = {{jmp_buf =
>     {140070926194432, 302565808931837372, 140733401961727,
>     140070926194432, 507904, 0, -361566044792318532,
>     -361562863565433412}, mask_was_saved = 0}}, priv = {pad = {0x0,
>     0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
>             not_first_call = <optimized out>
>             pagesize_m1 = <optimized out>
>             sp = <optimized out>
>             freesize = <optimized out>
>     #5  0x00007f64ca72a5fd in clone () at /lib64/libc.so.6
>
>
> Should an issue be created on Jira?
>
>
> Regards,
>
>
> Ross
>

Hi Ross,

This may be the same issue that George discovered earlier today while 
doing some testing. If you apply the code change on this review 
https://gerrit.asterisk.org/#/c/4902/ , do you still see the issue?

Mark Michelson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20170208/fcfb387e/attachment-0001.html>


More information about the asterisk-dev mailing list