Win32 CPIC Application May Stop Unexpectedly (248498)



The information in this article applies to:

  • Microsoft SNA Server 4.0
  • Microsoft SNA Server 4.0 SP1
  • Microsoft SNA Server 4.0 SP2
  • Microsoft SNA Server 4.0 SP3
  • Microsoft Host Integration Server 2000

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.

RESOLUTION

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:

File nameDateTime
Wcpic32.dll 01/02/200110:06am

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.

Modification Type:MinorLast Reviewed:5/3/2005
Keywords:kbbug kbfix kbHostIntegServ2000preSP1fix kbHostIntegServ2000SP1fix kbSNA400PreSP4fix kbSNA400sp4fix KB248498