jmordica left a comment (kamailio/kamailio#4102)

New logs from the most recent crash:

```
CRITICAL: {1 1 SUBSCRIBE 0_1097988702@10.58.1.164} <core> [core/ip_addr.h:516]: 
su2ip_addr(): unknown address family 0
ERROR: {1 1 SUBSCRIBE 0_1097988702@10.58.1.164} <core> [core/udp_server.c:810]: 
udp_send(): sendto(sock, buf: 0x7f5a1eebcea0, len: 821, 0, dst: (:0), tolen: 
16) - err: Invalid argument (22)
CRITICAL: {1 1 SUBSCRIBE 0_1097988702@10.58.1.164} <core> 
[core/udp_server.c:817]: udp_send(): invalid sendtoparameters
one possible reason is the server is bound to localhost and attempts to send to 
the net
ERROR: {1 1 SUBSCRIBE 0_1097988702@10.58.1.164} tm [../../core/forward.h:245]: 
msg_send_buffer(): udp_send failed
WARNING: {1 1 SUBSCRIBE 0_1097988702@10.58.1.164} tm [t_fwd.c:1586]: 
t_send_branch(): sending request on branch 0 failed
```

```
(gdb) bt full
#0  0x0000557021d271e0 in slow_timer_main () at core/timer.c:1095
        n = <optimized out>
        ret = <optimized out>
        tl = 0x7f5a0db17698
        i = <optimized out>
        __func__ = "slow_timer_main"
#1  0x0000557021b0a084 in main_loop () at ./src/main.c:1916
        i = <optimized out>
        pid = <optimized out>
        si = <optimized out>
        si_desc = "udp receiver child=7 
sock=10.142.0.56:5061\000(35.196.54.83:8060)\000\377\001\000\000\000\000\000\000\000\214\205\377\"\\\177\000\000\001\000\000\000\000\000\000\000\t\000\000\000\000\000\000\000Fri
 Mar 14 17:54:06 2025\n\000\024#\\\177\000"
        nrprocs = <optimized out>
        woneinit = 1
        __func__ = "main_loop"
        error = <optimized out>
#2  0x0000557021afe53c in main (argc=<optimized out>, argv=<optimized out>) at 
./src/main.c:3257
        cfg_stream = <optimized out>
        c = <optimized out>
        r = <optimized out>
        tmp = 0x7ffe073a84f4 ""
        tmp_len = 791621423
        port = 5060
        proto = 0
        aproto = 0
        ahost = 0x0
        aport = 0
        options = 0x557021e58df0 
":f:cm:M:dVIhEeb:B:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:x:X:Y:"
        ret = -1
        seed = 2003851303
        rfd = <optimized out>
        debug_save = <optimized out>
        debug_flag = <optimized out>
        dont_fork_cnt = 2
        n_lst = <optimized out>
        p = <optimized out>
        st = {st_dev = 1048610, st_ino = 2588088, st_nlink = 2, st_mode = 
16877, st_uid = 102, st_gid = 103, __pad0 = 0, st_rdev = 0, st_size = 4096, 
st_blksize = 4096, st_blocks = 8, 
          st_atim = {tv_sec = 1737946262, tv_nsec = 278758139}, st_mtim = 
{tv_sec = 1737634803, tv_nsec = 0}, st_ctim = {tv_sec = 1737946262, tv_nsec = 
238758139}, __glibc_reserved = {0, 
--Type <RET> for more, q to quit, c to continue without paging--info locals
            0, 0}}
        l1 = <optimized out>
        tbuf = '\000' <repeats 511 times>
        option_index = 0
        long_options = {{name = 0x557021e57317 "help", has_arg = 0, flag = 0x0, 
val = 104}, {name = 0x557021e60b4e "version", has_arg = 0, flag = 0x0, val = 
118}, {
            name = 0x557021e70553 "alias", has_arg = 1, flag = 0x0, val = 
1024}, {name = 0x557021e5731c "subst", has_arg = 1, flag = 0x0, val = 1025}, 
{name = 0x557021e57322 "substdef", 
            has_arg = 1, flag = 0x0, val = 1026}, {name = 0x557021e5732b 
"substdefs", has_arg = 1, flag = 0x0, val = 1027}, {name = 0x557021e57335 
"server-id", has_arg = 1, flag = 0x0, 
            val = 1028}, {name = 0x557021e5733f "loadmodule", has_arg = 1, flag 
= 0x0, val = 1029}, {name = 0x557021e5734a "modparam", has_arg = 1, flag = 0x0, 
val = 1030}, {
            name = 0x557021e57353 "log-engine", has_arg = 1, flag = 0x0, val = 
1031}, {name = 0x557021e60c6b "debug", has_arg = 1, flag = 0x0, val = 1032}, {
            name = 0x557021e5735e "cfg-print", has_arg = 0, flag = 0x0, val = 
1033}, {name = 0x557021e57368 "atexit", has_arg = 1, flag = 0x0, val = 1034}, {
            name = 0x557021e5736f "all-errors", has_arg = 0, flag = 0x0, val = 
1035}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
        __func__ = "main"
(gdb) list
1090    in core/timer.c
```

@miconda anything interesting here?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4102#issuecomment-2738532825
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/4102/2738532...@github.com>
_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to