Hi ,
i updated to latest CVS release. and am using ptlib version 2.10.9.
i am now getting the following error.
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ffff7f13700 (LWP 24402)] 0x00000000004d4a84 in PArray<PASN_Object>::operator[] (this=0x7fffe00463b0, index=0) at /home/test/libs/h323/ptlib/include/ptlib/array.h:1062 1062 PObject * obj = GetAt(index); (gdb) bt #0 0x00000000004d4a84 in PArray<PASN_Object>::operator[] (this=0x7fffe00463b0, index=0) at /home/test/libs/h323/ptlib/include/ptlib/array.h:1062 #1 0x00000000005f8a4a in H245_ArrayOf_VideoCapability::operator[] (this=0x7fffe0046390, i=0) at h245_1.cxx:16846 #2 0x000000000047baa1 in H323CodecExtendedVideoCapability::IsMatch (this=0xc94dc0, subTypePDU=...) at h323caps.cxx:2269 #3 0x0000000000480790 in H323Capabilities::FindCapability (this=0xc93498, mainType=H323Capability::e_Data, subTypePDU=..., translationTable=0x0, tableElements=0) at h323caps.cxx:3902 #4 0x000000000047fbb5 in H323Capabilities::FindCapability (this=0xc93498, cap=...) at h323caps.cxx:3633 #5 0x000000000047f99e in H323Capabilities::FindCapability (this=0xc93498, cap=..., capID=224, pdu=...) at h323caps.cxx:3596 #6 0x000000000047dd40 in H323Capabilities::H323Capabilities (this=0x7ffff7f12bb0, connection=..., pdu=...) at h323caps.cxx:3210 #7 0x00000000004615a3 in H245NegTerminalCapabilitySet::HandleIncoming (this=0xc96a20, pdu=...) at h323neg.cxx:380 #8 0x000000000043c7dc in H323Connection::OnH245Request (this=0xc93370, pdu=...) at h323.cxx:3489 #9 0x000000000043c493 in H323Connection::HandleControlPDU (this=0xc93370, pdu=...) at h323.cxx:3439 #10 0x000000000043c3ad in H323Connection::HandleControlData (this=0xc93370, strm=...) at h323.cxx:3423 #11 0x000000000043bbb0 in H323Connection::HandleReceivedControlPDU (this=0xc93370, readStatus=true, strm=...) at h323.cxx:3344 #12 0x000000000043ba98 in H323Connection::HandleControlChannel (this=0xc93370) at h323.cxx:3326 #13 0x000000000049c093 in H245TransportThread::Main (this=0x7fffec008380) at transports.cxx:221 #14 0x000000000078b34a in PThread::PX_ThreadStart (arg=0x7fffec008380) at ptlib/unix/tlibthrd.cxx:491 #15 0x00007ffff7bc4182 in start_thread (arg=0x7ffff7f13700) at pthread_create.c:312 #16 0x00007ffff6db030d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
An object of type H245_MasterSlaveDeterminationRelease is getting destructed, i put logs in the constructor and destructor , but the constructor is never called.
Regards
Ankur Deep Jaiswal
Hi,
this is fixed in the CVS now.
Regards, Jan
participants (2)
-
Ankur Deep Jaiswal
-
Jan Willamowius