Hi Gang
I just updated our dev plattform from 5.6 to 5.7
5.5 was working fine with TLS under Ubuntu Focal. 5.6 under Jammy started to dump cores. 5.7 still shows the same behaviour, usually shortly after a restart.
Oct 20 09:45:01 dev-cpereg01 kamailio[11925]: CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7f1bb0dd4bd8), called from tls: tls_init.c: ser_free(405), first free tls: tls_init.c: ser_free(405) - ignoring Oct 20 09:45:11 dev-cpereg01 kamailio[11905]: ALERT: <core> [main.c:776]: handle_sigs(): child process 11924 exited by a signal 11 Oct 20 09:45:11 dev-cpereg01 kamailio[11905]: ALERT: <core> [main.c:779]: handle_sigs(): core was generated
Could anyone point me the correct direction on how to fix this issue?
Am I the only one seeing this issue?
Hi Benoit
Are you connecting to mysql?
We had similar sounding issues and adding this to kamailio.cfg made a difference modparam( "db_mysql", "opt_ssl_mode", 1 )
On Fri, 20 Oct 2023 at 11:56, Benoît Panizzon via sr-users < sr-users@lists.kamailio.org> wrote:
Hi Gang
I just updated our dev plattform from 5.6 to 5.7
5.5 was working fine with TLS under Ubuntu Focal. 5.6 under Jammy started to dump cores. 5.7 still shows the same behaviour, usually shortly after a restart.
Oct 20 09:45:01 dev-cpereg01 kamailio[11925]: CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7f1bb0dd4bd8), called from tls: tls_init.c: ser_free(405), first free tls: tls_init.c: ser_free(405) - ignoring Oct 20 09:45:11 dev-cpereg01 kamailio[11905]: ALERT: <core> [main.c:776]: handle_sigs(): child process 11924 exited by a signal 11 Oct 20 09:45:11 dev-cpereg01 kamailio[11905]: ALERT: <core> [main.c:779]: handle_sigs(): core was generated
Could anyone point me the correct direction on how to fix this issue?
Am I the only one seeing this issue?
-- Mit freundlichen Grüssen
-Benoît Panizzon- @ HomeOffice und normal erreichbar
I m p r o W a r e A G - Leiter Commerce Kunden ______________________________________________________
Zurlindenstrasse 29 Tel +41 61 826 93 00 CH-4133 Pratteln Fax +41 61 826 93 01 Schweiz Web http://www.imp.ch ______________________________________________________ __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
Hi Antony
Are you connecting to mysql?
We had similar sounding issues and adding this to kamailio.cfg made a difference modparam( "db_mysql", "opt_ssl_mode", 1 )
I am using MySQL, but I didn't deliberately configure it to use SSL.
I'm using TLS for SIP client registration on port 5061. So I was hunting the issue down that rabbit hole.
https://www.kamailio.org/docs/modules/devel/modules/db_mysql.html#db_mysql.p...
I try to force disable SSL for mysql off by setting this to 1.
Restarted, let's observe for a hour or so. Usually the crashes occur after restarting. At the moment all 4 dev registrars have restarted without crashing in the first 2 or so minute. So this somehow looks promising!
Absolutely like my experience. We also only saw the issue when using TLS in kamailio, not using SSL for mysql. the advice we received did not make sense but resolved the problem.
On Fri, 20 Oct 2023 at 14:49, Benoît Panizzon benoit.panizzon@imp.ch wrote:
Hi Antony
Are you connecting to mysql?
We had similar sounding issues and adding this to kamailio.cfg made a difference modparam( "db_mysql", "opt_ssl_mode", 1 )
I am using MySQL, but I didn't deliberately configure it to use SSL.
I'm using TLS for SIP client registration on port 5061. So I was hunting the issue down that rabbit hole.
https://www.kamailio.org/docs/modules/devel/modules/db_mysql.html#db_mysql.p...
I try to force disable SSL for mysql off by setting this to 1.
Restarted, let's observe for a hour or so. Usually the crashes occur after restarting. At the moment all 4 dev registrars have restarted without crashing in the first 2 or so minute. So this somehow looks promising!
-- Mit freundlichen Grüssen
-Benoît Panizzon- @ HomeOffice und normal erreichbar
I m p r o W a r e A G - Leiter Commerce Kunden ______________________________________________________
Zurlindenstrasse 29 Tel +41 61 826 93 00 CH-4133 Pratteln Fax +41 61 826 93 01 Schweiz Web http://www.imp.ch ______________________________________________________
Hi Anthony
You were spot on. Not a single crash occurred anymore after setting:
modparam( "db_mysql", "opt_ssl_mode", 1 )
Mit freundlichen Grüssen
-Benoît Panizzon-