Description

kamailio crash with signal 6

Troubleshooting

Reproduction

After each couple of dispatcher ping interval.

Debugging Data

No core dump file.

Log Messages

Dec 6 17:47:24 frnappcoe3router2 /usr/sbin/kamailio[1618]: INFO: ctl [io_listener.c:211]: io_listen_loop(): using epoll_lt as the io watch method (auto detected)
Dec 6 17:47:34 frnappcoe3router2 /usr/sbin/kamailio[1614]: NOTICE: <script>: tm:local-request called OPTIONS to sip:frnappcoe3sfl05.orange-voicemail.net:5060
Dec 6 17:47:34 frnappcoe3router2 /usr/sbin/kamailio[1614]: NOTICE: <script>: tm:local-request called OPTIONS to sip:cs1-tool-misc.orange-voicemail.net:5060
Dec 6 17:47:44 frnappcoe3router2 /usr/sbin/kamailio[1614]: NOTICE: <script>: tm:local-request called OPTIONS to sip:frnappcoe3sfl05.orange-voicemail.net:5060
Dec 6 17:47:44 frnappcoe3router2 /usr/sbin/kamailio[1614]: NOTICE: <script>: tm:local-request called OPTIONS to sip:cs1-tool-misc.orange-voicemail.net:5060
Dec 6 17:47:44 frnappcoe3router2 /usr/sbin/kamailio[1608]: CRITICAL: [core/mem/q_malloc.c:555]: qm_free(): BUG: freeing already freed pointer (0x7f178fa8a700), called from core: core/xavp.c: xavp_free(81), first free core: core/xavp.c: xavp_new_value(117) - ignoring
Dec 6 17:47:44 frnappcoe3router2 /usr/sbin/kamailio[1608]: CRITICAL: [core/mem/q_malloc.c:136]: qm_debug_check_frag(): BUG: qm: fragm. 0x7f178fa8a560 (address 0x7f178fa8a5a0) end overwritten (0, f00000000000)! Memory allocator was called from core: core/xavp.c:81. Fragment marked by (null):2882400237. Exec from core/mem/q_malloc.c:546.
Dec 6 17:47:44 frnappcoe3router2 /usr/sbin/kamailio[1604]: ALERT: [main.c:805]: handle_sigs(): child process 1608 exited by a signal 6
Dec 6 17:47:44 frnappcoe3router2 /usr/sbin/kamailio[1604]: ALERT: [main.c:809]: handle_sigs(): core was not generated
Dec 6 17:47:44 frnappcoe3router2 /usr/sbin/kamailio[1604]: INFO: [main.c:832]: handle_sigs(): terminating due to SIGCHLD

SIP Traffic

Possible Solutions

Additional Information

[root@frnappcoe3router2 ~]# kamailio -v
version: kamailio 5.8.4 (x86_64/linux) f1d83d
flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, MEM_JOIN_FREE, 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_BLOCKLIST, HAVE_RESOLV_RES, TLS_PTHREAD_MUTEX_SHARED
ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_SEND_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: f1d83d
compiled on 13:59:57 Nov 12 2024 with gcc 8.5.0

kamailio.cfg
loadmodule "dispatcher.so"
modparam("dispatcher", "list_file", DISPATCHER_FILE)
modparam("dispatcher", "ds_probing_mode", 1)
modparam("dispatcher", "ds_probing_threshold",3)
modparam("dispatcher", "flags", 3)
modparam("dispatcher", "ds_ping_from", "sip:siprouter@unisys.com")
modparam("dispatcher", "xavp_dst", "dsdst")
modparam("dispatcher", "xavp_ctx", "dsctx")
modparam("dispatcher", "ds_hash_size", 8)
modparam("dispatcher", "ds_ping_interval", 10)
modparam("dispatcher", "ds_ping_reply_codes", "class=2;class=3")

RHEL8.8


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/issues/4061@github.com>