Access Violation in SNASERVR!SNPUGETC if Invalid Formatted GDS Variable Received (218178)
The information in this article applies to:
- Microsoft SNA Server 3.0
- Microsoft SNA Server 4.0
This article was previously published under Q218178 SYMPTOMS
The SNA Server service (Snaservr.exe) may fail unexpectedly with an access
violation in function snpugetc. This failure may occur when
receiving an invalid formatted General Data Stream (GDS) variable from a
mainframe.
If Drwtsn32.exe is configured as the default debugger on the SNA Server
system, the Drwtsn32.log file may contain an entry similar to the following
when this access violation occurs:
Application error:
Application: exe\snaservr.dbg (pid=259)
11/26/1998 @ 8:56:47.484
Error: c0000005 (Access violation)
Function: snpugetc
0100a5ca 8d4e06 lea ecx,[esi+0x6]
ds:0120ea06=????????
0100a5cd 2bdd sub ebx,ebp
0100a5cf 0fbfef movsx ebp,di
0100a5d2 3beb cmp ebp,ebx
0100a5d4 7e27 jle snpugetc+0x4d (0100a5fd)
0100a5d6 85f6 test esi,esi
0100a5d8 7427 jz snpugetc+0x51 (0100a601)
0100a5da 668b00 mov ax,[eax]
ds:019dff01=????
0100a5dd 8b36 mov esi,[esi]
ds:00000000=????????
0100a5df 662b01 sub ax,[ecx]
ds:019d61f6=010c
Fault ->0100a5e2 0fbf5e04 movsx ebx,word ptr [esi+0x4]
ds:0120ea07=????
0100a5e6 0fbf6e06 movsx ebp,word ptr [esi+0x6]
ds:0120ea07=????
0100a5ea 8d7c07ff lea edi,[edi+eax-0x1]
ds:02bee908=????????
*----> Stack Back Trace <----*
FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
0118fd2c 0105f212 019d257c a3160e06 002d042c 002d0360 snaservr!snpugetc
(FPO: [EBP 0xa3160e06] [2,0,4])
0118fd94 0105c297 002d0360 0000125d 0118fdf8 01144bdd snaservr!s1pxntur
(FPO: [EBP 0x002d042c] [3,19,4])
In addition, an event similar to the following will be logged in the
Windows NT Application Event Log:
Event ID: 624
Source: SNA Server
Description: Creating dump file C:\SNA\traces\snadump.log for
SNASERVR.EXE
CAUSE
The access violation is caused when SNA Server receives a badly formatted
GDS variable. In this case, the format of the Sign-On GDS variable 0x'1221'
sent by the host was invalid.
This problem started to occur with SNA Server 3.0 with the introduction of
SNA Server single sign on support, where SNA Server now explicitly parses
the user and password data within the Sign-On GDS message.
RESOLUTIONSNA Server 4.0To resolve this problem, obtain the latest service pack for SNA Server version 4.0. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
215838 How to Obtain the Latest SNA Server Version 4.0 Service Pack
SNA Server 3.0To resolve this problem, obtain the latest service pack for SNA Server version 3.0. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
184307 How to Obtain the Latest SNA Server Version 3.0 Service Pack
STATUSMicrosoft has confirmed that this is a problem in SNA Server 3.0, 3.0 SP1, 3.0 SP2, 3.0 SP3, SNA Server 4.0, 4.0 SP1, 4.0 SP2. This problem was first corrected in SNA Server version 3.0 Service Pack 4 and SNA Server version 4.0 Service Pack 3.
Modification Type: | Minor | Last Reviewed: | 9/22/2005 |
---|
Keywords: | kbHotfixServer kbQFE kbbug kbfix kbQFE kbsna300sp4fix kbsna400sp3fix KB218178 |
---|
|