<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">I have just tested on Kamailio 5.2 and result is the same. </div><div>Maybe issue is with config?</div><div dir="ltr"> </div><div dir="ltr"><div dir="ltr">[root@test]# kamailio -v</div><div dir="ltr">version: kamailio 5.2.1 (x86_64/linux) 947769</div><div dir="ltr">flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES</div><div dir="ltr">ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144 MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB</div><div dir="ltr">poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.</div><div dir="ltr">id: 947769</div><div dir="ltr">compiled on 11:35:28 Jan 16 2019 with gcc 4.8.5</div><div><br></div><div>[root@test]#kamailio -f ./kamailio.cfg -DDDD -E<br></div><div>...</div><div><div>26(17359) DEBUG: cdp [peermanager.c:263]: peer_timer(): peer_timer(): taking care of peers...</div><div>26(17359) DEBUG: cdp [peermanager.c:280]: peer_timer(): peer_timer(): Peer dev-diameter-1.ams.proxy.dev State 0</div><div>26(17359) DEBUG: cdp [peerstatemachine.c:90]: sm_process(): sm_process(): Peer dev-diameter-1.ams.proxy.dev State Closed Event Start</div><div>26(17359) INFO: cdp [peerstatemachine.c:525]: I_Snd_Conn_Req(): I_Snd_Conn_Req(): Peer dev-diameter-1.ams.proxy.dev</div><div>26(17359) INFO: cdp [receiver.c:875]: peer_connect(): peer_connect(): Trying to connect to 10.10.10.20 port 3868</div><div>23(17356) DEBUG: cdp [receiver.c:106]: log_serviced_peers(): --- Receiver cdp receiver peer unknown Serviced Peers: ---</div><div>23(17356) DEBUG: cdp [receiver.c:114]: log_serviced_peers(): --------------------------------------------------------</div><div>24(17357) DEBUG: cdp [receiver.c:106]: log_serviced_peers(): --- Receiver cdp_receiver_peer=dev-diameter-1.ams.proxy.dev Serviced Peers: ---</div><div>24(17357) DEBUG: cdp [receiver.c:112]: log_serviced_peers(): Peer: dev-diameter-1.ams.proxy.dev TCP Socket: -1 Recv.State: 0</div><div>24(17357) DEBUG: cdp [receiver.c:114]: log_serviced_peers(): --------------------------------------------------------</div><div>26(17359) INFO: cdp [receiver.c:954]: peer_connect(): peer_connect(): Peer dev-diameter-1.ams.proxy.dev:3868 connected</div><div>24(17357) DEBUG: cdp [receiver.c:702]: receive_loop(): select_recv(): There is something on the fd exchange pipe</div><div>24(17357) DEBUG: cdp [receiver.c:711]: receive_loop(): select_recv(): fd exchange pipe says fd [10] for peer 0x7fc375dedbe8:[dev-diameter-1.ams.proxy.dev]</div><div>26(17359) DEBUG: cdp [peermanager.c:143]: log_peer_list(): --- Peer List: ---</div><div>24(17357) DEBUG: cdp [peerstatemachine.c:90]: sm_process(): sm_process(): Peer dev-diameter-1.ams.proxy.dev State Wait_Conn_Ack Event I_Rcv_Conn_Ack</div><div>24(17357) DEBUG: cdp [diameter_msg.c:184]: AAANewMessage(): AAANewMessage: param session received null and it's a request!!</div><div>24(17357) ERROR: cdp [peerstatemachine.c:634]: I_Snd_CER(): I_Snd_CER(): Error on finding local host address > Socket operation on non-socket</div><div>24(17357) DEBUG: cdp [diameter_msg.c:81]: AAABuildMsgBuffer(): AAABuildMsgBuffer(): len=188</div><div>24(17357) DEBUG: cdp [receiver.c:1013]: peer_send_msg(): peer_send_msg(): Pipe push [0x7fc375e01da0]</div><div>24(17357) DEBUG: cdp [receiver.c:106]: log_serviced_peers(): --- Receiver cdp_receiver_peer=dev-diameter-1.ams.proxy.dev Serviced Peers: ---</div><div>24(17357) DEBUG: cdp [receiver.c:112]: log_serviced_peers(): Peer: dev-diameter-1.ams.proxy.dev TCP Socket: 10 Recv.State: 0</div><div>24(17357) DEBUG: cdp [receiver.c:114]: log_serviced_peers(): --------------------------------------------------------</div><div>24(17357) DEBUG: cdp [receiver.c:756]: receive_loop(): select_recv(): There is something on the send pipe</div><div>24(17357) DEBUG: cdp [receiver.c:769]: receive_loop(): select_recv(): Send pipe says [0x7fc375e01da0] 8</div><div>24(17357) DEBUG: cdp [diameter_msg.c:410]: AAAFreeMessage(): AAAFreeMessage: Freeing message (0x7fc375e01da0) 257</div><div>24(17357) DEBUG: cdp [receiver.c:106]: log_serviced_peers(): --- Receiver cdp_receiver_peer=dev-diameter-1.ams.proxy.dev Serviced Peers: ---</div><div>24(17357) DEBUG: cdp [receiver.c:112]: log_serviced_peers(): Peer: dev-diameter-1.ams.proxy.dev TCP Socket: 10 Recv.State: 0</div><div>24(17357) DEBUG: cdp [receiver.c:114]: log_serviced_peers(): --------------------------------------------------------</div><div>26(17359) DEBUG: cdp [peermanager.c:145]: log_peer_list(): State of peer: Wait_I_CEA FQDN: dev-diameter-1.ams.proxy.dev Port: 3868 Is dynamic</div><div>26(17359) DEBUG: cdp [peermanager.c:149]: log_peer_list(): ------------------</div><div>24(17357) DEBUG: cdp [receiver.c:106]: log_serviced_peers(): --- Receiver cdp_receiver_peer=dev-diameter-1.ams.proxy.dev Serviced Peers: ---</div><div>24(17357) DEBUG: cdp [receiver.c:112]: log_serviced_peers(): Peer: dev-diameter-1.ams.proxy.dev TCP Socket: 10 Recv.State: 1</div><div>24(17357) DEBUG: cdp [receiver.c:114]: log_serviced_peers(): --------------------------------------------------------</div><div>24(17357) DEBUG: cdp [receiver.c:579]: do_receive(): receive_loop(): [dev-diameter-1.ams.proxy.dev] Recv Version 1 Length 204</div><div>24(17357) DEBUG: cdp [receiver.c:106]: log_serviced_peers(): --- Receiver cdp_receiver_peer=dev-diameter-1.ams.proxy.dev Serviced Peers: ---</div><div>24(17357) DEBUG: cdp [receiver.c:112]: log_serviced_peers(): Peer: dev-diameter-1.ams.proxy.dev TCP Socket: 10 Recv.State: 2</div><div>24(17357) DEBUG: cdp [receiver.c:114]: log_serviced_peers(): --------------------------------------------------------</div><div>24(17357) DEBUG: cdp [receiver.c:1107]: receive_message(): receive_message(): [dev-diameter-1.ams.proxy.dev] Recv msg 257</div><div>24(17357) DEBUG: cdp [peerstatemachine.c:90]: sm_process(): sm_process(): Peer dev-diameter-1.ams.proxy.dev State Wait_I_CEA Event I_Rcv_CEA</div><div>24(17357) DEBUG: cdp [peerstatemachine.c:698]: count_Supported_Vendor_Id_AVPS(): Found 0 Supported_Vendor AVPS24(17357) DEBUG: cdp [peerstatemachine.c:681]: add_peer_application(): Application 0 of maximum 0</div><div>24(17357) DEBUG: cdp [diameter_msg.c:410]: AAAFreeMessage(): AAAFreeMessage: Freeing message (0x7fc375e01da0) 257</div><div>24(17357) CRITICAL: <core> [core/mem/q_malloc.c:149]: qm_debug_check_frag(): BUG: qm: prev. fragm. tail overwritten(0, abcdefed)[0x7fc375e023c8:0x7fc375e02400]! Memory allocator was called from cdp: diameter_avp.c:365. Fragment marked by cdp: diameter_avp.c:142. Exec from core/mem/q_malloc.c:504.</div><div>25(17358) DEBUG: cdp [tcp_accept.c:221]: accept_loop(): accept_loop(): No connection attempts</div><div>23(17356) DEBUG: cdp [receiver.c:106]: log_serviced_peers(): --- Receiver cdp receiver peer unknown Serviced Peers: ---</div><div>23(17356) DEBUG: cdp [receiver.c:114]: log_serviced_peers(): --------------------------------------------------------</div><div>23(17356) DEBUG: cdp [receiver.c:106]: log_serviced_peers(): --- Receiver cdp receiver peer unknown Serviced Peers: ---</div><div>23(17356) DEBUG: cdp [receiver.c:114]: log_serviced_peers(): --------------------------------------------------------</div><div>26(17359) DEBUG: cdp [session.c:396]: cdp_sessions_log(): ------- CDP Sessions ----------------</div><div>26(17359) DEBUG: cdp [session.c:431]: cdp_sessions_log(): -------------------------------------</div><div>32(17365) CRITICAL: <core> [core/pass_fd.c:277]: receive_fd(): EOF on 39</div><div>32(17365) DEBUG: <core> [core/tcp_main.c:3513]: handle_ser_child(): dead child 24, pid 17357 (shutting down?)</div><div>32(17365) DEBUG: <core> [core/io_wait.h:602]: io_watch_del(): DBG: io_watch_del (0xa838a0, 39, -1, 0x0) fd_no=39 called</div><div> 0(17333) ALERT: <core> [main.c:756]: handle_sigs(): child process 17357 exited by a signal 6</div><div> 0(17333) ALERT: <core> [main.c:759]: handle_sigs(): core was generated</div><div> 0(17333) INFO: <core> [main.c:781]: handle_sigs(): terminating due to SIGCHLD</div><div> 0(17333) DEBUG: <core> [main.c:783]: handle_sigs(): terminating due to SIGCHLD</div><div>31(17364) INFO: <core> [main.c:836]: sig_usr(): signal 15 received</div><div>...</div><div> 0(17333) DEBUG: cdp_avp [cdp_avp_mod.c:225]: cdp_avp_destroy(): Destroying module cdp_avp</div><div> 0(17333) INFO: cdp [cdp_mod.c:255]: cdp_exit(): CDiameterPeer child stopping ...</div><div> 0(17333) INFO: cdp [diameter_peer.c:364]: diameter_peer_destroy(): destroy_diameter_peer(): Terminating all children...</div><div> 0(17333) INFO: cdp [diameter_peer.c:371]: diameter_peer_destroy(): destroy_diameter_peer(): Waiting for child [17359] to terminate...</div><div>...</div><div> 0(17333) INFO: cdp [diameter_peer.c:383]: diameter_peer_destroy(): destroy_diameter_peer(): All processes terminated. Cleaning up.</div><div> 0(17333) INFO: cdp [worker.c:139]: worker_destroy(): Unlocking workers waiting on empty queue...</div><div> 0(17333) INFO: cdp [worker.c:142]: worker_destroy(): Unlocking workers waiting on full queue...</div><div> 0(17333) DEBUG: cdp [peermanager.c:129]: peer_manager_destroy(): peer_manager_init(): ...Peer Manager destroyed</div><div> 0(17333) CRITICAL: cdp [diameter_peer.c:423]: diameter_peer_destroy(): destroy_diameter_peer(): Bye Bye from C Diameter Peer test</div><div> 0(17333) INFO: cdp [cdp_mod.c:257]: cdp_exit(): ... CDiameterPeer child stopped</div><div> 0(17333) DEBUG: tm [t_funcs.c:85]: tm_shutdown(): start</div><div> 0(17333) DEBUG: tm [t_funcs.c:88]: tm_shutdown(): emptying hash table</div><div> 0(17333) DEBUG: tm [t_funcs.c:90]: tm_shutdown(): removing semaphores</div><div> 0(17333) DEBUG: tm [t_funcs.c:92]: tm_shutdown(): destroying tmcb lists</div><div> 0(17333) DEBUG: tm [t_funcs.c:95]: tm_shutdown(): done</div><div> 0(17333) INFO: <core> [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized</div><div> 0(17333) DEBUG: <core> [core/mem/shm.c:283]: shm_destroy_manager(): destroying memory manager: q_malloc</div><div> 0(17333) DEBUG: <core> [core/mem/q_malloc.c:1178]: qm_shm_lock_destroy(): destroying the shared memory lock</div><div> 0(17333) DEBUG: <core> [core/mem/pkg.c:91]: pkg_destroy_manager(): destroying memory manager: q_malloc</div><div><br></div></div><div>Configs:</div><div><br></div><div><div>[root@test]# cat diameter.xml</div><div><?xml version="1.0" encoding="UTF-8"?></div><div><DiameterPeer</div><div> FQDN="10-10-10-10.ams.proxy.dev"</div><div> Realm="proxy.dev"</div><div> Product_Name="Diameter Credit Control"</div><div> Vendor_Id="10415"</div><div> AcceptUnknownPeers="1"</div><div> DropUnknownOnDisconnect="1"</div><div> Workers="4"></div><div> <Peer FQDN="dev-diameter-1.ams.proxy.dev" Realm="proxy.dev" port="3868"/></div><div> <Acceptor port="3868" bind="10.10.10.10"/><br></div><div> <SupportedVendor vendor="10415"/><br></div><div> <DefaultRoute FQDN="dev-diameter-1.ams.proxy.dev" metric="10"/><br></div><div> <Auth id="16777216" vendor="10415"/><br></div><div> <Auth id="4" vendor="0"/></div><div> <Acct id="4" vendor="0"/></div><div></DiameterPeer><br></div></div><div><br></div><div><div>[root@test]# cat kamailio.cfg</div><div>#!KAMAILIO</div><div>children=5<br></div><div>memdbg=5</div><div>memlog=5</div><div>debug=3</div><div>log_stderror=no</div><div>log_facility=LOG_LOCAL0</div><div>fork=yes</div><div>disable_tcp=no</div><div>auto_aliases=no</div><div>mpath="/usr/lib64/kamailio/modules/"<br></div><div>loadmodule "kex.so"<br></div><div>loadmodule "tm.so"</div><div>loadmodule "sl.so"</div><div>loadmodule "rr.so"</div><div>loadmodule "xlog.so"</div><div>loadmodule "cfg_rpc.so"</div><div>loadmodule "cdp.so"</div><div>loadmodule "cdp_avp.so"</div><div><br></div><div>modparam("cdp","config_file","/etc/kamailio_test/diameter.xml")<br></div><div>modparam("cdp", "debug_heavy", 4)</div><div><br></div><div>request_route {</div><div>;</div><div>}</div><div><br></div></div><div><br></div><div><br></div></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">чт, 17 янв. 2019 г. в 19:01, Denys Pozniak <<a href="mailto:denys.pozniak@gmail.com">denys.pozniak@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr" class="gmail-m_-7342186097566319413gmail_signature"><div dir="ltr"><div>Hello!<br></div><div>Please help me to find the issue with CDP module as it blocks Kamailio to start.</div><div><br></div><div>[root@10-10-10-10 kamailio]# cat diameter.xml</div><div><?xml version="1.0" encoding="UTF-8"?></div><div><DiameterPeer</div><div> FQDN="10-10-10-10.ams.proxy.dev"</div><div> Realm="proxy.dev"</div><div> Product_Name="Diameter Credit Control"</div><div> Vendor_Id="10415"</div><div> AcceptUnknownPeers="1"</div><div> DropUnknownOnDisconnect="1"</div><div> Tc="30"</div><div> Workers="4"</div><div> QueueLength="32"></div><div><br></div><div> <Peer FQDN="dev-diameter-1.ams.proxy.dev" Realm="proxy.dev" port="3868"/></div><div> <Acceptor port="3868" bind="10.10.10.10"/><br></div><div> <Auth id="16777216" vendor="10415"/><br></div><div> <Acct id="16777216" vendor="0" /></div><div> <Auth id="16777216" vendor="10415"/></div><div> <Auth id="16777216" vendor="0" /></div><div> <SupportedVendor vendor="10415"/><br></div><div> <Realm name="proxy.dev"><br></div><div> <Route FQDN="dev-diameter-1.ams.proxy.dev" metric="1"/></div><div> </Realm></div><div> <DefaultRoute FQDN="dev-diameter-1.ams.proxy.dev" metric="10"/><br></div><div></DiameterPeer><br></div><div><br></div><div><br></div><div>38(7825) INFO: cdp [worker.c:332]: worker_process(): [1] Worker process started...</div><div>37(7824) INFO: cdp [worker.c:332]: worker_process(): [0] Worker process started...</div><div>39(7826) INFO: cdp [worker.c:332]: worker_process(): [2] Worker process started...</div><div>40(7827) INFO: cdp [worker.c:332]: worker_process(): [3] Worker process started...</div><div>41(7828) INFO: cdp [receiver.c:450]: receiver_process(): receiver_process(): [] Receiver process doing init on new process...</div><div>41(7828) INFO: cdp [receiver.c:455]: receiver_process(): receiver_process(): [] Receiver process starting up...</div><div>42(7829) INFO: cdp [receiver.c:450]: receiver_process(): receiver_process(): [dev-diameter-1.ams.proxy.dev] Receiver process doing init on new process...</div><div>42(7829) INFO: cdp [receiver.c:184]: add_serviced_peer(): add_serviced_peer(): Adding serviced_peer_t to receiver for peer [dev-diameter-1.ams.proxy.dev]</div><div>42(7829) INFO: cdp [receiver.c:455]: receiver_process(): receiver_process(): [dev-diameter-1.ams.proxy.dev] Receiver process starting up...</div><div>43(7830) INFO: cdp [acceptor.c:81]: acceptor_process(): Acceptor process starting up...</div><div> 0(7787) INFO: cdp [cdp_mod.c:244]: cdp_child_init(): ... CDiameterPeer child started</div><div>43(7830) WARNING: cdp [tcp_accept.c:121]: create_socket(): create_socket(): Trying to open/bind/listen on 10.10.10.10 port 3868</div><div>43(7830) WARNING: cdp [tcp_accept.c:146]: create_socket(): create_socket(): Successful socket open/bind/listen on 10.10.10.10 port 3868</div><div>43(7830) INFO: cdp [acceptor.c:95]: acceptor_process(): Acceptor opened sockets. Entering accept loop ...</div><div>44(7831) INFO: cdp [timer.c:205]: timer_process(): Timer process starting up...</div><div>[root@10-10-10-10 kamailio]# 44(7831) INFO: cdp [peerstatemachine.c:525]: I_Snd_Conn_Req(): I_Snd_Conn_Req(): Peer dev-diameter-1.ams.proxy.dev</div><div>44(7831) INFO: cdp [receiver.c:869]: peer_connect(): peer_connect(): Trying to connect to 10.10.10.20 port 3868</div><div>44(7831) INFO: cdp [receiver.c:937]: peer_connect(): peer_connect(): Peer dev-diameter-1.ams.proxy.dev:3868 connected</div><div>42(7829) ERROR: cdp [peerstatemachine.c:634]: I_Snd_CER(): I_Snd_CER(): Error on finding local host address > Socket operation on non-socket</div><div>42(7829) CRITICAL: <core> [core/mem/q_malloc.c:149]: qm_debug_check_frag(): BUG: qm: prev. fragm. tail overwritten(0, abcdefed)[0x7f3ecb7ef018:0x7f3ecb7ef050]! Memory allocator was called from cdp: diameter_avp.c:365. Fragment marked by cdp: diameter_avp.c:142. Exec from core/mem/q_malloc.c:504.</div><div>45(7832) CRITICAL: <core> [core/pass_fd.c:277]: receive_fd(): EOF on 52</div><div> 0(7787) ALERT: <core> [main.c:739]: handle_sigs(): child process 7829 exited by a signal 6</div><div> 0(7787) ALERT: <core> [main.c:742]: handle_sigs(): core was generated</div><div> 0(7787) INFO: <core> [main.c:764]: handle_sigs(): terminating due to SIGCHLD</div><div><br></div><div>DNS record dev-diameter-1.ams.proxy.dev is pointed to 10.10.10.20<br></div><div><br></div><div>NU gdb (GDB) Red Hat Enterprise Linux 7.6.1-114.el7</div><div>Copyright (C) 2013 Free Software Foundation, Inc.</div><div>License GPLv3+: GNU GPL version 3 or later <<a href="http://gnu.org/licenses/gpl.html" target="_blank">http://gnu.org/licenses/gpl.html</a>></div><div>This is free software: you are free to change and redistribute it.</div><div>There is NO WARRANTY, to the extent permitted by law. Type "show copying"</div><div>and "show warranty" for details.</div><div>This GDB was configured as "x86_64-redhat-linux-gnu".</div><div>For bug reporting instructions, please see:</div><div><<a href="http://www.gnu.org/software/gdb/bugs/" target="_blank">http://www.gnu.org/software/gdb/bugs/</a>>...</div><div>Reading symbols from /usr/sbin/kamailio...Reading symbols from /usr/lib/debug/usr/sbin/kamailio.debug...done.</div><div>done.</div><div>[New LWP 7829]</div><div>[Thread debugging using libthread_db enabled]</div><div>Using host libthread_db library "/lib64/libthread_db.so.1".</div><div>Core was generated by `kamailio -f kamailio.cfg -DDDD -E'.</div><div>Program terminated with signal 6, Aborted.</div><div>#0 0x00007f3ed7dc0207 in raise () from /lib64/libc.so.6</div><div>Missing separate debuginfos, use: debuginfo-install glibc-2.17-260.el7.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.15.1-34.el7.x86_64 libcom_err-1.42.9-13.el7.x86_64 libgcc-4.8.5-36.el7.x86_64 libselinux-2.5-14.1.el7.x86_64 libstdc++-4.8.5-36.el7.x86_64 libxml2-2.9.1-6.el7_2.3.x86_64 mariadb-libs-5.5.60-1.el7_5.x86_64 openssl-libs-1.0.2k-16.el7.x86_64 pcre-8.32-17.el7.x86_64 xz-libs-5.2.2-1.el7.x86_64 zlib-1.2.7-18.el7.x86_64</div><div>(gdb) bt</div><div>#0 0x00007f3ed7dc0207 in raise () from /lib64/libc.so.6</div><div>#1 0x00007f3ed7dc18f8 in abort () from /lib64/libc.so.6</div><div>#2 0x000000000067d5f7 in qm_debug_check_frag (qm=0x7f3ecb4d0000, f=0x7f3ecb7ef018, file=0x7f3ed068d932 "cdp: diameter_avp.c", line=365, efile=0x7df137 "core/mem/q_malloc.c", eline=504)</div><div> at core/mem/q_malloc.c:151</div><div>#3 0x000000000068077a in qm_free (qmp=0x7f3ecb4d0000, p=0x7f3ecb7ef050, file=0x7f3ed068d932 "cdp: diameter_avp.c", func=0x7f3ed068f418 <__FUNCTION__.7016> "AAAFreeAVP", line=365, mname=0x7f3ed068d760 "cdp")</div><div> at core/mem/q_malloc.c:504</div><div>#4 0x000000000068a2d6 in qm_shm_free (qmp=0x7f3ecb4d0000, p=0x7f3ecb7ef050, file=0x7f3ed068d932 "cdp: diameter_avp.c", func=0x7f3ed068f418 <__FUNCTION__.7016> "AAAFreeAVP", line=365,</div><div> mname=0x7f3ed068d760 "cdp") at core/mem/q_malloc.c:1268</div><div>#5 0x00007f3ed06691c8 in AAAFreeAVP (avp=0x7ffd86bdd300) at diameter_avp.c:365</div><div>#6 0x00007f3ed0636d66 in AAAFreeAVPList (avpList=0x7f3ecb7eea40) at diameter_msg.c:396</div><div>#7 0x00007f3ed0637123 in AAAFreeMessage (msg=0x7ffd86bdd3b0) at diameter_msg.c:416</div><div>#8 0x00007f3ed06088ec in Process_CEA (p=0x7f3ecb7a00d8, cea=0x7f3ecb7ee9f0) at peerstatemachine.c:804</div><div>#9 0x00007f3ed0601ab1 in sm_process (p=0x7f3ecb7a00d8, event=I_Rcv_CEA, msg=0x7f3ecb7ee9f0, peer_locked=0, sock=8) at peerstatemachine.c:166</div><div>#10 0x00007f3ed0659825 in receive_message (msg=0x7f3ecb7ee9f0, sp=0x7f3ed76feec8) at receiver.c:1128</div><div>#11 0x00007f3ed064f295 in do_receive (sp=0x7f3ed76feec8) at receiver.c:593</div><div>#12 0x00007f3ed0653068 in receive_loop (original_peer=0x7f3ecb7a00d8) at receiver.c:800</div><div>#13 0x00007f3ed064c7c6 in receiver_process (p=0x7f3ecb7a00d8) at receiver.c:459</div><div>#14 0x00007f3ed05fd7de in diameter_peer_start (blocking=0) at diameter_peer.c:289</div><div>#15 0x00007f3ed05ef9b1 in cdp_child_init (rank=0) at cdp_mod.c:243</div><div>#16 0x0000000000544e31 in init_mod_child (m=0x7f3ed7630170, rank=0) at core/sr_module.c:943</div><div>#17 0x0000000000544ad3 in init_mod_child (m=0x7f3ed7630e90, rank=0) at core/sr_module.c:939</div><div>#18 0x0000000000544ad3 in init_mod_child (m=0x7f3ed7631290, rank=0) at core/sr_module.c:939</div><div>#19 0x0000000000544ad3 in init_mod_child (m=0x7f3ed7631700, rank=0) at core/sr_module.c:939</div><div>#20 0x0000000000545205 in init_child (rank=0) at core/sr_module.c:970</div><div>#21 0x0000000000424f85 in main_loop () at main.c:1701</div><div>#22 0x000000000042b87e in main (argc=5, argv=0x7ffd86bde218) at main.c:2638</div><div><br></div><div><br></div><div>(gdb) bt full</div><div>#0 0x00007f3ed7dc0207 in raise () from /lib64/libc.so.6</div><div>No symbol table info available.</div><div>#1 0x00007f3ed7dc18f8 in abort () from /lib64/libc.so.6</div><div>No symbol table info available.</div><div>#2 0x000000000067d5f7 in qm_debug_check_frag (qm=0x7f3ecb4d0000, f=0x7f3ecb7ef018, file=0x7f3ed068d932 "cdp: diameter_avp.c", line=365, efile=0x7df137 "core/mem/q_malloc.c", eline=504)</div><div> at core/mem/q_malloc.c:151</div><div> __FUNCTION__ = "qm_debug_check_frag"</div><div>#3 0x000000000068077a in qm_free (qmp=0x7f3ecb4d0000, p=0x7f3ecb7ef050, file=0x7f3ed068d932 "cdp: diameter_avp.c", func=0x7f3ed068f418 <__FUNCTION__.7016> "AAAFreeAVP", line=365, mname=0x7f3ed068d760 "cdp")</div><div> at core/mem/q_malloc.c:504</div><div> qm = 0x7f3ecb4d0000</div><div> f = 0x7f3ecb7ef018</div><div> size = 140726864040496</div><div> next = 0x7df14b</div><div> prev = 0x7f3ed067f329</div><div> __FUNCTION__ = "qm_free"</div><div>#4 0x000000000068a2d6 in qm_shm_free (qmp=0x7f3ecb4d0000, p=0x7f3ecb7ef050, file=0x7f3ed068d932 "cdp: diameter_avp.c", func=0x7f3ed068f418 <__FUNCTION__.7016> "AAAFreeAVP", line=365,</div><div> mname=0x7f3ed068d760 "cdp") at core/mem/q_malloc.c:1268</div><div>No locals.</div><div>#5 0x00007f3ed06691c8 in AAAFreeAVP (avp=0x7ffd86bdd300) at diameter_avp.c:365</div><div> __FUNCTION__ = "AAAFreeAVP"</div><div>#6 0x00007f3ed0636d66 in AAAFreeAVPList (avpList=0x7f3ecb7eea40) at diameter_msg.c:396</div><div> avp_t = 0x7f3ecb7ef050</div><div> avp = 0x7f3ecb7eef40</div><div>#7 0x00007f3ed0637123 in AAAFreeMessage (msg=0x7ffd86bdd3b0) at diameter_msg.c:416</div><div> __FUNCTION__ = "AAAFreeMessage"</div><div>#8 0x00007f3ed06088ec in Process_CEA (p=0x7f3ecb7a00d8, cea=0x7f3ecb7ee9f0) at peerstatemachine.c:804</div><div> avp = 0x7f3ecb7ef440</div><div>#9 0x00007f3ed0601ab1 in sm_process (p=0x7f3ecb7a00d8, event=I_Rcv_CEA, msg=0x7f3ecb7ee9f0, peer_locked=0, sock=8) at peerstatemachine.c:166</div><div> result_code = -798486160</div><div> next_event = 32574</div><div> msg_received = 0</div><div> __FUNCTION__ = "sm_process"</div><div>#10 0x00007f3ed0659825 in receive_message (msg=0x7f3ecb7ee9f0, sp=0x7f3ed76feec8) at receiver.c:1128</div><div> avp1 = 0xd0684fc0</div><div> avp2 = 0x7f3ecb7eed10</div><div> __FUNCTION__ = "receive_message"</div><div>#11 0x00007f3ed064f295 in do_receive (sp=0x7f3ed76feec8) at receiver.c:593</div><div> cnt = 184</div><div> n = 184</div><div> version = 1</div><div> dst = 0x7f3ecb7ef4f4 ""</div><div> dmsg = 0x7f3ecb7ee9f0</div><div> __FUNCTION__ = "do_receive"</div><div>#12 0x00007f3ed0653068 in receive_loop (original_peer=0x7f3ecb7a00d8) at receiver.c:800</div><div> rfds = {__fds_bits = {256, 0 <repeats 15 times>}}</div><div> efds = {__fds_bits = {0 <repeats 16 times>}}</div><div> tv = {tv_sec = 0, tv_usec = 999998}</div><div> n = 1</div><div> max = 49</div><div> cnt = 1</div><div> msg = 0x0</div><div> sp = 0x7f3ed76feec8</div><div> sp2 = 0x7f3ed76feec8</div><div> p = 0x7f3ecb7a00d8</div><div> fd = 8</div><div> fd_exchange_pipe_local = 49</div><div> __FUNCTION__ = "receive_loop"</div><div>#13 0x00007f3ed064c7c6 in receiver_process (p=0x7f3ecb7a00d8) at receiver.c:459</div><div>---Type <return> to continue, or q <return> to quit---</div><div> __FUNCTION__ = "receiver_process"</div><div>#14 0x00007f3ed05fd7de in diameter_peer_start (blocking=0) at diameter_peer.c:289</div><div> pid = 0</div><div> k = -1</div><div> p = 0x7f3ecb7a00d8</div><div> __FUNCTION__ = "diameter_peer_start"</div><div>#15 0x00007f3ed05ef9b1 in cdp_child_init (rank=0) at cdp_mod.c:243</div><div> __FUNCTION__ = "cdp_child_init"</div><div>#16 0x0000000000544e31 in init_mod_child (m=0x7f3ed7630170, rank=0) at core/sr_module.c:943</div><div> __FUNCTION__ = "init_mod_child"</div><div>#17 0x0000000000544ad3 in init_mod_child (m=0x7f3ed7630e90, rank=0) at core/sr_module.c:939</div><div> __FUNCTION__ = "init_mod_child"</div><div>#18 0x0000000000544ad3 in init_mod_child (m=0x7f3ed7631290, rank=0) at core/sr_module.c:939</div><div> __FUNCTION__ = "init_mod_child"</div><div>#19 0x0000000000544ad3 in init_mod_child (m=0x7f3ed7631700, rank=0) at core/sr_module.c:939</div><div> __FUNCTION__ = "init_mod_child"</div><div>#20 0x0000000000545205 in init_child (rank=0) at core/sr_module.c:970</div><div>No locals.</div><div>#21 0x0000000000424f85 in main_loop () at main.c:1701</div><div> i = 32</div><div> pid = 7821</div><div> si = 0x0</div><div> si_desc = "udp receiver child=31 sock=<a href="http://10.10.10.10:5060" target="_blank">10.10.10.10:5060</a>\000\177\000\000`\336\275\206\375\177\000\000A\307g\000\000\000\000\000`\202A\000\000\000\000\000ȖP\313>\177", '\000' <repeats 14 times>, "\001\000\000\000\260\336\275\206\375\177\000\000\234\240h\000\000\000\000\000 \243w\000\000\000\000\000H\361m\327>\177\000"</div><div> nrprocs = 32</div><div> woneinit = 1</div><div> __FUNCTION__ = "main_loop"</div><div>#22 0x000000000042b87e in main (argc=5, argv=0x7ffd86bde218) at main.c:2638</div><div> cfg_stream = 0x2b13020</div><div> c = -1</div><div> r = 0</div><div> tmp = 0x0</div><div> tmp_len = 0</div><div> port = 0</div><div> proto = 0</div><div> options = 0x758490 ":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:x:X:Y:"</div><div> ret = -1</div><div> seed = 4201223303</div><div> rfd = 4</div><div> debug_save = 0</div><div> debug_flag = 0</div><div> dont_fork_cnt = 4</div><div> n_lst = 0x0</div><div> p = 0x0</div><div> st = {st_dev = 19, st_ino = 82198, st_nlink = 2, st_mode = 16832, st_uid = 995, st_gid = 2, __pad0 = 0, st_rdev = 0, st_size = 60, st_blksize = 4096, st_blocks = 0, st_atim = {tv_sec = 1547739314,</div><div> tv_nsec = 582000000}, st_mtim = {tv_sec = 1547743303, tv_nsec = 194148453}, st_ctim = {tv_sec = 1547743303, tv_nsec = 194148453}, __unused = {0, 0, 0}}</div><div> __FUNCTION__ = "main"</div><div>(gdb)</div><div><br></div><div><br></div><div><br></div><div>-- </div><div><br></div><div>BR,</div><div>Denys Pozniak</div><div><br></div><div><br><br></div></div></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><br><div><div>BR,</div><div>Denys Pozniak<br></div><div><br></div><div><br></div></div></div></div>