[SR-Users] Segfault running 3.3.0 with registrar/p_usrloc/path

Dan-Cristian Bogos danb.lists at gmail.com
Wed Jun 27 16:01:55 CEST 2012


Hey Guys,

After upgrading from 3.2.x to 3.3.0 (out of debian packages and
fixing db side) Kamailio is crashing on processing REGISTER. This
crash only happens for updates (or if a stale contact for the same AOR
is already present), not initial REGISTERs.

Attached you can find the log taken with debug=6 as well as the
REGISTER package producing the segfault.

Kamailio version:
"""
root at PrxyDev:/etc/slocator# kamailio -V
version: kamailio 3.3.0 (i386/linux)
flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS,
USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM,
SHM_MMAP, PKG_MALLOC, F_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT,
USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST,
HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 4MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: unknown
compiled on 22:17:07 Jun 18 2012 with gcc 4.4.5
"""

Syslog msg in debug=2:
"""
Jun 27 15:46:22 PrxyDev kernel: [11330.002854] kamailio[6959]:
segfault at 0 ip (null) sp bf8d531c error 4 in
kamailio[8048000+1ea000]
Jun 27 15:46:22 PrxyDev /usr/sbin/kamailio[6970]: : <core>
[pass_fd.c:293]: ERROR: receive_fd: EOF on 10
Jun 27 15:46:22 PrxyDev /usr/sbin/kamailio[6957]: ALERT: <core>
[main.c:785]: child process 6959 exited by a signal 11
Jun 27 15:46:22 PrxyDev /usr/sbin/kamailio[6957]: ALERT: <core>
[main.c:788]: core was not generated
"""


Thanks in advance for any tip!
DanB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KamailioSegfault.txt.zip
Type: application/zip
Size: 4725 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120627/11271384/attachment.zip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: REGISTER.pkt.txt.zip
Type: application/zip
Size: 576 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120627/11271384/attachment-0001.zip>


More information about the sr-users mailing list