FIX: An Access Violation Occurs in the Supusrpd_wrk() Function in the SNA Server Service When You Use Single Sign-On (831896)



The information in this article applies to:

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

SYMPTOMS

When the Microsoft SNA Server service (Snaservr.exe) processes an Advanced Program-to-Program Communication (APPC) single sign-on (SSO) request, you may experience the following symptoms:
  • The SNA Server service terminates unexpectedly.
  • You receive an Access Violation error message in the supusrpd_wrk() function.
  • If the Drwtsn32.exe file is configured as the default Windows debugger, a Drwtsn32.log entry is also created.
  • The following event is logged in the application event log when the access violation occurs:
    	Event ID: 624
     Source: SNA Server	
    	Description: Creating dump file <path>\snadump.log for Snaserver.exe
    
The following is an example of a Drwtsn32.log entry that may be created (note the function names) when this problem occurs:
Application exception occurred:
        App: exe\snaservr.dbg (pid=<process ID>)
        When: <date> @ <time>
        Exception number: c0000005 (access violation)

function: supusrpd_wrk
        0109de46 8bc1             mov     eax,ecx
        0109de48 8d742434         lea     esi,[esp+0x34]         ss:01bee92b=????????
        0109de4c c1e902           shr     ecx,0x2
        0109de4f f3a5            rep  movsd ds:00c4ff60=40404040 es:002cb428=f0f24040
        0109de51 8bc8             mov     ecx,eax
        0109de53 83e103           and     ecx,0x3
        0109de56 f3a4             rep     movsb         ds:00c4ff60=40 es:002cb428=40
        0109de58 0fbf4b0c         movsx   ecx,word ptr [ebx+0xc]     ds:0125b677=0000
        0109de5c 90               nop
        0109de5d 8b148d9c0a1601                                  ds:00000000=????????                                  mov     edx,[s1rcb+0xe25c (01160a9c)+ecx*4]
FAULT ->0109de64 668b4210         mov     ax,[edx+0x10]              ds:00f9ea07=????
        0109de68 662d993a         sub     ax,0x3a99
        0109de6c 0fbff0           movsx   esi,ax
        0109de6f 8b04b520531301                                  ds:00c4ff60=40404040                                  mov     eax,[s1lu62x (01135320)+esi*4]
        0109de76 80784401         cmp     byte ptr [eax+0x44],0x1      ds:00f9ea0e=??
        0109de7a 0f8587000000     jne     supusrpd_wrk+0x927 (0109df07)
        0109de80 8b0d38120001                                    ds:01001238=6020fcfc                                  mov     ecx,[_imp____dwEnabledTraces (01001238)]
        0109de86 f60104           test    byte ptr [ecx],0x4           ds:00000000=??
        0109de89 742a             jz      supusrpd_wrk+0x8d5 (0109deb5)
        0109de8b 6a04             push    0x4
        0109de8d 6878b70d01       push    0x10db778
        0109de92 68cc030000       push    0x3cc

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
00000008 00000000 00000000 00000000 00000000 00000000 snaservr!supusrpd_wrk  (FPO: [EBP 0x00000000] [0,15,4])
00000010 00000000 00000000 00000000 00000000 00000000 snaservr!<nosymbols> 

CAUSE

The access violation occurs when an APPC session is terminated while the host security DLL (Snasii.dll) processes a single sign-on request. When an APPC session is terminated, the SNA Server service releases the internal session control block that was used for the APPC session. The access violation occurs when the host security DLL tries to access the session control block that has been released.

RESOLUTION

SNA Server 4.0

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Version     Size     File name
   --------------------------------------------------------
   13-Nov-2003  19:02  4.0.0.608   468,864  Snaservr.exe
   13-Nov-2003  19:02  4.0.0.608   936,368  Trcservr.exe
				

Note Because of file dependencies, the most recent fix that contains the previous files may also contain additional files.

Host Integration Server 2000

Service pack information

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

328152 How to obtain the latest service pack for Host Integration Server 2000

Hotfix information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Version      Size    File name
   ------------------------------------------------------
   13-Nov-2003  19:25  5.0.0.954   471,312  Snaservr.exe
   13-Nov-2003  19:25  5.0.0.954 1,061,136  Trcservr.exe
				

Note Because of file dependencies, the most recent fix that contains the previous 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.

This problem was corrected in Microsoft Host Integration Server 2000 Service Pack 2.

Modification Type:MinorLast Reviewed:10/26/2005
Keywords:kbHotfixServer kbQFE kbHotfixServer kbQFE kbQFE kbfix kbbug KB831896 kbAudDeveloper