[OpenSIPS-Users] OpenSIPS crashing but gdb not recognising core dump symbols

Kingsley Tart kingsley at dns99.co.uk
Mon Oct 25 16:44:51 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.

Hi,

Thanks. I don't believe I'm using any of those modules. This is what I
have:

root at ipx-a:/tmp# grep loadmodule /etc/opensips/opensips.cfg | sort
loadmodule "acc.so"
loadmodule "avpops.so"
loadmodule "cachedb_local.so"
loadmodule "clusterer.so"
loadmodule "db_mysql.so"
loadmodule "dialog.so"
loadmodule "dialplan.so"
loadmodule "dns_cache.so"
loadmodule "drouting.so"
loadmodule "event_route.so"
loadmodule "httpd.so"
loadmodule "maxfwd.so"
loadmodule "mi_fifo.so"
loadmodule "mi_http.so"
loadmodule "perl.so"
loadmodule "permissions.so"
loadmodule "proto_bin.so"
loadmodule "proto_udp.so"
#loadmodule "qrouting.so"
loadmodule "regex.so"
# loadmodule "registrar.so"
loadmodule "rr.so"
loadmodule "signaling.so"
loadmodule "sipmsgops.so"
loadmodule "sl.so"
loadmodule "statistics.so"
loadmodule "tm.so"
# loadmodule "usrloc.so"

Although I do include other files in /etc/opensips, none of the others
load any modules.

> 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?

No I'm pretty sure I didn't do that. If I did I would have put the
source files into /usr/src and on this machine that directory is empty.

Is there anything I can do to verify anything?

BTW, I seem to be able to make it crash by just makinging (literally) 2
or 3 phone calls.

Cheers,
Kingsley.




More information about the Users mailing list