Page 1 of 1

Failed in running and dubugging simpleplus.exe

Posted: Tue Dec 10, 2019 10:18 am
by alucard
Hi.
I downloaded H.323 Plus Core (ver 1.27.0) and ptlib (ver 2.16.2) ,and successfully compiled "PTLib Static","h323plus",and "simpleplus" using vs2012 and Win10x64.
But when running simpleplus.exe, the cmd window immediately closed. And when debugging simpleplus.exe, errors occured:
"Unhandled exception at 0x77BD3BD3 (ntdll.dll) in simpleplus.exe: 0xC0000005: Access violation writing location 0x00000014."

and the program stoped at this position:
(mlock.c)
void __cdecl _unlock (
int locknum
)
{
/*
* leave the critical section.
*/
LeaveCriticalSection( _locktable[locknum].lock );
}

the stack infomation is as follow:
> ntdll.dll!77bd3bd3()
msvcr110d.dll!_unlock(int locknum) line 366 C
msvcr110d.dll!_free_dbg(void * pUserData, int nBlockUse) line 1270 C++
msvcr110d.dll!_free_dbg(void * pUserData, int nBlockUse) line 1267 C++

I also tryed in Win7x64 and vs2012, the same error occured.
Why? Please help me.Thank you very much!

Re: Failed in running and dubugging simpleplus.exe

Posted: Tue Dec 10, 2019 6:24 pm
by willamowius
PTLib 2.16.x is not supported. I'm surprised it even compiled.

Please use PTLib 2.10.9.2 as offered on the download page: https://www.h323plus.org/source/

Re: Failed in running and dubugging simpleplus.exe

Posted: Sun Dec 15, 2019 1:15 pm
by alucard
Well, seems PTLib 2.10.9.2 works well.
Thanks again!