After my program calls Close() on an ADO connection
and waits 60 seconds (e.g., call Sleep(60000)),
the de* pops up (it's a debug build) with
an exception (user breakpoint called from
code at 0x77f9f9df).
The following message was written to the
output trace window:
Invalid Address specified to RtlFreeHeap( 130000, 164740 )
This seems to happen when ADO removes the
connection from the connection pool. Immediately
after the exception, if I run "sp_who", the connection is
gone. The exception occurs 60 seconds after calling
Close(), and 60 seconds is the connection pool's timeout
setting.
My program doesn't have any threads executing while
the Sleep is in progress. I also tried putting a
breakpoint in the code and then suspending the thread
as an alternative to using Sleep. Same result.
Has anyone seen this before? I'm running Windows
2000.
Thanks,
Terris