Hello,
few questions: - what is the ssl lib version? - it is happening all the time you try? - what are the log messages printed in syslog before the crash? - can you enable core dumping per process, just to be sure this core is not caused by a kill or children processes?
Can you try with the default configuration file? Kamailio comes with tls support you just have to enable it -- in kamailio.cfg just add after the first line:
#!define WITH_TLS
It will use self signed certificates generated by kamailio at install time.
I am trying to isolate the situation and the cause of the issue. Few hours ago I used tls on ubuntu 12.04 and all went fine.
Cheers, Daniel
On 11/14/12 3:00 PM, Denis wrote:
Hi, I am using kamailio-3.3.2 on Ubuntu 11.04 x64 and when trying to connect via TLS from my Yealink phone kamailio crashes with the following backtrace:
Loaded symbols for /lib/x86_64-linux-gnu/libnss_files.so.2 Core was generated by `/opt/kamailio/sbin/kamailio'. Program terminated with signal 11, Segmentation fault. #0 handle_ser_child (p=0x7fcbaea2eba0, fd_i=-1) at tcp_main.c:3575 3575 if (unlikely(p->unix_sock<=0)){ (gdb) bt #0 handle_ser_child (p=0x7fcbaea2eba0, fd_i=-1) at tcp_main.c:3575 #1 0x000000000051e5bc in send2child (tcpconn=0x7f8c001597d8, ev=<value optimized out>, fd_i=-1) at tcp_main.c:3975 #2 handle_tcpconn_ev (tcpconn=0x7f8c001597d8, ev=<value optimized out>, fd_i=-1) at tcp_main.c:4310 #3 0x0000000000527dbc in io_wait_loop_epoll () at io_wait.h:1092 #4 tcp_main_loop () at tcp_main.c:4656 #5 0x00000000004726f5 in main_loop () at main.c:1727 #6 0x000000000047402e in main (argc=<value optimized out>, argv=<value optimized out>) at main.c:2546 (gdb)
The manual I am following is http://www.kamailio.org/dokuwiki/doku.php/tls:create-certificates
Thanks, Den
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