Hello,
can you provide the full backtrace from gdb?
Also, give the output for "kamailio -I" and the exact version for libssl.
Cheers, Daniel
On 20.10.19 22:35, Vitalii Aleksandrov wrote:
Hi.
I'm going to jump into this thread with a bit different but related problem. I've tried kamailio master branch with the mentioned workaround and it still crashes almost immediately in my load tests when kamailio is linked to libssl-1.1.1. Haven't followed kamailio recently since had to switch to opensips for my current project but the root of the problem is the same - the multiprocess nature of a proxy and new behavior of libssl that uses pthread functions directly. This workaround with pthread_mutex_init() overriding really helps with deadlocks found with libssl1.1.0, but after switching to libssl1.1.1 it started to crash again. That lib version also uses thread local storage what most probably creates new problems since ssl contex IIRC might be moved between tcp main and workers.
Has anyone tested kamailio master on debian 10 with libssl-1.1.1 and many concurrent tls connections?
I understood it happened on a load test session, which typically is not done in production, but some test/staging system.
Cheers, Daniel
Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev