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.patch
https://github.com/kamailio/kamailio/pull/483.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/483