[sr-dev] [kamailio/kamailio] Random segfault or general protection crash on siptrace.so module (#2718)

Joshua Riffle notifications at github.com
Wed Apr 28 23:07:02 CEST 2021


In case someone else runs into this issue -- it was far from transparent, but my best guess is it was caused by some combination of file permission issues. These are the various things on CentOS 7 that were tweaked to allow a core dump

The following combination of things were changed:

/etc/sysctl.d/99-sysctl.conf
```
kernel.core_pattern = /tmp/core.%e.%p.%h.%t
kernel.core_uses_pid=1
fs.suid_dumpable = 2
```

`sysctl --system` to reload kernel parameters

/etc/sysconfig/kamailio
```
DUMP_CORE=yes
```

May be required but unclear:
`ulimit -c unlimited`

Tested by running
`kill -ABRT <PID of Kamailio Child>`

-- 
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/issues/2718#issuecomment-828780347
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210428/c2923f92/attachment.htm>


More information about the sr-dev mailing list