Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: An access violation occurs in the snpugetc function when the SNA Server service receives a truncated BIND +RSP message


View products that this article applies to.

Symptoms

When the SNA Server service (Snaservr.exe) receives a truncated BIND +RSP message for a LU 6.2 session, you may experience the following symptoms:
  • The SNA Server service terminates unexpectedly.
  • You receive an access violation error message in the snpugetc function.
  • If the Drwtsn32.exe file is configured as the default Microsoft 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 log entry is an example of a Drwtsn32.log entry that may be created (note the function names) when this problem occurs:
Application exception occurred:
        App: obj\i386\snaservr.exe (pid=process ID)
        When: date @ time
        Exception number: c0000005 (access violation)

function: snpugetc
        0100a66a 8d4e04           lea     ecx,[esi+0x4]          ds:0081d5d2=????????
        0100a66d 2bdd             sub     ebx,ebp
        0100a66f 0fbfef           movsx   ebp,di
        0100a672 3beb             cmp     ebp,ebx
        0100a674 7e27             jle     s1pcaud+0x8dd (01012b9d)
        0100a676 85f6             test    esi,esi
        0100a678 7427             jz      s1pcistb+0xa1 (01010ca1)
        0100a67a 668b09           mov     cx,[ecx]                   ds:01b8fff2=????
        0100a67d 8b36             mov     esi,[esi]              ds:00000000=????????
        0100a67f 662b08           sub     cx,[eax]                   ds:01b81802=001b
FAULT ->0100a682 0fbf5e06         movsx   ebx,word ptr [esi+0x6]     ds:0081d5d3=????
        0100a686 0fbf6e04         movsx   ebp,word ptr [esi+0x4]     ds:0081d5d3=????
        0100a68a 8d7c0fff         lea     edi,[edi+ecx+0xff]     ds:023ad5c5=????????
        0100a68e 8d4606           lea     eax,[esi+0x6]          ds:0081d5d2=????????
        0100a691 8d4e04           lea     ecx,[esi+0x4]          ds:0081d5d2=????????
        0100a694 2bdd             sub     ebx,ebp
        0100a696 0fbfef           movsx   ebp,di
        0100a699 3beb             cmp     ebp,ebx
        0100a69b 7fd9             jg      s1pcaud+0x9b6 (01012c76)
        0100a69d 85f6             test    esi,esi
        0100a69f 750f             jnz     s1pcdd+0x50 (0100f8b0)
        0100a6a1 52               push    edx

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

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
00000017 00000000 00000000 00000000 00000000 00000000 snaservr!snpugetc 

↑ Back to the top


Cause

The access violation that is described in the "Symptoms" section of this article occurs when the SNA Server service reads past the end of the buffer that contains a truncated BIND +RSP message that is received from the remote system that Microsoft Host Integration Server 2000 is communicating with.

↑ Back to the top


Resolution

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) 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
   ------------------------------------------------------
   23-Mar-2004  18:10  5.0.0.974    471,312  Snaservr.exe
   23-Mar-2004  18:10  5.0.0.974  1,061,136  Trcservr.exe

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

↑ Back to the top


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 corrected in Microsoft Host Integration Server 2000 Service Pack 2.

↑ Back to the top


Keywords: KB839148, kbhotfixserver, kbqfe, kbfix, kbbug

↑ Back to the top

Article Info
Article ID : 839148
Revision : 3
Created on : 6/5/2006
Published on : 6/5/2006
Exists online : False
Views : 369