[sr-dev] [kamailio/kamailio] dispatcher: kamcmd dispatcher.reload kamailio SIGCHLD (#846)

Rick notifications at github.com
Thu Nov 3 13:58:21 CET 2016


Ok now I got two core files this one is the second one:

```
(gdb) bt full
#0  0x00000008098ce9c8 in add_dest2list (id=2, uri={s = 0x80299c05a "sip:5.159.56.120", len = 16}, flags=0, priority=0, attrs=0x7fffffff4ed0, list_idx=1, setn=0x7fffffff4f04) at dispatch.c:434
	dp = (ds_dest_t *) 0x809ee7810
	sp = (ds_set_t *) 0x809ed33d8
	dp0 = (ds_dest_t *) 0xc0c0c0c0
	dp1 = (ds_dest_t *) 0x0
#1  0x00000008098d7854 in ds_load_db () at dispatch.c:959
	i = 0
	id = 2
	nr_rows = 5
	setn = 1
	flags = 0
	priority = 0
	nrcols = 5
	dest_errs = 0
	uri = {s = 0x80299c05a "sip:5.159.56.120", len = 16}
	attrs = {s = 0x80299c06f "", len = 0}
	res = (db1_res_t *) 0x801a214b8
	values = (db_val_t *) 0x801a1e4b8
	rows = (db_row_t *) 0x801a1e400
	query_cols = {0x809b279f8, 0x809b27a08, 0x809b27a18, 0x809b27a28, 0x809b27a38}
#2  0x00000008098d904c in ds_reload_db () at dispatch.c:870
	ret = 43520061
#3  0x0000000809912a20 in dispatcher_rpc_reload (rpc=0x804c01c48, ctx=0x7fffffff53e0) at dispatcher.c:1177
No locals.
#4  0x00000008049bc475 in process_rpc_req (buf=0x802981034 "�\003\024\016F.�\221\022dispatcher.reload", size=27, bytes_needed=0x7fffffff5948, sh=0x7fffffff58c0, saved_state=0x802991038) at binrpc_run.c:675
	err = 0
	val = {name = {s = 0x802982000 "", len = -43824}, type = 1, u = {strval = {s = 0x80298103d "dispatcher.reload", len = 17}, fval = 1.6997468094767194e-313, intval = 43520061, end = 43520061}}
	rpc_e = (rpc_export_t *) 0x801ab6578
	f_ctx = {in = {ctx = {tlen = 20, cookie = 239480522, type = 0, flags = 1, offset = 20, in_struct = 0, in_array = 0}, s = 0x80298104f "", end = 0x80298104f "", record_no = 0, in_struct = 0}, out = {
    pkt = {body = 0x802992000 "", end = 0x80299a000 "", crt = 0x802992000 ""}, structs = {next = 0x7fffffff5430, prev = 0x7fffffff5430}}, send_h = 0x7fffffff58c0, method = 0x80298103d "dispatcher.reload", 
  gc = 0x0, replied = 0, err_code = 0, err_phrase = {s = 0x0, len = 0}}
	ctx = (struct binrpc_parse_ctx *) 0x7fffffff53e0
#5  0x00000008049d7a99 in handle_stream_read (s_c=0x802981000, idx=-1) at io_listener.c:511
	bytes_free = 65535
	bytes_read = 27
	bytes_needed = 0
	bytes_processed = 27
	r = (struct stream_req *) 0x802981020
	sh = {fd = 11, type = 0, from = {sa_in = {s = {sa_len = 186 '�', sa_family = 61 '=', sa_data = "k\000\000\000\000\000\000\020\230\002\b\000\000"}, sin = {sin_len = 186 '�', sin_family = 61 '=', 
        sin_port = 107, sin_addr = {s_addr = 0}, sin_zero = "\000\020\230\002\b\000\000"}, sin6 = {sin6_len = 186 '�', sin6_family = 61 '=', sin6_port = 107, sin6_flowinfo = 0, sin6_addr = {__u6_addr = {
            __u6_addr8 = "\000\020\230\002\b\000\000\000\v\000\000\000\020\000\000", __u6_addr16 = {4096, 664, 8, 0, 11, 0, 16, 0}, __u6_addr32 = {43520000, 8, 11, 16}}}, sin6_scope_id = 272}}, sa_un = {
      sun_len = 186 '�', sun_family = 61 '=', 
      sun_path = "k\000\000\000\000\000\000\020\230\002\b\000\000\000\v\000\000\000\020\000\000\000\020\001", '\0' <repeats 14 times>, "��������\033\000\000\000\000\000\000\000\220��\001\b\000\000\000\234>k\000\000\000\000\000 _\177\000\000\000\000\000\210(�\t\b\000\000\000 at Y���\177\000\000\f�\235\004\b\000\000\000\000"}}, from_len = 0}
#6  0x00000008049d2b35 in handle_io (fm=0x801ac1c78, events=1, idx=-1) at io_listener.c:706
	ret = 8
#7  0x00000008049cf66c in io_wait_loop_kqueue (h=0x804c11d80, t=10, repeat=0) at io_wait.h:1182
	n = 1
	r = 0
	tspec = {tv_sec = 10, tv_nsec = 0}
	fm = (struct fd_map *) 0x801ac1c78
	orig_changes = 0
	apply_changes = 0
	revents = 1
#8  0x00000008049c83b2 in io_listen_loop (fd_no=1, cs_lst=0x80283d700) at io_listener.c:293
	max_fd_no = 199
	poll_err = 0x0
	poll_method = 6
	cs = (struct ctrl_socket *) 0x0
	type = 2
#9  0x00000008049a6f12 in mod_child (rank=0) at ctl.c:320
	rpc_handler = 1
	pid = 0
	cs = (struct ctrl_socket *) 0x801a33ff8
#10 0x0000000000508a93 in init_mod_child (m=0x8018587e8, rank=0) at sr_module.c:921
No locals.
#11 0x00000000005084ba in init_mod_child (m=0x801858e48, rank=0) at sr_module.c:918
No locals.
#12 0x00000000005084ba in init_mod_child (m=0x80185a758, rank=0) at sr_module.c:918
No locals.
#13 0x00000000005084ba in init_mod_child (m=0x80185ade0, rank=0) at sr_module.c:918
No locals.
#14 0x00000000005084ba in init_mod_child (m=0x80185b5b0, rank=0) at sr_module.c:918
No locals.
#15 0x00000000005084ba in init_mod_child (m=0x80185bdb0, rank=0) at sr_module.c:918
No locals.
#16 0x00000000005084ba in init_mod_child (m=0x80185c510, rank=0) at sr_module.c:918
No locals.
#17 0x00000000005084ba in init_mod_child (m=0x80185e008, rank=0) at sr_module.c:918
No locals.
#18 0x00000000005084ba in init_mod_child (m=0x80185ee20, rank=0) at sr_module.c:918
No locals.
#19 0x00000000005084ba in init_mod_child (m=0x80185f458, rank=0) at sr_module.c:918
No locals.
#20 0x00000000005084ba in init_mod_child (m=0x80185f970, rank=0) at sr_module.c:918
No locals.
#21 0x00000000005084ba in init_mod_child (m=0x80185fde0, rank=0) at sr_module.c:918
No locals.
#22 0x00000000005084ba in init_mod_child (m=0x801860a60, rank=0) at sr_module.c:918
No locals.
#23 0x00000000005084ba in init_mod_child (m=0x801860e30, rank=0) at sr_module.c:918
No locals.
#24 0x00000000005084ba in init_mod_child (m=0x8018617f8, rank=0) at sr_module.c:918
No locals.
#25 0x00000000005084ba in init_mod_child (m=0x801868820, rank=0) at sr_module.c:918
No locals.
#26 0x00000000005084ba in init_mod_child (m=0x801869668, rank=0) at sr_module.c:918
No locals.
#27 0x00000000005084ba in init_mod_child (m=0x80186a180, rank=0) at sr_module.c:918
No locals.
#28 0x00000000005084ba in init_mod_child (m=0x80186aa70, rank=0) at sr_module.c:918
No locals.
#29 0x00000000005084ba in init_mod_child (m=0x80186aea0, rank=0) at sr_module.c:918
No locals.
#30 0x00000000005084ba in init_mod_child (m=0x80186b2a0, rank=0) at sr_module.c:918
No locals.
#31 0x00000000005084ba in init_mod_child (m=0x80186b668, rank=0) at sr_module.c:918
No locals.
#32 0x00000000005084ba in init_mod_child (m=0x80186bea8, rank=0) at sr_module.c:918
No locals.
#33 0x00000000005084ba in init_mod_child (m=0x80186c658, rank=0) at sr_module.c:918
No locals.
#34 0x00000000005084ba in init_mod_child (m=0x80186ced0, rank=0) at sr_module.c:918
No locals.
#35 0x00000000005084ba in init_mod_child (m=0x80186d440, rank=0) at sr_module.c:918
No locals.
#36 0x00000000005084ba in init_mod_child (m=0x80186dad8, rank=0) at sr_module.c:918
No locals.
#37 0x00000000005084ba in init_mod_child (m=0x80186e140, rank=0) at sr_module.c:918
No locals.
#38 0x00000000005084ba in init_mod_child (m=0x80186e690, rank=0) at sr_module.c:918
No locals.
#39 0x00000000005084ba in init_mod_child (m=0x80186eb38, rank=0) at sr_module.c:918
No locals.
#40 0x00000000005084ba in init_mod_child (m=0x80186f1a0, rank=0) at sr_module.c:918
No locals.
#41 0x00000000005084ba in init_mod_child (m=0x80186f5a0, rank=0) at sr_module.c:918
No locals.
#42 0x00000000005084ba in init_mod_child (m=0x80186fa50, rank=0) at sr_module.c:918
No locals.
#43 0x000000000050846a in init_child (rank=0) at sr_module.c:947
No locals.
#44 0x000000000052f032 in main_loop () at main.c:1697
	i = 8
	pid = 44543
	si = (struct socket_info *) 0x0
	si_desc = "udp receiver child=7 sock=5.159.56.124:5060\000\b\000\000\000\001", '\0' <repeats 15 times>, "\020����\177\000\000\230����\177\000\000\030����\177\000\000\017\000\000\000\000\000\000\000P����\177\000\000��x\000\000\000\000\000U�\232\000\000\000\000\000\000\000\000\000\004\000\000"
	nrprocs = 8
	woneinit = 1
#45 0x000000000053b530 in main (argc=15, argv=0x7fffffffeb18) at main.c:2632
	cfg_stream = (FILE *) 0x801206170
	c = -1
	r = 0
	tmp = 0x7fffffffede9 ""
	tmp_len = 32767
	port = -5224
	proto = 32767
	options = 0x99b412 ":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:x:X:"
	ret = -1
	seed = 1833853928
	rfd = 4
	debug_save = 0
	debug_flag = 0
	dont_fork_cnt = 0
	n_lst = (struct name_lst *) 0xf
	p = 0x7fffffffeb18 "�����\177"
	st = {st_dev = 90, st_ino = 402609, st_mode = 16832, st_nlink = 2, st_uid = 986, st_gid = 986, st_rdev = 826095, st_atim = {tv_sec = 1462371141, tv_nsec = 922319000}, st_mtim = {tv_sec = 1478177288, 
    tv_nsec = 435051000}, st_ctim = {tv_sec = 1478177288, tv_nsec = 435051000}, st_size = 512, st_blocks = 8, st_blksize = 32768, st_flags = 0, st_gen = 0, st_lspare = 0, st_birthtim = {tv_sec = 1462371141, 
    tv_nsec = 922274000}}
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/846#issuecomment-258135062
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20161103/6e5bf19a/attachment-0001.html>


More information about the sr-dev mailing list