<p></p>
<p>You have to enable core files per pid, because the backtrace indicates is the core file dumped by shutting down process, which can be just a side effect, because likely the crash happens somewhere else. You can see how to enable core file per process at:</p>
<ul>
<li><a href="https://www.kamailio.org/wiki/tutorials/troubleshooting/coredumpfile#how_do_get_a_core_file" rel="nofollow">https://www.kamailio.org/wiki/tutorials/troubleshooting/coredumpfile#how_do_get_a_core_file</a></li>
</ul>
<p>The the core files should be suffixed by pid number, grab the gdb <code>bt full</code> for each of the core files.</p>
<p>As I tried to reproduce today, with the reverts done by <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/linuxmaniac/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/linuxmaniac">@linuxmaniac</a>, I could not get it (on a Debian stable), so it could be specific to your config. Maybe you can create a minimal kamailio config that reproduces the case. Being about starting up, you should try to keep global parameters, loading the modules and modparams, with a request_route having just exit. To make it smaller, if you have time to play with it, you can start removing from modues (with the corresponding modparams).</p>
<p>Also, load tls module first, because it needs to initialize the libssl with some options needed by Kamailio, before other modules that may use libssl.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2466#issuecomment-687019118">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZJON6PP4CEFLQPDIETSECTSNANCNFSM4QSUPPMA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZOUJFXPDECHH2BDUCLSECTSNA5CNFSM4QSUPPMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFDZRI3Q.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2466#issuecomment-687019118",
"url": "https://github.com/kamailio/kamailio/issues/2466#issuecomment-687019118",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>