When it happens that it doesn't stop, check what the processes are doing by attaching with gdb and get the backtrace.

The code for membar() is standard, operating at assembler level. But the crash here could be a side effect of a buffer overflow. Can you doublecheck that your changes are not introducing such issue? Maybe you can give a try with stock kamailio to see if the issue is there.


Reply to this email directly or view it on GitHub.