Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: 21 Mar 2006 13:08:39 -0800,    group: microsoft.public.win32.programmer.tools        back       


Application failed to initialize properly (0xC0000142) with AppVerifier   
Hi Everyone,

I am having some trouble using appverifier on a Windows 2003 64 bit
box.  I am getting a 0xc0000142 exception when starting the executable.
 If I do not include appverifier the executable runs correctly.  I have
included a stack trace from running the executable using cdb.exe.  Has
anyone seen anything like this before, or know of a solution?

Best Regards,

Lance Schmidt
Advantage R&D

C:\Program Files\Debugging Tools for Windows 64-bit>cdb -g -G
\testsys\lance\aop
en1.exe

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

CommandLine: \testsys\lance\aopen1.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: 00000000`00400000 00000000`00448000   image00000000`00400000
ModLoad: 00000000`78ec0000 00000000`78ff9000   ntdll.dll
AVRF: aopen1.exe: pid 0xAE0: flags 0x80000000: application verifier
enabled
ModLoad: 00000000`001c0000 00000000`001e5000
C:\WINDOWS\system32\verifier.dll
AVRF: failed to initialize verifier logging (C000003A).
AVRF: verifier.dll provider initialized for aopen1.exe with flags
0x80000000
ModLoad: 00000000`003d0000 00000000`003f7000
C:\WINDOWS\system32\vrfcore.dll
AVRF: provider vrfcore.dll did not initialize correctly
ModLoad: 00000000`01db0000 00000000`01df5000
C:\WINDOWS\system32\vfbasics.dll
AVRF: provider vfbasics.dll did not initialize correctly
ModLoad: 00000000`78be0000 00000000`78c26000
C:\WINDOWS\system32\wow64.dll
ModLoad: 00000000`78b90000 00000000`78bda000
C:\WINDOWS\system32\wow64win.dll
ModLoad: 00000000`78b80000 00000000`78b89000
C:\WINDOWS\system32\wow64cpu.dll
AVRF: Spy [VfRegisterBasicsLayers, 490]: C
(ae0.648): Unknown exception - code c0000142 (first chance)
(ae0.648): Unknown exception - code c0000142 (!!! second chance !!!)
*** ERROR: Symbol file could not be found.  Defaulted to export symbols
for ntdl
l.dll -
ntdll!RtlRaiseStatus+0x19:
00000000`78f53289 33c0             xor     eax,eax
0:000> .symfix+
No downstream store given, using
0:000> .reload
Reloading current modules
.........
0:000> r
rax=0000000000000000 rbx=00000000c0000142 rcx=000000000012f4f0
rdx=0000000000000000 rsi=0000000000000000 rdi=000000007efdf000
rip=0000000078f53289 rsp=000000000012f430 rbp=0000000000000000
 r8=000000000012f9c8  r9=0000000000000000 r10=0000000000000000
r11=0000000000000246 r12=0000000000000001 r13=0000000000000003
r14=000000000012fab0 r15=0000000078ec0000
iopl=0         nv up ei pl nz na po nc
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b
efl=00000204
*** ERROR: Symbol file could not be found.  Defaulted to export symbols
for ntdl
l.dll -
ntdll!RtlRaiseStatus+0x19:
00000000`78f53289 33c0             xor     eax,eax
0:000> kb
RetAddr           : Args to Child
            : Call Site
00000000`78f1a62e : 00000000`00000000 00000000`00000000
00000000`78f83070 000000
00`78f86b00 : ntdll!RtlRaiseStatus+0x19
00000000`78ef3925 : 00000000`00000000 00000000`00000000
00000000`00000000 000000
00`00000000 : ntdll!LdrSetAppCompatDllRedirectionCallback+0x2ae
00000000`78d59630 : 00000000`00000000 00000000`00000000
00000000`00000000 000000
00`00000000 : ntdll!KiUserApcDispatcher+0x15
00000000`00000000 : 00000000`00000000 00000000`00000000
00000000`00000000 000000
00`00000000 : 0x78d59630
*** ERROR: Symbol file could not be found.  Defaulted to export symbols
for C:\W
INDOWS\system32\verifier.dll -
*** WARNING: Unable to verify checksum for image00000000`00400000
*** ERROR: Module load completed but symbols could not be loaded for
image000000
00`00400000
00000000`00000000 : 00000000`00000000 00000000`00000000
00000000`00000000 000000
00`00000000 : 0x0
00000000`00000000 : 00000000`00000000 00000000`00000000
00000000`00000000 000000
00`00000000 : 0x0
00000000`00000000 : 00000000`00000000 00000000`00000000
00000000`00000000 000000
00`00000000 : 0x0
00000000`00000000 : 00000000`00000000 00000000`00000000
00000000`00000000 000000
00`00000000 : 0x0
00000000`00000000 : 00000000`00000000 00000000`00000000
00000000`00000000 000000
00`00000000 : 0x0
00000000`00000000 : 00000000`00000000 00000000`00000000
00000000`00000000 000000
00`00000000 : 0x0
00000000`00000000 : 00000000`00000000 00000000`00000000
00000000`00000000 000000
20`78746341 : 0x0
00000000`00000000 : 00000000`00000000 00000000`00000000
00000020`78746341 000053
70`00000001 : 0x0
00000000`00000000 : 00000000`00000000 00000020`78746341
00005370`00000001 000000
00`00000124 : 0x0
00000000`00000000 : 00000020`78746341 00005370`00000001
00000000`00000124 000000
00`00000020 : 0x0
00000020`78746341 : 00005370`00000001 00000000`00000124
00000000`00000020 000000
01`00000014 : 0x0
00005370`00000001 : 00000000`00000124 00000000`00000020
00000001`00000014 000000
34`0000000a : 0x20`78746341
00000000`00000124 : 00000000`00000020 00000001`00000014
00000034`0000000a 000000
01`000001b4 : 0x5370`00000001
00000000`00000020 : 00000001`00000014 00000034`0000000a
00000001`000001b4 000000
00`00000000 : 0x124
00000001`00000014 : 00000034`0000000a 00000001`000001b4
00000000`00000000 000000
00`00000000 : 0x20
00000034`0000000a : 00000001`000001b4 00000000`00000000
00000000`00000000 000000
02`00000000 : 0x1`00000014
0:000>
date: 21 Mar 2006 13:08:39 -0800   author:   Lance

Re: Application failed to initialize properly (0xC0000142) with AppVerifier   
Lance -
You are trying to use the 64bit verifier for a 32bit application correct? 
This problem has been identified and we have a fix that we will release this 
Spring. Could you please run the 32bit verifier with the 32 bit app and the 
64 with the 64?

thank you,
Jennifer

-- 
This posting is provided "AS IS" with no warranties, and confers no
rights.


"Lance"  wrote in message 
news:1142975319.243726.45010@t31g2000cwb.googlegroups.com...
> Hi Everyone,
>
> I am having some trouble using appverifier on a Windows 2003 64 bit
> box.  I am getting a 0xc0000142 exception when starting the executable.
> If I do not include appverifier the executable runs correctly.  I have
> included a stack trace from running the executable using cdb.exe.  Has
> anyone seen anything like this before, or know of a solution?
>
> Best Regards,
>
> Lance Schmidt
> Advantage R&D
>
> C:\Program Files\Debugging Tools for Windows 64-bit>cdb -g -G
> \testsys\lance\aop
> en1.exe
>
> Microsoft (R) Windows Debugger  Version 6.4.0007.2
> Copyright (c) Microsoft Corporation. All rights reserved.
>
> CommandLine: \testsys\lance\aopen1.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: 00000000`00400000 00000000`00448000   image00000000`00400000
> ModLoad: 00000000`78ec0000 00000000`78ff9000   ntdll.dll
> AVRF: aopen1.exe: pid 0xAE0: flags 0x80000000: application verifier
> enabled
> ModLoad: 00000000`001c0000 00000000`001e5000
> C:\WINDOWS\system32\verifier.dll
> AVRF: failed to initialize verifier logging (C000003A).
> AVRF: verifier.dll provider initialized for aopen1.exe with flags
> 0x80000000
> ModLoad: 00000000`003d0000 00000000`003f7000
> C:\WINDOWS\system32\vrfcore.dll
> AVRF: provider vrfcore.dll did not initialize correctly
> ModLoad: 00000000`01db0000 00000000`01df5000
> C:\WINDOWS\system32\vfbasics.dll
> AVRF: provider vfbasics.dll did not initialize correctly
> ModLoad: 00000000`78be0000 00000000`78c26000
> C:\WINDOWS\system32\wow64.dll
> ModLoad: 00000000`78b90000 00000000`78bda000
> C:\WINDOWS\system32\wow64win.dll
> ModLoad: 00000000`78b80000 00000000`78b89000
> C:\WINDOWS\system32\wow64cpu.dll
> AVRF: Spy [VfRegisterBasicsLayers, 490]: C
> (ae0.648): Unknown exception - code c0000142 (first chance)
> (ae0.648): Unknown exception - code c0000142 (!!! second chance !!!)
> *** ERROR: Symbol file could not be found.  Defaulted to export symbols
> for ntdl
> l.dll -
> ntdll!RtlRaiseStatus+0x19:
> 00000000`78f53289 33c0             xor     eax,eax
> 0:000> .symfix+
> No downstream store given, using
> 0:000> .reload
> Reloading current modules
> ........
> 0:000> r
> rax=0000000000000000 rbx=00000000c0000142 rcx=000000000012f4f0
> rdx=0000000000000000 rsi=0000000000000000 rdi=000000007efdf000
> rip=0000000078f53289 rsp=000000000012f430 rbp=0000000000000000
> r8=000000000012f9c8  r9=0000000000000000 r10=0000000000000000
> r11=0000000000000246 r12=0000000000000001 r13=0000000000000003
> r14=000000000012fab0 r15=0000000078ec0000
> iopl=0         nv up ei pl nz na po nc
> cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b
> efl=00000204
> *** ERROR: Symbol file could not be found.  Defaulted to export symbols
> for ntdl
> l.dll -
> ntdll!RtlRaiseStatus+0x19:
> 00000000`78f53289 33c0             xor     eax,eax
> 0:000> kb
> RetAddr           : Args to Child
>            : Call Site
> 00000000`78f1a62e : 00000000`00000000 00000000`00000000
> 00000000`78f83070 000000
> 00`78f86b00 : ntdll!RtlRaiseStatus+0x19
> 00000000`78ef3925 : 00000000`00000000 00000000`00000000
> 00000000`00000000 000000
> 00`00000000 : ntdll!LdrSetAppCompatDllRedirectionCallback+0x2ae
> 00000000`78d59630 : 00000000`00000000 00000000`00000000
> 00000000`00000000 000000
> 00`00000000 : ntdll!KiUserApcDispatcher+0x15
> 00000000`00000000 : 00000000`00000000 00000000`00000000
> 00000000`00000000 000000
> 00`00000000 : 0x78d59630
> *** ERROR: Symbol file could not be found.  Defaulted to export symbols
> for C:\W
> INDOWS\system32\verifier.dll -
> *** WARNING: Unable to verify checksum for image00000000`00400000
> *** ERROR: Module load completed but symbols could not be loaded for
> image000000
> 00`00400000
> 00000000`00000000 : 00000000`00000000 00000000`00000000
> 00000000`00000000 000000
> 00`00000000 : 0x0
> 00000000`00000000 : 00000000`00000000 00000000`00000000
> 00000000`00000000 000000
> 00`00000000 : 0x0
> 00000000`00000000 : 00000000`00000000 00000000`00000000
> 00000000`00000000 000000
> 00`00000000 : 0x0
> 00000000`00000000 : 00000000`00000000 00000000`00000000
> 00000000`00000000 000000
> 00`00000000 : 0x0
> 00000000`00000000 : 00000000`00000000 00000000`00000000
> 00000000`00000000 000000
> 00`00000000 : 0x0
> 00000000`00000000 : 00000000`00000000 00000000`00000000
> 00000000`00000000 000000
> 00`00000000 : 0x0
> 00000000`00000000 : 00000000`00000000 00000000`00000000
> 00000000`00000000 000000
> 20`78746341 : 0x0
> 00000000`00000000 : 00000000`00000000 00000000`00000000
> 00000020`78746341 000053
> 70`00000001 : 0x0
> 00000000`00000000 : 00000000`00000000 00000020`78746341
> 00005370`00000001 000000
> 00`00000124 : 0x0
> 00000000`00000000 : 00000020`78746341 00005370`00000001
> 00000000`00000124 000000
> 00`00000020 : 0x0
> 00000020`78746341 : 00005370`00000001 00000000`00000124
> 00000000`00000020 000000
> 01`00000014 : 0x0
> 00005370`00000001 : 00000000`00000124 00000000`00000020
> 00000001`00000014 000000
> 34`0000000a : 0x20`78746341
> 00000000`00000124 : 00000000`00000020 00000001`00000014
> 00000034`0000000a 000000
> 01`000001b4 : 0x5370`00000001
> 00000000`00000020 : 00000001`00000014 00000034`0000000a
> 00000001`000001b4 000000
> 00`00000000 : 0x124
> 00000001`00000014 : 00000034`0000000a 00000001`000001b4
> 00000000`00000000 000000
> 00`00000000 : 0x20
> 00000034`0000000a : 00000001`000001b4 00000000`00000000
> 00000000`00000000 000000
> 02`00000000 : 0x1`00000014
> 0:000>
>
date: Thu, 23 Mar 2006 08:23:32 -0800   author:   Jennifer Norberg [MSFT]

Re: Application failed to initialize properly (0xC0000142) with AppVerifier   
Jennifer,

You are correct.  I was running a 32 bit app using a 64 bit verifier.
This is not a critical problem and I look forward to your spring
release.

Best Regards,

Lance.
date: 27 Mar 2006 13:17:46 -0800   author:   Lance

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us