[OpenSIPS-Users] opensips 1_6_X tls crash opensips

Dani Popa dani.popa at gmail.com
Wed May 18 13:55:44 CEST 2011


root at test:/opensips_1_6# opensips -V
version: opensips 1.6.4-2-tls (i386/linux)
flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, DISABLE_NAGLE, USE_MCAST, 
SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, 
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
svnrevision: unknown
@(#) $Id: main.c 7530 2010-12-13 19:07:53Z bogdan_iancu $
main.c compiled on 06:23:09 Apr 20 2011 with gcc 4.5.2


root at test:/opensips_1_6# gdb opensips /var/run/opensips/core
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/danip/opensips_1_6/opensips...done.
[New Thread 13625]
[New Thread 12825]
[New Thread 13629]
[New Thread 13627]
[New Thread 13631]
[New Thread 13628]
[New Thread 13632]
[New Thread 13653]
[New Thread 13655]
[New Thread 13656]
[New Thread 13658]
Core was generated by `/usr/local/sbin/opensips -P 
/var/run/opensips/opensips.pid -m 64 -u opensips -g'.
Program terminated with signal 11, Segmentation fault.
#0  0x08156f5e in tls_connect (c=0x2e323862, poll_events=<value 
optimized out>) at tls/tls_server.c:331
331                     LM_DBG("sending socket: %s:%d \n",
(gdb) bt
#0  0x08156f5e in tls_connect (c=0x2e323862, poll_events=<value 
optimized out>) at tls/tls_server.c:331
#1  0x081574e4 in ip_addr2a (c=0x2e323862, poll_events=<value optimized 
out>) at tls/../ip_addr.h:428
#2  tls_connect (c=0x2e323862, poll_events=<value optimized out>) at 
tls/tls_server.c:331
#3  0xb6fdceab in ?? ()
#4  0xb6f81598 in ?? ()
#5  0xb6f816c1 in ?? ()
#6  0xb6f89226 in ?? ()
#7  0xb6f79781 in ?? ()
#8  0xb6f73410 in ?? ()
#9  0xb6f7c392 in ?? ()
#10 0xb729a955 in ?? ()
#11 0xb75d1e7e in ?? ()

Dani




More information about the Users mailing list