Some more information as seen in WinDbg: =========================================================== VERIFIER STOP 0000000E: pid 0x6CC: corrupted infix pattern for freed block 02051000 : Heap handle 0221CFB0 : Heap block 00000624 : Block size 0221D044 : corruption address =========================================================== This verifier stop is not continuable. Process will be terminated when you use the `go' debugger command. =========================================================== (6cc.568): Break instruction exception - code 80000003 (first chance) eax=00000000 ebx=00150000 ecx=6a148a38 edx=00000000 esi=00150000 edi=00150000 eip=774c2ea8 esp=06d9ef88 ebp=06d9efa8 iopl=0 nv up ei pl zr na pe nc cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000246 ntdll!DbgBreakPoint: 774c2ea8 cc int 3 0:010> kp 20 ChildEBP RetAddr 06d9ef84 6a134ced ntdll!DbgBreakPoint 06d9efa8 6a13a002 verifier!VerifierStopMessage+0x1fd 06d9f004 6a13a648 verifier!AVrfpDphReportCorruptedBlock+0x142 06d9f060 6a13b002 verifier!AVrfpDphCheckNormalFreeHeapBlock+0x128 06d9f0d4 6a13adbe verifier!AVrfpDphTrimDelayedFreeQueue+0x222 06d9f0dc 6a13a993 verifier!AVrfpDphAddToDelayedFreeQueue+0x5e 06d9f0ec 6a13879b verifier!AVrfpDphNormalHeapFree+0x93 06d9f140 77531c8f verifier!AVrfDebugPageHeapFree+0x1cb 06d9f188 774fd9fa ntdll!RtlDebugFreeHeap+0x2f 06d9f27c 774e1c21 ntdll!RtlpFreeHeap+0x5f 06d9f298 77627a7e ntdll!RtlFreeHeap+0x14e 06d9f2ac 75613547 kernel32!HeapFree+0x14 06d9f2c0 7561474b IPHLPAPI!FreeMibTable+0x1b 06d9f340 75618e74 IPHLPAPI!AllocateAndGetAdaptersAddresses+0x3cc 06d9f364 1004bf39 IPHLPAPI!GetIpAddrTable+0x27 06d9f378 1004bd20 sipPhone!MyGetIpAddrTable(struct _MIB_IPADDRTABLE * pIpAddrTable = 0x06d9f710, unsigned long * pdwSize = 0x06d9f704, int bOrder = 0)+0x39 [d:\pjsip1.0rc1\src\pjsip\pjlib\src\pj\ip_helper_win32.c @ 106] 06d9fb20 1004bcb2 sipPhone!enum_ipv4_interface(unsigned int * p_cnt = 0x06d9fbfc, union pj_sockaddr * ifs = 0x06d9fc00)+0x60 [d:\pjsip1.0rc1\src\pjsip\pjlib\src\pj\ip_helper_win32.c @ 203] 06d9fb34 10083ec8 sipPhone!pj_enum_ip_interface(int af = 2, unsigned int * p_cnt = 0x06d9fbfc, union pj_sockaddr * ifs = 0x06d9fc00)+0x92 [d:\pjsip1.0rc1\src\pjsip\pjlib\src\pj\ip_helper_win32.c @ 299] 06d9fb54 1007bfd1 sipPhone!pj_stun_sock_get_info(struct pj_stun_sock * stun_sock = 0x0748eb14, struct pj_stun_sock_info * info = 0x06d9fba8)+0xd8 [d:\pjsip1.0rc1\src\pjsip\pjnath\src\pjnath\stun_sock.c @ 541] 06d9fcf8 10084154 sipPhone!stun_on_status(struct pj_stun_sock * stun_sock = 0x0748eb14, pj_stun_sock_op op = PJ_STUN_SOCK_BINDING_OP (2), int status = 0)+0x131 [d:\pjsip1.0rc1\src\pjsip\pjnath\src\pjnath\ice_strans.c @ 1270] 06d9fd60 1007f119 sipPhone!sess_on_request_complete(struct pj_stun_session * sess = 0x074f5bdc, int status = 0, void * token = 0x00000001, struct pj_stun_tx_data * tdata = 0x074f68bc, struct pj_stun_msg * response = 0x074f645c, void * src_addr = 0x0748ee08, unsigned int src_addr_len = 0x10)+0x164 [d:\pjsip1.0rc1\src\pjsip\pjnath\src\pjnath\stun_sock.c @ 671] 06d9fd90 10089441 sipPhone!stun_tsx_on_complete(struct pj_stun_client_tsx * tsx = 0x074f6fec, int status = 0, struct pj_stun_msg * response = 0x074f645c, void * src_addr = 0x0748ee08, unsigned int src_addr_len = 0x10)+0x99 [d:\pjsip1.0rc1\src\pjsip\pjnath\src\pjnath\stun_session.c @ 413] 06d9fdb4 10080cc7 sipPhone!pj_stun_client_tsx_on_rx_msg(struct pj_stun_client_tsx * tsx = 0x074f6fec, struct pj_stun_msg * msg = 0x074f645c, void * src_addr = 0x0748ee08, unsigned int src_addr_len = 0x10)+0x131 [d:\pjsip1.0rc1\src\pjsip\pjnath\src\pjnath\stun_transaction.c @ 434] 06d9fdd4 10080a1c sipPhone!on_incoming_response(struct pj_stun_session * sess = 0x074f5bdc, unsigned int options = 5, unsigned char * pkt = 0x074f4f1c "???", unsigned int pkt_len = 0x58, struct pj_stun_msg * msg = 0x074f645c, void * src_addr = 0x0748ee08, unsigned int src_addr_len = 0x10)+0xe7 [d:\pjsip1.0rc1\src\pjsip\pjnath\src\pjnath\stun_session.c @ 1165] 06d9fe04 1008432f sipPhone!pj_stun_session_on_rx_pkt(struct pj_stun_session * sess = 0x074f5bdc, void * packet = 0x074f4f1c, unsigned int pkt_size = 0x58, unsigned int options = 1, void * token = 0x00000000, unsigned int * parsed_len = 0x00000000, void * src_addr = 0x0748ee08, unsigned int src_addr_len = 0x10)+0x15c [d:\pjsip1.0rc1\src\pjsip\pjnath\src\pjnath\stun_session.c @ 1366] 06d9fe90 100f8717 sipPhone!on_data_recvfrom(struct pj_activesock_t * asock = 0x0748ea04, void * data = 0x074f4f1c, unsigned int size = 0x58, void * src_addr = 0x0748ee08, int addr_len = 16, int status = 0)+0x10f [d:\pjsip1.0rc1\src\pjsip\pjnath\src\pjnath\stun_sock.c @ 782] 06d9fed8 1004dc1e sipPhone!ioqueue_on_read_complete(struct pj_ioqueue_key_t * key = 0x021c7f18, struct pj_ioqueue_op_key_t * op_key = 0x0748ed74, long bytes_read = 88)+0xd7 [d:\pjsip1.0rc1\src\pjsip\pjlib\src\pj\activesock.c @ 406] 06d9ff0c 1004da9d sipPhone!poll_iocp(void * hIocp = 0x00000240, unsigned long dwTimeout = 5, long * p_bytes = 0x00000000, struct pj_ioqueue_key_t ** p_key = 0x00000000)+0x11e [d:\pjsip1.0rc1\src\pjsip\pjlib\src\pj\ioqueue_winnt.c @ 695] 06d9ff34 1000b2d0 sipPhone!pj_ioqueue_poll(struct pj_ioqueue_t * ioqueue = 0x021c3460, struct pj_time_val * timeout = 0x06d9ff44)+0x5d [d:\pjsip1.0rc1\src\pjsip\pjlib\src\pj\ioqueue_winnt.c @ 903] 06d9ff58 100566aa sipPhone!pjsip_endpt_handle_events2(struct pjsip_endpoint * endpt = 0x021bb52c, struct pj_time_val * max_timeout = 0x06d9ff70, unsigned int * p_count = 0x06d9ff78)+0xb0 [d:\pjsip1.0rc1\src\pjsip\pjsip\src\pjsip\sip_endpoint.c @ 718] 06d9ff7c 10055c64 sipPhone!pjsua_handle_events(unsigned int msec_timeout = 0xa)+0x3a [d:\pjsip1.0rc1\src\pjsip\pjsip\src\pjsua-lib\pjsua_core.c @ 1233] 06d9ff8c 10048f20 sipPhone!worker_thread(void * arg = 0x00000000)+0x14 [d:\pjsip1.0rc1\src\pjsip\pjsip\src\pjsua-lib\pjsua_core.c @ 518] 0:010> ============================================================================================ This happens at startup. Another point of freeze: ========================================================================================== 0:003> ~* kp 0 Id: 4d0.198 Suspend: 1 Teb: 7ffdf000 Unfrozen ChildEBP RetAddr 0012fe24 75f8199a ntdll!KiFastSystemCallRet 0012fe28 75f819cd USER32!NtUserGetMessage+0xc 0012fe44 692de6b1 USER32!GetMessageW+0x33 0012fe70 692dfbfc MFC80UD!AfxInternalPumpMessage(void)+0x21 [f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 153] 0012fe7c 692df46b MFC80UD!CWinThread::PumpMessage(void)+0xc [f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 896] 0012fe98 692e1a07 MFC80UD!CWinThread::Run(void)+0x8b [f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\thrdcore.cpp @ 625] 0012feac 6927557d MFC80UD!CWinApp::Run(void)+0x57 [f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\appcore.cpp @ 894] 0012fed0 00412de8 MFC80UD!AfxWinMain(struct HINSTANCE__ * hInstance = 0x00400000, struct HINSTANCE__ * hPrevInstance = 0x00000000, wchar_t * lpCmdLine = 0x015274a0 "-Embedding", int nCmdShow = 10)+0xed [f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\winmain.cpp @ 47] 0012fee8 0040afb9 sipServer!wWinMain(struct HINSTANCE__ * hInstance = 0x00400000, struct HINSTANCE__ * hPrevInstance = 0x00000000, wchar_t * lpCmdLine = 0x015274a0 "-Embedding", int nCmdShow = 10)+0x18 [f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\appmodul.cpp @ 33] 0012ff98 0040ad2d sipServer!__tmainCRTStartup(void)+0x289 [f:\sp\vctools\crt_bld\self_x86\crt\src\crtexe.c @ 589] 0012ffa0 77623833 sipServer!wWinMainCRTStartup(void)+0xd [f:\sp\vctools\crt_bld\self_x86\crt\src\crtexe.c @ 414] 0012ffac 774ba9bd kernel32!BaseThreadInitThunk+0xe 0012ffec 00000000 ntdll!_RtlUserThreadStart+0x23 1 Id: 4d0.970 Suspend: 1 Teb: 7ffde000 Unfrozen ChildEBP RetAddr 050af0c4 774e06a0 ntdll!KiFastSystemCallRet 050af0c8 774bb18c ntdll!NtWaitForSingleObject+0xc 050af12c 774bb071 ntdll!RtlpWaitOnCriticalSection+0x154 050af154 100496ba ntdll!RtlEnterCriticalSection+0x152 050af164 1005f4ec sipPhone!pj_mutex_lock(struct pj_mutex_t * mutex = 0x0216b0cc)+0x3a [d:\pjsip1.0rc1\src\pjsip\pjlib\src\pj\os_core_win32.c @ 915] 050af198 1011d23c sipPhone!pjsua_acc_set_registration(int acc_id = 6, int renew = 0)+0x5c [d:\pjsip1.0rc1\src\pjsip\pjsip\src\pjsua-lib\pjsua_acc.c @ 1199] 050af258 004063a6 sipPhone!sipPhone::UnRegisterLine(int hLine = 6)+0x6c [d:\pjsip1.0rc1\src\pjsipphone\src\sipphone.cpp @ 4099] 050af2ac 69342ef0 sipServer!CSipPhone::UnRegisterLine(unsigned long hLine = 6, long * pResult = 0x0681b520)+0xa6 [d:\pjsip1.0rc1\src\pjsipserver\src\sipphone.cpp @ 2254] 050af2b8 693172ae MFC80UD!_AfxDispatchCall(<function> * __formal = 0x00416540, void * __formal = 0x050a0001, unsigned int __formal = 0)+0x10 [f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\olecall.cpp @ 40] 050af3ec 69317fe8 MFC80UD!CCmdTarget::CallMemberFunc(struct AFX_DISPMAP_ENTRY * pEntry = 0x00416540, unsigned short wFlags = 1, struct tagVARIANT * pvarResult = 0x00000000, struct tagDISPPARAMS * pDispParams = 0x050af474, unsigned int * puArgErr = 0x050af468)+0x45e [f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\oledisp1.cpp @ 1064] 050af4b0 75e264bf MFC80UD!COleDispatchImpl::Invoke(long dispid = 47, struct _GUID * riid = 0x07108f84 {00000000-0000-0000-0000-000000000000}, unsigned long lcid = 0x409, unsigned short wFlags = 1, struct tagDISPPARAMS * pDispParams = 0x050af474, struct tagVARIANT * pvarResult = 0x00000000, struct tagEXCEPINFO * pexcepinfo = 0x067ebd90, unsigned int * puArgErr = 0x067ebdb0)+0x6c8 [f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\oledisp1.cpp @ 1504] 050af4e4 75e22540 OLEAUT32!IDispatch_Invoke_Stub+0x52 050af520 75df219d OLEAUT32!IDispatch_RemoteInvoke_Thunk+0x5b 050af944 75df209a RPCRT4!CStdProxyBuffer_Connect+0xe7c 050af968 774ba9bd RPCRT4!CStdStubBuffer_Invoke+0xa0 050af994 75e315ca ntdll!_RtlUserThreadStart+0x23 050af9b8 76de92a0 OLEAUT32!CDispStubWrapper::Invoke+0xba 050afa00 76de923a ole32!SyncStubInvoke+0x3c 050afa4c 76d125c2 ole32!StubInvoke+0xb9 050afb28 76d124d3 ole32!CCtxComChnl::ContextInvoke+0xfa 2 Id: 4d0.d00 Suspend: 1 Teb: 7ffdd000 Unfrozen ChildEBP RetAddr 051afe88 774e00f0 ntdll!KiFastSystemCallRet 051afe8c 77607948 ntdll!NtRemoveIoCompletion+0xc 051afeb8 75d8aeae kernel32!GetQueuedCompletionStatus+0x29 051afef4 75d8afe7 RPCRT4!COMMON_ProcessCalls+0xb5 051aff60 75d8abcf RPCRT4!LOADABLE_TRANSPORT::ProcessIOEvents+0xef 051aff6c 75d8ac39 RPCRT4!ProcessIOEventsWrapper+0xe 051aff94 75d8ac83 RPCRT4!BaseCachedThreadRoutine+0x5c 051affa0 77623833 RPCRT4!ThreadStartRoutine+0x1e 051affac 774ba9bd kernel32!BaseThreadInitThunk+0xe 051affec 00000000 ntdll!_RtlUserThreadStart+0x23 # 3 Id: 4d0.c90 Suspend: 1 Teb: 7ffdc000 Unfrozen ChildEBP RetAddr 052aff70 7750f0a9 ntdll!DbgBreakPoint 052affa0 77623833 ntdll!DbgUiRemoteBreakin+0x3c 052affac 774ba9bd kernel32!BaseThreadInitThunk+0xe 052affec 00000000 ntdll!_RtlUserThreadStart+0x23 4 Id: 4d0.9f8 Suspend: 1 Teb: 7ffdb000 Unfrozen ChildEBP RetAddr 05c5ff40 774e00f0 ntdll!KiFastSystemCallRet 05c5ff44 77607948 ntdll!NtRemoveIoCompletion+0xc 05c5ff70 72a24354 kernel32!GetQueuedCompletionStatus+0x29 05c5ffa0 77623833 wdmaud!mxdMessageThreadProc+0x7d 05c5ffac 774ba9bd kernel32!BaseThreadInitThunk+0xe 05c5ffec 00000000 ntdll!_RtlUserThreadStart+0x23 5 Id: 4d0.f08 Suspend: 1 Teb: 7ffda000 Unfrozen ChildEBP RetAddr 05e5ff40 75f8199a ntdll!KiFastSystemCallRet 05e5ff44 75f819cd USER32!NtUserGetMessage+0xc 05e5ff60 72a28712 USER32!GetMessageW+0x33 05e5ffa0 77623833 wdmaud!CTaskThread::TaskThreadProc+0x9d 05e5ffac 774ba9bd kernel32!BaseThreadInitThunk+0xe 05e5ffec 00000000 ntdll!_RtlUserThreadStart+0x23 6 Id: 4d0.c44 Suspend: 1 Teb: 7ffd9000 Unfrozen ChildEBP RetAddr 05f5febc 774e0690 ntdll!KiFastSystemCallRet 05f5fec0 77627e09 ntdll!ZwWaitForMultipleObjects+0xc 05f5ff5c 72a25111 kernel32!WaitForMultipleObjectsEx+0x11d 05f5ff94 72a2855c wdmaud!CWorker::_ThreadProc+0x5e 05f5ffa0 77623833 wdmaud!CWorker::_StaticThreadProc+0x18 05f5ffac 774ba9bd kernel32!BaseThreadInitThunk+0xe 05f5ffec 00000000 ntdll!_RtlUserThreadStart+0x23 7 Id: 4d0.ba4 Suspend: 1 Teb: 7ffd8000 Unfrozen ChildEBP RetAddr 06beff40 75f8199a ntdll!KiFastSystemCallRet 06beff44 75f73ad1 USER32!NtUserGetMessage+0xc 06beff68 74251404 USER32!GetMessageA+0x8a 06beffa0 77623833 WINMM!mciwindow+0x102 06beffac 774ba9bd kernel32!BaseThreadInitThunk+0xe 06beffec 00000000 ntdll!_RtlUserThreadStart+0x23 8 Id: 4d0.df0 Suspend: 1 Teb: 7ffd7000 Unfrozen ChildEBP RetAddr 06cefd48 774e0690 ntdll!KiFastSystemCallRet 06cefd4c 77627e09 ntdll!ZwWaitForMultipleObjects+0xc 06cefde8 77628150 kernel32!WaitForMultipleObjectsEx+0x11d 06cefe04 6c0312c6 kernel32!WaitForMultipleObjects+0x18 06cefe1c 6c032c31 dsound!WaitObjectArray+0x17 06ceff3c 6c0329db dsound!CThread::TpWaitObjectArray+0x51 06ceff84 6c0328c8 dsound!CDirectSoundAdministrator::ThreadProc+0x26 06ceff90 6c0346a1 dsound!CThread::ThreadLoop+0x1d 06ceff98 6c03492d dsound!CThread::PrivateThreadProc+0x32 06ceffa0 77623833 dsound!CThread::ThreadStartRoutine+0xd 06ceffac 774ba9bd kernel32!BaseThreadInitThunk+0xe 06ceffec 00000000 ntdll!_RtlUserThreadStart+0x23 9 Id: 4d0.e4c Suspend: 1 Teb: 7ffd6000 Unfrozen ChildEBP RetAddr 06defedc 774e00f0 ntdll!KiFastSystemCallRet 06defee0 77607948 ntdll!NtRemoveIoCompletion+0xc 06deff0c 1004db27 kernel32!GetQueuedCompletionStatus+0x29 06deff48 1004da9d sipPhone!poll_iocp(void * hIocp = 0x0000036c, unsigned long dwTimeout = 0x1f4, long * p_bytes = 0x00000000, struct pj_ioqueue_key_t ** p_key = 0x00000000)+0x27 [d:\pjsip1.0rc1\src\pjsip\pjlib\src\pj\ioqueue_winnt.c @ 636] 06deff70 10034469 sipPhone!pj_ioqueue_poll(struct pj_ioqueue_t * ioqueue = 0x02194f48, struct pj_time_val * timeout = 0x06deff80)+0x5d [d:\pjsip1.0rc1\src\pjsip\pjlib\src\pj\ioqueue_winnt.c @ 903] 06deff8c 10048f20 sipPhone!worker_proc(void * arg = 0x021946dc)+0x39 [d:\pjsip1.0rc1\src\pjsip\pjmedia\src\pjmedia\endpoint.c @ 262] 06deffa0 77623833 sipPhone!thread_main(void * param = 0x021bce74)+0x40 [d:\pjsip1.0rc1\src\pjsip\pjlib\src\pj\os_core_win32.c @ 417] 06deffac 774ba9bd kernel32!BaseThreadInitThunk+0xe 06deffec 00000000 ntdll!_RtlUserThreadStart+0x23 10 Id: 4d0.bac Suspend: 1 Teb: 7ffd5000 Unfrozen ChildEBP RetAddr 06eefea0 774e00f0 ntdll!KiFastSystemCallRet 06eefea4 77607948 ntdll!NtRemoveIoCompletion+0xc 06eefed0 1004db27 kernel32!GetQueuedCompletionStatus+0x29 06eeff0c 1004da9d sipPhone!poll_iocp(void * hIocp = 0x00000244, unsigned long dwTimeout = 0xa, long * p_bytes = 0x00000000, struct pj_ioqueue_key_t ** p_key = 0x00000000)+0x27 [d:\pjsip1.0rc1\src\pjsip\pjlib\src\pj\ioqueue_winnt.c @ 636] 06eeff34 1000b2d0 sipPhone!pj_ioqueue_poll(struct pj_ioqueue_t * ioqueue = 0x02173460, struct pj_time_val * timeout = 0x06eeff44)+0x5d [d:\pjsip1.0rc1\src\pjsip\pjlib\src\pj\ioqueue_winnt.c @ 903] 06eeff58 100566aa sipPhone!pjsip_endpt_handle_events2(struct pjsip_endpoint * endpt = 0x0216b52c, struct pj_time_val * max_timeout = 0x06eeff70, unsigned int * p_count = 0x06eeff78)+0xb0 [d:\pjsip1.0rc1\src\pjsip\pjsip\src\pjsip\sip_endpoint.c @ 718] 06eeff7c 10055c64 sipPhone!pjsua_handle_events(unsigned int msec_timeout = 0xa)+0x3a [d:\pjsip1.0rc1\src\pjsip\pjsip\src\pjsua-lib\pjsua_core.c @ 1233] 06eeff8c 10048f20 sipPhone!worker_thread(void * arg = 0x00000000)+0x14 [d:\pjsip1.0rc1\src\pjsip\pjsip\src\pjsua-lib\pjsua_core.c @ 518] 06eeffa0 77623833 sipPhone!thread_main(void * param = 0x021c9718)+0x40 [d:\pjsip1.0rc1\src\pjsip\pjlib\src\pj\os_core_win32.c @ 417] 06eeffac 774ba9bd kernel32!BaseThreadInitThunk+0xe 06eeffec 00000000 ntdll!_RtlUserThreadStart+0x23 12 Id: 4d0.cf4 Suspend: 1 Teb: 7ffaf000 Unfrozen ChildEBP RetAddr 07aefea8 774e06a0 ntdll!KiFastSystemCallRet 07aefeac 776277d4 ntdll!NtWaitForSingleObject+0xc 07aeff1c 77627742 kernel32!WaitForSingleObjectEx+0xbe 07aeff30 10049bf5 kernel32!WaitForSingleObject+0x12 07aeff4c 10049ba1 sipPhone!pj_sem_wait_for(struct pj_sem_t * sem = 0x0393c474, unsigned int timeout = 0xffffffff)+0x45 [d:\pjsip1.0rc1\src\pjsip\pjlib\src\pj\os_core_win32.c @ 1104] 07aeff5c 10097706 sipPhone!pj_sem_wait(struct pj_sem_t * sem = 0x0393c474)+0x31 [d:\pjsip1.0rc1\src\pjsip\pjlib\src\pj\os_core_win32.c @ 1129] 07aeff70 10097cc8 sipPhone!media_queue_getmsg(unsigned int queue_id = 0, struct media_queue_message ** pMsg = 0x07aeff88)+0x36 [d:\pjsip1.0rc1\src\pjsip\pjmedia\src\pjmedia\mediaprocessor_port.c @ 271] 07aeff8c 10048f20 sipPhone!worker_thread(void * p = 0x0773af34)+0x28 [d:\pjsip1.0rc1\src\pjsip\pjmedia\src\pjmedia\mediaprocessor_port.c @ 346] 07aeffa0 77623833 sipPhone!thread_main(void * param = 0x0393c4f4)+0x40 [d:\pjsip1.0rc1\src\pjsip\pjlib\src\pj\os_core_win32.c @ 417] 07aeffac 774ba9bd kernel32!BaseThreadInitThunk+0xe 07aeffec 00000000 ntdll!_RtlUserThreadStart+0x23 15 Id: 4d0.ffc Suspend: 1 Teb: 7ffac000 Unfrozen ChildEBP RetAddr 07fefe84 774e0690 ntdll!KiFastSystemCallRet 07fefe88 77627e09 ntdll!ZwWaitForMultipleObjects+0xc 07feff24 77628150 kernel32!WaitForMultipleObjectsEx+0x11d 07feff40 6c0312c6 kernel32!WaitForMultipleObjects+0x18 07feff58 6c0616e6 dsound!WaitObjectArray+0x17 07feff98 6c061a8a dsound!CEmCaptureWaveBuffer::CaptureThread+0x1fe 07feffa0 77623833 dsound!CEmCaptureWaveBuffer::CaptureThreadStatic+0xd 07feffac 774ba9bd kernel32!BaseThreadInitThunk+0xe 07feffec 00000000 ntdll!_RtlUserThreadStart+0x23 16 Id: 4d0.e98 Suspend: 1 Teb: 7ffab000 Unfrozen ChildEBP RetAddr 080efd7c 774e0690 ntdll!KiFastSystemCallRet 080efd80 77627e09 ntdll!ZwWaitForMultipleObjects+0xc 080efe1c 77628150 kernel32!WaitForMultipleObjectsEx+0x11d 080efe38 6c0312c6 kernel32!WaitForMultipleObjects+0x18 080efe50 6c032c31 dsound!WaitObjectArray+0x17 080eff70 6c034da1 dsound!CThread::TpWaitObjectArray+0x51 080eff84 6c0328c8 dsound!CLeapRenderDevice::ThreadProc+0xc 080eff90 6c0346a1 dsound!CThread::ThreadLoop+0x1d 080eff98 6c03492d dsound!CThread::PrivateThreadProc+0x32 080effa0 77623833 dsound!CThread::ThreadStartRoutine+0xd 080effac 774ba9bd kernel32!BaseThreadInitThunk+0xe 080effec 00000000 ntdll!_RtlUserThreadStart+0x23 17 Id: 4d0.484 Suspend: 1 Teb: 7ffaa000 Unfrozen ChildEBP RetAddr 081efea0 774e0690 ntdll!KiFastSystemCallRet 081efea4 77627e09 ntdll!ZwWaitForMultipleObjects+0xc 081eff40 77628150 kernel32!WaitForMultipleObjectsEx+0x11d 081eff5c 6c036156 kernel32!WaitForMultipleObjects+0x18 081eff8c 6c036eaf dsound!CGraphManager::ThreadProc+0x15c 081effa0 77623833 dsound!CThreadBase::StaticThreadProc+0x26 081effac 774ba9bd kernel32!BaseThreadInitThunk+0xe 081effec 00000000 ntdll!_RtlUserThreadStart+0x23 18 Id: 4d0.aec Suspend: 1 Teb: 7ffa9000 Unfrozen ChildEBP RetAddr 082efef4 774e0690 ntdll!KiFastSystemCallRet 082efef8 7425a2a5 ntdll!ZwWaitForMultipleObjects+0xc 082effa0 77623833 WINMM!timeThread+0x3c 082effac 774ba9bd kernel32!BaseThreadInitThunk+0xe 082effec 00000000 ntdll!_RtlUserThreadStart+0x23 19 Id: 4d0.f10 Suspend: 1 Teb: 7ffa8000 Unfrozen ChildEBP RetAddr 083efecc 774df7c0 ntdll!KiFastSystemCallRet 083efed0 776278e0 ntdll!NtDelayExecution+0xc 083eff38 775e1da0 kernel32!SleepEx+0x62 083eff48 100491bf kernel32!Sleep+0xf 083eff54 100a2060 sipPhone!pj_thread_sleep(unsigned int msec = 0x14)+0x1f [d:\pjsip1.0rc1\src\pjsip\pjlib\src\pj\os_core_win32.c @ 583] 083eff8c 10048f20 sipPhone!clock_thread(void * arg = 0x07792920)+0xc0 [d:\pjsip1.0rc1\src\pjsip\pjmedia\src\pjmedia\clock_thread.c @ 240] 083effa0 77623833 sipPhone!thread_main(void * param = 0x07792968)+0x40 [d:\pjsip1.0rc1\src\pjsip\pjlib\src\pj\os_core_win32.c @ 417] 083effac 774ba9bd kernel32!BaseThreadInitThunk+0xe 083effec 00000000 ntdll!_RtlUserThreadStart+0x23 0:003> !cs 0x0216b0cc ----------------------------------------- Critical section = 0x0216b0cc (+0x216B0CC) DebugInfo = 0x053005b0 NOT LOCKED LockSemaphore = 0xCAC SpinCount = 0x00000000 ============================================================================================ This is the state as seen in the debugger when pjsip appears to be "frozen". The same code base works just fine in WinXP. Looking forward for suggestions/tips. Thanks, Anshuman ----- Original Message ---- From: Anshuman Rawat <arawat@xxxxxxxxxxx> To: pjsip at lists.pjsip.org Sent: Thursday, 22 January, 2009 2:24:04 PM Subject: Issue in Vista with pjsip1.0rc2 Hi, I am using PJSIP release 1.0rc2 with our sip phone application on Win XP and Vista. Everything works fine on WinXP but I am facing some "freeze" issues on Vista. PJSIP seems to "freeze" on Vista and this always seems to happen while acquiring the pjsua global mutex. Here's the call stack of one such "freeze" - sipPhone.dll!pj_mutex_lock(pj_mutex_t * mutex=0x00bdf31c) Line 925 C sipPhone.dll!pjsua_acc_get_info(int acc_id=0, pjsua_acc_info * info=0x0261f270) Line 1285 + 0xb bytes C sipPhone.dll!sipPhone::UnRegisterLine(int hLine=6) Line 4097 + 0x19 bytes C++ I couldn't find anything similar to this reported/fixed on pjsip ticket list. I am trying to figure out more using windbg but have been unable to make it work on Vista. Will post more information if I get any. Suggestion are welcome. Thanks, Anshuman _______________________________________________ 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