[SR-Users] kemi framework design

Alex Balashov abalashov at evaristesys.com
Tue Nov 12 22:20:00 CET 2019


On Tue, Nov 12, 2019 at 04:17:25PM -0500, GG GG wrote:

> - about the safety, I just made a bad lua module in c, to force a
> segmentation fault in the module.
> I would expect kamailio to protect itself from the crash, but kamailio
> restarted.

The practicality of that is extremely limited; what do you want
Kamailio to do?

1) Catch a SIGSEGV and plough on with a corrupted virtual memory space?

2) Do a longjmp() back to a primeval state and drop any state that
followed, including transaction memory, any persistent connections, etc?

-- Alex

-- 
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) 
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/



More information about the sr-users mailing list