<p></p>
<p dir="auto">was it really in frame 0 within <code class="notranslate">tls_complete_init</code> ?<br>
your <code class="notranslate">bt all</code> shows <code class="notranslate">dom</code> local variable in the frame.</p>
<p dir="auto">another strangeness is that pointers to the <code class="notranslate">cfg</code> and <code class="notranslate">data</code> are equal.<br>
<code class="notranslate">data</code> is freshly allocated and could get this address if <code class="notranslate">cfg</code> is freed in another place so at the first glance looks like issues with reference in <code class="notranslate">cfg->ref_count</code>.</p>
<p dir="auto">do you use TLS configuration reloads in runtime?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/3052#issuecomment-1127707507">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZOCZYM2O3J2MCPI3I3VKJHWFANCNFSM5QNAS7ZA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZODTGMVCWBIYWJ5K23VKJHWFA5CNFSM5QNAS7ZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIM3XG4Y.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/issues/3052/1127707507</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/3052#issuecomment-1127707507",
"url": "https://github.com/kamailio/kamailio/issues/3052#issuecomment-1127707507",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>