From mattislind@gmail.com Tue Jan 23 14:02:35 2024 From: Mattis Lind To: sr-users@lists.kamailio.org Subject: [SR-Users] Kamailio 5.6 (and 5.7) core dumping. Date: Tue, 23 Jan 2024 15:02:09 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1134341957==" --===============1134341957== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello Kamailio list! We have a scenario that makes use of the UAC-module to send SIP MESSAGE and then in some cases the Kamailio process core dumps after some time after processing messages. I have been able to gather a core dump which shows this backtrace appended below. We are using Kamailio 5.6 retrieved from the kamailio repository: http://deb.kamailio.org/kamailio56. We are running Kamailio in a Docker container which runs on "5.10.0-25-cloud-amd64 #1 SMP Debian 5.10.191-1 (2023-08-16) x86_64 GNU/Linux" We have previously tried to use Kamailio 5.7 but it gave the same type of crashes. We have been using the uac module a lot but it is just in this scenario we get a core dump. We have some kind of relation to a specific scenario but it can take from several seconds from the last SIP message of this scenario up to 50 minutes until the crash occurs. To me this sounds like some kind of cleanup that is not handled properly. The back trace indicates that free of shared memory could be the issue, but I don't know the code unfortunately. The last things we see in the log file is: 2024-01-23T13:18:08.828+01:00 Jan 23 12:18:08 /usr/sbin/kamailio[4789]: INFO: