Re: gnugk stable 2.3.5 crash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2011-08-16 14:48 +0200, Jan Willamowius wrote openh323gk-users@xxxxxxxxx...:

JW>Hi Yuriy,
JW>
JW>the crashing line is almost unchanged from the code you submitted in
JW>2009. Its crashing in the strcmp() that compares the media IP to the
JW>fromIP. Since the fromIP looks ok fine your core dump, maybe the media
JW>IP gets changed that instant and we need a lock to fix that race
JW>condition ?

Hi Jan, may be, but it's random issue and i cannot simply reproduce this to 
make trace/dumps to see what exactly happends. the best we can - try lock and
see is it steel crashes or not.

JW>
JW>Regards,
JW>Jan
JW>
JW>
JW>Georgiewskiy Yuriy wrote:
JW>> hm, we use patch fo codec details which seems affect ProxyChannel.cxx line numbers,
JW>> it is in ProxySocket::Result UDPProxySocket::ReceiveData():
JW>> 
JW>> if (isRTCP && m_call && (*m_call) && m_EnableRTCPStats) {
JW>> 	bool direct = ((*m_call)->GetSRC_media_control_IP() == fromIP.AsString()); <-5650 line
JW>> 		PIPSocket::Address addr = (DWORD)0;
JW>> 		(*m_call)->GetMediaOriginatingIp(addr);
JW>> 		if (buflen < 4) {
JW>> 			PTRACE(1, "RTCP\tInvalid RTCP frame");
JW>> 			return NoData;
JW>> 		}
JW>> 
JW>> 
JW>> JW>> (gdb) bt
JW>> JW>> #0  0x00007fbcd7fb5126 in ?? () from /lib/libc.so.6
JW>> JW>> #1  0x00007fbcdaab56dc in PString::InternalCompare (this=0x7fbcd4116a50, offset=0, length=2147483647, cstr=0x7fbccc0f7950 "91.210.104.61")
JW>> JW>>      at ptlib/common/contain.cxx:1268
JW>> JW>> #2  0x00007fbcdaab48f2 in PString::Compare (this=0x7fbcd4116a50, obj=...) at ptlib/common/contain.cxx:970
JW>> JW>> #3  0x00000000004b8dee in PObject::operator== (this=0x7fbcd4116a50, obj=...) at /usr/local/src/ptlib-2.8.4/include/ptlib/object.h:1162
JW>> JW>> #4  0x00007fbcdaaaf57b in PString::operator== (this=0x7fbcd4116a50, obj=...) at /usr/local/src/ptlib-2.8.4/include/ptlib/contain.inl:117
JW>> JW>> #5  0x0000000000569c36 in UDPProxySocket::ReceiveData (this=0x19fbf70) at ProxyChannel.cxx:5650
JW>
JW>

C уважением                       With Best Regards
Георгиевский Юрий.                Georgiewskiy Yuriy
+7 4872 711666                    +7 4872 711666
факс +7 4872 711143               fax +7 4872 711143
Компания ООО "Ай Ти Сервис"       IT Service Ltd
http://nkoort.ru                  http://nkoort.ru
JID: GHhost@xxxxxxxxxx            JID: GHhost@xxxxxxxxxx
YG129-RIPE                        YG129-RIPE
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux