[sr-dev] [kamailio/kamailio] Kamailio 5.4.1 - Crash on startup when TLS is enabled after upgrading from stretch to buster (#2466)

Daniel-Constantin Mierla notifications at github.com
Fri Sep 4 10:56:06 CEST 2020


You have to enable core files per pid, because the backtrace indicates is the core file dumped by shutting down process, which can be just a side effect, because likely the crash happens somewhere else. You can see how to enable core file per process at:

  * https://www.kamailio.org/wiki/tutorials/troubleshooting/coredumpfile#how_do_get_a_core_file

The the core files should be suffixed by pid number, grab the gdb `bt full` for each of the core files.

As I tried to reproduce today, with the reverts done by @linuxmaniac, I could not get it (on a Debian stable), so it could be specific to your config. Maybe you can create a minimal kamailio config that reproduces the case. Being about starting up, you should try to keep global parameters, loading the modules and modparams, with a request_route having just exit. To make it smaller, if you have time to play with it, you can start removing from modues (with the corresponding modparams).

Also, load tls module first, because it needs to initialize the libssl with some options needed by Kamailio, before other modules that may use libssl.

-- 
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/2466#issuecomment-687019118
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200904/ab679fd4/attachment-0001.htm>


More information about the sr-dev mailing list