The params value (string and line number) supplied to pj_thread_check_stack look strange (buffer overflow?), and the call stack shows pjsua_init() (IMO pjsua_init can be declared 'safe'). So, if you just modified something, please do some more recheck, or just try to clean all first, then rebuild (sometime this helps :D). nanang On 19/02/2008, Thomas Plotkowiak <plotti at gmx.net> wrote: > I am trying to run psuja implementation in debug mode, and get the following > error: > > From callers: > !pj_thread_check_stack(const char * file=0x00000040, int line=15400960) > Zeile 525 + 0xf Bytes > ... > ... > planet_p4.exe!pjsua_init(const pjsua_config * ua_cfg=0x0012f6a8, const > pjsua_logging_config * log_cfg=0x0012f96c, const pjsua_media_config * > media_cfg=0x0012f2d4) Zeile 699 + 0x9 Bytes C > > And from out: > HEAP[planet_p4.exe]: Invalid Address specified to RtlFreeHeap( 00EB0000, > 05200068 ) > > The debugger shows: > + thread 0x05207f30 {obj_name=0x05207f30 "???=" hthread=0x00000000 > idthread=0 ...} pj_thread_t * > > I dont really know what the problem might be here.All seems very cryptic... > > Hopefully maybe somebody can help. > > > > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >