<p></p>
<p dir="auto">The backtrace points to the line that has:</p>
<pre class="notranslate"><code class="notranslate">PL_exit_flags |= PERL_EXIT_DESTRUCT_END;
</code></pre>
<p dir="auto">Which suggests that global variable from Perl lib <code class="notranslate">PL_exit_flags</code> is messed up. You can check it with gdb -- open the core file with:</p>
<pre class="notranslate"><code class="notranslate">gdb /path/to/kamailio /path/to/corefile
</code></pre>
<p dir="auto">Then run:</p>
<pre class="notranslate"><code class="notranslate">p PL_exit_flags
</code></pre>
<p dir="auto">The crash happens during the reload, which might be done periodically, a matter of the modparam. You can try to disable it and see if the still crash happens. This periodical reload tried to help with Perl interpreter and libs memory leaks, so watch the system memory as well to be sure it not increasing without an obvious reason.</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/3134#issuecomment-1156083137">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZMAAZOQM3BMHYIPY2TVPF72LANCNFSM5X6CTBMA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZNIEB665JCHN34CMODVPF72LA5CNFSM5X6CTBMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOITUG3QI.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/3134/1156083137</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/3134#issuecomment-1156083137",
"url": "https://github.com/kamailio/kamailio/issues/3134#issuecomment-1156083137",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>