I'm getting a different core now, ( no Core if i disable TLS in kamailio or mongo-c-driver)
Core was generated by `/usr/local/kamailio_proxy/sbin/kamailio -f /usr/local/kamailio_proxy/etc/kamail'. Program terminated with signal 11, Segmentation fault. #0 0x00007f142bd7897e in db_mongodb_query (_h=0x7f1430510100, _k=0x0, _op=0x0, _v=0x0, _c=0x7ffcb93494b0, _n=0, _nc=21, _o=0x0, _r=0x7ffcb93494a8) at mongodb_dbase.c:846 846 if(CON_TABLE(_h)->s[CON_TABLE(_h)->len]!='\0') { Missing separate debuginfos, use: debuginfo-install cyrus-sasl-lib-2.1.23-15.el6_6.2.x86_64 cyrus-sasl-plain-2.1.23-15.el6_6.2.x86_64 db4-4.7.25-20.el6_7.x86_64 glibc-2.12-1.166.el6_7.3.x86_64 keyutils-libs-1.4-5.el6.x86_64 krb5-libs-1.10.3-42.el6.x86_64 libcom_err-1.41.12-22.el6.x86_64 libcurl-7.19.7-46.el6.x86_64 libidn-1.18-2.el6.x86_64 libselinux-2.0.94-5.8.el6.x86_64 libssh2-1.4.2-1.el6_6.1.x86_64 libunistring-0.9.3-5.el6.x86_64 libxml2-2.7.6-20.el6.x86_64 mysql-libs-5.1.73-5.el6_6.x86_64 nspr-4.10.8-1.el6_6.x86_64 nss-3.18.0-5.3.el6_6.x86_64 nss-softokn-freebl-3.14.3-22.el6_6.x86_64 nss-util-3.18.0-1.el6_6.x86_64 openldap-2.4.40-5.el6.x86_64 openssl-1.0.1e-42.el6.x86_64 zlib-1.2.3-29.el6.x86_64 (gdb) bt #0 0x00007f142bd7897e in db_mongodb_query (_h=0x7f1430510100, _k=0x0, _op=0x0, _v=0x0, _c=0x7ffcb93494b0, _n=0, _nc=21, _o=0x0, _r=0x7ffcb93494a8) at mongodb_dbase.c:846 #1 0x00007f1428dce63c in preload_udomain (_c=0x7f1430510100, _d=0x7f142bfd2f20) at udomain.c:432 #2 0x00007f1428ddff87 in child_init (_rank=1) at ul_mod.c:437 #3 0x00000000005940ed in init_mod_child (m=0x7f143045a5f8, rank=1) at sr_module.c:898 #4 0x0000000000593e28 in init_mod_child (m=0x7f143045a8e0, rank=1) at sr_module.c:895 #5 0x0000000000593e28 in init_mod_child (m=0x7f143045b038, rank=1) at sr_module.c:895 #6 0x0000000000593e28 in init_mod_child (m=0x7f143045bd30, rank=1) at sr_module.c:895 #7 0x0000000000593e28 in init_mod_child (m=0x7f143045c670, rank=1) at sr_module.c:895 #8 0x0000000000593e28 in init_mod_child (m=0x7f143045cba8, rank=1) at sr_module.c:895 #9 0x0000000000593e28 in init_mod_child (m=0x7f143045cf38, rank=1) at sr_module.c:895 #10 0x0000000000593e28 in init_mod_child (m=0x7f143045d428, rank=1) at sr_module.c:895 #11 0x0000000000593e28 in init_mod_child (m=0x7f143045e9b8, rank=1) at sr_module.c:895 #12 0x0000000000593e28 in init_mod_child (m=0x7f143045eed0, rank=1) at sr_module.c:895 #13 0x0000000000593e28 in init_mod_child (m=0x7f143045f280, rank=1) at sr_module.c:895 #14 0x0000000000593e28 in init_mod_child (m=0x7f143045f630, rank=1) at sr_module.c:895 #15 0x0000000000593e28 in init_mod_child (m=0x7f143045f9c0, rank=1) at sr_module.c:895 #16 0x0000000000593e28 in init_mod_child (m=0x7f1430460030, rank=1) at sr_module.c:895 #17 0x0000000000593e28 in init_mod_child (m=0x7f1430460a20, rank=1) at sr_module.c:895 #18 0x00000000005943f7 in init_child (rank=1) at sr_module.c:924 #19 0x00000000004ebdf5 in fork_tcp_process (child_id=1, desc=0x7ffcb934a330 "tcp receiver (generic)", r=0, reader_fd_1=0x7ffcb934a3b0) at pt.c:465 #20 0x00000000005e20bf in tcp_init_children () at tcp_main.c:4777 #21 0x00000000004a8ba1 in main_loop () at main.c:1658 #22 0x00000000004ae38e in main (argc=15, argv=0x7ffcb934a758) at main.c:2533 (gdb) info locals i = 4 mgcon = 0x7f1430510288 client = 0x2a12500 seldoc = 0x0 cname = 0x0 b1 = 0 '\000' jstr = 0x7ffcb9349500 "\320|\377(\024\177" __FUNCTION__ = "db_mongodb_query" (gdb) list 841 } 842 843 if(_r) *_r = NULL; 844 845 b1 = '\0'; 846 if(CON_TABLE(_h)->s[CON_TABLE(_h)->len]!='\0') { 847 b1 = CON_TABLE(_h)->s[CON_TABLE(_h)->len]; 848 CON_TABLE(_h)->s[CON_TABLE(_h)->len] = '\0'; 849 } 850 cname = CON_TABLE(_h)->s; (gdb)
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/360#issuecomment-153386433