Invalid Page Fault in Wappc32.dll Using WinAPPCSetBlockingHook

Last reviewed: February 3, 1998
Article ID: Q175778
The information in this article applies to:
  • Microsoft SNA Server, versions 2.11, 2.11 Service Pack 1 (SP1), 2.11 Service Pack 2 (SP2), 3.0, 3.0 Service Pack 1 (SP1), and 3.0 Service Pack 2 (SP2)

SYMPTOMS

A 32-bit APPC application that initiates multiple conversations and uses the WinAPPCSetBlockingHook() call causes a general protection fault (GP fault) in Wappc32.dll on a computer running Windows 95 and using the SNA Server Client for Windows 95. The GP fault will be similar to the following:

   This program has performed an illegal operation and will be shut down.

   If the problem persists, contact the program vendor.

   <Program Name> caused an invalid page fault in module WAPPC32.DLL at
   <memory location>.

   Registers:

     ..data omitted..

CAUSE

The 32-bit APPC library does not correctly handle the case where the WinAPPCSetBlockingHook() call returns FALSE on multiple threads.

WORKAROUND

If the WinAPPCSetBlockingHook() call is being used to cancel one conversation when the MC_ALLOCATE() takes too long. The application should call WinAPPCCancelBlockingCall() from within the WinAPPCSetBlockingHook() call. If this is done, the WinAPPCSetBlockingHook() call would continue to return TRUE instead of FALSE.

Another alternative is to have the application use the Asynchronous APPC API and the WinAPPCCancelAsyncRequest() call.

Please refer to the SNA Server "APPC Programmer's Guide" for more details on the APPC functions mentioned in this article.

STATUS

Microsoft has confirmed this to be a problem in SNA Server versions 2.11, 2.11 Service Pack 1, 2.11 Service Pack 2, 3.0, 3.0 Service Pack 1, 3.0 Service Pack 2.

The 32-bit APPC library has been updated to correctly handle cases where a WinAPPCSetBlockingHook() call returns FALSE. The updated module is Wappc32.dll. A supported fix is now available, but has not been fully regression tested and should be applied only to systems experiencing this specific problem. Unless you are severely impacted by this specific problem, Microsoft recommends that you wait for the next Service Pack that contains this fix. Contact Microsoft Technical Support for more information.


Additional query words: Application Exception AE
Keywords : kbbug2.11 kbbug2.11.sp1 kbbug2.11.sp2 kbbug3.00 kbbug3.00.sp1 snaappc snacpic snaprog snawin95 kbbug3.00.sp2
Version : WINDOWS:2.11,2.11SP1,2.11SP2,3.0,3.0SP1,3.0SP2
Platform : WINDOWS
Issue type : kbbug
Solution Type : kbfix


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 3, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.