FIX: You receive an "Access violation" error message when you call a ServicedComponent derived class object through a COM Callable Wrapper (823951)
The information in this article applies to:
- Microsoft .NET Framework 1.1
SYMPTOMSWhen you make a remote call on a Microsoft Component Object Model (COM) callable wrapper (CCW) to a ServicedComponent derived class object and the ServicedComponent derived class object is collected by the garbage collector, you may receive an error message that is similar to the following: Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=0085f27c ebx=fffffffc ecx=fffffffc edx=00000001 esi=000a78c8 edi=00000000
eip=791f3fef esp=0085f23c ebp=0085f28c iopl=0 nv up ei pl nz na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00010202
mscorwks!ObjHeader::PassiveGetSyncBlock:
791f3fef 8b01 mov eax,[ecx] ds:0023:fffffffc=???????? CAUSEThis problem occurs if the garbage collector collects the handle to the ServicedComponent derived class object while the CCW still references the object.RESOLUTIONTo resolve this problem, obtain the latest service pack for Microsoft .NET Framework 1.1. For more information, visit the following Microsoft Developer Network (MSDN) Web site: STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in Microsoft .NET Framework 1.1 Service Pack 1.
Modification Type: | Minor | Last Reviewed: | 10/25/2005 |
---|
Keywords: | kbHotfixServer kbQFE kbBug kbNetFrame110sp1fix kbfix kbQFE KB823951 kbAudDeveloper |
---|
|