[OpenSIPS-Users] Fwd: Re: get_source_group not working
Andrew Pogrebennyk
andrew.pogrebennyk at portaone.com
Mon Jul 19 16:59:30 CEST 2010
For some reason email from Wesley does not appear in the list, forwarding.
-------- Original Message --------
Subject: Re: [OpenSIPS-Users] get_source_group not working
Date: Mon, 19 Jul 2010 11:54:20 -0300
From: Wesley Volcov <wesleyvolcov at gmail.com>
Reply-To: wesleyvolcov at gmail.com
To: Andrew Pogrebennyk <andrew.pogrebennyk at portaone.com>
CC: OpenSIPS users mailling list <users at lists.opensips.org>
Andrew,
I'he downgrade my opensips to 1.6.2 version and the error gone! It just
occur with the svn version.
Follow my coredump:
warning: exec file is newer than core file.
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/ld-linux.so.2
Core was generated by `/usr/local/sbin/opensips -P /var/run/opensips.pid
-m 1024 -u root -g root'.
Program terminated with signal 11, Segmentation fault.
#0 0x080a2b10 in check_ip_address (ip=0xbfb5fc78, name=0x0, port=0,
proto=0, resolver=0) at resolve.c:100
100 if ((ip->af==AF_INET6) &&
#0 0x080a2b10 in check_ip_address (ip=0xbfb5fc78, name=0x0, port=0,
proto=0, resolver=0) at resolve.c:100
he = <value optimized out>
__FUNCTION__ = "check_ip_address"
#1 0x004a461e in ?? ()
No symbol table info available.
#2 0xbfb5fc78 in ?? ()
No symbol table info available.
#3 0x00000000 in ?? ()
No symbol table info available.
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.
Cheers
On 19 July 2010 11:49, Andrew Pogrebennyk
<andrew.pogrebennyk at portaone.com
<mailto:andrew.pogrebennyk at portaone.com>> wrote:
Wesley,
May be. I can suggest three things here:
1) try to run svn update again, recompile opensips and see if the
problem goes away
2) set debug=6 and send us the log before moment of crash
3) if you get a coredump file, get a bracktrace from it and post it
here
Hope this helps.
On 19.07.2010 17:43, Wesley Volcov wrote:
Andrew,
I'm using like the documentations says:
if ( get_source_group("$var(group)") ) {
# do something with $var(group)
xlog("group is $var(group)\n");
};
I have deleted this lines and the error continue... Can it be a bug
version ?
--
Sincerely,
Andrew Pogrebennyk
--
Wesley Volcov
Email: wesleyvolcov at gmail.com <mailto:wesleyvolcov at gmail.com>
Messenger: volcov at live.com <mailto:volcov at live.com>
Mobile: +55 11 9989-5348
Website: http://volcov.blogspot.com
More information about the Users
mailing list