<p></p>
<h3>Description</h3>
<p>We replaced a legacy wheezy system running Kamailio 5.1.4 with a Debian Buster system running Kamailio 5.1.10. (We currently can't update to 5.3.x because the configuration file is shared across multiple machines. <g-emoji class="g-emoji" alias="roll_eyes" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f644.png">🙄</g-emoji> ) This new system has crashed upon us even before getting real traffic (except maybe some random scanners driving by), and even more frequently after sending traffic to it. The core dump looks the same with or without traffic.</p>
<h3>Troubleshooting</h3>
<h4>Debugging Data</h4>
<p>We have collected the gdb output as requested.</p>
<p><a href="https://github.com/kamailio/kamailio/files/4884682/kamailio_crash1.log">kamailio_crash1.log</a></p>
<h4>Log Messages</h4>

<pre><code>Jul  5 22:20:18 sip-tcploadbalancer01 /usr/sbin/kamailio[15531]: ERROR: tls [tls_util.h:42]: tls_err_ret(): TLS read:error:24067044:random number generator:rand_pool_add:internal error
Jul  5 22:20:18 sip-tcploadbalancer01 /usr/sbin/kamailio[15531]: ERROR: <core> [core/tcp_read.c:1505]: tcp_read_req(): ERROR: tcp_read_req: error reading - c: 0x7f31ec06a3e8 r: 0x7f31ec06a468 (-1)
Jul  5 22:20:19 sip-tcploadbalancer01 /usr/sbin/kamailio[15534]: CRITICAL: <core> [core/pass_fd.c:277]: receive_fd(): EOF on 76
Jul  5 22:20:21 sip-tcploadbalancer01 /usr/sbin/kamailio[15479]: ALERT: <core> [main.c:744]: handle_sigs(): child process 15530 exited by a signal 11
Jul  5 22:20:21 sip-tcploadbalancer01 /usr/sbin/kamailio[15479]: ALERT: <core> [main.c:747]: handle_sigs(): core was generated
</code></pre>
<h3>Additional Information</h3>
<ul>
<li><strong>Kamailio Version</strong> - output of <code>kamailio -v</code></li>
</ul>
<pre><code>version: kamailio 5.1.10 (x86_64/linux)
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, 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, TLS_PTHREAD_MUTEX_SHARED
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: unknown
compiled with gcc 8.3.0
</code></pre>
<ul>
<li><strong>Operating System</strong>:</li>
</ul>

<pre><code>Linux hostname 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) 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/2394">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZLVT5KIWPWC2YJFSCLR2MFXLANCNFSM4OSX45DA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZKUTD5NYMKGYGYDAGTR2MFXLA5CNFSM4OSX45DKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4JXA2RWQ.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/2394",
"url": "https://github.com/kamailio/kamailio/issues/2394",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>