DarioVSH

Hi all,

I have a similar problem about Test Case 31:

Microsoft (R) Windows Debugger Version 6.6.0007.5
Copyright (c) Microsoft Corporation. All rights reserved.

CommandLine: "C:\Program Files\NZR\Vision\bin\vision.exe"
Symbol search path is: *** Invalid ***
****************************************************************************
* Symbol loading may be unreliable without a symbol search path. *
* Use .symfix to have the debugger choose a symbol path. *
* After setting your symbol path, use .reload to refresh symbol locations. *
****************************************************************************
Executable search path is:
ModLoad: 00400000 00406000 image00400000
ModLoad: 775c0000 776de000 ntdll.dll
ModLoad: 71170000 711a1000 C:\Windows\system32\verifier.dll
Page heap: pid 0xE3C: page heap enabled with flags 0x3.
AVRF: vision.exe: pid 0xE3C: flags 0x80000001: application verifier enabled
ModLoad: 71140000 71168000 C:\Windows\system32\vrfcore.dll
ModLoad: 71100000 71139000 C:\Windows\system32\vfbasics.dll
ModLoad: 76fa0000 77078000 C:\Windows\system32\kernel32.dll
ModLoad: 7c340000 7c396000 C:\Windows\system32\MSVCR71.dll
ModLoad: 77520000 775be000 C:\Windows\system32\USER32.dll
ModLoad: 771d0000 7721b000 C:\Windows\system32\GDI32.dll
ModLoad: 76ec0000 76f7f000 C:\Windows\system32\ADVAPI32.dll
ModLoad: 77220000 772e3000 C:\Windows\system32\RPCRT4.dll
(e3c.e40): Break instruction exception - code 80000003 (first chance)
eax=00000000 ebx=00000000 ecx=0012fb00 edx=77620f34 esi=fffffffe edi=77685d14
eip=77602ea8 esp=0012fb18 ebp=0012fb48 iopl=0 nv up ei pl zr na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000246
*** ERROR: Symbol file could not be found. Defaulted to export symbols for ntdll.dll -
ntdll!DbgBreakPoint:
77602ea8 cc int 3

i < xml version="1.0" encoding="UTF-8" standalone="no" >
<avrf:logfile xmlns:avrf="Application Verifier">
<avrf:logSession TimeStarted="2007-09-20 : 16:19:44" PID="3540" Version="2">
<avrf:logEntry Time="2007-09-20 : 16:20:14" LayerName="Locks" StopCode="0x201" Severity="Error">
<avrf:message>Unloading DLL containing an active critical section.</avrf:message>
<avrfStick out tonguearameter1>2762de58 - Critical section address.</avrfStick out tonguearameter1>
<avrfStick out tonguearameter2>42bcd8 - Critical section initialization stack trace.</avrfStick out tonguearameter2>
<avrfStick out tonguearameter3>6ca2fe0 - DLL name address.</avrfStick out tonguearameter3>
<avrfStick out tonguearameter4>27580000 - DLL base address.</avrfStick out tonguearameter4>
<avrfTongue TiedtackTrace>
<avrf:trace>vfbasics!VfBasicsStopMessage+8e</avrf:trace>
<avrf:trace>vfbasics!AVrfpFreeMemLockChecks+17d</avrf:trace>
<avrf:trace>vfbasics!AVrfpFreeMemNotify+39</avrf:trace>
<avrf:trace>vfbasics!AVrfpDllUnloadCallback+2c</avrf:trace>
<avrf:trace>ntdll!RtlApplicationVerifierStop+663</avrf:trace>
<avrf:trace>ntdll!RtlDeleteAce+296d</avrf:trace>
<avrf:trace>ntdll!LdrUnloadDll+46</avrf:trace>
<avrf:trace>vfbasics!AVrfpLdrUnloadDll+73</avrf:trace>
<avrf:trace>kernel32!FreeLibrary+81</avrf:trace>
<avrf:trace>ole32!CLSIDFromString+20e</avrf:trace>
<avrf:trace>ole32!CLSIDFromString+222</avrf:trace>
<avrf:trace>ole32!CoFreeUnusedLibrariesEx+2e</avrf:trace>
<avrf:trace>ole32!CoFreeUnusedLibraries+9</avrf:trace>
<avrf:trace>vfp9r!DllWinMain+ec41b</avrf:trace>
</avrfTongue TiedtackTrace>
</avrf:logEntry>
<avrf:logEntry Time="2007-09-20 : 16:20:14" LayerName="Heaps" StopCode="0x13" Severity="Error">
<avrf:message>First chance access violation for current stack trace.</avrf:message>
<avrfStick out tonguearameter1>d2110e1 - Invalid address causing the exception.</avrfStick out tonguearameter1>
<avrfStick out tonguearameter2>c37c4b6 - Code address executing the invalid access.</avrfStick out tonguearameter2>
<avrfStick out tonguearameter3>12e628 - Exception record.</avrfStick out tonguearameter3>
<avrfStick out tonguearameter4>12e644 - Context record.</avrfStick out tonguearameter4>
<avrfTongue TiedtackTrace>
<avrf:trace>vrfcore!VfCoreRedirectedStopMessage+81</avrf:trace>
<avrf:trace>vfbasics!VfBasicsStopMessage+1c9</avrf:trace>
<avrf:trace>vfbasics!AVrfpCheckFirstChanceException+13a</avrf:trace>
<avrf:trace>vfbasics!AVrfpVectoredExceptionHandler+18</avrf:trace>
<avrf:trace>ntdll!itow+67</avrf:trace>
<avrf:trace>ntdll!RtlGetAce+2a1</avrf:trace>
<avrf:trace>ntdll!RtlGetAce+c7</avrf:trace>
<avrf:trace>ntdll!KiUserExceptionDispatcher+f</avrf:trace>
<avrf:trace>vfp9r!DllOleInit+b747e</avrf:trace>
<avrf:trace>vfp9r!DllOleInit+1a43</avrf:trace>
</avrfTongue TiedtackTrace>
</avrf:logEntry>
</avrf:logSession>
</avrf:logfile>

What is the cause




Re: Application Compatibility for Windows Vista LOCKS error when attached to AppVerifier (Test Case 31)

Bruce N. Baker - MSFT

Debug into the code using windbg to find the exact location of the issue, it might be something in Visual Fox Pro.






Re: Application Compatibility for Windows Vista LOCKS error when attached to AppVerifier (Test Case 31)

Bruce N. Baker - MSFT

Copying his posted Code Snippet

Code Snippet

=======================================
VERIFIER STOP 00000201 : pid 0x490: Unloading DLL containing an active critical section.

2762DE58 : Critical section address.
0042C474 : Critical section initialization stack trace.
06150FE0 : DLL name address.
27580000 : DLL base address.


=======================================
This verifier stop is continuable.
After debugging it use `go' to continue.

=======================================


eax=00000001 ebx=7768f408 ecx=039dafd0 edx=039dafd0 esi=7768f408 edi=06154f98
eip=6f0d5fbe esp=0012f4a0 ebp=0012f4b8 iopl=0 nv up ei pl nz na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000202
vfbasics!AVrfpFreeMemLockChecks+0x6e:
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Windows\system32\WINMM.dll -
6f0d5fbe 8b420c mov eax,dword ptr [edx+0Ch] ds:0023:039dafdc=744f8ee0
0:000> p
eax=744f8ee0 ebx=7768f408 ecx=039dafd0 edx=039dafd0 esi=7768f408 edi=06154f98
eip=6f0d5fc1 esp=0012f4a0 ebp=0012f4b8 iopl=0 nv up ei pl nz na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000202
vfbasics!AVrfpFreeMemLockChecks+0x71:
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Windows\system32\mscomctl.ocx -
6f0d5fc1 3b450c cmp eax,dword ptr [ebp+0Ch] ss:0023:0012f4c4={mscomctl (27580000)}
0:000> p
eax=00000001 ebx=7768f408 ecx=038f6fd0 edx=038f6fd0 esi=7768f408 edi=06154f98
eip=6f0d5fbe esp=0012f4a0 ebp=0012f4b8 iopl=0 nv up ei pl nz na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000202
vfbasics!AVrfpFreeMemLockChecks+0x6e:
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Windows\system32\WINSPOOL.DRV -
6f0d5fbe 8b420c mov eax,dword ptr [edx+0Ch] ds:0023:038f6fdc=70282030
eax=00000000 ebx=27580000 ecx=775fbf7e edx=00000000 esi=0012f6d8 edi=0012f7c8
eip=76fe4628 esp=0012f634 ebp=0012f638 iopl=0 nv up ei pl zr na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000246
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Windows\system32\kernel32.dll -
kernel32!FreeLibrary+0x81:
76fe4628 ebe7 jmp kernel32!FreeLibrary+0x6a (76fe4611)
eax=00000001 ebx=0012f7c8 ecx=775fbf7e edx=00000000 esi=0012f6d8 edi=0012f7c8
eip=773a6312 esp=0012f644 ebp=0012f644 iopl=0 nv up ei pl nz na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000202
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Windows\system32\ole32.dll -
ole32!CLSIDFromString+0x20e:
773a6312 33c0 xor eax,eax
eax=00000000 ebx=00000000 ecx=f447d895 edx=00000000 esi=00000001 edi=00000000
eip=0c120b08 esp=0012f7fc ebp=0012f820 iopl=0 nv up ei pl zr na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000246
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Program Files\Common Files\Microsoft Shared\VFP\vfp9r.dll -
vfp9r!DllOleInit+0x300:
0c120b08 881db0e8410c mov byte ptr [vfp9r!DllUnregisterServer+0xbd1c5 (0c41e8b0)],bl ds:0023:0c41e8b0=01


The problem is caused by listed DLL/OCX

They could be incombatible with Windows VISTA If so, what can I do

Many Many Thanks






Re: Application Compatibility for Windows Vista LOCKS error when attached to AppVerifier (Test Case 31)

Bruce N. Baker - MSFT

Looks like it's MSCOMCTL.OCX

Which version is it You might check to see if you have the most recent version of it.






Re: Application Compatibility for Windows Vista LOCKS error when attached to AppVerifier (Test Case 31)

DarioVSH

Hi,

I used MSCOMCTL.ocx version 6.00.8862 of 5/2000

Now I download a version 6.01.9782 of 3/2004

and the result of Debug is


****************************************************************************
Executable search path is:
ModLoad: 00400000 00406000 image00400000
ModLoad: 774c0000 775de000 ntdll.dll
ModLoad: 6e9d0000 6ea01000 C:\Windows\system32\verifier.dll
.

. etc.. etc..

.
ModLoad: 76110000 761d3000 C:\Windows\system32\RPCRT4.dll
(d80.d84): Break instruction exception - code 80000003 (first chance)
eax=00000000 ebx=00000000 ecx=0012fb00 edx=77520f34 esi=fffffffe edi=77585d14
eip=77502ea8 esp=0012fb18 ebp=0012fb48 iopl=0 nv up ei pl zr na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000246
*** ERROR: Symbol file could not be found. Defaulted to export symbols for ntdll.dll -
ntdll!DbgBreakPoint:

77502ea8 cc int 3
0:000> g
ModLoad: 761e0000 761fe000 C:\Windows\system32\IMM32.DLL
ModLoad: 77320000 773e7000 C:\Windows\system32\MSCTF.dll
ModLoad: 75ff0000 7609a000 C:\Windows\system32\msvcrt.dll
ModLoad: 77620000 77629000 C:\Windows\system32\LPK.DLL
ModLoad: 76200000 7627d000 C:\Windows\system32\USP10.dll
ModLoad: 0c000000 0c483000 C:\Program Files\Common Files\Microsoft Shared\VFP\vfp9r.dll
ModLoad: 71ce0000 71d21000 C:\Windows\system32\WINSPOOL.DRV
ModLoad: 77680000 776f4000 C:\Windows\system32\comdlg32.dll
ModLoad: 760a0000 760f5000 C:\Windows\system32\SHLWAPI.dll
ModLoad: 74b10000 74ca4000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6000.16386_none_5d07289e07e1d100\COMCTL32.dll
ModLoad: 767c0000 7728e000 C:\Windows\system32\SHELL32.dll
ModLoad: 6f2c0000 6f2dc000 C:\Windows\system32\oledlg.dll
ModLoad: 76540000 76684000 C:\Windows\system32\ole32.dll
ModLoad: 76690000 767b4000 C:\Windows\system32\urlmon.dll
ModLoad: 75d80000 75e0c000 C:\Windows\system32\OLEAUT32.dll
ModLoad: 76280000 762c5000 C:\Windows\system32\iertutil.dll
ModLoad: 75400000 75408000 C:\Windows\system32\VERSION.dll
ModLoad: 757b0000 757c4000 C:\Windows\system32\MPR.dll
ModLoad: 74290000 742c3000 C:\Windows\system32\WINMM.dll
ModLoad: 74250000 74288000 C:\Windows\system32\OLEACC.dll
ModLoad: 74770000 7491a000 C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.6000.16386_none_9ea0ac9ec96e7127\gdiplus.dll
ModLoad: 74ad0000 74b0f000 C:\Windows\system32\uxtheme.dll
eax=0016eff0 ebx=00000000 ecx=02000100 edx=00000000 esi=00000001 edi=00000000
eip=77520f34 esp=0012fe88 ebp=0012fe98 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!KiFastSystemCallRet:
77520f34 c3 ret

but into the log of AppVerifer 0 ERROR visualized.

Now is ok for pass Test Case 31

Thanks for all !





Re: Application Compatibility for Windows Vista LOCKS error when attached to AppVerifier (Test Case 31)

Bruce N. Baker - MSFT

You cleared the app verifier error. You got it.