FIX: Access violation in a COM+ single-threaded apartment worker thread (321772)



The information in this article applies to:

  • Microsoft COM+ 1.0, when used with:
    • the operating system: Microsoft Windows 2000

This article was previously published under Q321772

SYMPTOMS

An access violation may occur during a stress test in Microsoft COM+. This access violation may contain the following call stack:
    020af930 7881dc5c ntdll!FixupBlockList+0x2
    020afe90 787c4206 COMSVCS!FailFastStr+0x3e
		  020aff04  787bf08c COMSVCS!AptReference__GetObjContext+0x3f8
    020aff24  787c10f3 COMSVCS!STAActivityWork__DoWork+0x2c
    020affb4  77e8b2d8 COMSVCS!STAThread__STAThreadWorker+0x2bb
    000b9830 00000000 KERNEL32!BaseThreadStart+0x52

CAUSE

When previously cached activity contains a pointer to a single-threaded apartment (STA) structure, and when this structure has already been released by an old instance of the STAProp object, and access violation may occur.

RESOLUTION

How to Obtain the Hotfix

This issue is fixed in the Microsoft Windows 2000 Server COM+ 1.0 Hotfix Package 20.2. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

324034 INFO: Availability of Windows 2000 Post-Service Pack 2 COM+ Hotfix Rollup Package 20.2

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section of this article.

Modification Type:MinorLast Reviewed:11/8/2004
Keywords:kbWin2000preSP5fix kbbug kbfix kbQFE kbWin2000PreSP3Fix kbWin2000sp3fix KB321772 kbAudDeveloper