<pre><code>(gdb) bt full
#0 0x0000000800f97e3a in _kevent () from /lib/libc.so.7
No symbol table info available.
#1 0x00000008046c4ca2 in pthread_suspend_all_np () from /lib/libthr.so.3
No symbol table info available.
#2 0x000000080567c944 in io_wait_loop_kqueue (h=0x8058be9f0, t=10, repeat=0) at io_wait.h:1094
n = 0
r = 0
tspec = {tv_sec = 10, tv_nsec = 0}
fm = (struct fd_map *) 0x801982738
orig_changes = 0
apply_changes = 0
revents = 1
#3 0x0000000805676d19 in io_listen_loop (fd_no=1, cs_lst=0x801648a00) at io_listener.c:293
max_fd_no = 289
poll_err = 0x0
poll_method = 6
cs = (struct ctrl_socket *) 0x0
type = 2
#4 0x0000000805656411 in mod_child (rank=0) at ctl.c:337
rpc_handler = 1
pid = 0
cs = (struct ctrl_socket *) 0x0
#5 0x0000000000505cdd in init_mod_child (m=0x801859fe8, rank=0) at core/sr_module.c:938
No locals.
#6 0x0000000000505727 in init_mod_child (m=0x80185a648, rank=0) at core/sr_module.c:935
No locals.
#7 0x0000000000505727 in init_mod_child (m=0x80185c0d0, rank=0) at core/sr_module.c:935
No locals.
#8 0x0000000000505727 in init_mod_child (m=0x80185c898, rank=0) at core/sr_module.c:935
No locals.
#9 0x0000000000505727 in init_mod_child (m=0x80185d098, rank=0) at core/sr_module.c:935
No locals.
#10 0x0000000000505727 in init_mod_child (m=0x80185d7f0, rank=0) at core/sr_module.c:935
No locals.
#11 0x0000000000505727 in init_mod_child (m=0x80185f600, rank=0) at core/sr_module.c:935
No locals.
#12 0x0000000000505727 in init_mod_child (m=0x801860410, rank=0) at core/sr_module.c:935
No locals.
#13 0x0000000000505727 in init_mod_child (m=0x801860a48, rank=0) at core/sr_module.c:935
No locals.
#14 0x0000000000505727 in init_mod_child (m=0x801860f60, rank=0) at core/sr_module.c:935
No locals.
#15 0x0000000000505727 in init_mod_child (m=0x8018613d0, rank=0) at core/sr_module.c:935
No locals.
#16 0x0000000000505727 in init_mod_child (m=0x8018620c0, rank=0) at core/sr_module.c:935
No locals.
#17 0x0000000000505727 in init_mod_child (m=0x801862488, rank=0) at core/sr_module.c:935
No locals.
#18 0x0000000000505727 in init_mod_child (m=0x801862e48, rank=0) at core/sr_module.c:935
No locals.
#19 0x0000000000505727 in init_mod_child (m=0x80186a6b0, rank=0) at core/sr_module.c:935
No locals.
#20 0x0000000000505727 in init_mod_child (m=0x80186b530, rank=0) at core/sr_module.c:935
No locals.
#21 0x0000000000505727 in init_mod_child (m=0x80186c0b0, rank=0) at core/sr_module.c:935
No locals.
#22 0x0000000000505727 in init_mod_child (m=0x80186c998, rank=0) at core/sr_module.c:935
No locals.
#23 0x0000000000505727 in init_mod_child (m=0x80186ce90, rank=0) at core/sr_module.c:935
No locals.
#24 0x0000000000505727 in init_mod_child (m=0x80186d530, rank=0) at core/sr_module.c:935
No locals.
#25 0x0000000000505727 in init_mod_child (m=0x80186dac0, rank=0) at core/sr_module.c:935
No locals.
#26 0x0000000000505727 in init_mod_child (m=0x80186e338, rank=0) at core/sr_module.c:935
No locals.
#27 0x0000000000505727 in init_mod_child (m=0x80186ed38, rank=0) at core/sr_module.c:935
No locals.
#28 0x0000000000505727 in init_mod_child (m=0x80186f4f8, rank=0) at core/sr_module.c:935
No locals.
#29 0x0000000000505727 in init_mod_child (m=0x80186f9d8, rank=0) at core/sr_module.c:935
No locals.
#30 0x00000000005056d8 in init_child (rank=0) at core/sr_module.c:964
No locals.
#31 0x000000000042f286 in main_loop () at main.c:1708
i = 16
pid = 19525
si = (struct socket_info *) 0x0
si_desc = 0x7fffffffd020 "udp receiver child=15 sock=192.168.10.120:5060"
nrprocs = 16
woneinit = 1
#32 0x000000000043b1ff in main (argc=15, argv=0x7fffffffeb50) at main.c:2646
cfg_stream = (FILE *) 0x80120aca0
c = -1
r = 0
tmp = 0x7fffffffee1a ""
tmp_len = 32767
port = -5392
proto = 0
options = 0x97dfe7 ":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 = 1687602241
rfd = 4
debug_save = 0
debug_flag = 0
dont_fork_cnt = 0
n_lst = (struct name_lst *) 0xd1e64309666ca822
p = 0xf <Error reading address 0xf: Bad address>
st = {st_dev = 1153570505, st_ino = 52988, st_mode = 16877, st_nlink = 2, st_uid = 1001, st_gid = 1001, st_rdev = 4294967295, st_atim = {tv_sec = 1509564024,
tv_nsec = 794875000}, st_mtim = {tv_sec = 1510082134, tv_nsec = 719802000}, st_ctim = {tv_sec = 1510082134, tv_nsec = 719802000}, st_size = 2, st_blocks = 1,
st_blksize = 4096, st_flags = 2048, st_gen = 0, st_lspare = 0, st_birthtim = {tv_sec = 1509564024, tv_nsec = 794875000}}
</code></pre>
<p>When the data is growing the command gives an error. (281 entries in carrierroute table)</p>
<pre><code>kamcmd> cr.reload_routes
kamcmd> cr.dump_routes
error: 500 - Failed to add data to response
</code></pre>
<p>And this in the logs:</p>
<pre><code>Nov 7 22:01:44 <daemon.err> ic1 kamailio[88580]: ERROR: carrierroute [cr_fifo.c:1230]: cr_rpc_dump_routes(): dump tree recursor failure at count 6/1
</code></pre>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1304#issuecomment-342621239">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZeT7M2YbpjzFyyJ9hOFkdkU5Y3Miks5s0MWRgaJpZM4QUxMk">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZQ9Dt4M_06QSscyCY-wcysDWRTHWks5s0MWRgaJpZM4QUxMk.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/kamailio/kamailio/issues/1304#issuecomment-342621239"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"PERSON","message":"@dunst0 in #1304: ```\r\n(gdb) bt full\r\n#0 0x0000000800f97e3a in _kevent () from /lib/libc.so.7\r\nNo symbol table info available.\r\n#1 0x00000008046c4ca2 in pthread_suspend_all_np () from /lib/libthr.so.3\r\nNo symbol table info available.\r\n#2 0x000000080567c944 in io_wait_loop_kqueue (h=0x8058be9f0, t=10, repeat=0) at io_wait.h:1094\r\n\tn = 0\r\n\tr = 0\r\n\ttspec = {tv_sec = 10, tv_nsec = 0}\r\n\tfm = (struct fd_map *) 0x801982738\r\n\torig_changes = 0\r\n\tapply_changes = 0\r\n\trevents = 1\r\n#3 0x0000000805676d19 in io_listen_loop (fd_no=1, cs_lst=0x801648a00) at io_listener.c:293\r\n\tmax_fd_no = 289\r\n\tpoll_err = 0x0\r\n\tpoll_method = 6\r\n\tcs = (struct ctrl_socket *) 0x0\r\n\ttype = 2\r\n#4 0x0000000805656411 in mod_child (rank=0) at ctl.c:337\r\n\trpc_handler = 1\r\n\tpid = 0\r\n\tcs = (struct ctrl_socket *) 0x0\r\n#5 0x0000000000505cdd in init_mod_child (m=0x801859fe8, rank=0) at core/sr_module.c:938\r\nNo locals.\r\n#6 0x0000000000505727 in init_mod_child (m=0x80185a648, rank=0) at core/sr_module.c:935\r\nNo locals.\r\n#7 0x0000000000505727 in init_mod_child (m=0x80185c0d0, rank=0) at core/sr_module.c:935\r\nNo locals.\r\n#8 0x0000000000505727 in init_mod_child (m=0x80185c898, rank=0) at core/sr_module.c:935\r\nNo locals.\r\n#9 0x0000000000505727 in init_mod_child (m=0x80185d098, rank=0) at core/sr_module.c:935\r\nNo locals.\r\n#10 0x0000000000505727 in init_mod_child (m=0x80185d7f0, rank=0) at core/sr_module.c:935\r\nNo locals.\r\n#11 0x0000000000505727 in init_mod_child (m=0x80185f600, rank=0) at core/sr_module.c:935\r\nNo locals.\r\n#12 0x0000000000505727 in init_mod_child (m=0x801860410, rank=0) at core/sr_module.c:935\r\nNo locals.\r\n#13 0x0000000000505727 in init_mod_child (m=0x801860a48, rank=0) at core/sr_module.c:935\r\nNo locals.\r\n#14 0x0000000000505727 in init_mod_child (m=0x801860f60, rank=0) at core/sr_module.c:935\r\nNo locals.\r\n#15 0x0000000000505727 in init_mod_child (m=0x8018613d0, rank=0) at core/sr_module.c:935\r\nNo locals.\r\n#16 0x0000000000505727 in init_mod_child (m=0x8018620c0, rank=0) at core/sr_module.c:935\r\nNo locals.\r\n#17 0x0000000000505727 in init_mod_child (m=0x801862488, rank=0) at core/sr_module.c:935\r\nNo locals.\r\n#18 0x0000000000505727 in init_mod_child (m=0x801862e48, rank=0) at core/sr_module.c:935\r\nNo locals.\r\n#19 0x0000000000505727 in init_mod_child (m=0x80186a6b0, rank=0) at core/sr_module.c:935\r\nNo locals.\r\n#20 0x0000000000505727 in init_mod_child (m=0x80186b530, rank=0) at core/sr_module.c:935\r\nNo locals.\r\n#21 0x0000000000505727 in init_mod_child (m=0x80186c0b0, rank=0) at core/sr_module.c:935\r\nNo locals.\r\n#22 0x0000000000505727 in init_mod_child (m=0x80186c998, rank=0) at core/sr_module.c:935\r\nNo locals.\r\n#23 0x0000000000505727 in init_mod_child (m=0x80186ce90, rank=0) at core/sr_module.c:935\r\nNo locals.\r\n#24 0x0000000000505727 in init_mod_child (m=0x80186d530, rank=0) at core/sr_module.c:935\r\nNo locals.\r\n#25 0x0000000000505727 in init_mod_child (m=0x80186dac0, rank=0) at core/sr_module.c:935\r\nNo locals.\r\n#26 0x0000000000505727 in init_mod_child (m=0x80186e338, rank=0) at core/sr_module.c:935\r\nNo locals.\r\n#27 0x0000000000505727 in init_mod_child (m=0x80186ed38, rank=0) at core/sr_module.c:935\r\nNo locals.\r\n#28 0x0000000000505727 in init_mod_child (m=0x80186f4f8, rank=0) at core/sr_module.c:935\r\nNo locals.\r\n#29 0x0000000000505727 in init_mod_child (m=0x80186f9d8, rank=0) at core/sr_module.c:935\r\nNo locals.\r\n#30 0x00000000005056d8 in init_child (rank=0) at core/sr_module.c:964\r\nNo locals.\r\n#31 0x000000000042f286 in main_loop () at main.c:1708\r\n\ti = 16\r\n\tpid = 19525\r\n\tsi = (struct socket_info *) 0x0\r\n\tsi_desc = 0x7fffffffd020 \"udp receiver child=15 sock=192.168.10.120:5060\"\r\n\tnrprocs = 16\r\n\twoneinit = 1\r\n#32 0x000000000043b1ff in main (argc=15, argv=0x7fffffffeb50) at main.c:2646\r\n\tcfg_stream = (FILE *) 0x80120aca0\r\n\tc = -1\r\n\tr = 0\r\n\ttmp = 0x7fffffffee1a \"\"\r\n\ttmp_len = 32767\r\n\tport = -5392\r\n\tproto = 0\r\n\toptions = 0x97dfe7 \":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:x:X:Y:\"\r\n\tret = -1\r\n\tseed = 1687602241\r\n\trfd = 4\r\n\tdebug_save = 0\r\n\tdebug_flag = 0\r\n\tdont_fork_cnt = 0\r\n\tn_lst = (struct name_lst *) 0xd1e64309666ca822\r\n\tp = 0xf \u003cError reading address 0xf: Bad address\u003e\r\n\tst = {st_dev = 1153570505, st_ino = 52988, st_mode = 16877, st_nlink = 2, st_uid = 1001, st_gid = 1001, st_rdev = 4294967295, st_atim = {tv_sec = 1509564024, \r\n tv_nsec = 794875000}, st_mtim = {tv_sec = 1510082134, tv_nsec = 719802000}, st_ctim = {tv_sec = 1510082134, tv_nsec = 719802000}, st_size = 2, st_blocks = 1, \r\n st_blksize = 4096, st_flags = 2048, st_gen = 0, st_lspare = 0, st_birthtim = {tv_sec = 1509564024, tv_nsec = 794875000}}\r\n```\r\n\r\nWhen the data is growing the command gives an error. (281 entries in carrierroute table)\r\n```\r\nkamcmd\u003e cr.reload_routes\r\nkamcmd\u003e cr.dump_routes\r\nerror: 500 - Failed to add data to response\r\n```\r\n\r\nAnd this in the logs:\r\n```\r\nNov 7 22:01:44 \u003cdaemon.err\u003e ic1 kamailio[88580]: ERROR: carrierroute [cr_fifo.c:1230]: cr_rpc_dump_routes(): dump tree recursor failure at count 6/1\r\n```"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1304#issuecomment-342621239"}}}</script>