Sending again..<br><br>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><br><div class="gmail_quote">On 19 July 2010 11:59, 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;">For some reason email from Wesley does not appear in the list, forwarding.<br>
<div><div></div><div class="h5"><br>
-------- Original Message --------<br>
Subject: Re: [OpenSIPS-Users] get_source_group not working<br>
Date: Mon, 19 Jul 2010 11:54:20 -0300<br>
From: Wesley Volcov <<a href="mailto:wesleyvolcov@gmail.com">wesleyvolcov@gmail.com</a>><br>
Reply-To: <a href="mailto:wesleyvolcov@gmail.com">wesleyvolcov@gmail.com</a><br>
To: Andrew Pogrebennyk <<a href="mailto:andrew.pogrebennyk@portaone.com">andrew.pogrebennyk@portaone.com</a>><br>
CC: OpenSIPS users mailling list <<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>><br>
<br>
<br>
<br>
Andrew,<br>
<br>
I'he downgrade my opensips to 1.6.2 version and the error gone! It just<br>
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<br>
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<br>
-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,<br>
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,<br>
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<br>
crashed with check_source_address function. When I downgraded my<br>
opensips this error did not happen again.<br>
<br>
Cheers<br>
<br>
On 19 July 2010 11:49, Andrew Pogrebennyk<br>
<<a href="mailto:andrew.pogrebennyk@portaone.com">andrew.pogrebennyk@portaone.com</a><br>
</div></div><div class="im"><mailto:<a href="mailto:andrew.pogrebennyk@portaone.com">andrew.pogrebennyk@portaone.com</a>>> wrote:<br>
<br>
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<br>
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<br>
here<br>
<br>
Hope this helps.<br>
<br>
<br>
On 19.07.2010 17:43, Wesley Volcov wrote:<br>
<br>
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>
<br>
<br>
--<br>
Sincerely,<br>
Andrew Pogrebennyk<br>
<br>
<br>
<br>
<br>
--<br>
Wesley Volcov<br>
</div>Email: <a href="mailto:wesleyvolcov@gmail.com">wesleyvolcov@gmail.com</a> <mailto:<a href="mailto:wesleyvolcov@gmail.com">wesleyvolcov@gmail.com</a>><br>
Messenger: <a href="mailto:volcov@live.com">volcov@live.com</a> <mailto:<a href="mailto:volcov@live.com">volcov@live.com</a>><br>
<div class="im">Mobile: +55 11 9989-5348<br>
Website: <a href="http://volcov.blogspot.com" target="_blank">http://volcov.blogspot.com</a><br>
<br>
</div><div><div></div><div class="h5">_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></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>