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: Thu, 5 Jun 2008 11:31:04 -0700,    group: microsoft.public.win32.programmer.tools        back       


An invalid HANDLE was specified: dumps when app verifier is runnin   
I am using ssl in my application and when app verifier is running then my 
application just crashesh when ssl tries to close the connection. it works 
when app verifier is not running.

This error is thrown under AppVerifier -
ERROR_CODE: (NTSTATUS) 0xc0000008 - An invalid HANDLE was specified.

This is the stack.

0:007> kb
ChildEBP RetAddr  Args to Child              
0871f684 00393933 08ad76af 022aaff8 022aaff0 ntdll!DbgBreakPoint
0871f888 003d3001 003d7ba8 00000300 c0000008 
vrfcore!VerifierStopMessageEx+0x4bd 
0871f8ac 003c8f5b 00000300 003c3204 c0000008 
vfbasics!VfBasicsStopMessage+0xd1 
0871f8e0 7c84f937 0871f8f8 0871fc78 00000025 
vfbasics!AVrfpVectoredExceptionHandler+0x9b 
0871f908 7c813fb5 00000000 022aaff0 7c888f68 
ntdll!RtlpCallVectoredHandlers+0x57
0871f91c 7c814055 0871fc78 0871f99c 000002b0 
ntdll!RtlCallVectoredExceptionHandlers+0x15
0871f98c 7c82eda4 0871fc78 0871f99c 00010007 ntdll!RtlDispatchException+0x19
0871fc6c 7c82ed3b 0871fc78 c0000008 00000000 ntdll!RtlRaiseException+0x3d
0871fccc 7c821a34 77e91822 000002b0 00000004 
ntdll!KiRaiseUserExceptionDispatcher+0x37
0871fcd0 77e91822 000002b0 00000004 0871fcf6 ntdll!ZwQueryObject+0xc
0871fcec 71c0be3a 000002b0 0871fd0c 00000000 
kernel32!GetHandleInformation+0x5f
0871fd04 71c106f0 000002b0 0ae14fc0 0ae14fc0 
WS2_32!DSOCKET::FindIFSSocket+0x1c
0871fd28 063033f2 000002b0 0a30c6f0 00000025 WS2_32!send+0x50
0871fd44 062f241f 0ae14fc0 0a30c6f0 00000025 ssl!sock_write+0x22 
0871fd64 062e9333 0ae14fc0 0a30c6f0 00000025 ssl!BIO_write+0x6f

any one can tell me whats going on here? i m newbee on windows 
applications.... :-(

thanks.
date: Thu, 5 Jun 2008 11:31:04 -0700   author:   John

RE: An invalid HANDLE was specified: dumps when app verifier is runnin   
Appverifier is complianing that invalid handle was passed in the current 
stack trace. In most cases, the problem is that the handle specified as 
parameter to BIO_write was incorrect. The first step is to see what handle 
was passed and is it still valid ( not closed...)


These help topics might help:
1. From appverif.chm:
    -  Handles Stop Details
    -  Debugging Handles Errors
2. From debugger.chm 
(http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx#a):
    - !htrace

Subba Raju

"John" wrote:

> I am using ssl in my application and when app verifier is running then my 
> application just crashesh when ssl tries to close the connection. it works 
> when app verifier is not running.
> 
> This error is thrown under AppVerifier -
> ERROR_CODE: (NTSTATUS) 0xc0000008 - An invalid HANDLE was specified.
> 
> This is the stack.
> 
> 0:007> kb
> ChildEBP RetAddr  Args to Child              
> 0871f684 00393933 08ad76af 022aaff8 022aaff0 ntdll!DbgBreakPoint
> 0871f888 003d3001 003d7ba8 00000300 c0000008 
> vrfcore!VerifierStopMessageEx+0x4bd 
> 0871f8ac 003c8f5b 00000300 003c3204 c0000008 
> vfbasics!VfBasicsStopMessage+0xd1 
> 0871f8e0 7c84f937 0871f8f8 0871fc78 00000025 
> vfbasics!AVrfpVectoredExceptionHandler+0x9b 
> 0871f908 7c813fb5 00000000 022aaff0 7c888f68 
> ntdll!RtlpCallVectoredHandlers+0x57
> 0871f91c 7c814055 0871fc78 0871f99c 000002b0 
> ntdll!RtlCallVectoredExceptionHandlers+0x15
> 0871f98c 7c82eda4 0871fc78 0871f99c 00010007 ntdll!RtlDispatchException+0x19
> 0871fc6c 7c82ed3b 0871fc78 c0000008 00000000 ntdll!RtlRaiseException+0x3d
> 0871fccc 7c821a34 77e91822 000002b0 00000004 
> ntdll!KiRaiseUserExceptionDispatcher+0x37
> 0871fcd0 77e91822 000002b0 00000004 0871fcf6 ntdll!ZwQueryObject+0xc
> 0871fcec 71c0be3a 000002b0 0871fd0c 00000000 
> kernel32!GetHandleInformation+0x5f
> 0871fd04 71c106f0 000002b0 0ae14fc0 0ae14fc0 
> WS2_32!DSOCKET::FindIFSSocket+0x1c
> 0871fd28 063033f2 000002b0 0a30c6f0 00000025 WS2_32!send+0x50
> 0871fd44 062f241f 0ae14fc0 0a30c6f0 00000025 ssl!sock_write+0x22 
> 0871fd64 062e9333 0ae14fc0 0a30c6f0 00000025 ssl!BIO_write+0x6f
> 
> any one can tell me whats going on here? i m newbee on windows 
> applications.... :-(
> 
> thanks.
date: Mon, 14 Jul 2008 18:18:02 -0700   author:   subba

Google
 
Web ureader.com


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