[OpenSIPS-Users] OpenSIPS crashing but gdb not recognising core dump symbols
Kingsley Tart
kingsley at dns99.co.uk
Tue Oct 26 08:12:53 EST 2021
On Mon, 2021-10-25 at 19:21 +0300, Liviu Chircu wrote:
> On 25.10.2021 17:52, Kingsley Tart wrote:
> > OpenSIPS 3.1.5 is crashing a lot on Debian 10.
>
> Hi Kingsley,
>
> In 3.1.6 there are some critical fixes in the auth, auth_db and
> mid-registrar modules. If you are using any of those, I highly
> recommend you upgrade to it first, before investing any more time on
> these corefiles.
>
> Regarding your corefile issue, it is definitely uncommon, the basic
> "opensips" + "opensips-dbg" package recipe should be enough for you to
> visualize at least a backtrace out of an OpenSIPS corefile. One guess
> would be that you are also installing an "opensips" binary through "make
> install" on the same box, which is not symbol-compatible with the
> "opensips-dbg" debugging package. Could this be the case?
>
> Best,
Hi. Unfortunately this is still happening. This is OpenSIPS 3.1.6 now.
And the symbols aren't matching either, which is odd as you say.
You can see from the timestamps on the core files how often this is
happening, and this isn't actually carrying live calls yet - it's just
forwarding OPTIONS messages.
root at ipx-a:/tmp# ls -l
total 596056
-rw------- 1 opensips opensips 81145856 Oct 25 15:34 core.opensips.107.1635172491.18078
-rw------- 1 opensips opensips 79904768 Oct 25 15:55 core.opensips.107.1635173727.18884
-rw------- 1 opensips opensips 79908864 Oct 25 17:27 core.opensips.107.1635179240.5190
-rw------- 1 opensips opensips 79904768 Oct 25 18:20 core.opensips.107.1635182431.24581
-rw------- 1 opensips opensips 81149952 Oct 25 20:57 core.opensips.107.1635191841.25806
-rw------- 1 opensips opensips 81281024 Oct 26 03:02 core.opensips.107.1635213742.9541
-rw------- 1 opensips opensips 81149952 Oct 26 04:04 core.opensips.107.1635217462.23482
-rwxr-xr-x 1 root root 97 Aug 23 17:07 dialog_show.sh
-rw-r--r-- 1 root root 109339 Oct 26 04:04 notify-vip.log
-rw-r--r-- 1 root root 67030692 Oct 25 15:36 opensips-at-2021-10-25_153500.tar.gz
prw-rw-rw- 1 opensips opensips 0 Oct 26 04:04 opensips_fifo
drwx------ 3 root root 4096 Aug 13 10:40 systemd-private-ff846758639f451e8ab388f88ce4b70c-openntpd.service-lGfMed
root at ipx-a:/tmp# gdb ./ core.opensips.107.1635217462.23482
GNU gdb (Debian 8.2.1-2+b3) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
./: Is a directory.
[New LWP 23482]
Core was generated by `/usr/sbin/opensips -P /run/opensips/opensips.pid -f /etc/opensips/opensips.cfg'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x0000559bc2b741ab in ?? ()
(gdb) bt full
#0 0x0000559bc2b741ab in ?? ()
No symbol table info available.
#1 0x00007fe9f919bfb8 in ?? ()
No symbol table info available.
#2 0x205044550000000b in ?? ()
No symbol table info available.
#3 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb)
Cheers,
Kingsley.
More information about the Users
mailing list