That works nice! now I have only a few leaks left. But I'm having some problems applying it to the media-update branche. I made some modifications by hand, but the application crashes (access violation) even before the main is loaded.
the error in the pop-up is : Unhandled exception at 0x7c964ed1 in PlaceCall_dbgNoVideo.exe: 0xC0000005: Access violation. this some disassembly, the error occurs at the last line (I guess) C964EAB mov edi,edi 7C964EAD push ebp 7C964EAE mov ebp,esp 7C964EB0 sub esp,50h 7C964EB3 mov eax,dword ptr [ebp+8] 7C964EB6 and dword ptr [ebp-48h],0 7C964EBA and dword ptr [ebp-40h],0 7C964EBE mov dword ptr [ebp-50h],eax 7C964EC1 lea eax,[ebp-50h] 7C964EC4 push eax 7C964EC5 mov dword ptr [ebp-4Ch],1 7C964ECC call 7C90EBAC 7C964ED1 leave the debug output from Visual Studio 2005 is: 'PlaceCall_dbgNoVideo.exe': Loaded 'D:\TEMP\SIPXTapi_media_update_9525\sipXcallLib\examples\bin\PlaceCall_dbgNoVideo.exe', Symbols loaded. 'PlaceCall_dbgNoVideo.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded. 'PlaceCall_dbgNoVideo.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded. 'PlaceCall_dbgNoVideo.exe': Loaded 'D:\TEMP\SIPXTapi_media_update_9525\sipXcallLib\examples\bin\sipXtapid.dll', Symbols loaded. 'PlaceCall_dbgNoVideo.exe': Loaded 'C:\WINDOWS\system32\ws2_32.dll', No symbols loaded. 'PlaceCall_dbgNoVideo.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded. 'PlaceCall_dbgNoVideo.exe': Loaded 'C:\WINDOWS\system32\ws2help.dll', No symbols loaded. 'PlaceCall_dbgNoVideo.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols loaded. 'PlaceCall_dbgNoVideo.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols loaded. 'PlaceCall_dbgNoVideo.exe': Loaded 'C:\WINDOWS\system32\winmm.dll', No symbols loaded. 'PlaceCall_dbgNoVideo.exe': Loaded 'C:\WINDOWS\system32\user32.dll', No symbols loaded. 'PlaceCall_dbgNoVideo.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', No symbols loaded. 'PlaceCall_dbgNoVideo.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\msvcr80d.dll', Symbols loaded. 'PlaceCall_dbgNoVideo.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c\msvcp80d.dll', Symbols loaded. 'PlaceCall_dbgNoVideo.exe': Loaded 'C:\WINDOWS\system32\pcre3.dll', Binary was not built with debug information. 'PlaceCall_dbgNoVideo.exe': Loaded 'C:\WINDOWS\system32\shlwapi.dll', No symbols loaded. First-chance exception at 0x1013a218 (sipXtapid.dll) in PlaceCall_dbgNoVideo.exe: 0xC0000005: Access violation reading location 0x00000010. First-chance exception at 0x7c964ed1 in PlaceCall_dbgNoVideo.exe: 0xC0000005: Access violation. Unhandled exception at 0x7c964ed1 in PlaceCall_dbgNoVideo.exe: 0xC0000005: Access violation. How can I detect where this is caused? 2007/5/11, Jaroslav Libák <[EMAIL PROTECTED]>:
Attached file shows memory leaks after my patch in http://track.sipfoundry.org/browse/XPL-204 as we agreed. Jaro _______________________________________________ sipxtapi-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
_______________________________________________ sipxtapi-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
