Microsoft KB Archive/313688

From BetaArchive Wiki

Article ID: 313688

Article Last Modified on 12/4/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 SNA Server 4.0 Service Pack 4
  • Microsoft Host Integration Server 2000 Standard Edition
  • Microsoft Host Integration Server 2000 Service Pack 1
  • Microsoft Host Integration Server 2004 Standard Edition



This article was previously published under Q313688


SYMPTOMS

The SNA Server service may terminate unexpectedly and cause all connected users to lose their existing host sessions. If Drwtsn32.exe is configured as the default debugger on the system, a Drwtsn32.log file similar to the following is generated when this problem occurs:

Application exception occurred:
        App: exe\snaservr.dbg (pid=<process id>)
        When: <date> @ <time>
        Exception number: c0000005 (access violation)

[...]

function: s1pwhses
        0105eb14 66c745140300     mov     word ptr [ebp+0x14],0x3    ss:0421ea09=????
        0105eb1a c6451a00         mov     byte ptr [ebp+0x1a],0x0      ss:0421ea08=??
        0105eb1e b301             mov     bl,0x1
        0105eb20 e81b6bfaff       call    sbpenq (01005640)
        0105eb25 e9ea030000       jmp     s1pwhses+0x4b4 (0105ef14)
        0105eb2a 663d0900         cmp     ax,0x9
        0105eb2e 0f85e0030000     jne     s1pwhses+0x4b4 (0105ef14)
        0105eb34 66c745140500     mov     word ptr [ebp+0x14],0x5    ss:0421ea09=????
        0105eb3a e8e10e0000       call    s1pwcssq (0105fa20)
        0105eb3f e9ce030000       jmp     s1pwhses+0x4b2 (0105ef12)
FAULT ->0105eb44 668b4514         mov     ax,[ebp+0x14]              ss:0421ea09=????
        0105eb48 663bc7           cmp     ax,di
        0105eb4b 7511             jnz     s1pwhses+0xfe (0105eb5e)
        0105eb4d 66c745140a00     mov     word ptr [ebp+0x14],0xa    ss:0421ea09=????
        0105eb53 66c745240000     mov     word ptr [ebp+0x24],0x0    ss:0421ea09=????
        0105eb59 e9b4030000       jmp     s1pwhses+0x4b2 (0105ef12)
        0105eb5e 663d0900         cmp     ax,0x9
        0105eb62 0f85ac030000     jne     s1pwhses+0x4b4 (0105ef14)
        0105eb68 66c745140100     mov     word ptr [ebp+0x14],0x1    ss:0421ea09=????
        0105eb6e c644241301       mov     byte ptr [esp+0x13],0x1      ss:01dce92f=??
        0105eb73 e99a030000       jmp     s1pwhses+0x4b2 (0105ef12)
        0105eb78 668b4514         mov     ax,[ebp+0x14]              ss:0421ea09=????

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

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
03000002 00000000 00000000 00000000 00000000 00000000 snaservr!s1pwhses  (FPO: [EBP 0x00000000] [2,3,4])
03000012 00000000 00000000 00000000 00000000 00000000 snaservr!<nosymbols>
                

In addition, the SNA Server computer will log a message similar to the following in the Microsoft Windows NT Application Event Log:

Event ID: 624
Source: SNA Server
Description: Creating dump file <snaroot>\traces\snadump.log for snaservr.exe.

CAUSE

The access violation in the S1PWHSES() function occurs because the SNA Server service attempts to process an incorrectly formatted message that it receives from a client across the native 3270 Emulator Interface Specification interface.

RESOLUTION

SNA Server 4.0

Hotfix information

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Microsoft SNA Server version 4.0 that contains this hotfix.

To resolve this problem immediately, 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   File name 
  --------------------------------
  12-Dec-2001  00:00  Snaservr.exe


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

Microsoft 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 
  ------------------------------------------------------- 
  29-Oct-2004  21:32  5.0.0.1011    471,312  Snaservr.exe
  29-Oct-2004  21:32  5.0.0.1011  1,061,136  Trcservr.exe


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

Microsoft Host Integration Server 2004

Hotfix information

A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:



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 
---------------------------------------------------------------- 
02-Nov-2004     19:47   6.0.1911.0   959,488    Snaipdlc.dll 
02-Nov-2004     19:47   6.0.1911.0   407,552    Snaservr.exe 
02-Nov-2004     19:47   6.0.1911.0 2,944,512    Trcipdlc.dll 
02-Nov-2004     19:47   6.0.1911.0   847,360    Trcservr.exe


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

MORE INFORMATION

After you apply the upgrade, the SNA Server service will discard the invalid message that causes this access violation. In addition, the following message will be logged in the Windows NT Application Event Log when one of these invalid messages is detected:

Event ID: 98
Source: SNA Server
Description: A 3270 emulator sent an invalid message, which has been discarded by SNA Server.

Client Workstation: <workstation name>
Client Domain: <domain name>
Client User: <user name>


For additional information about how to configure Drwtsn32.exe as the default debugger, click the following article number to view the article in the Microsoft Knowledge Base:

188296 How to disable Dr. Watson for Windows NT


For additional information about SNA Server access violations that are caused by an invalid emulator message, click the following article numbers to view the articles in the Microsoft Knowledge Base:

214491 SNA Server access violation in function S1PWHSES()


196921 SNA Server access violation in function S1PWLUSE()


Keywords: kbbug kbfix kbqfe kbhotfixserver KB313688