[sr-dev] [kamailio/kamailio] core: Improve handling of async-signal-unsafe code in signal handler (#2127)

Guillem Jover notifications at github.com
Thu Jun 18 17:57:52 CEST 2020


@miconda I could try to find the specific version for that backtrace, but this is the Sipwise downstream version with all our patches so this might not give you the expected line numbers when compared to a pristine upstream codebase anyway.

Re the usefulness, the first patch makes the code consistent so that when you disable SIG_DEBUG and enable PKG_MALLOC you still get safe behavior, matching the existing code dealing with PKG_MALLOC in the signal handler. For the default change I could take a look at making it run-time configurable, but IMO it should still default to off, but then see the next item.

Re the shutdown reports, please see my reply to @henningw  https://github.com/kamailio/kamailio/pull/2127#issuecomment-554650695.

-- 
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/pull/2127#issuecomment-646120947
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200618/959cdff2/attachment.html>


More information about the sr-dev mailing list