Article ID: 197903
Article Last Modified on 9/22/2005
APPLIES TO
- Microsoft SNA Server 4.0
- Microsoft SNA Server 3.0 Service Pack 2
- Microsoft SNA Server 3.0 Service Pack 3
- Microsoft SNA Server 3.0 Service Pack 4
- Microsoft SNA Server 4.0 Service Pack 1
- Microsoft SNA Server 4.0 Service Pack 2
This article was previously published under Q197903
SYMPTOMS
The SNA Server service (Snaservr.exe) may fail unexpectedly with an Access Violation error message in the snpugeti() function or in the snpuputi() function.
CAUSE
The Access Violation error message is caused when SNA Server receives an invalid RU from
the mainframe. In this case, the invalid RU was sent by the mainframe to
indicate an -RSP to an RU it had previously received for a particular LU-LU
(Logical Unit) session. The RU indicated that it included Sense Data (SD)
since the SD flag was set in its Response Header (RH). The RU was invalid
since it did not contain the 4 bytes of sense data that is supposed to be
included when the SD flag is set.
When the SNA Server service receives this data, it attempts to extract the
sense data from the host response to include it in a Function Management
Interface (FMI) Status Acknowledgement that has to be sent to the client
emulator to inform the emulator of the detected error. The access violation
occurs because the message is too short. It only has 9 bytes of data (6
bytes for the Transmission Header plus 3 bytes for the RH) when it should
be 13 bytes in length. The SNA Server service then accesses data beyond the
end of the actual message because the last 4 bytes of data are not there.
It is the attempt to access memory beyond the end of the message that
results in the access violation. The access violation causes the SNA Server
service to terminate.
RESOLUTION
SNA Server 4.0
To 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.0
Contact Microsoft Product Support Services for the SNA Server version 3.0 post-SP4 fix.
For a complete list of Microsoft Product Support Services
phone numbers and information on support costs, please go to the following
address on the World Wide Web:
STATUS
Microsoft has confirmed that this is a problem in SNA Server versions 3.0 and 4.0. This problem was first corrected in SNA Server version 4.0 Service Pack 3.
Keywords: kbbug kbfix kbsna400sp3fix kbqfe kbhotfixserver KB197903