[sr-dev] [kamailio/kamailio] Kamailio 5.1.10 crash in EVP_DecryptUpdate() (#2394)

Sebastian Damm notifications at github.com
Tue Jul 7 14:07:17 CEST 2020


### Description

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. 🙄 ) 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.

### Troubleshooting

#### Debugging Data


We have collected the gdb output as requested.

[kamailio_crash1.log](https://github.com/kamailio/kamailio/files/4884682/kamailio_crash1.log)

#### Log Messages

<!--
Check the syslog file and if there are relevant log messages printed by Kamailio, add them next, or attach to issue, or provide a link to download them (e.g., to a pastebin site).
-->

```
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
```

### Additional Information

  * **Kamailio Version** - output of `kamailio -v`

```
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
```

* **Operating System**:

<!--
Details about the operating system, the type: Linux (e.g.,: Debian 8.4, Ubuntu 16.04, CentOS 7.1, ...), MacOS, xBSD, Solaris, ...;
Kernel details (output of `uname -a`)
-->

```
Linux hostname 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) x86_64 GNU/Linux
```


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2394
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200707/e83fe922/attachment.html>


More information about the sr-dev mailing list