[sr-dev] [tracker] Task opened: kamailio crashed time to time in the different places

sip-router bugtracker at sip-router.org
Mon Feb 10 15:57:09 CET 2014


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Sergey (lagutas) 

Attached to Project - sip-router
Summary - kamailio crashed time to time in the different places
Task Type - Bug Report
Category - Core
Status - Unconfirmed
Assigned To - 
Operating System - Linux
Severity - Critical
Priority - Normal
Reported Version - 4.0
Due in Version - Undecided
Due Date - Undecided
Details - <code>
#0  auth_check (_m=0x7fbfdc7be4e0, _realm=<value optimized out>, _table=0x7fbfdc7d1240 "\300\305xܿ\177",
    _flags=0x7fbfdc7d12a0 "\300\357xܿ\177") at authorize.c:487
#1  0x000000000041777d in do_action (h=<value optimized out>, a=0x7fbfdc790cd0, msg=<value optimized out>) at action.c:1092
#2  0x000000000041f056 in run_actions (h=0x7fff0dc6ea40, a=<value optimized out>, msg=<value optimized out>) at action.c:1573
#3  0x000000000041f744 in run_actions_safe (h=0x7fff0dc70340, a=0x40, msg=0x80) at action.c:1637
#4  0x00000000004bf03d in rval_get_int (h=0x7fff0dc70340, msg=0x7fbfdc7dfc30, i=0x7fff0dc6ee3c, rv=0x40, cache=0x4) at rvalue.c:920
#5  0x00000000004c37e4 in rval_expr_eval_int (h=0x7fff0dc70340, msg=0x7fbfdc7be4e0, res=0x7fff0dc6ee3c, rve=0x7fbfdc791990)
    at rvalue.c:1914
#6  0x00000000004c38a9 in rval_expr_eval_int (h=0x7fff0dc70340, msg=0x7fbfdc7be4e0, res=0x7fff0dc6f2a8, rve=0x7fbfdc7912b0)
    at rvalue.c:1922
#7  0x0000000000417f42 in do_action (h=<value optimized out>, a=0x7fbfdc792a50, msg=<value optimized out>) at action.c:1050
#8  0x000000000041f056 in run_actions (h=0x7fff0dc70340, a=<value optimized out>, msg=<value optimized out>) at action.c:1573
#9  0x0000000000417f9b in do_action (h=<value optimized out>, a=0x7fbfdc797ac0, msg=<value optimized out>) at action.c:1065
#10 0x000000000041f056 in run_actions (h=0x7fff0dc70340, a=<value optimized out>, msg=<value optimized out>) at action.c:1573
#11 0x0000000000417f9b in do_action (h=<value optimized out>, a=0x7fbfdc797bc0, msg=<value optimized out>) at action.c:1065
#12 0x000000000041f056 in run_actions (h=0x7fff0dc70340, a=<value optimized out>, msg=<value optimized out>) at action.c:1573
#13 0x0000000000418108 in do_action (h=<value optimized out>, a=0x7fbfdc7119d0, msg=<value optimized out>) at action.c:690
#14 0x000000000041f056 in run_actions (h=0x7fff0dc70340, a=<value optimized out>, msg=<value optimized out>) at action.c:1573
#15 0x000000000041f6d0 in run_top_route (a=0x7fbfdc70c9f0, msg=0x7fbfdc7be4e0, c=<value optimized out>) at action.c:1658
#16 0x00000000004a0296 in receive_msg (
    buf=0x8d4140 "REGISTER sip:sip.zadarma.com SIP/2.0\r\nVia: SIP/2.0/UDP 213.190.215.57:49153;branch=z9hG4bKqHGvdzYD7eXTadvH;rport\r\nContact: <sip:50055 at 213.190.215.57:49153>;rinstance=F3C3D830;expires=600\r\nMax-Forwards"..., len=<value optimized out>,
    rcv_info=0x7fff0dc705e0) at receive.c:209
#17 0x00000000005321be in udp_rcv_loop () at udp_server.c:557
#18 0x0000000000468c8e in main_loop () at main.c:1638
#19 0x000000000046bba2 in main (argc=<value optimized out>, argv=0x0) at main.c:2566‏
</code>


segfault moment
<code>
auth_check (_m=0x7f0bb1458a40, _realm=<value optimized out>, _table=0x7f0bb147cc50 "\300\365B\261\v\177",
    _flags=0x7f0bb147ccb0 "\300\037C\261\v\177") at authorize.c:487
        srealm = {s = 0x7f0bb1432020 "sip.zadarma.com", len = 15}
        stable = {s = 0x7f0bb142f5c0 "sip_buddies", len = 11}
        iflags = <value optimized out>
        ret = <value optimized out>
        hdr = 0x7f0bb1471d50
        uri = <value optimized out>
        turi = <value optimized out>
        furi = <value optimized out>
        __FUNCTION__ = "auth_check"
</code>


These crashes happen in the auth, sometimes in the time to receive OPTIONS messages.
Version of my kamailio installation 4.0.3
Server:: kamailio (4.0.3 (x86_64/linux))
Build:: mi_core.c compiled on 17:07:17 Aug 19 2013 with gcc 4.4.5
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, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES

UsrLoc Stats:
usrloc:location-contacts = 3166
usrloc:location-expires = 1558
usrloc:location-users = 3042
usrloc:registered_users = 3042

Transaction Statistics:
tmx:UAS_transactions = 14993
tmx:UAC_transactions = 517
tmx:inuse_transactions = 32

Stateless Server Statistics:
sl:sent_replies = 291243
sl:sent_err_replies = 0
sl:received_ACKs = 3807

Operation system debian squeeze.

 

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=393

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list