Andrew,<br><br>I'he downgrade my opensips to 1.6.2 version and the error gone! It just occur with the svn version.<br>Follow my coredump:<br>warning: exec file is newer than core file.<br>Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.<br>
Loaded symbols for /lib/ld-linux.so.2<br>Core was generated by `/usr/local/sbin/opensips -P /var/run/opensips.pid -m 1024 -u root -g root'.<br>Program terminated with signal 11, Segmentation fault.<br>#0 0x080a2b10 in check_ip_address (ip=0xbfb5fc78, name=0x0, port=0, proto=0, resolver=0) at resolve.c:100<br>
100 if ((ip->af==AF_INET6) &&<br><br>#0 0x080a2b10 in check_ip_address (ip=0xbfb5fc78, name=0x0, port=0, proto=0, resolver=0) at resolve.c:100<br> he = <value optimized out><br>
__FUNCTION__ = "check_ip_address"<br>#1 0x004a461e in ?? ()<br>No symbol table info available.<br>#2 0xbfb5fc78 in ?? ()<br>No symbol table info available.<br>#3 0x00000000 in ?? ()<br>No symbol table info available.<br>
<br>In this core, I had deleted the get_source_group function, but it crashed with check_source_address function. When I downgraded my opensips this error did not happen again.<br><br>Cheers<br><br><div class="gmail_quote">
On 19 July 2010 11:49, Andrew Pogrebennyk <span dir="ltr"><<a href="mailto:andrew.pogrebennyk@portaone.com">andrew.pogrebennyk@portaone.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Wesley,<br>
<br>
May be. I can suggest three things here:<br>
<br>
1) try to run svn update again, recompile opensips and see if the problem goes away<br>
2) set debug=6 and send us the log before moment of crash<br>
3) if you get a coredump file, get a bracktrace from it and post it here<br>
<br>
Hope this helps.<div class="im"><br>
<br>
On 19.07.2010 17:43, Wesley Volcov wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Andrew,<br>
<br>
I'm using like the documentations says:<br>
<br>
if ( get_source_group("$var(group)") ) {<br>
# do something with $var(group)<br>
xlog("group is $var(group)\n");<br>
};<br>
<br>
I have deleted this lines and the error continue... Can it be a bug<br>
version ?<br>
</blockquote>
<br></div>
-- <br>
Sincerely,<br><font color="#888888">
Andrew Pogrebennyk<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Wesley Volcov<br>Email: <a href="mailto:wesleyvolcov@gmail.com">wesleyvolcov@gmail.com</a><br>Messenger: <a href="mailto:volcov@live.com">volcov@live.com</a><br>Mobile: +55 11 9989-5348<br>
Website: <a href="http://volcov.blogspot.com">http://volcov.blogspot.com</a><br>