When it first fires up write down all your thread IDs and what they are doing (IOCP, listener, etc).  Then when you GPF, which thread ID is that causes the fault?
 
This will tell me a little more on what to look for.
----- Original Message -----
From: Max
Sent: Saturday, March 27, 2004 10:55 AM
Subject: [msvc] IOCP

HI
 
I have an IOCP server that works (or seems to) when run normally in both debug and release types.  It does throw an exception when run through the debugger while trying to allocate memory.  The call stack shows only seems to show NTDLL.
 
 
The sequence of events leading to the exception are when a socket is being created for the second time.  So it goes something like
 
Listen for a Connection
Get hSocket stick it in a list
BindIOCallback with the socket
 
work with socket
 
Close socket remove it from list
 
 
 
 
Then when going around this sort of loop for the second time (another connection) the sever throws an exception.  Has anyone else come across this??
 
Regards
Max


_______________________________________________
msvc mailing list
[EMAIL PROTECTED]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.

Reply via email to