Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opensips 1.9 Rev4448 Crash in Dialog Module #84

Closed
46labs opened this issue Sep 25, 2013 · 5 comments
Closed

Opensips 1.9 Rev4448 Crash in Dialog Module #84

46labs opened this issue Sep 25, 2013 · 5 comments
Labels
Milestone

Comments

@46labs
Copy link

46labs commented Sep 25, 2013

(gdb) bt full
#0 is_dlg_in_profile (msg=, profile=0x7fa1c0589c70, value=0x7fff7d815880) at dlg_profile.c:825

    dlg = <value optimized out>
    linker = 0x7fa10000000d
    d_entry = 0x7fa1c05a4e68

#1 0x00007fa2034d5aa0 in w_is_in_profile (msg=0x7fa2049e12d0, profile=0x7fa1c0589c70 "0\235X\300\241\177", value=) at dialog.c:1075

    pve = <value optimized out>
    val_s = {s = 0x78c200 "<null>", len = 6}
    __FUNCTION__ = "w_is_in_profile"

#2 0x00000000004119d6 in do_action (a=0x7fa204886648, msg=0x7fa2049e12d0) at action.c:1715

    val_s = {s = 0x1 <Address 0x1 out of bounds>, len = 2105630336}
    aux_counter = <value optimized out>
    i = <value optimized out>
    avp_val = {n = 8025704, s = {
        s = 0x7a7668 "200 OK\r\nVia: SIP/2.0/UDP 69.16.192.214:5060;branch=z9hG4bK163b.cd43c5b5.0\r\nVia: SIP/2.0/UDP 216.109.69.102;received=216.109.69.102;rport=5060;branch=z9hG4bK3cmyeD9UF72Fm\r\nFrom: <sip:+15403512874@69.16"..., len = 1}}
    j = <value optimized out>
    key_number = <value optimized out>
    cdb_res = <value optimized out>
    adv_addr = {s = 0x1 <Address 0x1 out of bounds>, len = 2105632256}
    increment = <value optimized out>
    decrement = <value optimized out>
    avp_type = <value optimized out>
    aux = {s = 0x782860 "(d0\300\241\177", len = -2056481229}
    cdb_reply = <value optimized out>
    val_number = <value optimized out>
    it = <value optimized out>
    avp_name = {n = 8482496, s = {s = 0x816ec0 "\260o\201", len = 2105630336}}
    ret = -5
    v = <value optimized out>
    sec = <value optimized out>
    usec = <value optimized out>
    to = <value optimized out>
    p = <value optimized out>
    tmp = <value optimized out>
    new_uri = <value optimized out>
    end = <value optimized out>

---Type to continue, or q to quit---
crt =
len =
i =
user = 0
expires = 0
vals = {{s = 0x816ec0 "\260o\201", len = 0}, {s = 0x0, len = 0}, {s = 0x0, len = 0}, {s = 0x0, len = 0}, {s = 0x0, len = 0}}
result = {
s = 0x7a7668 "200 OK\r\nVia: SIP/2.0/UDP 69.16.192.214:5060;branch=z9hG4bK163b.cd43c5b5.0\r\nVia: SIP/2.0/UDP 216.109.69.102;received=216.109.69.102;rport=5060;branch=z9hG4bK3cmyeD9UF72Fm\r\nFrom: <sip:+15403512874@69.16"..., len = 77468368}
uri = {user = {s = 0x1 <Address 0x1 out of bounds>, len = 2}, passwd = {s = 0x1 <Address 0x1 out of bounds>, len = 2105629792}, host = {
s = 0x7fff7d815e60 "0c\201}\377\177", len = 0}, port = {s = 0x4 <Address 0x4 out of bounds>, len = -2053575040}, params = {s = 0x0, len = 0}, headers = {s = 0x0,
len = 0}, port_no = 28352, proto = 129, type = ERROR_URI_T, transport = {s = 0x0, len = 2105629872}, ttl = {s = 0x31856c7897 "\213D$8H\201\304\070\002", len = 0},
user_param = {s = 0x300000000 <Address 0x300000000 out of bounds>, len = 3}, maddr = {s = 0x300000003 <Address 0x300000003 out of bounds>, len = 3}, method = {
s = 0x600000003 <Address 0x600000003 out of bounds>, len = 0}, lr = {s = 0x7fa200000000 "", len = 2105630136}, r2 = {s = 0x0, len = 1}, gr = {
s = 0x17d815c38 <Address 0x17d815c38 out of bounds>, len = 8482496}, transport_val = {s = 0x7fa204885f28 "\300n\201", len = 76071008}, ttl_val = {s = 0x816db0 "",
len = 3}, user_param_val = {s = 0x7fff7d815d88 "\177\236H", len = 1380054945}, maddr_val = {
s = 0x7a7668 "200 OK\r\nVia: SIP/2.0/UDP 69.16.192.214:5060;branch=z9hG4bK163b.cd43c5b5.0\r\nVia: SIP/2.0/UDP 216.109.69.102;received=216.109.69.102;rport=5060;branch=z9hG4bK3cmyeD9UF72Fm\r\nFrom: <sip:+15403512874@69.16"..., len = 0}, method_val = {s = 0x200000001 <Address 0x200000001 out of bounds>, len = 1}, lr_val = {
s = 0x7fff7d815d70 "|\227\003\242\177", len = 1}, r2_val = {s = 0x2 <Address 0x2 out of bounds>, len = 0}, gr_val = {s = 0x7fff7d815da0 "\001", len = 1380054945}, u_name = {{s = 0xec1d4 <Address 0xec1d4 out of bounds>, len = 77480894}, {s = 0x4 <Address 0x4 out of bounds>, len = 77480899}, {s = 0xa <Address 0xa out of bounds>, len = 1380054945}, {s = 0xec518 <Address 0xec518 out of bounds>, len = 8025704}, {s = 0x8da1a0 "\260", <incomplete sequence \360\213>, len = 0}}, u_val = {{ s = 0x0, len = 0}, {s = 0x300000000 <Address 0x300000000 out of bounds>, len = 3}, {s = 0x300000003 <Address 0x300000003 out of bounds>, len = 3}, { s = 0x600000003 <Address 0x600000003 out of bounds>, len = 0}, {s = 0x816f68 "", len = 16777217}}, u_params_no = 1} next_hop = {user = {s = 0x5241f7a1 <Address 0x5241f7a1 out of bounds>, len = 968027}, passwd = {s = 0x2d048c5be0 <Address 0x2d048c5be0 out of bounds>, len = 5017639}, host = {s = 0x7fff7d815cd8 "", len = 0}, port = {s = 0x400 <Address 0x400 out of bounds>, len = 27}, params = {s = 0x1 <Address 0x1 out of bounds>, len = 4995577}, headers = {s = 0x0, len = 24}, port_no = 2, proto = 0, type = ERROR_URI_T, transport = {s = 0x2 <Address 0x2 out of bounds>, len = 0}, ttl = {s = 0x7fa204858030 "", len = 2105629216}, user_param = {s = 0x7fa203977c60 "\376~d", len = 53}, maddr = {s = 0x35 <Address 0x35 out of bounds>, len = 2105634620}, method = { s = 0x7fa2048584e8 "\002", len = 60259424}, lr = {s = 0x0, len = 3}, r2 = {s = 0x2 <Address 0x2 out of bounds>, len = 2105634620}, gr = { s = 0x48b80d "D\213-T\256\060", len = 75859256}, transport_val = {s = 0x7fa203977c60 "\376~d", len = 0}, ttl_val = {s = 0x2 <Address 0x2 out of bounds>, len = 3}, user_param_val = {s = 0x48b7a4 "\203", <incomplete sequence \370>, len = 75859336}, maddr_val = {s = 0x7fa203977c60 "\376~d", len = 0}, method_val = { s = 0x1 <Address 0x1 out of bounds>, len = 4}, lr_val = {s = 0x48b7d3 "D\213-\216\256\060", len = 75860368}, r2_val = {s = 0x7fa203977c60 "\376~d", len = 0}, gr_val = {s = 0x318569c95a "=\001\360\377\377s\005H\203\304\b\303H\213\r3\006/", len = 60259424}, u_name = {{s = 0x40faf9 "L\213\244$\350\004", len = 0}, { s = 0x3185683b2a "\353\255\017\037@", len = 76073664}, {s = 0x7fa20488cac0 "\006", len = 1}, {s = 0x331 <Address 0x331 out of bounds>, len = 0}, { s = 0x40fbc7 "Mc\355I\301\345\004E\211\245\210\203|", len = 8491104}}, u_val = {{s = 0x7fa2049cdc80 "\220\201", len = 64}, {s = 0x818f50 "", len = 3}, {
s = 0x7fff7d815c48 "p]\201}\377\177", len = 0}, {s = 0x7cac92 "150", len = 0}, {
s = 0x31856c1cb4 "\351\023\373\377\377D\215h\001\071\325D\017N\350A\215u\377D\211\362H\211߉L$\020\350z^\377\377A9\355\211CL\213L$\020u\020\071\351~\fLc\365G\213\00---Type to continue, or q to quit---
4\267A9\350tg\211\350\306Cd", len = 1}}, u_params_no = 23600}
u =
cmatch =
aitem =
adefault =
spec =
model =
val = {rs = {s = 0x7fa203977c60 "\376~d", len = 76075264}, ri = 2105634620, flags = 32767}
pve =
name_s = {s = 0x0, len = 0}
start = {tv_sec = 1380054945, tv_usec = 968813}
end_time = 77468368
route_params_bak =
route_params_number_bak =
FUNCTION = "do_action"
#3 0x000000000040f690 in run_action_list (a=, msg=0x7fa2049e12d0) at action.c:171

    ret = <value optimized out>
    t = 0x7fa204886648

#4 0x0000000000489e7f in eval_elem (e=0x7fa204886720, msg=0x7fa2049e12d0, val=0x0) at route.c:1499

    uri = {user = {s = 0x200000000 <Address 0x200000000 out of bounds>, len = 2105631560}, passwd = {s = 0x7fff7d816064 "\377\177", len = 0}, host = {
        s = 0x7fa200f63cab "%ld", len = -2055903698}, port = {s = 0x0, len = 968408}, params = {s = 0x0, len = 2105630832}, headers = {
        s = 0x7fff7d816070 "`|\227\003\242\177", len = 4613831}, port_no = 12, proto = 0, type = ERROR_URI_T, transport = {s = 0x7fa2049cdba0 "\026\262\210\004\242\177", 
        len = 1380054945}, ttl = {s = 0xec516 <Address 0xec516 out of bounds>, len = -973221328}, user_param = {s = 0x7fa20488c4e8 "5", len = 1}, maddr = {
        s = 0x7fa203977c60 "\376~d", len = 76071680}, method = {s = 0x35 <Address 0x35 out of bounds>, len = 1380054945}, lr = {
        s = 0x7fff7d816478 "\253<", <incomplete sequence \366>, len = 5}, r2 = {s = 0xffffffffffffffff <Address 0xffffffffffffffff out of bounds>, len = 0}, gr = {
        s = 0x7fff7d8164e0 "", len = 2105631952}, transport_val = {s = 0x7fff7d816030 "0", len = -1}, ttl_val = {s = 0x7fff7d816030 "0", len = -1}, user_param_val = {
        s = 0x3185656cba "\351\224\344\377\377I\211\375\351\071\372\377\377H\213\005\322b3", len = 805306416}, maddr_val = {s = 0x2 <Address 0x2 out of bounds>, 
        len = 60259424}, method_val = {s = 0x7fff7d816078 "", len = 2105634620}, lr_val = {s = 0x40f690 "\211Ņ\300u\a\203\r\313_7", len = 2105634620}, r2_val = {
        s = 0x7fa20488d100 "\002", len = 60259424}, gr_val = {s = 0x0, len = 2}, u_name = {{s = 0x7fa20488d3e8 "\006", len = 1}, {s = 0x2 <Address 0x2 out of bounds>, 
          len = 27487791}, {s = 0x1d0 <Address 0x1d0 out of bounds>, len = -7}, {s = 0x1 <Address 0x1 out of bounds>, len = 4}, {
          s = 0x7fff7d8165b0 "\001\200\255", <incomplete sequence \373>, len = 2105632160}}, u_val = {{s = 0x7fff7d816100 "0.004400", len = -1}, {
          s = 0x8 <Address 0x8 out of bounds>, len = 2105630976}, {s = 0x3185656cba "\351\224\344\377\377I\211\375\351\071\372\377\377H\213\005\322b3", len = 808463920}, {
          s = 0x318598ad00 "", len = 0}, {s = 0x7fa20495e7a0 "\002", len = 0}}, u_params_no = 0}
    ret = -5
    ival = <value optimized out>
    lval = {rs = {s = 0x7fff7d81633b "", len = 0}, ri = 2105631745, flags = 808532017}

---Type to continue, or q to quit---
rval = {rs = {s = 0x65 <Address 0x65 out of bounds>, len = 4995577}, ri = -2053581440, flags = 49}
p =
i =
n =
FUNCTION = "eval_elem"
#5 0x000000000048b80d in eval_expr (e=0x7fa204886720, msg=0x7fa2049e12d0, val=0x0) at route.c:1844

    rec_lev = 3
    ret = <value optimized out>
    __FUNCTION__ = "eval_expr"

#6 0x000000000048b7a4 in eval_expr (e=0x7fa204886770, msg=0x7fa2049e12d0, val=0x0) at route.c:1860

    rec_lev = 3
    ret = <value optimized out>
    __FUNCTION__ = "eval_expr"

#7 0x000000000048b7d3 in eval_expr (e=0x7fa2048867c0, msg=0x7fa2049e12d0, val=0x0) at route.c:1865

    rec_lev = 3
    ret = <value optimized out>
    __FUNCTION__ = "eval_expr"

#8 0x0000000000411b1c in do_action (a=0x7fa204886ab0, msg=0x7fa2049e12d0) at action.c:993

    val_s = {s = 0x96a3e0 "", len = 76047168}
    aux_counter = <value optimized out>
    i = <value optimized out>
    avp_val = {n = 2105632760, s = {s = 0x7fff7d8167f8 "@c\210\004\242\177", len = 9320960}}
    j = <value optimized out>
    key_number = <value optimized out>
    cdb_res = <value optimized out>
    adv_addr = {
      s = 0x7fa200f63ec8 "\230\324\377\377\b\325\377\377\350\325\377\377(\325\377\377(\326\377\377h\331\377\377\060\332\377\377\350\332\377\377X\333\377\377h\334\377\377\360\334\377\377\230\335\377\377\260\323\377\377p\336\377\377\210\330\377\377\310\330\377\377\030\331\377\377\330\326\377\377\340\327\377\377\240\326\377\377(\330\377\377H\324\377\377z\343\377\377\301\324\377\377\301\324\377\377\301\324\377\377\301\324\377\377z\343\377\377\301\324\377\377\301\324\377\377\301\324\377\377\301\324\377\377\301\324\377\377V\343\377\377\301\324\377\377\301\324\377\377V\343\377\377V\343\377\377V\343\377\377V\343\377\377V\343\377\377V\343\377\377V\343\377\377V\343\377\377V\343\377\377V\343\377\377\301\324\377\377\301\324\377\377\301\324\377\377\301\324\377\377"..., len = 9798992}
    increment = <value optimized out>
    decrement = <value optimized out>
    avp_type = <value optimized out>
    aux = {s = 0x96a3e0 "", len = 0}
    cdb_reply = <value optimized out>

---Type to continue, or q to quit---
val_number =
it =
avp_name = {n = 2105632783, s = {s = 0x7fff7d81680f "", len = 9325728}}
ret = -5
v =
sec =
usec =
to =
p =
tmp =
new_uri =
end =
crt =
len =
i =
user = 0
expires = 0
vals = {{s = 0x16160 <Address 0x16160 out of bounds>, len = 9338624}, {s = 0x8 <Address 0x8 out of bounds>, len = -2053575040}, {
s = 0x7fa200f63ec8 "\230\324\377\377\b\325\377\377\350\325\377\377(\325\377\377(\326\377\377h\331\377\377\060\332\377\377\350\332\377\377X\333\377\377h\334\377\377\360\334\377\377\230\335\377\377\260\323\377\377p\336\377\377\210\330\377\377\310\330\377\377\030\331\377\377\330\326\377\377\340\327\377\377\240\326\377\377(\330\377\377H\324\377\377z\343\377\377\301\324\377\377\301\324\377\377\301\324\377\377\301\324\377\377z\343\377\377\301\324\377\377\301\324\377\377\301\324\377\377\301\324\377\377\301\324\377\377V\343\377\377\301\324\377\377\301\324\377\377V\343\377\377V\343\377\377V\343\377\377V\343\377\377V\343\377\377V\343\377\377V\343\377\377V\343\377\377V\343\377\377V\343\377\377\301\324\377\377\301\324\377\377\301\324\377\377\301\324\377\377"..., len = 2105632783}, {s = 0x1 <Address 0x1 out of bounds>, len = -2056804079}, {s = 0x8e7f00 "", len = 8}}
result = {s = 0x782860 "(d0\300\241\177", len = 4765709}
uri = {user = {s = 0x7fa2049e12d0 "\001\177d", len = 76047168}, passwd = {s = 0x782860 "(d0\300\241\177", len = 4759167}, host = {s = 0x917141 "", len = 0}, port = {
s = 0x0, len = 0}, params = {s = 0x0, len = 0}, headers = {s = 0xffffffff <Address 0xffffffff out of bounds>, len = 4760670}, port_no = 0, proto = 0,
type = ERROR_URI_T, transport = {s = 0x318598c440 "", len = 0}, ttl = {s = 0x958550 "\240\f\220", len = 2105632464}, user_param = {s = 0x0, len = 2105632783},
maddr = {
s = 0x7fa204a01fa2 ", "pp_ok": 0, "effective_date": "2013-09-17 00:00:00", "min_duration": 6, "increment": 6, "surcharge": 0, "priority_position": 0, "effective_jurisdiction": "E" } ]", len = -1}, method = {s = 0x3185669945 "H\213\234$", <incomplete sequence \370>, len = -72515583}, lr = {s = 0x318598c740 "", len = 0},
r2 = {s = 0x7fff7d8166cf "", len = 2105632768}, gr = {s = 0x7fa2067ee6a8 "", len = 0}, transport_val = {s = 0x7fa2067ee6b0 "@\027t\205\061", len = 2105632512},
ttl_val = {s = 0x31856ff9ba "H\201\304", <incomplete sequence \320>, len = 48}, user_param_val = {s = 0x7fff7d8166e0 "", len = 2105632288}, maddr_val = {
s = 0x318598ee80 "", len = 1040}, method_val = {
s = 0x3185679385 "L\213T$\bL\213D$\020L\211\375D\211\371L\211\370H\301\355\006\301\351\004H\301\350\tH\211l$(\203\305\060\211L$X\211l$\H\211D$0L\211\372\203\300[L\211\371L\211\375H\301\352\fH\301\351\017H\301\355\022\211D$`I\215G H\211T$PH\211L$H\203\302n\203\301wH\211l$@l\215cX\203\305|\211T$l\211L$hA\271\001", len = 2105632504},
lr_val = {s = 0x1 <Address 0x1 out of bounds>, len = 16137472}, r2_val = {s = 0x0, len = 64}, gr_val = {s = 0x10 <Address 0x10 out of bounds>, len = 2}, u_name = {{
---Type to continue, or q to quit---
s = 0x430 <Address 0x430 out of bounds>, len = 0}, {s = 0x0, len = 0}, {s = 0x4000000041 <Address 0x4000000041 out of bounds>, len = 33}, {
s = 0x1 <Address 0x1 out of bounds>, len = 0}, {s = 0x80 <Address 0x80 out of bounds>, len = 4}}, u_val = {{s = 0x1 <Address 0x1 out of bounds>, len = 2}, {
s = 0x0, len = 0}, {s = 0x50 <Address 0x50 out of bounds>, len = 0}, {s = 0x0, len = 0}, {s = 0x3000000003 <Address 0x3000000003 out of bounds>, len = 91}},
u_params_no = 119}
next_hop = {user = {s = 0x0, len = 967087}, passwd = {s = 0x7fff7d8166d0 "", len = 0}, host = {s = 0x917165 "", len = 10}, port = {s = 0x318598d580 " \255\230\205\061",
len = 0}, params = {s = 0x7fff00000001 <Address 0x7fff00000001 out of bounds>, len = 0}, headers = {
s = 0x303638317d816501 <Address 0x303638317d816501 out of bounds>, len = 16137459}, port_no = 65535, proto = 65535, type = ERROR_URI_T, transport = {
s = 0xd <Address 0xd out of bounds>, len = 60259424}, ttl = {s = 0x7fff7d816398 "", len = 40}, user_param = {s = 0x7fff7d8166e0 "", len = 2105632288}, maddr = {
s = 0x45a583 "\213C\024\351\017\377\377\377I;\b}\256\353\244AWAVAUATUSH\203\354\bI\211\375H\211\365H\205\377\017\204\332\001", len = 2105632512}, method = {
s = 0x7fff7d816700 "[", len = 2105632336}, lr = {s = 0x0, len = 1380054945}, r2 = {s = 0xec86d <Address 0xec86d out of bounds>, len = 60259424}, gr = {
s = 0x7fa20488bd18 "\002", len = -2056895104}, transport_val = {s = 0x7fff7d8164e0 "", len = 0}, ttl_val = {s = 0x0, len = 2105632367}, user_param_val = {
s = 0x7fa204a01fa6 "p_ok": 0, "effective_date": "2013-09-17 00:00:00", "min_duration": 6, "increment": 6, "surcharge": 0, "priority_position": 0, "effective_jurisdiction": "E" } ]", len = -1}, maddr_val = {s = 0x3185669945 "H\213\234$", <incomplete sequence \370>, len = 24}, method_val = {s = 0x7fff7d8166e0 "",
len = 2105632288}, lr_val = {s = 0x7fff7d81652f "", len = 1380054945}, r2_val = {s = 0xec86b <Address 0xec86b out of bounds>, len = 0}, gr_val = {
s = 0x7fff7d816490 "\377\377\377\377", len = 2105632512}, u_name = {{s = 0x7fff7d816580 "\320f\201}\377\177", len = 1}, {s = 0x7fff7d816600 "0", len = 99}, {
s = 0x7fa200f63cab "%ld", len = 2105632512}, {s = 0x7fa204886268 "\017", len = -1}, {s = 0xd <Address 0xd out of bounds>, len = 77468368}}, u_val = {{
s = 0x7fff7d8164d8 "", len = 7874656}, {s = 0x40f690 "\211Ņ\300u\a\203\r\313_7", len = 2105632611}, {s = 0x7fff7d816700 "[", len = 2105632611}, {s = 0x0,
len = 0}, {s = 0x0, len = 77468368}}, u_params_no = 13}
u =
cmatch =
aitem =
adefault =
spec =
model =
val = {rs = {s = 0x8e4ca0 "\006", len = -2056777662}, ri = 1, flags = 0}
pve =
name_s = {s = 0x4 <Address 0x4 out of bounds>, len = 2}
start = {tv_sec = 1380054945, tv_usec = 968813}
end_time = 77468368
route_params_bak =
route_params_number_bak =
FUNCTION = "do_action"
#9 0x000000000040f690 in run_action_list (a=, msg=0x7fa2049e12d0) at action.c:171

    ret = <value optimized out>
    t = 0x7fa204886ab0

#10 0x0000000000414aa2 in do_action (a=0x7fa204888678, msg=0x7fa2049e12d0) at action.c:1010

---Type to continue, or q to quit---
val_s = {s = 0x0, len = 0}
aux_counter =
i =
avp_val = {n = -943900384, s = {s = 0x7fa1c7bd3920 "\223\002d", len = 77468368}}
j =
key_number =
cdb_res =
adv_addr = {s = 0x2 <Address 0x2 out of bounds>, len = 57956245}
increment =
decrement =
avp_type =
aux = {s = 0xc8 <Address 0xc8 out of bounds>, len = -910164920}
cdb_reply =
val_number =
it =
avp_name = {n = 2105634392, s = {s = 0x7fff7d816e58 "h\310\016", len = 8091264}}
ret = 1
v = 1
sec =
usec =
to =
p =
tmp =
new_uri =
end =
crt =
len =
i =
user = 0
expires = 0
vals = {{s = 0x29 <Address 0x29 out of bounds>, len = 5139833}, {s = 0x1 <Address 0x1 out of bounds>, len = 77468368}, {s = 0x7fa2049f3f30 "\001", len = 2}, {
s = 0x7fa1c884ab80 "", len = -943900384}, {s = 0x7fa2049e12d0 "\001\177d", len = 2}}
result = {s = 0x7fa1c0306428 "", len = -1070570456}
uri = {user = {s = 0x2c <Address 0x2c out of bounds>, len = 77468367}, passwd = {s = 0x3977c60 <Address 0x3977c60 out of bounds>, len = 77553096}, host = {
s = 0x5241f7a1 <Address 0x5241f7a1 out of bounds>, len = 5001829}, port = {s = 0x0, len = 2105633712}, params = {s = 0x7fa2049e12d0 "\001\177d", len = 77553096},
headers = {s = 0x0, len = 2105633752}, port_no = 8720, proto = 1177, type = 32674, transport = {s = 0x7fa1d03e8cf0 "\030\313_ơ\177", len = 52}, ttl = {
---Type to continue, or q to quit---
s = 0x51f0c9 "\211\350H\203\304\020[]A\A]A^ý\377\377\377\377H\213\005|7&", len = 1380054945}, user_param = {s = 0x0, len = 35964096}, maddr = {
s = 0x7fa203977c60 "\376~d", len = 51}, method = {s = 0x7fa20224af40 "@"\231\004\242\177", len = 51}, lr = {
s = 0x7fa20200f384 "\205\300\017\211\231\374\377\377L\213\r\025\217!", len = 2}, r2 = {s = 0x7fa200000000 "", len = -990327944}, gr = {
s = 0x7fff7d816d80 "0?\237\004\242\177", len = 1380054945}, transport_val = {s = 0xec6d8 <Address 0xec6d8 out of bounds>, len = 8208}, ttl_val = {
s = 0x7fa2022287d4 "\004", len = 60259424}, user_param_val = {s = 0x7fa20224c4c0 "\367\001", len = 77468368}, maddr_val = {s = 0x14 <Address 0x14 out of bounds>,
len = 77480864}, method_val = {s = 0x7fa202021a0f "\213\033\213\205\374\006", len = 35964096}, lr_val = {s = 0x7fa1c74533d8 "\002", len = -820407816}, r2_val = {
s = 0x7fa2049e12d0 "\001\177d", len = 45}, gr_val = {s = 0x7fff00000000 <Address 0x7fff00000000 out of bounds>, len = 1380054945}, u_name = {{
s = 0xec1af <Address 0xec1af out of bounds>, len = 43}, {s = 0x4c9027 "I\215D$\030H\203\304\020[]A\Ã\302\001\201\372\062\b", len = 0}, {
s = 0x7fa1c63f3468 "sip:19038187413@69.30.55.34:5060;user=phonenee sINVITE sip:2131#19038187413@69.16.192.214:5060 SIP/2.0\r\nVia: SIP/2.0/UDP 108.166.175.155;rport;branch=z9hG4bK78HjS8444Hevj\r\nMax-Forwards: 68\r\nFrom: <sip"..., len = 241}, {s = 0x20 <Address 0x20 out of bounds>, len = 77468368}, {
s = 0x4c9027 "I\215D$\030H\203\304\020[]A\Ã\302\001\201\372\062\b", len = -873009568}}, u_val = {{s = 0x7fa1d40fa740 "", len = 77530176}, {
s = 0x7fa2049e3318 "", len = 77480864}, {s = 0x4219a0 "H\211\303H\205\300ta1\300H\307\003", len = 77530176}, {
s = 0x7fa2049e43a0 "sip:2170#15079517436@69.16.192.214:5060hone00", len = 7874656}, {s = 0x7fa2049e3318 "", len = 41}}, u_params_no = 3071}
next_hop = {user = {s = 0x782860 "(d0\300\241\177", len = 26500}, passwd = {s = 0x5241f7a1 <Address 0x5241f7a1 out of bounds>, len = 943765}, host = {s = 0x0,
len = 77513168}, port = {s = 0x7fa2049e12d0 "\001\177d", len = 8026262}, params = {s = 0x5241f7a1 <Address 0x5241f7a1 out of bounds>, len = 966679}, headers = {
s = 0x7a7898 "ct: sip:199.242.56.237:5060;transport=udp\r\nc: application/sdp\r\nl: 311\r\n\r\nv=0\r\no=PVG 1380054101710 1380054101710 IN IP4 199.173.90.94\r\ns=-\r\np=+1 6135555555\r\nc=IN IP4 199.173.90.94\r\nt=0 0\r\na=sqn: 0\r\na"..., len = 5042322}, port_no = 2, proto = 50195, type = 194926405, transport = {
s = 0x7fa2048038f8 "\016", len = 1}, ttl = {s = 0x7fa2049e12d0 "\001\177d", len = 77468368}, user_param = {s = 0x7fff7d8169f8 "\001", len = -1005387774}, maddr = {
s = 0x40f690 "\211Ņ\300u\a\203\r\313_7", len = 75491728}, method = {s = 0x7fa2049e12d0 "\001\177d", len = 0}, lr = {s = 0x1 <Address 0x1 out of bounds>,
len = 1380054945}, r2 = {s = 0xebe22 <Address 0xebe22 out of bounds>, len = 75512488}, gr = {s = 0x7fa204803aa8 "\016", len = 0}, transport_val = {
s = 0xb <Address 0xb out of bounds>, len = 0}, ttl_val = {s = 0x40fbc7 "Mc\355I\301\345\004E\211\245\210\203|", len = 0}, user_param_val = {s = 0x0, len = 0},
maddr_val = {s = 0x7fa20496e578 "N", len = -5}, method_val = {s = 0x7fa20495e2e8 "M", len = 77553096}, lr_val = {s = 0x7fff7d816aa8 "(d0\300\241\177",
len = 77144592}, r2_val = {s = 0x40f690 "\211Ņ\300u\a\203\r\313_7", len = 2105633712}, gr_val = {s = 0x4666c7 "H\211\305H\205\300\017\204\224", len = 0}, u_name = {
{s = 0x7fa1c0306428 "", len = 77468368}, {s = 0x0, len = 0}, {s = 0x7fa20495e2e8 "M", len = 1}, {s = 0x7fa2049f5dc8 "", len = 77144592}, {
s = 0x416d99 "\213\005\311\350\066", len = 280}}, u_val = {{s = 0x7fa1c05ae1f8 "", len = -1070563232}, {s = 0x7fa200b4a410 "`\200\060\300\241\177", len = 0}, {
s = 0x0, len = 67109394}, {s = 0x7fa20094700f "L\211%\002\064 ", len = -1008910664}, {s = 0x1 <Address 0x1 out of bounds>, len = 280}}, u_params_no = 58742}
u =
cmatch =
aitem =
adefault =
spec =
model =
val = {rs = {s = 0x7fa1c884ab80 "", len = 2105634336}, ri = -930829440, flags = 32673}
pve =
name_s = {s = 0x0, len = 77474408}
start = {tv_sec = 1380054945, tv_usec = 968808}
---Type to continue, or q to quit---
end_time = 77468368
route_params_bak =
route_params_number_bak =
FUNCTION = "do_action"
#11 0x000000000040f690 in run_action_list (a=, msg=0x7fa2049e12d0) at action.c:171

    ret = <value optimized out>
    t = 0x7fa204888678

#12 0x0000000000416d99 in run_actions (a=0x7fa204885100, msg=0x7fa2049e12d0) at action.c:136

No locals.
#13 run_top_route (a=0x7fa204885100, msg=0x7fa2049e12d0) at action.c:211

    bl_last_msg_id = 6586113
    bk_action_flags = 0
    bk_rec_lev = 0
    ret = <value optimized out>

#14 0x00007fa203763bc9 in reply_received (p_msg=0x7fa2049e12d0) at t_reply.c:1503

    msg_status = 200
    last_uac_status = 200
    branch = 0
    reply_status = <value optimized out>
    timer = <value optimized out>
    cancel_bitmap = 0
    uac = 0x7fa1c884ad58
    t = 0x7fa1c884ab80
    backup_list = 0x7b7680
    has_reply_route = 1
    __FUNCTION__ = "reply_received"

#15 0x00000000004294ff in forward_reply (msg=0x7fa2049e12d0) at forward.c:575

    new_buf = 0x0
    to = 0x0
    new_len = <value optimized out>
    mod = 0x7fa2047f5488
    proto = <value optimized out>
    send_sock = <value optimized out>
    __FUNCTION__ = "forward_reply"

#16 0x00000000004736d0 in receive_msg (buf=, len=, rcv_info=0x7fff7d8171c0) at receive.c:207

    msg = 0x7fa2049e12d0

---Type to continue, or q to quit---
start = {tv_sec = 1380054945, tv_usec = 968465}
FUNCTION = "receive_msg"
#17 0x00000000004c18f1 in udp_rcv_loop () at udp_server.c:424

    len = <value optimized out>
    buf = "SIP/2.0 200 OK\r\nVia: SIP/2.0/UDP 69.16.192.214:5060;branch=z9hG4bK163b.cd43c5b5.0\r\nVia: SIP/2.0/UDP 216.109.69.102;received=216.109.69.102;rport=5060;branch=z9hG4bK3cmyeD9UF72Fm\r\nFrom: <sip:+154035128"...
    tmp = <value optimized out>
    from = 0x7fa2049e1298
    fromlen = 16
    ri = {src_ip = {af = 2, len = 4, u = {addrl = {140737173320391, 8}, addr32 = {3979932359, 32767, 8, 0}, addr16 = {62151, 60728, 32767, 0, 8, 0, 0, 0}, 
          addr = "\307\362\070\355\377\177\000\000\b\000\000\000\000\000\000"}}, dst_ip = {af = 2, len = 4, u = {addrl = {3602911301, 0}, addr32 = {3602911301, 0, 0, 0}, 
          addr16 = {4165, 54976, 0, 0, 0, 0, 0, 0}, addr = "E\020\300\326", '\000' <repeats 11 times>}}, src_port = 5060, dst_port = 5060, proto = 1, proto_reserved1 = 0, 
      proto_reserved2 = 0, src_su = {s = {sa_family = 2, sa_data = "\023\304\307\362\070\355\000\000\000\000\000\000\000"}, sin = {sin_family = 2, sin_port = 50195, 
          sin_addr = {s_addr = 3979932359}, sin_zero = "\000\000\000\000\000\000\000"}, sin6 = {sin6_family = 2, sin6_port = 50195, sin6_flowinfo = 3979932359, sin6_addr = {
            __in6_u = {__u6_addr8 = '\000' <repeats 15 times>, __u6_addr16 = {0, 0, 0, 0, 0, 0, 0, 0}, __u6_addr32 = {0, 0, 0, 0}}}, sin6_scope_id = 0}}, 
      bind_address = 0x7fa2047f4c18}
    p = <value optimized out>
    msg = {
      s = 0x7a7660 "SIP/2.0 200 OK\r\nVia: SIP/2.0/UDP 69.16.192.214:5060;branch=z9hG4bK163b.cd43c5b5.0\r\nVia: SIP/2.0/UDP 216.109.69.102;received=216.109.69.102;rport=5060;branch=z9hG4bK3cmyeD9UF72Fm\r\nFrom: <sip:+154035128"..., len = 954}
    __FUNCTION__ = "udp_rcv_loop"

#18 0x00000000004304b3 in main_loop (argc=, argv=) at main.c:884

    i = 8
    pid = <value optimized out>
    si = <value optimized out>
    startup_done = 0x7fa1c05f3fa0
    chd_rank = 9
    rc = <value optimized out>
    load_p = 0x7fa1c05f3fc0

#19 main (argc=, argv=) at main.c:1557

    cfg_log_stderr = <value optimized out>
    cfg_stream = <value optimized out>
    c = <value optimized out>
    r = <value optimized out>
    tmp = 0x7fff7d8177b5 ""
    tmp_len = <value optimized out>

---Type to continue, or q to quit---
port =
proto =
options = 0x53b538 "f:cCm:M:b:l:n:N:rRvdDETSVhw:t:u:g:P:G:W:o:"
ret = -1
seed = 2031259764
rfd =
FUNCTION = "main"

@liviuchircu
Copy link
Member

Hello,

This looks like a 1.9+ OpenSIPS, since 1.8's action.c file only has 1671 lines. In any case, are you able to replicate this behaviour?

@bogdan-iancu
Copy link
Member

Please confirm the exact version / revision you are using - the BT you posted does not match either 1.8, nor 1.9 (based on number of lines)

@46labs
Copy link
Author

46labs commented Sep 27, 2013

Sorry, we are running 1.9, my mistake.

@46labs
Copy link
Author

46labs commented Sep 27, 2013

Also: svnrevision: 2:10020M

@bogdan-iancu
Copy link
Member

Same case as per issue #102

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants