If it is on shut down, then likely it is only one core file, I thought was at runtime.
Going through difference between the two branches, I think I found the issue -- a PR that was targeting to remove the obsoleted libssl API was removing OPENSSL_cleanup(), which docs recommend not to execute, because it is done automatically by libssl on exit, but in our case it is needed to have access to shared memory before being destroyed. The docs don't say it is obsolete, so it should be kept in Kamailio.
I pushed a commit to fix it, can you try with latest master?
Cheers, Daniel
On 05.10.20 15:13, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
The kamailio wiki has a turorial about troubleshooting with core files where it gives the details about how to enable core file per pid (I am on mobile link right now, not easy to give the url).
OK, will try to look.
To understand that it crashes only on shut down anyhow, not a runtime crash?
I think that so far only at shutdown.
-- Juha