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:[email protected]


        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:[email protected]


        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:[email protected]

_______________________________________________
Users mailing list
[email protected] <mailto:[email protected]>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




_______________________________________________
Users mailing list
[email protected] <mailto:[email protected]>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to