Hello,
in case Kamailio is linked with OpenSSL 3.0 it will fail. Linking with
Openssl 1.1.1 works.
Дилян
На 2023-05-05 17:01, Benoît Panizzon написа:
Hi team
I upgraded our lab to 5.6.4 from the official repository for ubuntu
Jammy.
Now I get crashes related to TLS:
May 5 14:58:40 dev-cpereg01 kamailio[36147]: CRITICAL: <core>
[core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed
pointer (0x7f4fedbed4e8), called from tls: tls_init.c: ser_free(323),
first free tls: tls_init.c: ser_f
ree(323) - ignoring
May 5 14:58:40 dev-cpereg01 kamailio[36147]: CRITICAL: <core>
[core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed
pointer (0x7f4fedd72b88), called from tls: tls_init.c: ser_free(323),
first free tls: tls_init.c: ser_f
ree(323) - ignoring
May 5 14:58:40 dev-cpereg01 kamailio[36177]: CRITICAL: <core>
[core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed
pointer (0x7f4fedd9e4a0), called from tls: tls_init.c: ser_free(323),
first free tls: tls_init.c: ser_f
ree(323) - ignoring
May 5 14:58:40 dev-cpereg01 kamailio[36157]: CRITICAL: <core>
[core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed
pointer (0x7f4fedd9e428), called from tls: tls_init.c: ser_free(323),
first free tls: tls_init.c: ser_f
ree(323) - ignoring
And a bit later on:
May 5 14:58:46 dev-cpereg01 kamailio[36179]: CRITICAL: <core>
[core/pass_fd.c:277]: receive_fd(): EOF on 34
May 5 14:58:46 dev-cpereg01 kamailio[36143]: ALERT: <core>
[main.c:774]: handle_sigs(): child process 36161 exited by a signal 11
May 5 14:58:46 dev-cpereg01 kamailio[36143]: ALERT: <core>
[main.c:777]: handle_sigs(): core was generated
May 5 14:58:46 dev-cpereg01 kamailio[36143]: INFO: <core>
[main.c:799]: handle_sigs(): terminating due to SIGCHLD
Has there been a fundamental change in TLS? Or did I miss something
important to do on a 5.5 => 5.6 upgrade?
--
Mit freundlichen Grüssen
-Benoît Panizzon- @ HomeOffice und normal erreichbar