<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi,</p>
<p><br>
</p>
<p>I'm having an issue with the latest asterisk verison 13.9.1 and SVN MASTER:</p>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<p></p>
<p><br>
</p>
<p></p>
<p></p>
<p></p>
<div><span style="font-size: 10pt;">=======================================================================</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span style="font-size: 10pt;">=== 13.9.1</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span style="font-size: 10pt;">=== Currently Held Locks</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span style="font-size: 10pt;">=======================================================================</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span style="font-size: 10pt;">===</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span style="font-size: 10pt;">=== <pending> <lock#> (<file>): <lock type> <line num> <function> <lock name> <lock addr> (times locked)</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span style="font-size: 10pt;">===</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span style="font-size: 10pt;">=== Thread ID: 0x7f88fc12b700 LWP:28315 (worker_start         started at [ 1077] threadpool.c worker_thread_start())</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span style="font-size: 10pt;">=== ---> Lock #0 (res_pjsip.c): RDLOCK 2243 ast_sip_identify_endpoint &((&endpoint_identifiers))->lock 0x7f88edabae50 (1)</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">main/backtrace.c:59 __ast_bt_get_addresses() (0x468532+1D)</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">main/lock.c:866 __ast_rwlock_rdlock() (0x53e19e+BA)</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">res/res_pjsip.c:2244 ast_sip_identify_endpoint() (0x7f88ed891f10+2D)</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">res_pjsip/pjsip_distributor.c:382 endpoint_lookup()</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">:0 pjsip_endpt_process_rx_data() (0x7f88fe128d10+107)</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">res_pjsip/pjsip_distributor.c:461 distribute()</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">main/taskprocessor.c:852 ast_taskprocessor_execute() (0x5ed8b3+110)</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">main/threadpool.c:1320 execute_tasks()</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">main/taskprocessor.c:852 ast_taskprocessor_execute() (0x5ed8b3+110)</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">main/threadpool.c:351 threadpool_execute()</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">main/threadpool.c:1103 worker_active()</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">main/threadpool.c:1024 worker_start()</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">main/utils.c:1235 dummy_start()</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">pthread_create.c:0 start_thread()</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">:0 __clone() (0x7f897d36c530+6D)</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span style="font-size: 10pt;">=== ---> Lock #1 (sorcery.c): RDLOCK 1838 ast_sorcery_retrieve_by_id &(&object_type->wizards)->lock 0x1531a20 (1)</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">main/backtrace.c:59 __ast_bt_get_addresses() (0x468532+1D)</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">main/lock.c:866 __ast_rwlock_rdlock() (0x53e19e+BA)</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">main/sorcery.c:1839 ast_sorcery_retrieve_by_id() (0x5cadb8+8B)</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">res/res_pjsip_endpoint_identifier_user.c:74 username_identify()</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">res/res_pjsip.c:2246 ast_sip_identify_endpoint() (0x7f88ed891f10+52)</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">res_pjsip/pjsip_distributor.c:382 endpoint_lookup()</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">:0 pjsip_endpt_process_rx_data() (0x7f88fe128d10+107)</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">res_pjsip/pjsip_distributor.c:461 distribute()</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">main/taskprocessor.c:852 ast_taskprocessor_execute() (0x5ed8b3+110)</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">main/threadpool.c:1320 execute_tasks()</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">main/taskprocessor.c:852 ast_taskprocessor_execute() (0x5ed8b3+110)</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">main/threadpool.c:351 threadpool_execute()</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">main/threadpool.c:1103 worker_active()</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">main/threadpool.c:1024 worker_start()</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">main/utils.c:1235 dummy_start()</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">pthread_create.c:0 start_thread()</span></div>
<p></p>
<p></p>
<p></p>
<p></p>
<div><span class="Apple-tab-span" style="white-space: pre; font-size: 10pt;"></span><span style="font-size: 10pt;">:0 __clone() (0x7f897d36c530+6D)</span></div>
<div><br>
</div>
<p></p>
<p></p>
</blockquote>
There are currently around 9 locks held and no phones are able to register. The system is using the latest unixODBC and mysql-connector-odbc drivers. This has been working well up until recently. However a change appears to have been made to the way endpoints
 are authenticated. I'm exploring the possibility that this may be a unixODBC issue however I would be great full if anyone could offer any assistance?
<div><br>
</div>
<div>Kind regards,</div>
<div><br>
</div>
<div>Ross<br>
<p><br>
</p>
</div>
</div>
</body>
</html>