FIX: You receive an "Access violation" error message when you call a ServicedComponent derived class object through a COM Callable Wrapper

Article translations Article translations
Article ID: 823951 - View products that this article applies to.
Expand all | Collapse all

Symptoms

When 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=????????

Cause

This problem occurs if the garbage collector collects the handle to the ServicedComponent derived class object while the CCW still references the object.

Resolution

To 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:
http://www.microsoft.com/downloads/details.aspx?familyid=A8F5654F-088E-40B2-BBDB-A83353618B38&displaylang=en

Status

Microsoft 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.

More information

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Properties

Article ID: 823951 - Last Review: June 20, 2014 - Revision: 2.0
Applies to
  • Microsoft .NET Framework 1.1
Keywords: 
kbhotfixserver kbqfe kbbug kbnetframe110sp1fix kbfix KB823951

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com