Segfaults reported by Igor, on sr-Users mailing list.
Some of the output he got:
```
Jan 21 10:21:11 /usr/local/sbin/kamailio[3843]: ERROR: <core> [dtrie.c:153]: dtrie_insert(): could not allocate shared memory from available pool
Jan 21 10:21:11 /usr/local/sbin/kamailio[3839]: ERROR: userblacklist [db.c:91]: db_build_userbl_tree(): could not insert values into trie.
```
Coredumps:
```
Program terminated with signal 11, Segmentation fault.
#0 0x00007f13a1550af2 in dtrie_insert (root=0x7f138d7ffb38, number=0x22ba6c0 "003716716", numberlen=9, data=0x2, branches=10) at dtrie.c:141
141 if (node->child[digit] == NULL) {
Core was generated by `/usr/local/sbin/kamailio -P /var/run/kamailio.pid -m 256 -M 64'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f13a1550af2 in dtrie_insert (root=0x7f138d7ff998, number=0x22b57a8 "0035587482", numberlen=10, data=0x2, branches=10) at dtrie.c:141
141 if (node->child[digit] == NULL) {
```
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/483
-- Commit Summary --
* dtrie: sanity checks
-- File Changes --
M lib/trie/dtrie.c (14)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/483.patchhttps://github.com/kamailio/kamailio/pull/483.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/483
Module: kamailio
Branch: master
Commit: b0ec43934ac614d0fcc2a22d6a10e9117744bec5
URL: https://github.com/kamailio/kamailio/commit/b0ec43934ac614d0fcc2a22d6a10e91…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-01-22T00:39:24+01:00
statsc: new modules - statistics collector
- record the values of various statistics for a period of time, based on
a timer interval and provide reports about them via rpc
- reports implemented so far:
- list: the recorded values
- diff: the diff between values (val[T] - val[T-1])
---
Added: modules/statsc/Makefile
Added: modules/statsc/README
Added: modules/statsc/doc/Makefile
Added: modules/statsc/doc/statsc.xml
Added: modules/statsc/doc/statsc_admin.xml
Added: modules/statsc/statsc_mod.c
---
Diff: https://github.com/kamailio/kamailio/commit/b0ec43934ac614d0fcc2a22d6a10e91…
Patch: https://github.com/kamailio/kamailio/commit/b0ec43934ac614d0fcc2a22d6a10e91…