[OpenSIPS-Users] Opensips2.1 crash

Denis denis7979 at mail.ru
Tue Mar 29 15:50:06 CEST 2016


Liviu, new data about problem are in attachment.

 mailto:denis7979 at mail.ru


That type of backtrace is a consequence of an earlier, undetected problem. Fastest way to catch it is to:

* make menuconfig -> Options -> Flags -> deselect F_MALLOC, select DBG_QM_MALLOC
* recompile, install and try to reproduce the issue again - we should spot the problem early on now!
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
On 29.03.2016 11:57, Denis wrote:
Re: [OpenSIPS-Users] Opensips2.1 crash Hello, Liviu

Yes you were right about full path. Thank you.

In attachment a full stack trace lead to the crash.


mailto:denis7979 at mail.ru


Hi Denis,

By default, the current build system will include the "-g" debugging symbols compiler flag of gcc. Run this in order to make sure your opensips binary includes them:

objdump -h /usr/local/sbin/opensips | grep debug

If it returns a few debug sections, then they are included, and most likely you are not passing the full/correct path for the opensips binary to gdb. (Hint: when GDB starts, does it say "opensips: No such file or directory"?)

If the above command returns nothing, then we'll have to edit some Makefile variables to force the "-g" flag.
Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com
On 29.03.2016 07:46, Denis wrote:
Re: [OpenSIPS-Users] Opensips2.1 crash Hello Bogdan,

Opensips has been downloaded/compiled/installed from git. 
Were should i check "debug symbols" for installation? 

Thank you.

mailto:denis7979 at mail.ru


Hi Denis,

I guess you have opensips installed from packages - please install the package with the debug symbols, so that the backtrace will get more sense.

Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 28.03.2016 16:00, Denis wrote:
Opensips2.1 crash Hello!

I am going to upgrade my Opensips to 2.1. from 1.11.6.
Opensips 2.1. had been installed on a test server and during the test i notice periodic Opensips crash. And i cannot understand the reason.

Thank you for any help.

P.S. In attachment you can find PID of processes before the crash, information from log and core file.


mailto:denis7979 at mail.ru 

_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160329/3806d6eb/attachment-0001.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: opensips_crash.txt
URL: <http://lists.opensips.org/pipermail/users/attachments/20160329/3806d6eb/attachment-0001.txt>


More information about the Users mailing list