The fix fixed the problem with the select but I am still getting core dumps. This looks like when an Option request comes in. I have included the back trace from the core files.

Thanks

Nathaniel

On 4/19/2012 10:16 AM, Akan wrote:
The fix resolved the problem.

Thanks

Nathaniel

On 4/18/2012 3:03 AM, Daniel-Constantin Mierla wrote:
Hello,

On 4/17/12 4:52 AM, Akan wrote:
Sorry, I am new to git. What is the git command to add the patch or can I just download all of the updates?
you can download now all updates if you install latest git branch 3.2:

  * http://www.kamailio.org/wiki/install/3.2.x/git

For backporting patches, here are some guidelines:

  * http://www.kamailio.org/wiki/devel/backporting-to-3.2.x

Cheers,
Daniel


Thanks

Nathaniel

On 4/16/2012 8:31 AM, Daniel-Constantin Mierla wrote:
Hello,

the issue was produced inside the debugger module, while printing config trace, according to the worker process back trace.

Can you try with the patch from following commit:

http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=40ddcf88df9ef71bba7c182b7a1d76b559645628

If all goes fine with it, I will backport to stable branch.

Cheers,
Daniel


On 4/16/12 2:58 AM, Akan wrote:
On Solaris they seem to manage core dumps a little differently. Only 3 processes produced core dumps. I have included the text files of the back trace.

Thanks

Nathaniel

On 4/15/2012 5:34 AM, Daniel-Constantin Mierla wrote:
Hello,

this one seems from the main process during the shut down cleanup. Perhaps the core from main process overwritten the one from worker process. Can you enable one core file per process in Solaris? In linux is possible via:

echo "1">  /proc/sys/kernel/core_uses_pid
Then you have to reproduce the case and get the backtraces from each corefile.

Cheers,
Daniel

On 4/14/12 6:58 PM, Akan wrote:
Here is the output from gdb that you requested:

Core was generated by `./kamailio'.
Program terminated with signal 10, Bus error.
#0 0x00000001001c9ff0 in cfg_destory_groups () at cfg/cfg_struct.c:306 306 old_string = *(char **)(block + group->var_offset + mapping[i].offset);
(gdb) bt full
#0 0x00000001001c9ff0 in cfg_destory_groups () at cfg/cfg_struct.c:306
        group = 0x1004e2528
        def = <value optimized out>
        i = <value optimized out>
        group2 = <value optimized out>
        mapping = 0x1004e23d8
        old_string = <value optimized out>
#1  cfg_destroy () at cfg/cfg_struct.c:398
        __FUNCTION__ = "cfg_destroy"
#2  0x0000000100060d44 in cleanup (show_status=1) at main.c:553
        memlog = <value optimized out>
        __FUNCTION__ = "cleanup"
#3 0x0000000100061ae0 in shutdown_children (show_status=<value optimized out>, sig=15) at main.c:678
No locals.
#4  0x0000000100063470 in handle_sigs () at main.c:769
        chld = 0
        chld_status = 0
        memlog = <value optimized out>
#5  0x0000000100066310 in main_loop () at main.c:1713
        i = <value optimized out>
        pid = <value optimized out>
        si = <value optimized out>
si_desc = "udp receiver child=3 sock=209.252.110.38:5060\000óÐ\000\000\000\001\000BE\000\000\000\000\000\000\000\000\002ÿÿÿÿ\177ÿóÁ\000\000\000\001\000\037z\200", '\000' <repeats 14 times>, "gÐÿÿÿÿÿÿÿýÿÿÿÿÿÿÿýÿÿÿÿÿÿÿýÿÿÿÿÿÿÿý" #6 0x00000001001f7e94 in main (argc=<value optimized out>, argv=<value optimized out>) at main.c:2475
        cfg_stream = <value optimized out>
        c = <value optimized out>
        r = -1
        tmp = 0x0
        tmp_len = 0
options = 0x100222858 ":f:cm:M:dVhEb:l:L:n:vrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:"
        seed = 660384647
        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)


Thanks

Nathaniel

On 4/14/2012 3:10 AM, Daniel-Constantin Mierla wrote:
Hello,

from the log messages, you got a core dump file. Locate it (should be in / if you haven't specified -w 'path' or solaris does not have a special directory for corefiles) and get the back trace:

gdb /path/to/kamailio /path/to/corefile

Then inside gdb execute 'bt full' and send the output here.

Cheers,
Daniel

On 4/14/12 2:56 AM, Akan Technology wrote:
hello,

I am running kamailio 3.2.2 on Solaris 10 64 bit and I am getting a core dump on this statement:

   $ru = "sip:" + $rU + "@" + $sel(cfg_get.registrar1.server_ip)
+ $sel(cfg_get.registrar1.server_port);


Here is how the variable is defined:

registrar1.server_ip = "xxx.xxx.xxx.xxx" desc "Registrar server IP address"
registrar1.server_port = "5080" desc "Registrar server Port"


Here is the output from the logs with debug:

10(25373) ERROR: *** cfgtrace: c=[/opt/kamailio-3.2/etc/kamailio/kamailio.cfg] l=1072 a=65 n=assign
10(25373) DEBUG: <core> [select.c:424]: Calling SELECT 1004b2bc0
10(25373) DEBUG: <core> [select.c:424]: Calling SELECT 1004b4da0
10(25373) ERROR: *** cfgtrace:14(25377) : <core> [pass_fd.c:293]: ERROR: receive_fd: EOF on 22 14(25377) DEBUG: <core> [tcp_main.c:3555]: DBG: handle_ser_child: dead child 10, pid 25373 (shutting down?) 14(25377) DEBUG: <core> [io_wait.h:617]: DBG: io_watch_del (1003738b8, 22, 0, 0x0) fd_no=18 called 14(25377) DEBUG: <core> [tcp_main.c:3316]: DBG: handle_tcp_child: dead tcp child 0 (pid 25373, no 10) (shutting down?) 14(25377) DEBUG: <core> [io_wait.h:617]: DBG: io_watch_del (1003738b8, 24, 1, 0x0) fd_no=17 called 0(25363) ALERT: <core> [main.c:751]: child process 25373 exited by a signal 11
 0(25363) ALERT: <core> [main.c:754]: core was generated
0(25363) INFO: <core> [main.c:766]: INFO: terminating due to SIGCHLD
14(25377) INFO: <core> [main.c:817]: INFO: signal 15 received



Here is the full route code:

route[TO_REGISTRAR] {

        # check if Registrar server's IP is defined

        if (strempty($sel(cfg_get.registrar1.server_ip))) {

xlog("SCRIPT: REGISTRAR - registrar1.server_ip not defined\n");
                return;

        }

$ru = "sip:" + $rU + "@" + $sel(cfg_get.registrar1.server_ip) + ":" + $sel(cfg_get.registrar1.server_port);

        route(RELAY);
        exit;

} # End of TO_Registrar Route


I am trying to setup the proxy server to route all registers requests to another kamailio server


Thanks

Nathaniel

_______________________________________________
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


_______________________________________________
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
Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany
http://www.asipto.com/index.php/kamailio-advanced-training/

No virus found in this message.
Checked by AVG - www.avg.com <http://www.avg.com>
Version: 2012.0.1913 / Virus Database: 2411/4937 - Release Date: 04/14/12



_______________________________________________
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
Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany
http://www.asipto.com/index.php/kamailio-advanced-training/

No virus found in this message.
Checked by AVG - www.avg.com <http://www.avg.com>
Version: 2012.0.1913 / Virus Database: 2411/4939 - Release Date: 04/15/12



_______________________________________________
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



-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.1913 / Virus Database: 2411/4946 - Release Date: 04/19/12



Loaded symbols for /lib/sparcv9/ld.so.1
Core was generated by `./kamailio'.
Program terminated with signal 10, Bus error.
#0  0x00000001001ca2d0 in cfg_destory_groups () at cfg/cfg_struct.c:306
306                                                     old_string = *(char 
**)(block + group->var_offset + mapping[i].offset);
(gdb) bt full
#0  0x00000001001ca2d0 in cfg_destory_groups () at cfg/cfg_struct.c:306
        group = 0x1004e27d8
        def = <value optimized out>
        i = <value optimized out>
        group2 = <value optimized out>
        mapping = 0x1004e2688
        old_string = <value optimized out>
#1  cfg_destroy () at cfg/cfg_struct.c:398
        __FUNCTION__ = "cfg_destroy"
#2  0x000000010006be44 in cleanup (show_status=1) at main.c:553
        memlog = <value optimized out>
        __FUNCTION__ = "cleanup"
#3  0x000000010006cbe0 in shutdown_children (show_status=<value optimized out>, 
sig=15) at main.c:678
No locals.
#4  0x000000010006e570 in handle_sigs () at main.c:769
        chld = 0
        chld_status = 0
        memlog = <value optimized out>
#5  0x0000000100071410 in main_loop () at main.c:1713
        i = <value optimized out>
        pid = <value optimized out>
        si = <value optimized out>
        si_desc = "udp receiver child=3 
sock=209.252.110.38:5060\000óÐ\000\000\000\001\000BH\000\000\000\000\000\000\000\000\002ÿÿÿÿ\177ÿóa\000\000\000\001\000\037~
 ", '\000' <repeats 14 times>, "\033Ìÿÿÿÿÿÿÿýÿÿÿÿÿÿÿýÿÿÿÿÿÿÿýÿÿÿÿÿÿÿý"
#6  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 = -1
        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 = 2403180215
        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>
Loaded symbols for /lib/sparcv9/ld.so.1
Core was generated by `./kamailio'.
Program terminated with signal 10, Bus error.
#0  0xffffffff7b312478 in extract_aor (_uri=<value optimized out>, 
_a=0xffffffff7fffe080) at common.c:102
102                     realm_prefix.s = cfg_get(registrar, registrar_cfg, 
realm_pref);
(gdb) bt full
#0  0xffffffff7b312478 in extract_aor (_uri=<value optimized out>, 
_a=0xffffffff7fffe080) at common.c:102
        aor_buf = "100@", '\000' <repeats 251 times>
        puri = {user = {
            s = 0x1003bc614 "100@209.252.110.38 SIP/2.0\r\nVia: SIP/2.0/UDP 
65.111.170.208:5061;TH=div;branch=z9hG4bK-3149072164;rport\r\nContent-Length: 
0\r\nFrom: 
\"sipvicious\"<sip:100@1.1.1.1>;tag=643166633665323631336334013239383037"..., 
len = 3}, passwd = {s = 0x0, len = 0}, host = {
            s = 0x1003bc618 "209.252.110.38 SIP/2.0\r\nVia: SIP/2.0/UDP 
65.111.170.208:5061;TH=div;branch=z9hG4bK-3149072164;rport\r\nContent-Length: 
0\r\nFrom: 
\"sipvicious\"<sip:100@1.1.1.1>;tag=6431666336653236313363340132393830373937"...,
 len = 14}, 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 = 3
        avp_val = {n = -1, s = {s = 0xffffffff7ec4737c "\nn==", len = 0}, re = 
0xffffffff7ec4737c}
        avp = <value optimized out>
        uri = <value optimized out>
        realm_prefix = <value optimized out>
#1  0xffffffff7b30af74 in lookup (_m=0x1004a5a28, _d=0xffffffff76a95700) at 
lookup.c:74
        r = <value optimized out>
        aor = {s = 0xffffffff7b41c8d8 "100@", len = 4}
        uri = {
          s = 0x1003bc610 "sip:100@209.252.110.38 SIP/2.0\r\nVia: SIP/2.0/UDP 
65.111.170.208:5061;TH=div;branch=z9hG4bK-3149072164;rport\r\nContent-Length: 
0\r\nFrom: 
\"sipvicious\"<sip:100@1.1.1.1>;tag=64316663366532363133633401323938"..., len = 
22}
        ptr = <value optimized out>
        res = <value optimized out>
        ret = <value optimized out>
        path_dst = {s = 0xffffffff7fffe601 "", len = -1}
        old_bflags = <value optimized out>
#2  0x000000010002f174 in do_action (h=0xffffffff7fffe690, a=0x10049b220, 
msg=0x1004a5a28) at action.c:1122
        ret = -5
        v = <value optimized out>
        dst = {send_sock = 0x2520, to = {s = {sa_family = 0, sa_data = 
"\000\000\000\000$\000\000\000\000\001\000B\033ð"}, sin = {sin_family = 0, 
sin_port = 0, sin_addr = {S_un = {S_un_b = {
                    s_b1 = 0 '\000', s_b2 = 0 '\000', s_b3 = 36 '$', s_b4 = 0 
'\000'}, S_un_w = {s_w1 = 0, s_w2 = 9216}, S_addr = 9216}}, sin_zero = 
"\000\000\000\001\000B\033ð"}, sin6 = {
              sin6_family = 0, sin6_port = 0, sin6_flowinfo = 9216, sin6_addr = 
{_S6_un = {_S6_u8 = "\000\000\000\001\000B\033ð\000\000\000\000\000\000\000", 
_S6_u32 = {1, 4332528, 0, 0},
                  __S6_align = 1}}, sin6_scope_id = 0, __sin6_src_id = 0}}, id 
= 0, proto = 0 '\000', send_flags = {f = 0 '\000', blst_imask = 0 '\000'}}
        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 = 0xffffffff7fffe66e "² ", len = -1}, passwd = {s = 
0xffffffff7fffe689 "", 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 = 96}, headers = {
            s = 0x1003bc618 "209.252.110.38 SIP/2.0\r\nVia: SIP/2.0/UDP 
65.111.170.208:5061;TH=div;branch=z9hG4bK-3149072164;rport\r\nContent-Length: 
0\r\nFrom: 
\"sipvicious\"<sip:100@1.1.1.1>;tag=6431666336653236313363340132393830373937"...,
 len = 1}, port_no = 0, proto = 1, type = 2215936, flags = URI_USER_NORMALIZE, 
transport = {s = 0x100373000 "", len = 0}, ttl = {s = 0x0, len = 1}, user_param 
= {
            s = 0x13c4 <Address 0x13c4 out of bounds>, len = 0}, maddr = {s = 
0x3 <Address 0x3 out of bounds>, len = 1}, method = {s = 0xe <Address 0xe out 
of bounds>, len = -1}, lr = {
            s = 0x100099b4c "\177þû\225\224\020", len = 0}, r2 = {s = 0x1bd1 
<Address 0x1bd1 out of bounds>, len = 0}, transport_val = {s = 0x1bd1 <Address 
0x1bd1 out of bounds>, len = 1}, ttl_val = {
            s = 0x10021daa0 "<core> [socket_info.c:505]: ", len = 0}, 
user_param_val = {s = 0x13c4 <Address 0x13c4 out of bounds>, len = 0}, 
maddr_val = {
            s = 0x1003bc618 "209.252.110.38 SIP/2.0\r\nVia: SIP/2.0/UDP 
65.111.170.208:5061;TH=div;branch=z9hG4bK-3149072164;rport\r\nContent-Length: 
0\r\nFrom: 
\"sipvicious\"<sip:100@1.1.1.1>;tag=6431666336653236313363340132393830373937"...,
 len = 0}, method_val = {s = 0x100462d38 "209.252.110.38", len = 0}, lr_val = 
{s = 0x0, len = -1}, r2_val = {s = 0x1004942b0 "", len = -1}}
        next_hop = {user = {s = 0x1 <Address 0x1 out of bounds>, len = -1}, 
passwd = {s = 0x4 <Address 0x4 out of bounds>, len = -1}, host = {s = 0x2 
<Address 0x2 out of bounds>, len = 0}, port = {
            s = 0x0, len = 1}, params = {s = 0x13c4 <Address 0x13c4 out of 
bounds>, len = 0}, sip_params = {s = 0xffffffff7fffe8c0 "ÿÿÿÿ~Äs}ÿÿÿÿ\177ÿê ", 
len = 0}, headers = {
            s = 0x106 <Address 0x106 out of bounds>, len = -1}, port_no = 0, 
proto = 1, type = 506876, flags = 0, transport = {s = 0x0, len = 0}, ttl = {s = 
0x0, len = 0}, user_param = {s = 0x0,
            len = 0}, maddr = {s = 0x0, len = 1}, method = {s = 
0x3700000100072000 <Address 0x3700000100072000 out of bounds>, len = -1}, lr = 
{s = 0x1 <Address 0x1 out of bounds>, len = 0}, r2 = {
            s = 0xffffffff7ec4737c "\nn==", len = 0}, transport_val = {
            s = 0x100422561 "         (((((", ' ' <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_val = {s = 
0x1004ae178 "", len = 1}, user_param_val = {
            s = 0xa <Address 0xa out of bounds>, len = -1}, maddr_val = {s = 
0x106 <Address 0x106 out of bounds>, len = -1}, method_val = {s = 0x1000f8ef4 
"\177þ9ë²\020 ", len = 0}, lr_val = {
            s = 0x15 <Address 0x15 out of bounds>, len = -1}, r2_val = {s = 
0xffffffff7fffe5a0 "", 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 = 32452, name = {n = -1, s = {s = 
0xffffffff7fffe620 "ÿÿÿÿ\177ÿö°", len = 0}, re = 0xffffffff7fffe620}, avp = 0x0}
        sct = <value optimized out>
        sjt = <value optimized out>
        rve = <value optimized out>
---Type <return> to continue, or q <return> to quit---
        mct = <value optimized out>
        rv = <value optimized out>
        rv1 = <value optimized out>
        c1 = {cache_type = RV_CACHE_EMPTY, val_type = RV_NONE, c = {avp_val = 
{n = 0, s = {s = 0x0, len = 0}, re = 0x0}, pval = {rs = {s = 0x0, len = 0}, ri 
= 0, flags = 0}},
          i2s = '\000' <repeats 16 times>, "ÿÿÿÿ~Ä"}
        s = {s = 0xffffffff7f60ac00 " \004 \bàr ( \020 ", len = 0}
        srevp = {0x10049b220, 0x1004a5a28}
        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=0xffffffff7fffe690, a=0x10049b220, 
msg=0x1004a5a28) at action.c:1610
        t = <value optimized out>
        ret = <value optimized out>
        mod = <value optimized out>
#4  0x0000000100036e50 in run_actions_safe (h=0xffffffff7ffff6b0, 
a=0x10049b220, msg=0x1004a5a28) at action.c:1662
        ctx = {rec_lev = 1, run_flags = 0, last_retcode = 0, jmp_env = 
{2126803838, -2147492575, 4295151472, -2147492383, 4295192136, 0, 4299768496, 
4299840040, 3617074, 3602879682495941232,
            60129542148, 4}}
        ret = 2147477136
        ign_on_break = 0
#5  0x00000001000f8f28 in rval_get_int (h=0xffffffff7ffff6b0, msg=0x1004a5a28, 
i=0xffffffff7fffebb0, rv=0x10049c5a8, cache=0x0) at rvalue.c:920
        r_avp = <value optimized out>
        avp_val = {n = -1, s = {s = 0xffffffff7ec4737c "\nn==", len = 0}, re = 
0xffffffff7ec4737c}
        pval = {rs = {s = 0x1 <Address 0x1 out of bounds>, len = -1}, ri = 0, 
flags = 4}
        tmp = {s = 0x0, len = 0}
        s = 0x0
        r = <value optimized out>
        ret = 0
        destroy_pval = 0
#6  0x00000001000fe73c in rval_expr_eval_int (h=0xffffffff7ffff6b0, 
msg=0x1004a5a28, res=0xffffffff7fffebb0, rve=0x10049c5a0) 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 = 0, s = {s = 0x0, len = 0}, re = 0x0}, pval = {rs = {s = 0x0, 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 = 4332528, c = {avp_val = {n 
= -1, s = {s = 0xffffffff78b06eb0 "%2d(%d) %s: %s c=[%s] l=%d a=%d n=%.*s\n", 
len = 0}, re = 0xffffffff78b06eb0}, pval = {
              rs = {s = 0xffffffff78b06eb0 "%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=0xffffffff7ffff6b0, 
msg=0x1004a5a28, res=0xffffffff7ffff010, rve=0x10049ccc0) at rvalue.c:1922
        i1 = <value optimized out>
        i2 = <value optimized out>
        ret = -1
        c1 = {cache_type = RV_CACHE_EMPTY, val_type = 9216, c = {avp_val = {n = 
0, s = {s = 0x3 <Address 0x3 out of bounds>, len = 1}, re = 0x3}, pval = {rs = 
{s = 0x3 <Address 0x3 out of bounds>,
                len = 1}, ri = 1, flags = 4828808}}, i2s = 
"\000\000\000\001\000I¾\200\000\000\000\000\000\000\000\001\000\000\000\001\000I"}
        c2 = {cache_type = 4294967295, val_type = 2147476417, c = {avp_val = {n 
= 1, s = {s = 0x10002d38c "@\002Íõ¸\020 \001\200¢ ", len = 0}, re = 
0x10002d38c}, pval = {rs = {
                s = 0x10002d38c "@\002Íõ¸\020 \001\200¢ ", len = 0}, ri = 0, 
flags = 7}}, 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=0xffffffff7ffff6b0, a=0x1004a1668, 
msg=0x1004a5a28) at action.c:1092
        ret = -5
        v = <value optimized out>
        dst = {send_sock = 0x0, to = {s = {sa_family = 0, sa_data = 
"\000\000\001\000\000\000\000\000\000\000\000\000\000\003"}, sin = {sin_family 
= 0, sin_port = 0, sin_addr = {S_un = {S_un_b = {
                    s_b1 = 1 '\001', s_b2 = 0 '\000', s_b3 = 0 '\000', s_b4 = 0 
'\000'}, S_un_w = {s_w1 = 256, s_w2 = 0}, S_addr = 16777216}}, sin_zero = 
"\000\000\000\000\000\000\000\003"}, sin6 = {
              sin6_family = 0, sin6_port = 0, sin6_flowinfo = 16777216, 
sin6_addr = {_S6_un = {_S6_u8 = 
"\000\000\000\000\000\000\000\003\000\000\000\000\000\000\033Ñ", _S6_u32 = {0, 
3, 0, 7121},
                  __S6_align = 0}}, sin6_scope_id = 1, __sin6_src_id = 
4786992}}, id = 0, proto = 0 '\000', send_flags = {f = 0 '\000', blst_imask = 0 
'\000'}}
        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 = 1}, 
passwd = {s = 0x0, len = 0}, host = {s = 0x40 <Address 0x40 out of bounds>, len 
= 0}, port = {s = 0x100421af0 "", len = 0},
          params = {s = 0x0, len = 0}, sip_params = {s = 0x0, len = 0}, headers 
= {s = 0x7ffffc00 <Address 0x7ffffc00 out of bounds>, len = 0}, port_no = 0, 
proto = 0, type = ERROR_URI_T, flags = 0,
---Type <return> to continue, or q <return> to quit---
          transport = {s = 0x0, len = 1}, ttl = {s = 0x0, len = 0}, user_param 
= {s = 0x100840e18 '\001' <repeats 200 times>..., len = 1}, maddr = {
            s = 0x100422561 "         (((((", ' ' <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}, method = {s = 0x30 
<Address 0x30 out of bounds>, len = 0}, lr = {
            s = 0x1004e9227 "00", len = 0}, r2 = {s = 0x0, len = -1}, 
transport_val = {s = 0xffffffff7c169414 "@\004ÐCØX`\200\020oýÈ\001", len = -1}, 
ttl_val = {s = 0x0, len = 1}, user_param_val = {
            s = 0x7fffe421 <Address 0x7fffe421 out of bounds>, len = 0}, 
maddr_val = {s = 0x0, len = 0}, method_val = {s = 0x0, len = 0}, lr_val = {s = 
0x0, len = -1}, r2_val = {
            s = 0xffffffff7fffef40 "", len = 0}}
        next_hop = {user = {s = 0x0, len = 0}, passwd = {s = 0x0, len = -1}, 
host = {s = 0x0, len = 0}, port = {s = 0xffffffff7ec48084 "", len = 0}, params 
= {s = 0x2400 <Address 0x2400 out of bounds>,
            len = 1}, sip_params = {s = 0xffffffff78b06eb0 "%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 
= 0xffffffff78b04290 "@\004\016¼âs¨¿\020oþ\\ÂF\200", len = 0}, ttl = {s = 0x0, 
len = 0}, user_param = {s = 0x0, len = 0},
          maddr = {s = 0x0, len = 1}, method = {s = 0x6 <Address 0x6 out of 
bounds>, len = 1}, lr = {s = 0x2ce <Address 0x2ce out of bounds>, len = 0}, r2 
= {s = 0x7 <Address 0x7 out of bounds>,
            len = 0}, transport_val = {s = 0xffffffff78c077d8 "", len = -1}, 
ttl_val = {s = 0xffffffff78c08298 "ÿÿÿÿ", len = 1}, user_param_val = {s = 
0xffffffff78c08c38 "ÿÿÿÿv©Ï ÿÿÿÿv©L(", len = 1},
          maddr_val = {s = 0x10041dd80 "", len = -1}, method_val = {s = 
0x100038ed4 "\237À@", len = 0}, lr_val = {s = 0xffffffff7b216af8 "", len = 0}, 
r2_val = {
            s = 0x1bd1 <Address 0x1bd1 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 = 0, id = 0, name = {n = 0, s = {s = 0x2 <Address 0x2 out 
of bounds>, len = 0}, re = 0x2}, avp = 0xffffffff792109d8}
        sct = <value optimized out>
        sjt = <value optimized out>
        rve = 0x10049ccc0
        mct = <value optimized out>
        rv = <value optimized out>
        rv1 = <value optimized out>
        c1 = {cache_type = 4294967295, val_type = 2024830680, 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ÿÿÿÿx°l\bÿÿÿÿ|\024"}
        s = {s = 0xffffffff7ffff840 "", len = 0}
        srevp = {0x1004a1668, 0x1004a5a28}
        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=0xffffffff7ffff6b0, a=0x10049b000, 
msg=0x1004a5a28) at action.c:1610
        t = <value optimized out>
        ret = <value optimized out>
        mod = <value optimized out>
#10 0x000000010002e228 in do_action (h=0xffffffff7ffff6b0, a=0x100493d90, 
msg=0x1004a5a28) at action.c:732
        ret = -5
        v = <value optimized out>
        dst = {send_sock = 0x0, to = {s = {sa_family = 0, sa_data = '\000' 
<repeats 13 times>}, sin = {sin_family = 0, sin_port = 0, sin_addr = {S_un = 
{S_un_b = {s_b1 = 0 '\000', s_b2 = 0 '\000',
                    s_b3 = 0 '\000', s_b4 = 0 '\000'}, S_un_w = {s_w1 = 0, s_w2 
= 0}, S_addr = 0}}, sin_zero = "\000\000\000\000\000\000\000"}, sin6 = 
{sin6_family = 0, sin6_port = 0, sin6_flowinfo = 0,
              sin6_addr = {_S6_un = {_S6_u8 = '\000' <repeats 15 times>, 
_S6_u32 = {0, 0, 0, 0}, __S6_align = 0}}, sin6_scope_id = 4294967295, 
__sin6_src_id = 2147481280}}, id = 0, proto = 0 '\000',
          send_flags = {f = 0 '\000', blst_imask = 0 '\000'}}
        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 = 0x1004667a0 "", len = 0}, passwd = {s = 0x0, len = 
0}, host = {s = 0x0, len = -1}, port = {s = 0x0, len = -1}, params = {s = 
0xffffffff7f736c60 "", len = 1}, sip_params = {
            s = 0x0, len = -1}, headers = {s = 0x0, len = -1}, port_no = 0, 
proto = 0, type = 32764, flags = 0, transport = {s = 0x0, len = 0}, ttl = {s = 
0x79cb140 <Address 0x79cb140 out of bounds>,
            len = 1}, user_param = {s = 0x0, len = 1}, maddr = {s = 
0xffffffff7ea3ad60 "À\" ", len = 0}, method = {s = 0xfffffffe7e6cf27c <Address 
0xfffffffe7e6cf27c out of bounds>, len = -1}, lr = {
            s = 0xffffffff7f625d0c "\177ÿýÚ\230\020", len = 1}, r2 = {s = 
0xffffffff7f73aea0 "", len = -1}, transport_val = {s = 0x79cb140 <Address 
0x79cb140 out of bounds>, len = 0}, ttl_val = {
            s = 0xffffffff7f000690 "ÿÿÿÿ\177s® ÿÿÿÿ\177", len = 0}, 
user_param_val = {s = 0xffffffff7f736c60 "", len = 0}, maddr_val = {s = 0x1 
<Address 0x1 out of bounds>, len = -1}, method_val = {
            s = 0x10000e340 "setjmp", len = 1}, lr_val = {s = 0x1b <Address 
0x1b out of bounds>, len = -1}, r2_val = {s = 0xffffffff7ea101d0 "", len = 1}}
        next_hop = {user = {s = 0xffffffff7ea3ad60 "À\" ", len = -1}, passwd = 
{s = 0xffffffff7f736540 "ÿÿÿÿ\177se0", len = -1}, host = {s = 
0xffffffff7f60ac48 "@", 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 = 0x1 <Address 0x1 out of bounds>, len = -1}, ttl = {s = 
0x10000e340 "setjmp", len = -1}, user_param = {s = 0xffffffff7f73aea0 "", len = 
0}, maddr = {
            s = 0x2af <Address 0x2af out of bounds>, len = 0}, method = {s = 
0x0, len = 0}, lr = {s = 0x0, len = 0}, r2 = {s = 0x0, len = 0}, transport_val 
= {s = 0x1003735f0 "", len = 0}, ttl_val = {
            s = 0x0, len = 0}, user_param_val = {s = 0x10036b738 "\223Ä 
0\220\020", len = 0}, maddr_val = {s = 0x10002cf68 "@\fúÞÀ f\210\200¢ ", len = 
0}, method_val = {s = 0x0, len = -1}, lr_val = {
            s = 0x0, len = 0}, r2_val = {s = 0x0, len = 0}}
        u = <value optimized out>
---Type <return> to continue, or q <return> to quit---
        port = <value optimized out>
        dst_host = <value optimized out>
        i = 2
        flags = <value optimized out>
        avp = <value optimized out>
        st = {flags = 0, id = 0, name = {n = 0, s = {s = 0x0, len = 0}, re = 
0x0}, avp = 0x0}
        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_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 = -1, flags = 2137041920}}, i2s = 
"\000\000\000\000\177`¬", '\000' <repeats 14 times>}
        s = {s = 0xffffffff7fffed41 "", len = 1}
        srevp = {0x100493d90, 0x1004a5a28}
        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=0xffffffff7ffff6b0, a=0x100483a58, 
msg=0x1004a5a28) at action.c:1610
        t = <value optimized out>
        ret = <value optimized out>
        mod = <value optimized out>
#12 0x0000000100036ebc in run_top_route (a=0x100483a58, msg=0x1004a5a28, c=0x0) 
at action.c:1683
        ctx = {rec_lev = 2, run_flags = 0, last_retcode = 1, jmp_env = {0, 
-2147488447, 4295151472, -2147488255, 4295192244, 4295136540, 3, 7121, 
4297387992, 4297418520, 2, 4298884647}}
        p = 0xffffffff7ffff6b0
        ret = 4733528
        sfbk = 0
#13 0x0000000100029708 in receive_msg (buf=<value optimized out>, len=<value 
optimized out>, rcv_info=<value optimized out>) at receive.c:207
        msg = 0x1004a5a28
        ctx = {rec_lev = 0, run_flags = 0, last_retcode = 0, jmp_env = {6, 
4298884616, 65535, 0, 4299934272, -2147485204, -2147487663, 4295860164, 3, 
-2267956376, 0, 3}}
        ret = <value optimized out>
        inb = {
          s = 0x1003bc608 "OPTIONS sip:100@209.252.110.38 SIP/2.0\r\nVia: 
SIP/2.0/UDP 
65.111.170.208:5061;TH=div;branch=z9hG4bK-3149072164;rport\r\nContent-Length: 
0\r\nFrom: \"sipvicious\"<sip:100@1.1.1.1>;tag=643166633665323631336334"..., 
len = 433}
        __FUNCTION__ = "receive_msg"
#14 0x00000001000da334 in udp_rcv_loop () at udp_server.c:544
        len = 417
        buf = "OPTIONS sip:100@209.252.110.38 SIP/2.0\r\nVia: SIP/2.0/UDP 
65.111.170.208:5061;TH=div;branch=z9hG4bK-3149072164;rport\r\nContent-Length: 
0\r\nFrom: \"sipvicious\"<sip:100@1.1.1.1>;tag=643166633665323631336334"...
        from = <value optimized out>
        fromlen = 16
        ri = {src_ip = {af = 2, len = 4, u = {addrl = {4715175147200924840, 0}, 
addr32 = {1097837264, 1990806696, 0, 0}, addr16 = {16751, 43728, 30377, 19624, 
0, 0, 0, 0},
              addr = "AoªÐv©L¨\000\000\000\000\000\000\000"}}, dst_ip = {af = 
2, len = 4, u = {addrl = {15131089957545836544, 0}, addr32 = {3522981414, 0, 0, 
0}, addr16 = {53756, 28198, 0, 0, 0, 0, 0,
                0}, addr = "Ñün&", '\000' <repeats 11 times>}}, src_port = 
5061, dst_port = 5060, proto_reserved1 = 0, proto_reserved2 = 0, src_su = {s = 
{sa_family = 2,
              sa_data = "\023ÅAoªÐ\000\000\000\000\000\000\000"}, sin = 
{sin_family = 2, sin_port = 5061, sin_addr = {S_un = {S_un_b = {s_b1 = 65 'A', 
s_b2 = 111 'o', s_b3 = 170 'ª', s_b4 = 208 'Ð'},
                  S_un_w = {s_w1 = 16751, s_w2 = 43728}, S_addr = 1097837264}}, 
sin_zero = "\000\000\000\000\000\000\000"}, sin6 = {sin6_family = 2, sin6_port 
= 5061, sin6_flowinfo = 1097837264,
              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 = 0x100462c30, proto = 1 '\001'}
        __FUNCTION__ = "udp_rcv_loop"
#15 0x0000000100070680 in main_loop () at main.c:1585
        i = <value optimized out>
        pid = <value optimized out>
        si = <value optimized out>
        si_desc = "udp receiver child=2 
sock=209.252.110.38:5060\000óÐ\000\000\000\001\000BH\000\000\000\000\000\000\000\000\002ÿÿÿÿ\177ÿóa\000\000\000\001\000\037~
 ", '\000' <repeats 14 times>, "\033Ìÿÿÿÿÿÿÿýÿÿÿÿÿÿÿýÿÿÿÿÿÿÿýÿÿÿÿÿÿÿý"
#16 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 = 3619204
        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 = 2403180215
        rfd = <value optimized out>
---Type <return> to continue, or q <return> to quit---
        debug_save = <value optimized out>
        debug_flag = <value optimized out>
        dont_fork_cnt = <value optimized out>
        n_lst = 0x100000
        p = <value optimized out>
(gdb)
_______________________________________________
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

Reply via email to