MS VS 2008
ptlib-2.10.1
h323plus-1.23.0
I get AV when listener app tries to delete h245listener thread.
..\h323plus\src\transports.cxx:888
Code: Select all
void H323Transport::CleanUpOnTermination()
{
Close();
if (thread != NULL) {
PTRACE(3, "H323\tH323Transport::CleanUpOnTermination for " << thread->GetThreadName());
PAssert(thread->WaitForTermination(10000), "Transport thread did not terminate");
delete thread; //FAIL: it seems that thread already deleted, but its pointer isn`t NULL
thread = NULL;
}
}
I written sample apps (h323-caller and h323-listener) to check how it works, but can`t go on.h323-listener.exe!H323Transport::CleanUpOnTermination() Line 888 + 0x22 bytes C++
h323-listener.exe!H323Connection::CleanUpOnCallEnd() Line 831 C++
h323-listener.exe!H323EndPoint::CleanUpConnections() Line 1983 C++
h323-listener.exe!H323ConnectionsCleaner::Main() Line 291 C++
h323-listener.exe!PThread::MainFunction(void * threadPtr=0x014c69a0) Line 723 C++
msvcr90d.dll!_callthreadstartex() Line 348 + 0xf bytes C
msvcr90d.dll!_threadstartex(void * ptd=0x014c80e0) Line 331 C
Here they are http://share.netbynet.ru/291h323samples.zip (23 kb)
When I use h323-caller as caller with CallGen sample as listener (http://www.h323plus.org/source/download ... 1_23_0.zip) the same thing happens.