Microsoft KB Archive/839148

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

Article ID: 839148

Article Last Modified on 6/5/2006

-

APPLIES TO


 * Microsoft Host Integration Server 2000 Standard Edition
 * Microsoft Host Integration Server 2000 Service Pack 1

-





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 \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



CAUSE
The access violation that is described in the &quot;Symptoms&quot; 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.



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.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section of this article. This problem was corrected in Microsoft Host Integration Server 2000 Service Pack 2.

Keywords: kbbug kbfix kbqfe kbhotfixserver KB839148

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.