The is no info for frame 0, which is most important in this case.

I added some safety checks inside the function when trying to access new attributes added for 4.1, can you try and see the results?

Cheers,
Daniel

On 07/12/13 05:11, Kelvin Chua wrote:
consistent, does not happen in 4.0.4
here is the bt full

#0  0x00007fbdbfb2e8da in t_next_contacts () from /usr/local/lib64/kamailio/modules/tm.so
No symbol table info available.
#1  0x000000000041e307 in do_action (h=0x7fff07e448c0, a=0x7fbdc1ad90f8, msg=0x7fbdc1b94b48) at action.c:1099
        ret = -5
        v = <optimized out>
        dst = {send_sock = 0x7fbd00000002, to = {s = {sa_family = 36488, 
              sa_data = "\271\301\275\177\000\000\320\062\262\301\275\177\000"}, sin = {sin_family = 36488, 
              sin_port = 49593, sin_addr = {s_addr = 32701}, sin_zero = "\320\062\262\301\275\177\000"}, sin6 = {
              sin6_family = 36488, sin6_port = 49593, sin6_flowinfo = 32701, sin6_addr = {__in6_u = {
                  __u6_addr8 = "\320\062\262\301\275\177\000\000\001\000\000\000\000\000\000", __u6_addr16 = {13008, 
                    49586, 32701, 0, 1, 0, 0, 0}, __u6_addr32 = {3249681104, 32701, 1, 0}}}, sin6_scope_id = 3250146120}}, 
          id = 32701, proto = 80 'P', send_flags = {f = 56 '8', blst_imask = 228 '\344'}}
        tmp = <optimized out>
        new_uri = <optimized out>
        end = <optimized out>
        crt = <optimized out>
        cmd = 0x7fbdc1aa2118
        len = <optimized out>
        user = <optimized out>
        uri = {user = {s = 0x0, len = 132396896}, passwd = {s = 0x320 <Address 0x320 out of bounds>, len = 0}, host = {
            s = 0x0, len = -1045595992}, port = {s = 0x7fff07e434a0 "", len = -1044821176}, params = {
            s = 0x7fff07e437f0 "\001", len = -1}, sip_params = {s = 0x7fbdc1b5e2d0 "\230\034\254\301\275\177", 
            len = 4918909}, headers = {s = 0x7fff00000000 <Address 0x7fff00000000 out of bounds>, len = -1040326971}, 
          port_no = 14320, proto = 2020, type = 32767, flags = 132397040, transport = {s = 0x7fff07e448c0 "\004", 
            len = 5188128}, ttl = {s = 0x0, len = 0}, user_param = {s = 0x64f0bc "", len = -1}, maddr = {
            s = 0x7fbdc1b5e2d0 "\230\034\254\301\275\177", len = 4313740}, method = {s = 0x0, len = 0}, lr = {s = 0x0, 
            len = 1407459328}, r2 = {s = 0x0, len = 0}, gr = {
            s = 0xfffffffffffffffb <Address 0xfffffffffffffffb out of bounds>, len = 0}, transport_val = {
            s = 0x343207e43c20 <Address 0x343207e43c20 out of bounds>, len = -1045594184}, ttl_val = {
           s = 0x7fbdc1b94b48 "\005", len = 132401344}, user_param_val = {s = 0x7fff07e43800 "\274\360d", len = 5211172}, 
          maddr_val = {s = 0x7fbdc22193c0 "", len = 132401344}, method_val = {s = 0x0, len = 132401344}, lr_val = {
            s = 0x7fff07e43c90 "\001", len = -1}, r2_val = {s = 0x7fbdc1b5e2d0 "\230\034\254\301\275\177", len = 4350884}, 
          gr_val = {s = 0x0, len = 1}}
        next_hop = {user = {s = 0x7fff07e448c0 "\004", len = 2147369492}, passwd = {s = 0x7fff07e448c0 "\004", 
            len = 132398224}, host = {s = 0xffffffff <Address 0xffffffff out of bounds>, len = -1045044528}, port = {
            s = 0x39d5963016be4214 <Address 0x39d5963016be4214 out of bounds>, len = -793624044}, params = {
            s = 0x7fbd00000000 <Address 0x7fbd00000000 out of bounds>, len = 132396656}, sip_params = {
            s = 0x7fbdc221b720 "", len = 26661728}, headers = {s = 0x52 <Address 0x52 out of bounds>, len = 26661712}, 
          port_no = 96, proto = 0, type = ERROR_URI_T, flags = 3253622526, transport = {s = 0x7fbdc221b720 "", len = 0}, 
          ttl = {s = 0x7fff07e43700 "\210\216\271\301\275\177", len = 1}, user_param = {s = 0x0, len = 0}, maddr = {
            s = 0x0, len = 1}, method = {s = 0x0, len = 26661728}, lr = {s = 0x15 <Address 0x15 out of bounds>, 
            len = 132398224}, r2 = {s = 0x7fff07e448c0 "\004", len = 5188312}, gr = {
            s = 0x7fff07e43768 "\200\r\260\301\275\177", len = -1040900113}, transport_val = {s = 0x7fff07e437e0 "䪕", 
            len = -1101485628}, ttl_val = {s = 0x500000018 <Address 0x500000018 out of bounds>, len = 23}, 
          user_param_val = {s = 0x710000000b <Address 0x710000000b out of bounds>, len = 5}, maddr_val = {
            s = 0x7fbd00000000 <Address 0x7fbd00000000 out of bounds>, len = -18000}, method_val = {s = 0x1938a90 "EST", 
            len = 1407459328}, lr_val = {s = 0x7fff07e43730 "\373\377\377\377", len = -1045592360}, r2_val = {
            s = 0x7fbdc1b94b48 "\005", len = 132401344}, gr_val = {s = 0x7fff07e43c90 "\001", len = 0}}
        u = <optimized out>
        port = <optimized out>
        dst_host = <optimized out>
        i = <optimized out>
        flags = <optimized out>
        avp = <optimized out>
        st = {flags = 3249922768, id = 32701, name = {n = 5211654, s = {
              s = 0x4f8606 "\205\300A\211\306\017\210\067\374\377\377\213\033\213\214$\020\001", len = 26661728}, 
            re = 0x4f8606}, avp = 0x0}
        sct = <optimized out>
        sjt = <optimized out>
        rve = <optimized out>
        mct = <optimized out>
        rv = <optimized out>
        rv1 = <optimized out>
        c1 = {cache_type = 3249681104, val_type = 32701, c = {avp_val = {n = -1045426816, s = {s = 0x7fbdc1b00d80 "\001", 
                len = -1044821176}, re = 0x7fbdc1b00d80}, pval = {rs = {s = 0x7fbdc1b00d80 "\001", len = -1044821176}, 
              ri = -1088190650, flags = 32701}}, 
          i2s = "\250\003\000\000\000\000\000\000}\016K\000\000\000\000\000\000\000\000\000\000"}
        s = {s = 0x7fbdc1b98e88 "\001", len = -1046081520}
        srevp = {0x3, 0x7fbdc018c650}
        mod_f_params = {{type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, 
              attr = 0x0, select = 0x0}}, {type = NUMBER_ST, u = {number = 2, string = 0x2 <Address 0x2 out of bounds>, 
              str = {s = 0x2 <Address 0x2 out of bounds>, len = 0}, data = 0x2, attr = 0x2, select = 0x2}}, {
            type = RVE_FREE_FIXUP_ST, u = {number = 0, string = 0x0, str = {s = 0x0, len = 41}, data = 0x0, attr = 0x0, 
              select = 0x0}}, {type = RVE_FREE_FIXUP_ST, u = {number = 0, string = 0x0, str = {s = 0x0, len = 3}, 
              data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {s = 0x0, 
                len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, string = 0x0, str = {
                s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {number = 0, 
              string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}, {type = NOSUBTYPE, u = {
              number = 0, string = 0x0, str = {s = 0x0, len = 0}, data = 0x0, attr = 0x0, select = 0x0}}}
        __FUNCTION__ = "do_action"



Kelvin Chua


_______________________________________________
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

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda