<html><head><title>Re: [OpenSIPS-Users] Opensips2.1 crash</title>
</head>
<body>
<span style=" font-family:'Times New Roman'; font-size: 12pt;">Hello, Liviu<br>
<br>
Yes you were right about full path. Thank you.<br>
<br>
In attachment a full stack trace lead to the crash.<br>
<br>
<br>
</span><a style=" font-family:'arial'; font-size: 10pt;" href="mailto:denis7979@mail.ru">mailto:denis7979@mail.ru</a><br>
<br>
<table bgcolor="#ffffff">
<tr>
<td width=2 bgcolor= #0000ff><br>
</td>
<td><span style=" font-family:'courier new'; font-size: 12pt;">Hi Denis,<br>
<br>
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:<br>
<br>
objdump -h /usr/local/sbin/opensips | grep debug<br>
<br>
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"?)<br>
<br>
If the above command returns nothing, then we'll have to edit some Makefile variables to force the "-g" flag.<br>
Liviu Chircu<br>
OpenSIPS Developer<br>
</span><a style=" font-family:'courier new'; font-size: 12pt;" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><br>
<span style=" font-family:'times new roman'; font-size: 12pt;">On 29.03.2016 07:46, Denis wrote:<br>
Re: [OpenSIPS-Users] Opensips2.1 crash Hello Bogdan,<br>
<br>
Opensips has been downloaded/compiled/installed from git. <br>
Were should i check "debug symbols" for installation? <br>
<br>
Thank you.<br>
<br>
</span><a style=" font-family:'arial'; font-size: 10pt;" href="mailto:denis7979@mail.ru">mailto:denis7979@mail.ru</a><br>
<br>
<table bgcolor="#ffffff">
<tr>
<td width=2 bgcolor= #0000ff><br>
</td>
<td><span style=" font-family:'courier new'; font-size: 12pt;">Hi Denis,<br>
<br>
I guess you have opensips installed from packages - please install the package with the debug symbols, so that the backtrace will get more sense.<br>
<br>
Regards,<br>
Bogdan-Andrei Iancu<br>
OpenSIPS Founder and Developer<br>
</span><a style=" font-family:'courier new'; font-size: 12pt;" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><br>
<span style=" font-family:'times new roman'; font-size: 12pt;">On 28.03.2016 16:00, Denis wrote:<br>
Opensips2.1 crash Hello!<br>
<br>
I am going to upgrade my Opensips to 2.1. from 1.11.6.<br>
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.<br>
<br>
Thank you for any help.<br>
<br>
P.S. In attachment you can find PID of processes before the crash, information from log and core file.<br>
<br>
<br>
</span><a style=" font-family:'arial'; font-size: 10pt;" href="mailto:denis7979@mail.ru">mailto:denis7979@mail.ru</a> <br>
<br>
<span style=" font-family:'courier new'; font-size: 12pt;">_______________________________________________<br>
Users mailing list<br>
</span><a style=" font-family:'courier new'; font-size: 12pt;" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a style=" font-family:'courier new'; font-size: 12pt;" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></td>
</tr>
</table>
<br><br>
<br>
<span style=" font-family:'courier new'; font-size: 12pt;">_______________________________________________<br>
Users mailing list<br>
</span><a style=" font-family:'courier new'; font-size: 12pt;" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<span style=" font-family:'courier new'; font-size: 12pt;">
</span><a style=" font-family:'courier new'; font-size: 12pt;" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<span style=" font-family:'courier new'; font-size: 12pt;">
</td>
</tr>
</table>
</body></html>