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

Daniel-Constantin Mierla miconda at gmail.com
Thu Jun 28 08:39:16 CEST 2012


Hello,

if you can reproduce it, try to get the core dump, some steps that will 
help getting one easier:

- run as root
- before starting do: 'ulimit -c unlimited'

Retest in order to get the issue again and if you get the corefile, then 
send the backtrace:

gdb /path/to/kamailio /path/to/corefile
bt full

Cheers,
Daniel

On 6/27/12 4:01 PM, Dan-Cristian Bogos wrote:
> 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
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - http://asipto.com/u/katu
Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 - http://asipto.com/u/kpw

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120628/cacac994/attachment.htm>


More information about the sr-users mailing list