Microsoft KB Archive/254662

= Event ID 5: TN5250 Generates Dr. Watson with a Fault in DbgBreakPoint =

Article ID: 254662

Article Last Modified on 6/29/2004

-

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
 * Microsoft SNA Server 4.0 Service Pack 1
 * Microsoft SNA Server 4.0 Service Pack 2
 * Microsoft SNA Server 4.0 Service Pack 3

-



This article was previously published under Q254662



SYMPTOMS
When a TN5250 client attempts to connect, the client stops responding after the initial logon screen and successful user logon. On an SNA Server computer, the TN5250 Service stops responding, and then quits. It issues a Dr. Watson log with a FAULT in the DbgBreakPoint. The following event is posted in the Application event log:

Event Type: Error Event Source:  SNA TN5250 Server Event Category: None Event ID:  5 Date:      2/10/2000 Time:      1:03:51 PM User:       N/A Computer:  MISRENM108 Description: The SNA TN5250 Service detected an internal error.

File = e:\sna40\tn5250\spm\esaatran.c   Line = 742 Fail = FALSE Parm = 0x0

All previously connected users are disconnected.

Please review the "Cause" section of this article for information on how this issue can occur under a certain APPC conversation state.



CAUSE
The TN5250 Service issues a response to the AS/400. The TN5250 Service is in RECEIVE state:

APPC RECEIVE_AND_WAIT request APPC APPC Type:Async   Method:CB     Addr:0102A3BE   VerbID:001A4000 APPC APPC  Verb Parameter Block at address 00233B38 APPC 0B000000 00000000 00000000 00000000     <................> APPC 90392400 803A2400 00000101 00000010     <.9$..:$.........> APPC 00000000 74453101 00000000 00000000     <....tE1.........>

The AS/400 returns with a RECEIVE_AND_WAIT response; however, the status is set to CONFIRM:

APPC RECEIVE_AND_WAIT response, result = OK APPC APPC Type:Async   Method:CB     Addr:0102A3BE   VerbID:001A4000 APPC APPC  Verb Parameter Block at address 00233B38 APPC 0B000000 00000000 00000000 00000000     <................> APPC 90392400 803A2400 02020101 00000010     <.9$..:$.........> ^^^^ APPC 0A000000 74453101 00000000 00000000     <....tE1.........> APPC  Data at address 01314574 APPC 000A12A0 00000400 000B                  <.......... >

The AS/400 RECEIVE_AND_WAIT response from the AS/400 has set the what_rcvd data type to AP_DATA_COMPLETE_CONFIRM (as indicated above (^)) with the Conversation state set to CONFIRM. Because the TN5250 Service is now in a SEND state, it is unable to handle this reply, and then traps, issuing the Dr. Watson log. However, because the AS/400 APPC conversation is past the point of a sign-on screen, the AS/400 should not be sending the CONFRIM. The APPC conversation should be in an "exception response" mode only.



RESOLUTION
To resolve this problem, obtain the latest service pack for SNA Server 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



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 first corrected in SNA Server 4.0 Service Pack 4.



MORE INFORMATION
As a result of correcting this TN5250 service trap issue, the CONFIRM verb is passed to the TN5250 emulator.

If this occurred prior to the sign-on screen, the TN5250 emulator would have responded with the CONFIRM verb, which sends the contents of the local LUs send buffer and a confirmation request to the partner TP.

For further information on APPC conversation with SNA Server, please review the APPC Programmer's guide included with the SDK and on the SNA Server CD.

Keywords: kbbug kbfix kbsna400presp4fix kbsna400sp4fix KB254662

-

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

© Microsoft Corporation. All rights reserved.