[OpenSIPS-Users] OpenSIPS crashing but gdb not recognising core dump symbols
Kingsley Tart
kingsley at dns99.co.uk
Mon Oct 25 14:52:24 EST 2021
Hi,
OpenSIPS 3.1.5 is crashing a lot on Debian 10.
I'm trying to use gdp to get a trace from a core dump but it isn't
loading the symbols.
I installed opensips-dbg, restarted opensips, managed to crash it again
and then ran gdb to examine the core dump, but it still didn't have the
symbols.
Here are the installed OpenSIPS packages:
root at ipx-a:/tmp# apt list --installed | grep opensips
WARNING: apt does not have a stable CLI interface. Use with caution in
scripts.
opensips-cli/buster,now 0.1~20211008~ef1f5e2-1 all [installed]
opensips-dbg/buster,now 3.1.5-1 amd64 [installed]
opensips-dialplan-module/buster,now 3.1.5-1 amd64 [installed]
opensips-http-modules/buster,now 3.1.5-1 amd64 [installed]
opensips-mysql-module/buster,now 3.1.5-1 amd64 [installed]
opensips-perl-modules/buster,now 3.1.5-1 amd64 [installed]
opensips-regex-module/buster,now 3.1.5-1 amd64 [installed]
opensips/buster,now 3.1.5-1 amd64 [installed]
root at ipx-a:/tmp#
This is what gdp said:
root at ipx-a:/tmp# gdb . core.opensips.107.1635172491.18078
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 18078]
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 0x000055866bba8e5b in ?? ()
(gdb) bt full
#0 0x000055866bba8e5b in ?? ()
No symbol table info available.
#1 0x00007fe747d6e2d0 in ?? ()
No symbol table info available.
#2 0x000055866bb729d8 in ?? ()
No symbol table info available.
#3 0x00007fe747bc441b in ?? ()
No symbol table info available.
#4 0x348db1ec12d63600 in ?? ()
No symbol table info available.
#5 0x0000000000000400 in ?? ()
No symbol table info available.
#6 0x00007fe747bca300 in ?? ()
No symbol table info available.
#7 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb)
How can I fix this to get a proper trace?
Regards,
Kingsley.
More information about the Users
mailing list