Microsoft KB Archive/248498

= Win32 CPIC Application May Stop Unexpectedly =

Article ID: 248498

Article Last Modified on 2/22/2007

-

APPLIES TO


 * Microsoft SNA Server 4.0
 * Microsoft SNA Server 4.0 Service Pack 1
 * Microsoft SNA Server 4.0 Service Pack 2
 * Microsoft SNA Server 4.0 Service Pack 3
 * Microsoft Host Integration Server 2000 Standard Edition

-



This article was previously published under Q248498



SYMPTOMS
If a Win32 CPIC application is supporting multiple conversations using non-blocking mode, the application may stop unexpectedly while issuing a new CMINIT (Initialize_Conversation).



CAUSE
Under certain circumstances, the Win32 CPIC and APPC libraries can get into a deadlock condition. Note that the CPIC library (Wcpic32.dll) communicates through the APPC library (Wappc32.dll). The deadlock can occur under the following circumstances:
 * When CMINIT issues a TP_STARTED while holding an internal CPIC critical section. If another APPC verb completes asynchronously while the TP_STARTED is running, the CPIC application may deadlock.
 * When the CPIC library calls into WinAPPCCancelConversation while holding the internal CPIC critical section. The thread that makes this call immediately blocks while trying to obtain the APPC critical section, which is held by the APPC callback thread, which is waiting for CPIC lock.



SNA Server 4.0
To resolve this problem, obtain the latest service pack for SNA Server 4.0. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

215838 How to Obtain the Latest SNA Server Version 4.0 Service Pack

Host Integration Server 2000
To resolve this problem, obtain the latest service pack for Host Integration Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

328152 How to Obtain the Latest Host Integration Server 2000 Service Pack

The English version of this fix should have the following file attributes or later:

NOTE: Because of file dependencies, the most recent fix that contains the preceding files may also contain additional files.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section of this article. This problem was first corrected in Host Integration Server 2000 Service Pack 1. This problem was first corrected in SNA Server 4.0 Service Pack 4.

Additional query words: HIS 2000

Keywords: kbbug kbfix kbhostintegserv2000presp1fix kbhostintegserv2000sp1fix kbsna400presp4fix kbsna400sp4fix KB248498

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.