<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><div data-html-editor-font-wrapper="true" style="font-family: arial, sans-serif; font-size: 13px;"> <br>Hello! I am having an issue with opensips crashing. I have reviewed the guide on how to generate a core dump. My current problem is when I try to use gdb.<br><br>Here is what I am doing:<br> <br> gdb /usr/sbin/opensips core.opensips.993.b6ac8a71177a49cd8238e22ba265c6e9.16129.1594410164000000.lz4<br><br>GNU gdb (GDB) Red Hat Enterprise Linux 8.2-11.el8<br>Copyright (C) 2018 Free Software Foundation, Inc.<br>License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html><br>This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law.<br>Type "show copying" and "show warranty" for details.<br>This GDB was configured as "x86_64-redhat-linux-gnu".<br>Type "show configuration" for configuration details.<br>For bug reporting instructions, please see:<br><http://www.gnu.org/software/gdb/bugs/>.<br>Find the GDB manual and other documentation resources online at:<br> <http://www.gnu.org/software/gdb/documentation/>.<br><br>For help, type "help".<br>Type "apropos word" to search for commands related to "word"...<br>Reading symbols from /usr/sbin/opensips...Reading symbols from .gnu_debugdata for /usr/sbin/opensips...(no debugging symbols found)...done.<br>(no debugging symbols found)...done.<br>"/var/lib/systemd/coredump/core.opensips.993.b6ac8a71177a49cd8238e22ba265c6e9.16129.1594410164000000.lz4" is not a core dump: file format not recognized<br>Missing separate debuginfos, use: yum debuginfo-install opensips-2.4.8-1.el8.x86_64<br><br>I am running Centos 8. I installed opensips using the RPM from the opensips download site. The dump file is generated from systemd. I added the -w flag the service to put the dump file in the opensips directory but that did not change the location of the dump file.<br><br>Here is the information from the crash in the logs.<br><br>/usr/sbin/opensips[16129]: CRITICAL:core:sig_usr: segfault in process pid: 16129, id: 7<br>kernel: opensips[16129]: segfault at 0 ip 00000000004c4363 sp 00007ffcdf449470 error 6 in opensips[400000+212000]<br>kernel: Code: c4 28 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 2e 0f 1f 84 00 00 00 00 00 48 c1 e8 03 89 c2 e9 8c fb ff ff 0f 1f 44 00 00 48 89 c2 <48> 89 37 48 c1 ea 03 48 c1 e2 04 48 01 ea 48 8b 4a 58 48 83 e9 01<br>systemd[1]: Started Process Core Dump (PID 16147/UID 0).<br><br><br>Opensips info<br><br>version: opensips 2.4.8 (x86_64/linux)<br>flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT<br>ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535<br>poll method support: poll, epoll, sigio_rt, select.<br>main.c compiled on 19:27:39 Jun 30 2020 with gcc 8<br><br>My opensips start command<br>/usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg -m 20480 -M 5120 -w /etc/opensips/dump<br><br><br>What am I missing in order to get a gdb core dump?<br><br>Thanks,<br><br>James<br><br><br><signature></signature> </div></body></html>