<div dir="ltr">Greetings,<div><br></div><div>I'm having a "fun" time trying to run Kamailio inside a Docker container. It keeps failing with:</div><div><br></div><div> 0(238) DEBUG: <core> [core/mem/pkg.c:108]: pkg_print_manager(): pkg - using memory manager: q_malloc<br> 0(238) DEBUG: <core> [core/mem/shm.c:300]: shm_print_manager(): shm - using memory manager: q_malloc<br>Illegal instruction (core dumped)<br></div><div><br></div><div>Unfortunately the core dump is nowhere to be found. I have tried to follow the instructions at:</div><div><br></div><div>    <a href="https://www.kamailio.org/wiki/tutorials/troubleshooting/coredumpfile">https://www.kamailio.org/wiki/tutorials/troubleshooting/coredumpfile</a><br></div><div><br></div><div>but that hasn't helped.</div><div><br></div><div>The environment is as follows:</div><div><br></div><div>* Host hardware: Raspberry Pi 4 (4G memory)</div><div>* Host OS: Ubuntu 20.04.1 LTS</div><div>* Docker version 19.03.13</div><div>* Docker base image: arm32v7/ubuntu</div><div><br></div><div>root@2ef8a21534fa:/# kamailio -v<br>version: kamailio 5.3.2 (arm/linux) <br>flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT-NOSMP, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES, TLS_PTHREAD_MUTEX_SHARED<br>ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB<br>poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.<br>id: unknown <br>compiled with gcc 9.2.1<br></div><div><br></div><div>The config file passes the syntax check:</div><div><br></div><div>    kamailio -c -f /etc/kamailio/kamailio.cfg<br></div><div><br></div><div>and, the most interesting part, if I run Kamailio on the host machine, _with the exact same config file_, it runs fine.</div><div><br></div><div>I'd appreciate any clues you may have. Thanks.</div><div><br></div><div>cv<br></div><div><br></div><div><br></div></div>