I attached to running process and get backtrache
```
(gdb) bt
#0 wsconn_get (id=272) at ws_conn.c:467
#1 0x0000ffff81da9328 in ws_keepalive (ticks=115406406, param=0x2) at ws_frame.c:806
#2 0x00000000006c9d4c in fork_sync_timer (child_id=-1, desc=0xffff81db0ea8
"WEBSOCKET KEEPALIVE", make_sock=1, f=0xffff81da92a4 <ws_keepalive>,
param=0x2, interval=1000) at core/timer_proc.c:267
#3 0x0000ffff81d99e94 in child_init (rank=0) at websocket.c:303
#4 0x00000000005f30b8 in init_mod_child (m=0xffff8cc913b0, rank=0) at
core/sr_module.c:877
#5 0x00000000005f2c48 in init_mod_child (m=0xffff8cce61e8, rank=0) at
core/sr_module.c:870
#6 0x00000000005f2c48 in init_mod_child (m=0xffff8cdb27b0, rank=0) at
core/sr_module.c:870
#7 0x00000000005f2c48 in init_mod_child (m=0xffff8cdd8798, rank=0) at
core/sr_module.c:870
#8 0x00000000005f2c48 in init_mod_child (m=0xffff8cdd9448, rank=0) at
core/sr_module.c:870
#9 0x00000000005f2c48 in init_mod_child (m=0xffff8cddaf00, rank=0) at
core/sr_module.c:870
#10 0x00000000005f2c48 in init_mod_child (m=0xffff8ce15c28, rank=0) at
core/sr_module.c:870
#11 0x00000000005f2c48 in init_mod_child (m=0xffff8ce76c50, rank=0) at
core/sr_module.c:870
#12 0x00000000005f2c48 in init_mod_child (m=0xffff8ce77400, rank=0) at
core/sr_module.c:870
#13 0x00000000005f2c48 in init_mod_child (m=0xffff8ceddd18, rank=0) at
core/sr_module.c:870
#14 0x00000000005f3ad4 in init_child (rank=0) at core/sr_module.c:931
#15 0x0000000000432c00 in main_loop () at main.c:1841
#16 0x000000000043f088 in main (argc=11, argv=0xffffcd7942a8) at main.c:3074
(gdb) bt full
#0 wsconn_get (id=272) at ws_conn.c:467
id_hash = 272
wsc = 0xffff86824708
__func__ = "wsconn_get"
#1 0x0000ffff81da9328 in ws_keepalive (ticks=115406406, param=0x2) at ws_frame.c:806
check_time = 1671278465
list_head = 0xffff8ccbec28
wsc = 0x0
i = 0
idx = 2
__func__ = "ws_keepalive"
#2 0x00000000006c9d4c in fork_sync_timer (child_id=-1, desc=0xffff81db0ea8
"WEBSOCKET KEEPALIVE", make_sock=1, f=0xffff81da92a4 <ws_keepalive>,
param=0x2, interval=1000) at core/timer_proc.c:267
pid = 0
ts1 = 1846502504
ts2 = 1000
#3 0x0000ffff81d99e94 in child_init (rank=0) at websocket.c:303
i = 2
__func__ = "child_init"
#4 0x00000000005f30b8 in init_mod_child (m=0xffff8cc913b0, rank=0) at
core/sr_module.c:877
ret = 0
__func__ = "init_mod_child"
#5 0x00000000005f2c48 in init_mod_child (m=0xffff8cce61e8, rank=0) at
core/sr_module.c:870
ret = 65535
__func__ = "init_mod_child"
#6 0x00000000005f2c48 in init_mod_child (m=0xffff8cdb27b0, rank=0) at
core/sr_module.c:870
ret = 0
__func__ = "init_mod_child"
#7 0x00000000005f2c48 in init_mod_child (m=0xffff8cdd8798, rank=0) at
core/sr_module.c:870
ret = 0
__func__ = "init_mod_child"
#8 0x00000000005f2c48 in init_mod_child (m=0xffff8cdd9448, rank=0) at
core/sr_module.c:870
ret = 0
__func__ = "init_mod_child"
#9 0x00000000005f2c48 in init_mod_child (m=0xffff8cddaf00, rank=0) at
core/sr_module.c:870
ret = 0
__func__ = "init_mod_child"
#10 0x00000000005f2c48 in init_mod_child (m=0xffff8ce15c28, rank=0) at
core/sr_module.c:870
ret = 0
__func__ = "init_mod_child"
#11 0x00000000005f2c48 in init_mod_child (m=0xffff8ce76c50, rank=0) at
core/sr_module.c:870
ret = 0
__func__ = "init_mod_child"
#12 0x00000000005f2c48 in init_mod_child (m=0xffff8ce77400, rank=0) at
core/sr_module.c:870
ret = 0
__func__ = "init_mod_child"
#13 0x00000000005f2c48 in init_mod_child (m=0xffff8ceddd18, rank=0) at
core/sr_module.c:870
ret = 1
__func__ = "init_mod_child"
#14 0x00000000005f3ad4 in init_child (rank=0) at core/sr_module.c:931
ret = -847692824
type = 0x903658 "PROC_MAIN"
__func__ = "init_child"
#15 0x0000000000432c00 in main_loop () at main.c:1841
i = 8
pid = 5599
si = 0x0
si_desc = "udp receiver child=7
sock=[2605:84c0:48:5::6]:5080\000\214\377\377\000\000
=y\315\377\377\000\000\270\017\201\214\377\377\000\000\360<y\315\377\377\000\000\220U\335\214\377\377\000\000\020=y\315\377\377\000\000
=y\315\377\377\000\000
=y\315\377\377\000\000\360<y\315\377\377\000\000\320\377\377\377\200\377\377\377"
nrprocs = 8
woneinit = 1
__func__ = "main_loop"
#16 0x000000000043f088 in main (argc=11, argv=0xffffcd7942a8) at main.c:3074
cfg_stream = 0x404c02a0
c = -1
r = 0
tmp = 0xffffcd79fe7a ""
tmp_len = 0
port = 0
proto = 65535
ahost = 0x0
aport = 0
options = 0x8c7da0
":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:x:X:Y:"
ret = -1
seed = 1316653355
rfd = 4
debug_save = 0
debug_flag = 0
dont_fork_cnt = 2
n_lst = 0xffffffff
p = 0xffff8dfe4348 <__libc_start_main+160> ""
st = {st_dev = 25, st_ino = 17801, st_mode = 16832, st_nlink = 2, st_uid = 992,
st_gid = 987, st_rdev = 0, __pad1 = 0, st_size = 40, st_blksize = 65536, __pad2 = 0,
st_blocks = 0, st_atim = {tv_sec = 1669922150, tv_nsec = 859999981}, st_mtim = {tv_sec =
1669922150, tv_nsec = 859999981}, st_ctim = {tv_sec = 1669922150, tv_nsec = 859999981},
__glibc_reserved = {0, 0}}
tbuf = '\000' <repeats 56 times>,
"x\376\063\216\377\377\000\000h\376\063\216\377\377\000\000\b\376\063\216\377\377\000\000(\376\063\216\377\377\000\000\070\376\063\216\377\377\000\000\250\376\063\216\377\377\000\000\270\376\063\216\377\377\000\000\310\376\063\216\377\377\000\000H\376\063\216\377\377\000\000X\376\063\216\377\377",
'\000' <repeats 18 times>, "\330\375\063\216\377\377",
'\000' <repeats 42 times>...
option_index = 12
long_options = {{name = 0x8ca178 "help", has_arg = 0, flag = 0x0, val =
104}, {name = 0x8c4fe0 "version", has_arg = 0, flag = 0x0, val = 118}, {name =
0x8ca180 "alias", has_arg = 1, flag = 0x0, val = 1024}, {name = 0x8ca188
"subst", has_arg = 1, flag = 0x0, val = 1025}, {name = 0x8ca190
"substdef", has_arg = 1, flag = 0x0, val = 1026}, {name = 0x8ca1a0
"substdefs", has_arg = 1, flag = 0x0, val = 1027}, {name = 0x8ca1b0
"server-id", has_arg = 1, flag = 0x0, val = 1028}, {name = 0x8ca1c0
"loadmodule", has_arg = 1, flag = 0x0, val = 1029}, {name = 0x8ca1d0
"modparam", has_arg = 1, flag = 0x0, val = 1030}, {name = 0x8ca1e0
"log-engine", has_arg = 1, flag = 0x0, val = 1031}, {name = 0x8ca1f0
"debug", has_arg = 1, flag = 0x0, val = 1032}, {name = 0x8ca1f8
"cfg-print", has_arg = 0, flag = 0x0, val = 1033}, {name = 0x8ca208
"atexit", has_arg = 1, flag = 0x0, val = 1034}, {name = 0x0, has_arg = 0, flag =
0x0, val = 0}}
__func__ = "main"
```
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3278#issuecomment-1356227289
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3278/1356227289(a)github.com>