On 21.01.2016 12:37, Igor Potjevlesch wrote:
And 2 coredumps readable:
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=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) {
I remember something related, solved and backported in commit [1].
Now that I'm looking at the segfault line I think node should be NULL
checked also after ```struct dtrie_node_t *node = root;```
Stefan
[1]
https://github.com/kamailio/kamailio/commit/b399bb34cebdb1002d27bb0cf554f2d2e683c40d
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users