<p>If kamailio is compiled with DBG_QM_MALLOC, debug is printed in <code>mem/q_mallocc:405</code><br>
When the set_mod_level RPC function is called, memory is allocated while the lock is held <code>debugger/debugger_apic:1224</code><br>
This will cause a deadlock when setting the value of 'core'</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/482">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZfCFrXz22TwKadMdHoCD3-VIVycxks5pb26igaJpZM4HIjBA.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/482"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>