Failed in running and dubugging simpleplus.exe

Discussion related to implementation and use of the H.323 Plus H.323 stack at http://www.h323plus.org.
Post Reply
alucard
Posts: 2
Joined: Tue Dec 10, 2019 9:52 am

Failed in running and dubugging simpleplus.exe

Post 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!

User avatar
willamowius
Posts: 42
Joined: Tue Sep 01, 2009 7:25 am
Contact:

Re: Failed in running and dubugging simpleplus.exe

Post 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/
Jan Willamowius
Founder of the GNU Gatekeeper Project
https://www.gnugk.org
https://www.willamowius.com (H.323 support)

alucard
Posts: 2
Joined: Tue Dec 10, 2019 9:52 am

Re: Failed in running and dubugging simpleplus.exe

Post by alucard »

Well, seems PTLib 2.10.9.2 works well.
Thanks again!

Post Reply