[OpenSIPS-Devel] [DROUTING] Crash on use_next_gw/get_gw_by_id

Ronald Cepres rbcepres at gmail.com
Thu May 16 18:28:03 CEST 2013


Drouting crashes when selecting next gateway. Did a little investigation,
and FWIW the next gateway's carrier status is disabled but the carrier's
only gateway is enabled. Looked at the backtrace of the core dump, and
found that it crashed while comparing two strings on get_gw_by_id called by
use_next_gw. The strings compared were apparently GW ID strings.

I attached the GDB btfull logs (replaced some sensitive info with dummy
text) for reference. Take note that 'dont optimize' flag was not set so
some of the values were optimized and the crash happened randomly so I
can't actually reproduce the crash.

I'm using Opensips 1.9 using this source tarball:
http://opensips.org/pub/opensips/latest/src/opensips-1.9.0_src.tar.gz

-- 

Regards,

Ronald Cepres
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20130517/9b2cea45/attachment-0001.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: opensips_gdb_btfull.txt
URL: <http://lists.opensips.org/pipermail/devel/attachments/20130517/9b2cea45/attachment-0001.txt>


More information about the Devel mailing list