<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 02/08/2017 11:26 AM, Ross Beer
wrote:<br>
</div>
<blockquote
cite="mid:DB5PR09MB06647BF56174E73326B6A539FF420@DB5PR09MB0664.eurprd09.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;"
dir="ltr">
<p>Hi,</p>
<p><br>
</p>
<p>I'm getting a deadlock every so often with asterisk 13 GIT.
There are a lot of low level locks:</p>
<p><br>
</p>
<blockquote style="margin: 0 0 0 40px; border: none; padding:
0px;">
<div>#0 0x00007f64ca6f052d in nanosleep () from
/lib64/libc.so.6</div>
<div>[Current thread is 1 (Thread 0x7f64cdcc9700 (LWP 20745))]</div>
<div>#0 0x00007f64ca6f052d in nanosleep () at
/lib64/libc.so.6</div>
<div>#1 0x00007f64ca6f03c4 in sleep () at /lib64/libc.so.6</div>
<div>#2 0x00000000004fc844 in db_sync_thread (data=0x0) at
db.c:980</div>
<div> __PRETTY_FUNCTION__ = "db_sync_thread"</div>
<div>#3 0x000000000060401e in dummy_start (data=0x1e04440) at
utils.c:1235</div>
<div> __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}}</div>
<div> __cancel_routine = 0x452814
<ast_unregister_thread></div>
<div> __cancel_arg = 0x7f64cdcc9700</div>
<div> __not_first_call = 0</div>
<div> ret = 0x7f64cdcc8df0</div>
<div> a = {start_routine = 0x4fc765
<db_sync_thread>, data = 0x0, name = 0x1e055b0
"db_sync_thread started at [ 1022] db.c astdb_init()"}</div>
<div>#4 0x00007f64cb3ee61a in start_thread
(arg=0x7f64cdcc9700) at pthread_create.c:334</div>
<div> __res = <optimized out></div>
<div> pd = 0x7f64cdcc9700</div>
<div> now = <optimized out></div>
<div> 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}}}</div>
<div> not_first_call = <optimized out></div>
<div> pagesize_m1 = <optimized out></div>
<div> sp = <optimized out></div>
<div> freesize = <optimized out></div>
<div>#5 0x00007f64ca72a5fd in clone () at /lib64/libc.so.6</div>
</blockquote>
<br>
<p>Should an issue be created on Jira?</p>
<p><br>
</p>
<p>Regards,</p>
<p><br>
</p>
<p>Ross</p>
</div>
</blockquote>
<br>
Hi Ross,<br>
<br>
This may be the same issue that George discovered earlier today
while doing some testing. If you apply the code change on this
review <a class="moz-txt-link-freetext" href="https://gerrit.asterisk.org/#/c/4902/">https://gerrit.asterisk.org/#/c/4902/</a> , do you still see the
issue?<br>
<br>
Mark Michelson<br>
</body>
</html>