[sr-dev] [kamailio/kamailio] Unexpected kamailio 5.4 segfault related to dialog variables (#2828)

Daniel-Constantin Mierla notifications at github.com
Wed Jun 22 13:26:46 CEST 2022


I haven't implemented the dialog variables, nor use them in my deployments, but given several reports with issues related to them, I looked once quickly over them and I think they are exposed to races. I made a similar remark to a recent PR that was using dialog variables,

Unfortunately I had no time to dig in further, too many constraints with work and family due to pandemic and no deployment that reproduces similar crashes (again, I don't use dialog variables). Near future does not look better in terms of available time. If you or someone else can do it, review the code related to dialog variables. I think getting a variable just references to the share memory location, without any other protection (or cloning).

Alternative, for a while, is to see if you can replace dialog variables with something else, maybe you can use htable, and same same results.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2828#issuecomment-1162979167
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/2828/1162979167 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220622/48a8af5e/attachment-0001.htm>


More information about the sr-dev mailing list