<h3>Description</h3>
<p>Kamailio is crashing randomly 1 or 2 times a day. We have 2 kamailio with DMQ/Dialog sharing.</p>
<h4>Debugging Data</h4>
<pre><code>#0  0x00007feb7466ddf3 in destroy_linkers () from /usr/lib64/kamailio/modules/dialog.so
No symbol table info available.
#1  0x00007feb7463a42e in dlg_dmq_handle_msg () from /usr/lib64/kamailio/modules/dialog.so
No symbol table info available.
#2  0x00007feb74d90718 in worker_loop () from /usr/lib64/kamailio/modules/dmq.so
No symbol table info available.
#3  0x00007feb74d73686 in ?? () from /usr/lib64/kamailio/modules/dmq.so
No symbol table info available.
#4  0x00000000005e79b0 in ?? ()
No symbol table info available.
#5  0x00000000005e763c in ?? ()
No symbol table info available.
#6  0x00000000005e763c in ?? ()
No symbol table info available.
#7  0x00000000005e763c in ?? ()
No symbol table info available.
#8  0x00000000005e763c in ?? ()
No symbol table info available.
#9  0x00000000005e763c in ?? ()
No symbol table info available.
#10 0x00000000005e763c in ?? ()
No symbol table info available.
#11 0x00000000005e763c in ?? ()
No symbol table info available.
#12 0x00000000005e80e9 in init_child ()
No symbol table info available.
#13 0x0000000000426b94 in main_loop ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#14 0x000000000042e52a in main ()
No symbol table info available.

</code></pre>
<h4>Log Messages</h4>
<pre><code>/usr/sbin/kamailio[9221]: CRITICAL: <core> [core/mem/q_malloc.c:521]: qm_free(): BUG: freeing already freed pointer (0x7feb781ee500), called from dialog: dlg_profile.c: destroy_linkers(291), first free dialog: dlg_profile.c: destroy_linkers(291) - ignoring

/usr/sbin/kamailio[9221]: ALERT: <core> [main.c:767]: handle_sigs(): child process 9495 exited by a signal 11
/usr/sbin/kamailio[9221]: ALERT: <core> [main.c:770]: handle_sigs(): core was generated

/usr/sbin/kamailio[9221]: CRITICAL: <core> [main.c:678]: sig_alarm_abort(): shutdown timeout triggered, dying...
</code></pre>
<h3>Additional Information</h3>
<pre><code>version: kamailio 5.3.2 (x86_64/linux) 7ba545
flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: 7ba545 
compiled on 11:29:01 Jan  9 2020 with gcc 4.4.7

</code></pre>
<ul>
<li><strong>Operating System</strong>:</li>
</ul>
<pre><code>2.6.32-042stab140.1 #1 SMP Thu Aug 15 13:32:22 MSK 2019 x86_64 x86_64 x86_64 GNU/Linux
</code></pre>

<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/2224?email_source=notifications&email_token=ABO7UZOOIHWUEWVOONYM4OTRDZRQJA5CNFSM4KYMXHGKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IO6QC4Q">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZIHG554HJ7WPWWBNHLRDZRQJANCNFSM4KYMXHGA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZNIG2KFINFHIHQGXZTRDZRQJA5CNFSM4KYMXHGKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IO6QC4Q.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/2224?email_source=notifications\u0026email_token=ABO7UZOOIHWUEWVOONYM4OTRDZRQJA5CNFSM4KYMXHGKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IO6QC4Q",
"url": "https://github.com/kamailio/kamailio/issues/2224?email_source=notifications\u0026email_token=ABO7UZOOIHWUEWVOONYM4OTRDZRQJA5CNFSM4KYMXHGKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IO6QC4Q",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>