[SR-Users] Kamailio Unexpectedly Terminating
Akan
forums at akan.net
Sat May 5 17:29:33 CEST 2012
I made the change and still have the problem. I have included the output
from stepping thru via gdb and the block of code where I made the change
and that was executed.
98 if (reg_use_domain) {
99 if (user_len)
100 aor_buf[_a->len++] = '@';
101 /* strip prefix (if defined) */
102 realm_prefix.s = cfg_get(registrar,
registrar_cfg, realm_pref).s;
103 realm_prefix.len = cfg_get(registrar,
registrar_cfg, realm_pref).len;
104 if (realm_prefix.len>0 &&
realm_prefix.len<puri.host.len &&
105 (memcmp(realm_prefix.s, puri.host.s,
realm_prefix.len)==0) ) {
106 memcpy(aor_buf + _a->len, puri.host.s +
realm_prefix.len,
107 puri.host.len -
realm_prefix.len);
108 _a->len += puri.host.len -
realm_prefix.len;
109 } else {
110 memcpy(aor_buf + _a->len, puri.host.s,
puri.host.len);
111 _a->len += puri.host.len;
112 }
113 }
Thanks
Nathaniel
On 5/4/2012 2:55 AM, Daniel-Constantin Mierla wrote:
> Hello,
>
> interesting, it seems to crash at the evaluation of 'realm_prefix.len'
> - because it is 0, the IF condition should stop evaluation of the rest
> of the expression.
>
> Can you try to change the first part of the condition at line 104 to:
>
> if (realm_prefix.len>0 && ...
>
> Cheers,
> Daniel
>
> On 5/4/12 4:42 AM, Akan wrote:
>> I was able to step thru via gdb to the point where Kamailio took a
>> segment fault. I have included a backtrace as well as the output from
>> me stepping thru common.c to the point where it failed. Hope this
>> will help.
>>
>> Thanks
>>
>> Nathaniel
>>
>> On 4/29/2012 4:37 AM, Daniel-Constantin Mierla wrote:
>>> Hello,
>>>
>>> the issue was a sig bus this time, which more enforced in
>>> sparc/solaris, not common in linux. I was looked at the structure
>>> and seems aligned ok, mis-alignment being the most often used to
>>> rise sigbus. What I could think as next reason was the empty string
>>> default value which may make solaris think is not accessible anymore
>>> at runtime via the cfg structure, so I changed the field for prefix
>>> to str and initialized to null to force allocation in any case.
>>>
>>> Can you try with the attached patch and tell if works fine?
>>>
>>> Cheers,
>>> Daniel
>>>
>>> On 4/28/12 6:49 PM, Akan wrote:
>>>> I tried adding the realm_prefix and still got the same problem. I
>>>> ran kamailio thru gdb to try and step thru and get more information
>>>> and have included the output in the attached text file. Hope this
>>>> helps.
>>>>
>>>> Thanks
>>>>
>>>> Nathaniel L Keeling
>>>>
>>>> On 4/26/2012 2:42 PM, Akan wrote:
>>>>> No, but I do have an alias defined.
>>>>>
>>>>> alias="mydomain.com:5080"
>>>>>
>>>>> Thanks
>>>>>
>>>>> Nathaniel
>>>>>
>>>>> On 4/26/2012 3:41 AM, Daniel-Constantin Mierla wrote:
>>>>>> Hello,
>>>>>>
>>>>>> do you set the realm_prefix parameter of registrar module?
>>>>>>
>>>>>> http://kamailio.org/docs/modules/stable/modules_k/registrar.html#id2495082
>>>>>>
>>>>>>
>>>>>> If yes, can you paste it here?
>>>>>>
>>>>>> Cheers,
>>>>>> Daniel
>>>>>>
>>>>>> On 4/25/12 9:42 PM, Akan wrote:
>>>>>>> I have 2 servers running Solaris and Kamailio 3.2.3 where on one
>>>>>>> Kamailio is terminating when it tries to save the location for a
>>>>>>> register request and the other is producing a core dump when
>>>>>>> processing an Option request. I have one server handling
>>>>>>> Register request while the other sip server forwards the
>>>>>>> register requests and handles the other requests. I have
>>>>>>> included the backtraces from the core dumps and the output from
>>>>>>> the log for the registrar server as well as the command that is
>>>>>>> causing kamailio to terminate:
>>>>>>>
>>>>>>> if (!save("location"))
>>>>>>> sl_reply_error();
>>>>>>>
>>>>>>> 4(3364) ERROR: *** cfgtrace:
>>>>>>> c=[/opt/kamailio-3.2/etc/kamailio/kamailio.cfg] l=714 a=17 n=if
>>>>>>> 4(3364) ERROR: *** cfgtrace:
>>>>>>> c=[/opt/kamailio-3.2/etc/kamailio/kamailio.cfg] l=711 a=26 n=save
>>>>>>> 14(3374) : <core> [pass_fd.c:293]: ERROR: receive_fd: EOF on 15
>>>>>>> 14(3374) DEBUG: <core> [tcp_main.c:3555]: DBG: handle_ser_child:
>>>>>>> dead child 4, pid 3364 (shutting down?)
>>>>>>> 14(3374) DEBUG: <core> [io_wait.h:617]: DBG: io_watch_del
>>>>>>> (1003743d8, 15, 0, 0x0) fd_no=18 called
>>>>>>> 0(3360) ALERT: <core> [main.c:751]: child process 3364 exited
>>>>>>> by a signal 10
>>>>>>> 0(3360) ALERT: <core> [main.c:754]: core was not generated
>>>>>>> 0(3360) INFO: <core> [main.c:766]: INFO: terminating due to
>>>>>>> SIGCHLD
>>>>>>> 6(3366) INFO: <core> [main.c:817]: INFO: signal 15 received
>>>>>>> 1(3361) INFO: <core> [main.c:817]: INFO: signal 15 received
>>>>>>> 2(3362) INFO: <core> [main.c:817]: INFO: signal 15 received
>>>>>>> 3(3363) INFO: <core> [main.c:817]: INFO: signal 15 received
>>>>>>> 5(3365) INFO: <core> [main.c:817]: INFO: signal 15 received
>>>>>>> 7(3367) INFO: <core> [main.c:817]: INFO: signal 15 received
>>>>>>> 8(3368) INFO: <core> [main.c:817]: INFO: signal 15 received
>>>>>>> 9(3369) INFO: <core> [main.c:817]: INFO: signal 15 received
>>>>>>> 10(3370) INFO: <core> [main.c:817]: INFO: signal 15 received
>>>>>>> 11(3371) INFO: <core> [main.c:817]: INFO: signal 15 received
>>>>>>> 12(3372) INFO: <core> [main.c:817]: INFO: signal 15 received
>>>>>>> 13(3373) INFO: <core> [main.c:817]: INFO: signal 15 received
>>>>>>> 14(3374) INFO: <core> [main.c:817]: INFO: signal 15 received
>>>>>>> 0(3360) DEBUG: presence_xml [presence_xml.c:347]: start
>>>>>>> 0(3360) ERROR: ctl [ctl.c:379]: ERROR: ctl: could not delete
>>>>>>> unix socket /tmp/kamailio_ctl: Permission denied (13)
>>>>>>> 0(3360) DEBUG: <core> [db_pool.c:102]: removing connection from
>>>>>>> the pool
>>>>>>> 0(3360) DEBUG: db_postgres [km_pg_con.c:122]: PQfinish(100842470)
>>>>>>> 0(3360) DEBUG: db_postgres [km_pg_con.c:126]: pkg_free(1004c1f30)
>>>>>>> 0(3360) DEBUG: tm [t_funcs.c:122]: DEBUG: tm_shutdown : start
>>>>>>> 0(3360) DEBUG: tm [t_funcs.c:125]: DEBUG: tm_shutdown :
>>>>>>> emptying hash table
>>>>>>> 0(3360) DEBUG: tm [t_funcs.c:127]: DEBUG: tm_shutdown :
>>>>>>> removing semaphores
>>>>>>> 0(3360) DEBUG: tm [t_funcs.c:129]: DEBUG: tm_shutdown :
>>>>>>> destroying tmcb lists
>>>>>>> 0(3360) DEBUG: tm [t_funcs.c:132]: DEBUG: tm_shutdown : done
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> Nathaniel
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> 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
>>>>>>
>>>>>> No virus found in this message.
>>>>>> Checked by AVG - www.avg.com <http://www.avg.com>
>>>>>> Version: 2012.0.1913 / Virus Database: 2411/4959 - Release Date:
>>>>>> 04/25/12
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>>
>>>>>
>>>>>
>>>>> -----
>>>>> No virus found in this message.
>>>>> Checked by AVG - www.avg.com
>>>>> Version: 2012.0.1913 / Virus Database: 2411/4960 - Release Date:
>>>>> 04/26/12
>>>>>
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>>>
>>> No virus found in this message.
>>> Checked by AVG - www.avg.com <http://www.avg.com>
>>> Version: 2012.0.1913 / Virus Database: 2411/4965 - Release Date:
>>> 04/28/12
>>>
>
-------------- next part --------------
(gdb) step
Breakpoint 4, extract_aor (_uri=<value optimized out>, _a=0xffffffff7fffdb90) at common.c:100
100 aor_buf[_a->len++] = '@';
10: _a->len = 8
9: puri.host.len = 13
8: puri.host.s = 0x1003bc6b2 "akanvoice.com>\r\nMax-Forwards: 68\r\nUser-Agent: Jitsi1.0-build.3967Windows XP\r\nExpires: 600\r\nContact: \"N Keeling\" <sip:nkeeling at 192.168.1.173:3005;transport=tcp;registering_acc=akanvoice_com>;expires=60"...
7: registrar_cfg = (void *) 0xffffffff742df27c
6: realm_prefix.len = 0
5: realm_prefix.s = 0x0
4: _a = (str *) 0xffffffff7fffdb90
3: aor_buf = "nkeeling", '\000' <repeats 247 times>
2: user_len = 8
1: reg_use_domain = 1
(gdb) step
Breakpoint 5, extract_aor (_uri=<value optimized out>, _a=0xffffffff7fffdb90) at common.c:102
102 realm_prefix.s = cfg_get(registrar, registrar_cfg, realm_pref).s;
10: _a->len = 9
9: puri.host.len = 13
8: puri.host.s = 0x1003bc6b2 "akanvoice.com>\r\nMax-Forwards: 68\r\nUser-Agent: Jitsi1.0-build.3967Windows XP\r\nExpires: 600\r\nContact: \"N Keeling\" <sip:nkeeling at 192.168.1.173:3005;transport=tcp;registering_acc=akanvoice_com>;expires=60"...
7: registrar_cfg = (void *) 0xffffffff742df27c
6: realm_prefix.len = 0
5: realm_prefix.s = 0x0
4: _a = (str *) 0xffffffff7fffdb90
3: aor_buf = "nkeeling@", '\000' <repeats 246 times>
2: user_len = 8
1: reg_use_domain = 1
(gdb) step
Breakpoint 7, extract_aor (_uri=<value optimized out>, _a=0xffffffff7fffdb90) at common.c:104
104 if (realm_prefix.len>0 && realm_prefix.len<puri.host.len &&
10: _a->len = 9
9: puri.host.len = 13
8: puri.host.s = 0x1003bc6b2 "akanvoice.com>\r\nMax-Forwards: 68\r\nUser-Agent: Jitsi1.0-build.3967Windows XP\r\nExpires: 600\r\nContact: \"N Keeling\" <sip:nkeeling at 192.168.1.173:3005;transport=tcp;registering_acc=akanvoice_com>;expires=60"...
7: registrar_cfg = (void *) 0xffffffff742df27c
6: realm_prefix.len = 0
5: realm_prefix.s = 0x0
4: _a = (str *) 0xffffffff7fffdb90
3: aor_buf = "nkeeling@", '\000' <repeats 246 times>
2: user_len = 8
1: reg_use_domain = 1
(gdb) step
102 realm_prefix.s = cfg_get(registrar, registrar_cfg, realm_pref).s;
10: _a->len = 9
9: puri.host.len = 13
8: puri.host.s = 0x1003bc6b2 "akanvoice.com>\r\nMax-Forwards: 68\r\nUser-Agent: Jitsi1.0-build.3967Windows XP\r\nExpires: 600\r\nContact: \"N Keeling\" <sip:nkeeling at 192.168.1.173:3005;transport=tcp;registering_acc=akanvoice_com>;expires=60"...
7: registrar_cfg = (void *) 0xffffffff742df27c
6: realm_prefix.len = 0
5: realm_prefix.s = 0x0
4: _a = (str *) 0xffffffff7fffdb90
3: aor_buf = "nkeeling@", '\000' <repeats 246 times>
2: user_len = 8
1: reg_use_domain = 1
(gdb) step
Breakpoint 8, extract_aor (_uri=<value optimized out>, _a=0xffffffff7fffdb90) at common.c:105
105 (memcmp(realm_prefix.s, puri.host.s, realm_prefix.len)==0) ) {
10: _a->len = 9
9: puri.host.len = 13
8: puri.host.s = 0x1003bc6b2 "akanvoice.com>\r\nMax-Forwards: 68\r\nUser-Agent: Jitsi1.0-build.3967Windows XP\r\nExpires: 600\r\nContact: \"N Keeling\" <sip:nkeeling at 192.168.1.173:3005;transport=tcp;registering_acc=akanvoice_com>;expires=60"...
7: registrar_cfg = (void *) 0xffffffff742df27c
6: realm_prefix.len = 0
5: realm_prefix.s = 0x0
4: _a = (str *) 0xffffffff7fffdb90
3: aor_buf = "nkeeling@", '\000' <repeats 246 times>
2: user_len = 8
1: reg_use_domain = 1
(gdb) step
102 realm_prefix.s = cfg_get(registrar, registrar_cfg, realm_pref).s;
10: _a->len = 9
9: puri.host.len = 13
8: puri.host.s = 0x1003bc6b2 "akanvoice.com>\r\nMax-Forwards: 68\r\nUser-Agent: Jitsi1.0-build.3967Windows XP\r\nExpires: 600\r\nContact: \"N Keeling\" <sip:nkeeling at 192.168.1.173:3005;transport=tcp;registering_acc=akanvoice_com>;expires=60"...
7: registrar_cfg = (void *) 0xffffffff742df27c
6: realm_prefix.len = 0
5: realm_prefix.s = 0x0
4: _a = (str *) 0xffffffff7fffdb90
3: aor_buf = "nkeeling@", '\000' <repeats 246 times>
2: user_len = 8
1: reg_use_domain = 1
(gdb) step
Breakpoint 6, extract_aor (_uri=<value optimized out>, _a=0xffffffff7fffdb90) at common.c:103
103 realm_prefix.len = cfg_get(registrar, registrar_cfg, realm_pref).len;
10: _a->len = 9
9: puri.host.len = 13
8: puri.host.s = 0x1003bc6b2 "akanvoice.com>\r\nMax-Forwards: 68\r\nUser-Agent: Jitsi1.0-build.3967Windows XP\r\nExpires: 600\r\nContact: \"N Keeling\" <sip:nkeeling at 192.168.1.173:3005;transport=tcp;registering_acc=akanvoice_com>;expires=60"...
7: registrar_cfg = (void *) 0xffffffff742df27c
6: realm_prefix.len = 0
5: realm_prefix.s = 0x0
4: _a = (str *) 0xffffffff7fffdb90
3: aor_buf = "nkeeling@", '\000' <repeats 246 times>
2: user_len = 8
1: reg_use_domain = 1
(gdb) step
104 if (realm_prefix.len>0 && realm_prefix.len<puri.host.len &&
10: _a->len = 9
9: puri.host.len = 13
8: puri.host.s = 0x1003bc6b2 "akanvoice.com>\r\nMax-Forwards: 68\r\nUser-Agent: Jitsi1.0-build.3967Windows XP\r\nExpires: 600\r\nContact: \"N Keeling\" <sip:nkeeling at 192.168.1.173:3005;transport=tcp;registering_acc=akanvoice_com>;expires=60"...
7: registrar_cfg = (void *) 0xffffffff742df27c
6: realm_prefix.len = 0
5: realm_prefix.s = 0x0
4: _a = (str *) 0xffffffff7fffdb90
3: aor_buf = "nkeeling@", '\000' <repeats 246 times>
2: user_len = 8
1: reg_use_domain = 1
(gdb) step
Program received signal SIGSEGV, Segmentation fault.
0xffffffff7b31245c in extract_aor (_uri=<value optimized out>, _a=0xffffffff7fffdb90) at common.c:104
104 if (realm_prefix.len>0 && realm_prefix.len<puri.host.len &&
10: _a->len = 9
9: puri.host.len = 13
8: puri.host.s = 0x1003bc6b2 "akanvoice.com>\r\nMax-Forwards: 68\r\nUser-Agent: Jitsi1.0-build.3967Windows XP\r\nExpires: 600\r\nContact: \"N Keeling\" <sip:nkeeling at 192.168.1.173:3005;transport=tcp;registering_acc=akanvoice_com>;expires=60"...
7: registrar_cfg = (void *) 0xffffffff742df27c
6: realm_prefix.len = 0
5: realm_prefix.s = 0x0
4: _a = (str *) 0xffffffff7fffdb90
3: aor_buf = "nkeeling@", '\000' <repeats 246 times>
2: user_len = 8
1: reg_use_domain = 1
(gdb) step
Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
-------------- next part --------------
Core was generated by `/opt/kamailio-3.2/sbin/kamailio'.
Program terminated with signal 11, Segmentation fault.
#0 0xffffffff7b31245c in extract_aor (_uri=<value optimized out>, _a=0xffffffff7fffdb90) at common.c:104
104 if (realm_prefix.len>0 && realm_prefix.len<puri.host.len &&
(gdb) bt full
#0 0xffffffff7b31245c in extract_aor (_uri=<value optimized out>, _a=0xffffffff7fffdb90) at common.c:104
aor_buf = "nkeeling@", '\000' <repeats 246 times>
puri = {user = {
s = 0x1003bc6a9 "nkeeling at akanvoice.com>\r\nMax-Forwards: 68\r\nUser-Agent: Jitsi1.0-build.3967Windows XP\r\nExpires: 600\r\nContact: \"N Keeling\" <sip:nkeeling at 192.168.1.173:3005;transport=tcp;registering_acc=akanvoice_com>;e"..., len = 8}, passwd = {s = 0x0, len = 0}, host = {
s = 0x1003bc6b2 "akanvoice.com>\r\nMax-Forwards: 68\r\nUser-Agent: Jitsi1.0-build.3967Windows XP\r\nExpires: 600\r\nContact: \"N Keeling\" <sip:nkeeling at 192.168.1.173:3005;transport=tcp;registering_acc=akanvoice_com>;expires=60"..., len = 13}, port = {s = 0x0, len = 0}, params = {s = 0x0, len = 0}, sip_params = {s = 0x0, len = 0},
headers = {s = 0x0, len = 0}, port_no = 0, proto = 0, type = SIP_URI_T, flags = 0, transport = {s = 0x0, len = 0}, ttl = {s = 0x0, len = 0}, user_param = {s = 0x0,
len = 0}, maddr = {s = 0x0, len = 0}, method = {s = 0x0, len = 0}, lr = {s = 0x0, len = 0}, r2 = {s = 0x0, len = 0}, transport_val = {s = 0x0, len = 0},
ttl_val = {s = 0x0, len = 0}, user_param_val = {s = 0x0, len = 0}, maddr_val = {s = 0x0, len = 0}, method_val = {s = 0x0, len = 0}, lr_val = {s = 0x0, len = 0},
r2_val = {s = 0x0, len = 0}}
user_len = 8
avp_val = {n = 0, s = {s = 0x100000 <Address 0x100000 out of bounds>, len = 0}, re = 0x100000}
avp = <value optimized out>
uri = <value optimized out>
realm_prefix = {s = 0x0, len = 0}
#1 0xffffffff7b30a194 in save (_m=0x1004d0338, _d=0xffffffff742da000, _cflags=0) at save.c:773
c = 0x1004d0e08
st = <value optimized out>
mode = <value optimized out>
aor = {s = 0xffffffff7b41c8e0 "nkeeling@", len = 9}
ret = 1
#2 0x000000010002f174 in do_action (h=0xffffffff7fffe180, a=0x100496148, msg=0x1004d0338) at action.c:1122
ret = -5
v = <value optimized out>
dst = {send_sock = 0x390, to = {s = {sa_family = 65535, sa_data = "ÿÿ~Äs|\000\000\000\000\000\000\000\002"}, sin = {sin_family = 65535, sin_port = 65535, sin_addr = {
S_un = {S_un_b = {s_b1 = 126 '~', s_b2 = 196 'Ä', s_b3 = 115 's', s_b4 = 124 '|'}, S_un_w = {s_w1 = 32452, s_w2 = 29564}, S_addr = 2126803836}},
sin_zero = "\000\000\000\000\000\000\000\002"}, sin6 = {sin6_family = 65535, sin6_port = 65535, sin6_flowinfo = 2126803836, sin6_addr = {_S6_un = {
_S6_u8 = "\000\000\000\000\000\000\000\002ÿÿÿÿv0w¸", _S6_u32 = {0, 2, 4294967295, 1982887864}, __S6_align = 0}}, sin6_scope_id = 4294967295,
__sin6_src_id = 1982893048}}, id = -1, proto = 118 'v', send_flags = {f = 48 '0', blst_imask = 130 '\202'}}
tmp = <value optimized out>
new_uri = <value optimized out>
end = <value optimized out>
crt = <value optimized out>
cmd = <value optimized out>
len = <value optimized out>
user = <value optimized out>
uri = {user = {s = 0xffffffff7fffe15e "aH", len = -1}, passwd = {s = 0xffffffff7fffe179 "ÿÿÿ~Ä\200\204", len = -1}, host = {
s = 0x17fffffff <Address 0x17fffffff out of bounds>, len = -1}, port = {s = 0xffffffff7ec4bf78 "-", len = -1}, params = {
s = 0x10000002d202b <Address 0x10000002d202b out of bounds>, len = -1}, sip_params = {s = 0xffffffff7ec4bfb0 "+", len = 0}, headers = {s = 0x0, len = 0},
port_no = 0, proto = 0, type = ERROR_URI_T, flags = 0, transport = {s = 0x0, len = 0}, ttl = {s = 0x0, len = 0}, user_param = {s = 0xffffffff7fffe1c0 "", len = 0},
maddr = {s = 0x100421bd0 "ÿÿÿÿ~Äs|ÿÿÿÿ~Äs|ÿÿÿÿ~Äs\200", len = 0}, method = {s = 0x55 <Address 0x55 out of bounds>, len = -1}, lr = {s = 0x100031d30 "@", len = 0},
r2 = {s = 0x2000 <Address 0x2000 out of bounds>, len = -1}, transport_val = {s = 0x3000000000 <Address 0x3000000000 out of bounds>, len = 0}, ttl_val = {
s = 0x14 <Address 0x14 out of bounds>, len = -1}, user_param_val = {s = 0x1 <Address 0x1 out of bounds>, len = -1}, maddr_val = {
s = 0x4 <Address 0x4 out of bounds>, len = -1}, method_val = {s = 0x2 <Address 0x2 out of bounds>, len = 0}, lr_val = {s = 0x4f <Address 0x4f out of bounds>,
len = -1}, r2_val = {s = 0x100494170 "", len = 1}}
next_hop = {user = {s = 0xffffffff7fffe3b0 "ÿÿÿÿ~Äs}ÿÿÿÿ\177ÿå\020", len = -1}, passwd = {s = 0x100000 <Address 0x100000 out of bounds>, len = -1}, host = {
s = 0x10002cd20 "@", len = -1}, port = {s = 0x100007e2d202b <Address 0x100007e2d202b out of bounds>, len = -1}, params = {s = 0xffffffff7ec4bfb0 "+", len = 100},
sip_params = {s = 0x1 <Address 0x1 out of bounds>, len = -1}, headers = {s = 0x100421bd0 "ÿÿÿÿ~Äs|ÿÿÿÿ~Äs|ÿÿÿÿ~Äs\200", len = 0}, port_no = 65535, proto = 65535,
type = 2082031214, flags = 4294967295, transport = {s = 0xffffffff7eaa8e14 "@", len = 0}, ttl = {s = 0x0, len = 0}, user_param = {s = 0x0, len = -1}, maddr = {
s = 0xffffffff7fffdff0 "", len = 0}, method = {s = 0x3700000000000000 <Address 0x3700000000000000 out of bounds>, len = -1}, lr = {
s = 0x1 <Address 0x1 out of bounds>, len = -1}, r2 = {s = 0x4 <Address 0x4 out of bounds>, len = 0}, transport_val = {s = 0xffffffff7ec48084 "", len = 0},
ttl_val = {s = 0x2400 <Address 0x2400 out of bounds>, len = 1}, user_param_val = {s = 0xffffffff76206e90 "%2d(%d) %s: %s c=[%s] l=%d a=%d n=%.*s\n", len = 0},
maddr_val = {s = 0x18f3d0 <Address 0x18f3d0 out of bounds>, len = -1}, method_val = {s = 0xffffffff7ec3c000 "", len = -1}, lr_val = {
s = 0xffffffff76204270 "@\004\016Äâs¨¿\020oþ\\ÂF\200", len = -1}, r2_val = {s = 0x100421bd0 "ÿÿÿÿ~Äs|ÿÿÿÿ~Äs|ÿÿÿÿ~Äs\200", len = 0}}
u = <value optimized out>
port = <value optimized out>
dst_host = <value optimized out>
i = <value optimized out>
flags = <value optimized out>
avp = <value optimized out>
st = {flags = 1, id = 55, name = {n = -1, s = {s = 0xffffffff76308c18 "ÿÿÿÿt.\vHÿÿÿÿt-\227X", len = 1}, re = 0xffffffff76308c18}, avp = 0x10041dd60}
sct = <value optimized out>
---Type <return> to continue, or q <return> to quit---
sjt = <value optimized out>
rve = <value optimized out>
mct = <value optimized out>
rv = <value optimized out>
rv1 = <value optimized out>
c1 = {cache_type = 4294967295, val_type = 1981836400, c = {avp_val = {n = -1, s = {s = 0xffffffff7fffd791 "ÿÿÿ~Ä¿\200ÿÿÿÿ~Ä¿xÿÿÿÿ~Ä¿\210", len = -1},
re = 0xffffffff7fffd791}, pval = {rs = {s = 0xffffffff7fffd791 "ÿÿÿ~Ä¿\200ÿÿÿÿ~Ä¿xÿÿÿÿ~Ä¿\210", len = -1}, ri = 1, flags = 5047096}},
i2s = "\000\000\000\000\000\000\000\032ÿÿÿÿ~Äs|\000\000\000\000\000"}
s = {s = 0x3616 <Address 0x3616 out of bounds>, len = 1}
srevp = {0x100496148, 0x1004d0338}
mod_f_params = {{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}}, {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"
#3 0x000000010002cd28 in run_actions (h=0xffffffff7fffe180, a=0x100496148, msg=0x1004d0338) at action.c:1610
t = <value optimized out>
ret = <value optimized out>
mod = <value optimized out>
#4 0x0000000100036e50 in run_actions_safe (h=0xffffffff7ffff6c0, a=0x100496148, msg=0x1004d0338) at action.c:1662
ctx = {rec_lev = 1, run_flags = 0, last_retcode = 0, jmp_env = {5047096, -2147493871, 4295151472, -2147493679, 4295192136, -2168160124, 9504, -2312079432,
-2147486016, 4299768720, 4300014392, 4299771376}}
ret = 2147475840
ign_on_break = 0
#5 0x00000001000f8f28 in rval_get_int (h=0xffffffff7ffff6c0, msg=0x1004d0338, i=0xffffffff7fffe6a0, rv=0x100496900, cache=0x0) at rvalue.c:920
r_avp = <value optimized out>
avp_val = {n = 0, s = {s = 0x0, len = -1}, re = 0x0}
pval = {rs = {s = 0x0, len = 0}, ri = 0, flags = 2147482624}
tmp = {s = 0x2520 <Address 0x2520 out of bounds>, len = 0}
s = 0x0
r = <value optimized out>
ret = 0
destroy_pval = 0
#6 0x00000001000fe73c in rval_expr_eval_int (h=0xffffffff7ffff6c0, msg=0x1004d0338, res=0xffffffff7fffe6a0, rve=0x1004968f8) at rvalue.c:1914
i1 = <value optimized out>
i2 = <value optimized out>
ret = -1
c1 = {cache_type = RV_CACHE_EMPTY, val_type = RV_NONE, c = {avp_val = {n = -1, s = {s = 0xffffffff7ec4737c "\nn==", len = 0}, re = 0xffffffff7ec4737c}, pval = {rs = {
s = 0xffffffff7ec4737c "\nn==", len = 0}, ri = 0, flags = 0}}, i2s = "ÿÿÿÿ~Ä\200\204\000\000\000\000\000\000% \000\000\000\000\000"}
c2 = {cache_type = RV_CACHE_PVAR, val_type = 4332496, c = {avp_val = {n = -1, s = {s = 0xffffffff76206e90 "%2d(%d) %s: %s c=[%s] l=%d a=%d n=%.*s\n", len = 0},
re = 0xffffffff76206e90}, pval = {rs = {s = 0xffffffff76206e90 "%2d(%d) %s: %s c=[%s] l=%d a=%d n=%.*s\n", len = 0}, ri = 0, flags = 1635280}},
i2s = "\000\000\000\000\000\000\001hÿÿÿÿ~ÃÀ\000ÿÿÿÿ\177ÿ"}
rv1 = <value optimized out>
rv2 = <value optimized out>
#7 0x00000001000fe4ac in rval_expr_eval_int (h=0xffffffff7ffff6c0, msg=0x1004d0338, res=0xffffffff7fffeb00, rve=0x100497018) at rvalue.c:1922
i1 = <value optimized out>
i2 = <value optimized out>
ret = -1
c1 = {cache_type = RV_CACHE_EMPTY, val_type = 616, c = {avp_val = {n = 1, s = {s = 0x100494390 "", len = 1}, re = 0x100494390}, pval = {rs = {s = 0x100494390 "",
len = 1}, ri = -1, flags = -3}}, i2s = "\000\000\000\000\000\000\000\001\000\000\000\000\177ÿÿÿ\000\000\000\000\177ÿ"}
c2 = {cache_type = RV_CACHE_EMPTY, val_type = RV_NONE, c = {avp_val = {n = -1, s = {s = 0xffffffff7ec48084 "", len = -1}, re = 0xffffffff7ec48084}, pval = {rs = {
s = 0xffffffff7ec48084 "", len = -1}, ri = 0, flags = 1}}, i2s = "\000\000\000\000\177ÿÿÿ\000\000\000\000\177ÿü\000\000\000\000\000\000"}
rv1 = <value optimized out>
rv2 = <value optimized out>
#8 0x000000010002e6d8 in do_action (h=0xffffffff7ffff6c0, a=0x100497738, msg=0x1004d0338) at action.c:1092
ret = -5
v = <value optimized out>
dst = {send_sock = 0x100421bd0, to = {s = {sa_family = 65535, sa_data = "ÿÿzÐa¸\000\000\000\000\000\000\000"}, sin = {sin_family = 65535, sin_port = 65535,
sin_addr = {S_un = {S_un_b = {s_b1 = 122 'z', s_b2 = 208 'Ð', s_b3 = 97 'a', s_b4 = 184 '¸'}, S_un_w = {s_w1 = 31440, s_w2 = 25016}, S_addr = 2060476856}},
sin_zero = "\000\000\000\000\000\000\000"}, sin6 = {sin6_family = 65535, sin6_port = 65535, sin6_flowinfo = 2060476856, sin6_addr = {_S6_un = {
---Type <return> to continue, or q <return> to quit---
_S6_u8 = '\000' <repeats 13 times>, "\030óÐ", _S6_u32 = {0, 0, 0, 1635280}, __S6_align = 0}}, sin6_scope_id = 1, __sin6_src_id = 1355016}}, id = -1,
proto = 126 '~', send_flags = {f = 195 'Ã', blst_imask = 192 'À'}}
tmp = <value optimized out>
new_uri = <value optimized out>
end = <value optimized out>
crt = <value optimized out>
cmd = <value optimized out>
len = <value optimized out>
user = <value optimized out>
uri = {user = {s = 0xffffffff76206c70 "if", len = -1}, passwd = {s = 0x100031d30 "@", len = 0}, host = {s = 0x0, len = -1}, port = {s = 0xffffffff7fffe910 "",
len = 0}, params = {s = 0x0, len = -1}, sip_params = {s = 0x1 <Address 0x1 out of bounds>, len = -1}, headers = {s = 0x4 <Address 0x4 out of bounds>, len = -1},
port_no = 0, proto = 0, type = SIPS_URI_T, flags = 0, transport = {
s = 0x100422541 " (((((", ' ' <repeats 18 times>, "H", '\020' <repeats 15 times>, "\204\204\204\204\204\204\204\204\204\204\020\020\020\020\020\020\020\201\201\201\201\201\201", '\001' <repeats 20 times>, "\020\020\020\020\020\020\202\202\202\202\202\202", '\002' <repeats 20 times>, "\020\020\020\020 ", len = -1}, ttl = {
s = 0x100489120 "", len = 1}, user_param = {s = 0xffffffff7fffedf0 "ÿÿÿÿ~Äs}ÿÿÿÿ\177ÿïP", len = -1}, maddr = {s = 0x100000 <Address 0x100000 out of bounds>,
len = -1}, method = {s = 0x10002cd20 "@", len = -1}, lr = {s = 0x1004d0338 "", len = -1}, r2 = {s = 0x1004bdee8 "", len = -1}, transport_val = {s = 0x0,
len = -1}, ttl_val = {s = 0x1000fe4a4 "\177ÿÿï\224\a§ï¸\222 ", len = 0}, user_param_val = {s = 0xffffffff7fffdf11 "ÿÿÿv /\fÿÿÿÿ~ÃÀ", len = 1}, maddr_val = {
s = 0xffffffff7fffdfd1 "", len = 1}, method_val = {s = 0x0, len = 0}, lr_val = {s = 0x0, len = -1}, r2_val = {s = 0xffffffff7fffea30 "", len = 0}}
next_hop = {user = {s = 0x0, len = -1}, passwd = {s = 0x1 <Address 0x1 out of bounds>, len = 0}, host = {s = 0x4 <Address 0x4 out of bounds>, len = 0}, port = {
s = 0xffffffff7ec48084 "", len = 0}, params = {s = 0x2400 <Address 0x2400 out of bounds>, len = 1}, sip_params = {
s = 0xffffffff76206e90 "%2d(%d) %s: %s c=[%s] l=%d a=%d n=%.*s\n", len = 0}, headers = {s = 0x18f3d0 <Address 0x18f3d0 out of bounds>, len = 0}, port_no = 65535,
proto = 65535, type = 2126757888, flags = 4294967295, transport = {s = 0xffffffff76204270 "@\004\016Äâs¨¿\020oþ\\ÂF\200", len = 0}, ttl = {
s = 0x100422541 " (((((", ' ' <repeats 18 times>, "H", '\020' <repeats 15 times>, "\204\204\204\204\204\204\204\204\204\204\020\020\020\020\020\020\020\201\201\201\201\201\201", '\001' <repeats 20 times>, "\020\020\020\020\020\020\202\202\202\202\202\202", '\002' <repeats 20 times>, "\020\020\020\020 ", len = 0}, user_param = {
s = 0x26 <Address 0x26 out of bounds>, len = 0}, maddr = {s = 0x26 <Address 0x26 out of bounds>, len = 1}, method = {s = 0x6 <Address 0x6 out of bounds>,
len = -1}, lr = {s = 0x26a <Address 0x26a out of bounds>, len = 0}, r2 = {s = 0xffffffff7ec4737c "\nn==", len = 0}, transport_val = {s = 0xffffffff763077b8 "",
len = -1}, ttl_val = {s = 0xffffffff76308278 "ÿÿÿÿ", len = 1}, user_param_val = {s = 0xffffffff76308c18 "ÿÿÿÿt.\vHÿÿÿÿt-\227X", len = 1}, maddr_val = {
s = 0x10041dd60 "", len = -1}, method_val = {s = 0x100038ed4 "\237À@", len = -1}, lr_val = {s = 0xffffffff7fffeb80 "ÿÿÿÿ\177ÿãÑ", len = 0}, r2_val = {
s = 0x3616 <Address 0x3616 out of bounds>, len = 1}}
u = <value optimized out>
port = <value optimized out>
dst_host = <value optimized out>
i = <value optimized out>
flags = <value optimized out>
avp = <value optimized out>
st = {flags = 4294967295, id = 32767, name = {n = -1, s = {s = 0xffffffff7ad041d4 "@\004\nÓ\220\002!", len = -1}, re = 0xffffffff7ad041d4}, avp = 0x100036e48}
sct = <value optimized out>
sjt = <value optimized out>
rve = 0x100497018
mct = <value optimized out>
rv = <value optimized out>
rv1 = <value optimized out>
c1 = {cache_type = 4294967295, val_type = 1981839032, c = {avp_val = {n = 1, s = {s = 0x100222288 "/opt/kamailio-3.2/etc/kamailio/kamailio.cfg", len = 0},
re = 0x100222288}, pval = {rs = {s = 0x100222288 "/opt/kamailio-3.2/etc/kamailio/kamailio.cfg", len = 0}, ri = 0, flags = 6}},
i2s = "\000\000\000\000\000\000\000\005ÿÿÿÿv kè\000\000\000\000\000"}
s = {s = 0x7fffffff <Address 0x7fffffff out of bounds>, len = 0}
srevp = {0x100497738, 0x1004d0338}
mod_f_params = {{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}}, {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"
#9 0x000000010002cd28 in run_actions (h=0xffffffff7ffff6c0, a=0x100493df0, msg=0x1004d0338) at action.c:1610
t = <value optimized out>
ret = <value optimized out>
mod = <value optimized out>
#10 0x000000010002e228 in do_action (h=0xffffffff7ffff6c0, a=0x100489bb0, msg=0x1004d0338) at action.c:732
ret = -5
v = <value optimized out>
dst = {send_sock = 0x6400, to = {s = {sa_family = 0, sa_data = "\000\000a\000\000\001\000\000\000\000\000\000\000"}, sin = {sin_family = 0, sin_port = 0, sin_addr = {
---Type <return> to continue, or q <return> to quit---
S_un = {S_un_b = {s_b1 = 97 'a', s_b2 = 0 '\000', s_b3 = 0 '\000', s_b4 = 1 '\001'}, S_un_w = {s_w1 = 24832, s_w2 = 1}, S_addr = 1627389953}},
sin_zero = "\000\000\000\000\000\000\000"}, sin6 = {sin6_family = 0, sin6_port = 0, sin6_flowinfo = 1627389953, sin6_addr = {_S6_un = {
_S6_u8 = '\000' <repeats 14 times>, "6\026", _S6_u32 = {0, 0, 0, 13846}, __S6_align = 0}}, sin6_scope_id = 1, __sin6_src_id = 2420696}}, id = -1,
proto = 124 '|', send_flags = {f = 25 '\031', blst_imask = 83 'S'}}
tmp = <value optimized out>
new_uri = <value optimized out>
end = <value optimized out>
crt = <value optimized out>
cmd = <value optimized out>
len = <value optimized out>
user = <value optimized out>
uri = {user = {s = 0x100036e48 "\177ÿצÆ'§\223Â\a§\223±: ", len = 0}, passwd = {s = 0x7ffffc00 <Address 0x7ffffc00 out of bounds>, len = 0}, host = {
s = 0xffffffff7ec48084 "", len = 0}, port = {s = 0x100421ad0 "", len = 0}, params = {s = 0x0, len = 0}, sip_params = {s = 0x3b08 <Address 0x3b08 out of bounds>,
len = 0}, headers = {s = 0x7ffffc00 <Address 0x7ffffc00 out of bounds>, len = 0}, port_no = 65535, proto = 65535, type = 2126807172, flags = 0, transport = {
s = 0x2400 <Address 0x2400 out of bounds>, len = -1}, ttl = {s = 0x100489120 "", len = 1}, user_param = {s = 0x18f3d0 <Address 0x18f3d0 out of bounds>, len = 0},
maddr = {s = 0xffffffff7ffff6c0 "", len = -1}, method = {s = 0x1000f8f20 "\177ü÷À\220\020", len = -1}, lr = {s = 0x100489120 "", len = 1}, r2 = {
s = 0xffffffff7ec3c000 "", len = -1}, transport_val = {s = 0xffffffff7c169414 "@\004ÐCØX`\200\020oýÈ\001", len = 0}, ttl_val = {
s = 0x1000fe4a4 "\177ÿÿï\224\a§ï¸\222 ", len = 0}, user_param_val = {s = 0xffffffff7fffe431 "", len = 1}, maddr_val = {s = 0xffffffff7fffe4f1 "", len = 1},
method_val = {s = 0x0, len = 0}, lr_val = {s = 0x0, len = -1}, r2_val = {s = 0xffffffff7fffef50 "ÿÿÿÿ\177ÿöÀ", len = 0}}
next_hop = {user = {s = 0x0, len = 1}, passwd = {s = 0x0, len = 0}, host = {s = 0x0, len = 0}, port = {s = 0x100400 <Address 0x100400 out of bounds>, len = 0},
params = {s = 0xffffffff763077b8 "", len = -1}, sip_params = {s = 0x1004d0338 "", len = -1}, headers = {s = 0x100489348 "", len = 0}, port_no = 0, proto = 0,
type = ERROR_URI_T, flags = 4294967295, transport = {s = 0x1000fe734 "\177ÿé\203\230\020 ", len = 0}, ttl = {s = 0xffffffff7ec48084 "", len = 0}, user_param = {
s = 0x2400 <Address 0x2400 out of bounds>, len = 1}, maddr = {s = 0xffffffff7c195328 "%2d(%d) %s: %sDEBUG: t_check_msg: msg id=%d global id=%d T end=%p\n",
len = 1}, method = {s = 0x11 <Address 0x11 out of bounds>, len = 0}, lr = {s = 0x26e <Address 0x26e out of bounds>, len = 0}, r2 = {
s = 0x100400 <Address 0x100400 out of bounds>, len = 0}, transport_val = {s = 0xffffffff763077b8 "", len = -1}, ttl_val = {s = 0xffffffff76308278 "ÿÿÿÿ",
len = 0}, user_param_val = {s = 0xffffffff7ec4737c "\nn==", len = 0}, maddr_val = {s = 0x106 <Address 0x106 out of bounds>, len = 0}, method_val = {
s = 0xffffffff7ec4737c "\nn==", len = 0}, lr_val = {s = 0xffffffff7b216ad8 "", len = -1}, r2_val = {s = 0x1004d0338 "", len = -1}}
u = <value optimized out>
port = <value optimized out>
dst_host = <value optimized out>
i = 3
flags = <value optimized out>
avp = <value optimized out>
st = {flags = 0, id = 0, name = {n = 0, s = {s = 0x2 <Address 0x2 out of bounds>, len = 0}, re = 0x2}, avp = 0xffffffff77a109b8}
sct = <value optimized out>
sjt = <value optimized out>
rve = <value optimized out>
mct = <value optimized out>
rv = 0x0
rv1 = <value optimized out>
c1 = {cache_type = RV_CACHE_PVAR, val_type = 4756288, c = {avp_val = {n = -1, s = {s = 0xffffffffffffffff <Address 0xffffffffffffffff out of bounds>, len = 0},
re = 0xffffffffffffffff}, pval = {rs = {s = 0xffffffffffffffff <Address 0xffffffffffffffff out of bounds>, len = 0}, ri = -1, flags = 2147477745}},
i2s = "\000\000\000\001\000\002æÐÿÿÿÿv lpÿÿÿÿ|\024"}
s = {s = 0xffffffff7ffff850 "", len = 0}
srevp = {0x100489bb0, 0x1004d0338}
mod_f_params = {{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}}, {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"
#11 0x000000010002cd28 in run_actions (h=0xffffffff7ffff6c0, a=0x100489bb0, msg=0x1004d0338) at action.c:1610
t = <value optimized out>
ret = <value optimized out>
mod = <value optimized out>
#12 0x000000010002e738 in do_action (h=0xffffffff7ffff6c0, a=0x100489f10, msg=0x1004d0338) at action.c:1107
ret = 1
v = 1
dst = {send_sock = 0x1003bc7ba, to = {s = {sa_family = 0, sa_data = "\000\001\000;É \000\000\000\001\000LúØ"}, sin = {sin_family = 0, sin_port = 1, sin_addr = {
S_un = {S_un_b = {s_b1 = 0 '\000', s_b2 = 59 ';', s_b3 = 201 'É', s_b4 = 32 ' '}, S_un_w = {s_w1 = 59, s_w2 = 51488}, S_addr = 3918112}},
sin_zero = "\000\000\000\001\000LúØ"}, sin6 = {sin6_family = 0, sin6_port = 1, sin6_flowinfo = 3918112, sin6_addr = {_S6_un = {
---Type <return> to continue, or q <return> to quit---
_S6_u8 = "\000\000\000\001\000LúØ\000\000\000\000\000\000\000\005", _S6_u32 = {1, 5044952, 0, 5}, __S6_align = 1}}, sin6_scope_id = 1,
__sin6_src_id = 5044952}}, id = 1, proto = 0 '\000', send_flags = {f = 59 ';', blst_imask = 199 'Ç'}}
tmp = <value optimized out>
new_uri = <value optimized out>
end = <value optimized out>
crt = <value optimized out>
cmd = <value optimized out>
len = <value optimized out>
user = <value optimized out>
uri = {user = {s = 0x1004cfc20 "", len = 0}, passwd = {s = 0x0, len = 0}, host = {s = 0x0, len = 0}, port = {s = 0x0, len = 0}, params = {s = 0x0, len = 0},
sip_params = {s = 0x0, len = 0}, headers = {s = 0x0, len = 0}, port_no = 0, proto = 0, type = ERROR_URI_T, flags = 0, transport = {s = 0x0, len = 0}, ttl = {
s = 0x0, len = 1}, user_param = {s = 0x1003bc91e "\r\n", len = 0}, maddr = {s = 0x0, len = 0}, method = {s = 0x0, len = 0}, lr = {s = 0x0, len = 0}, r2 = {
s = 0x0, len = 0}, transport_val = {s = 0x0, len = 0}, ttl_val = {s = 0x0, len = 0}, user_param_val = {s = 0x0, len = 1}, maddr_val = {
s = 0x33800000000 <Address 0x33800000000 out of bounds>, len = 0}, method_val = {s = 0x0, len = 0}, lr_val = {s = 0x0, len = 0}, r2_val = {s = 0x0, len = 0}}
next_hop = {user = {s = 0x0, len = 0}, passwd = {s = 0x0, len = 0}, host = {s = 0x0, len = 0}, port = {s = 0x0, len = 0}, params = {s = 0x0, len = 0}, sip_params = {
s = 0x0, len = 0}, headers = {s = 0x0, len = 0}, port_no = 0, proto = 0, type = ERROR_URI_T, flags = 0, transport = {s = 0x0, len = -1}, ttl = {
s = 0xffffffff7ffff510 "", len = 0}, user_param = {s = 0x0, len = 1}, maddr = {s = 0x40 <Address 0x40 out of bounds>, len = 0}, method = {
s = 0x7ffffc00 <Address 0x7ffffc00 out of bounds>, len = 0}, lr = {s = 0xffffffff7ec48084 "", len = 0}, r2 = {s = 0x2400 <Address 0x2400 out of bounds>,
len = 1}, transport_val = {s = 0x10025ad00 "%2d(%d) %s: %send of header reached, state=%d\n", len = 0}, ttl_val = {s = 0x18f3d0 <Address 0x18f3d0 out of bounds>,
len = -1}, user_param_val = {s = 0xffffffff7ec3c000 "", len = -1}, maddr_val = {s = 0x10018b914 "@\a\177Ó\220\020kÐ\020oïw\202\024`\035\003", len = 1},
method_val = {s = 0xffffffff7ec3c000 "", len = -1}, lr_val = {s = 0x100168460 "@\b\r", len = 0}, r2_val = {s = 0x0, len = 0}}
u = <value optimized out>
port = <value optimized out>
dst_host = <value optimized out>
i = <value optimized out>
flags = <value optimized out>
avp = <value optimized out>
st = {flags = 4294967295, id = 32767, name = {n = 1, s = {s = 0x10016e30c "@", len = 1}, re = 0x10016e30c}, avp = 0x1002560a0}
sct = <value optimized out>
sjt = <value optimized out>
rve = <value optimized out>
mct = <value optimized out>
rv = <value optimized out>
rv1 = <value optimized out>
c1 = {cache_type = RV_CACHE_EMPTY, val_type = 1049600, c = {avp_val = {n = 1, s = {s = 0x10025a000 "%2d(%d) %s: %sERROR:parse_via: no host found\n", len = 0},
re = 0x10025a000}, pval = {rs = {s = 0x10025a000 "%2d(%d) %s: %sERROR:parse_via: no host found\n", len = 0}, ri = 0, flags = 0}},
i2s = '\000' <repeats 13 times>, "\020\000\000\000\000\000\000\000\020"}
s = {s = 0x0, len = 0}
srevp = {0x100489f10, 0x1004d0338}
mod_f_params = {{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}}, {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"
#13 0x000000010002cd28 in run_actions (h=0xffffffff7ffff6c0, a=0x10047d970, msg=0x1004d0338) at action.c:1610
t = <value optimized out>
ret = <value optimized out>
mod = <value optimized out>
#14 0x0000000100036ebc in run_top_route (a=0x10047d970, msg=0x1004d0338, c=0x0) at action.c:1683
ctx = {rec_lev = 3, run_flags = 0, last_retcode = 1, jmp_env = {0, -2147488431, 4295151472, -2147488239, 4295192244, 4295138640, 0, 13846, 4297387992, 4297418520, 2,
4298884617}}
p = 0xffffffff7ffff6c0
ret = 4708720
sfbk = 0
#15 0x0000000100029708 in receive_msg (buf=<value optimized out>, len=<value optimized out>, rcv_info=<value optimized out>) at receive.c:207
msg = 0x1004d0338
ctx = {rec_lev = 0, run_flags = 0, last_retcode = 0, jmp_env = {10, 4298884584, 65535, 0, 4299914752, -2147485188, -2147487647, 4295860164, 4294967296, 0, 0, 0}}
ret = <value optimized out>
inb = {
s = 0x1003bc5e8 "REGISTER sip:209.252.110.48:5080 SIP/2.0\r\nCall-ID: 466c6f8436a9d35aa4e4ea85e8b27023 at 0.0.0.0\r\nCSeq: 2 REGISTER\r\nFrom: \"N Keeling\" <sip:nkeeli---Type <return> to continue, or q <return> to quit---
ng at akanvoice.com>;tag=fd7f3b3c\r\nTo: \"N Keeling\" <sip:nkeelin"..., len = 824}
__FUNCTION__ = "receive_msg"
#16 0x00000001000da334 in udp_rcv_loop () at udp_server.c:544
len = 824
buf = "REGISTER sip:209.252.110.48:5080 SIP/2.0\r\nCall-ID: 466c6f8436a9d35aa4e4ea85e8b27023 at 0.0.0.0\r\nCSeq: 2 REGISTER\r\nFrom: \"N Keeling\" <sip:nkeeling at akanvoice.com>;tag=fd7f3b3c\r\nTo: \"N Keeling\" <sip:nkeelin"...
from = <value optimized out>
fromlen = 16
ri = {src_ip = {af = 2, len = 4, u = {addrl = {15131089957545836545, 4297205288}, addr32 = {3522981414, 1, 1, 2237992}, addr16 = {53756, 28198, 0, 1, 0, 1, 34,
9768}, addr = "Ñün&\000\000\000\001\000\000\000\001\000\"&("}}, dst_ip = {af = 2, len = 4, u = {addrl = {15131090000495509504, 0}, addr32 = {3522981424, 0,
0, 0}, addr16 = {53756, 28208, 0, 0, 0, 0, 0, 0}, addr = "Ñün0", '\000' <repeats 11 times>}}, src_port = 5060, dst_port = 5080, proto_reserved1 = 0,
proto_reserved2 = 0, src_su = {s = {sa_family = 2, sa_data = "\023ÄÑün&\000\000\000\000\000\000\000"}, sin = {sin_family = 2, sin_port = 5060, sin_addr = {S_un = {
S_un_b = {s_b1 = 209 'Ñ', s_b2 = 252 'ü', s_b3 = 110 'n', s_b4 = 38 '&'}, S_un_w = {s_w1 = 53756, s_w2 = 28198}, S_addr = 3522981414}},
sin_zero = "\000\000\000\000\000\000\000"}, sin6 = {sin6_family = 2, sin6_port = 5060, sin6_flowinfo = 3522981414, sin6_addr = {_S6_un = {
_S6_u8 = '\000' <repeats 15 times>, _S6_u32 = {0, 0, 0, 0}, __S6_align = 0}}, sin6_scope_id = 0, __sin6_src_id = 0}}, bind_address = 0x100462200,
proto = 1 '\001'}
__FUNCTION__ = "udp_rcv_loop"
#17 0x0000000100070680 in main_loop () at main.c:1585
i = <value optimized out>
pid = <value optimized out>
si = <value optimized out>
si_desc = "\000\000\000\000\000\000% \000\000\000\000\000\000$\000\000\000\000\000\000\020\004$\000\000\000\001\000\";\b", '\000' <repeats 13 times>, "\030óÐ\000\000\000\001\000BGà\000\000\000\000\000\000\000\002ÿÿÿÿ\177ÿóq\000\000\000\001\000\037~ ", '\000' <repeats 14 times>, "6\026ÿÿÿÿÿÿÿýÿÿÿÿÿÿÿýÿÿÿÿÿÿÿýÿÿÿÿÿÿÿý"
#18 0x00000001001f8234 in main (argc=<value optimized out>, argv=<value optimized out>) at main.c:2475
cfg_stream = <value optimized out>
c = <value optimized out>
r = 1048576
tmp = 0x0
tmp_len = 0
options = 0x100222c98 ":f:cm:M:dVhEb:l:L:n:vrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:"
seed = 4224501689
rfd = <value optimized out>
debug_save = <value optimized out>
debug_flag = <value optimized out>
dont_fork_cnt = <value optimized out>
n_lst = 0x100000
p = <value optimized out>
(gdb)
More information about the sr-users
mailing list