Microsoft KB Archive/257759

= TN5250 Service Ends Unexpectedly When Client Disconnects =

Article ID: 257759

Article Last Modified on 11/25/2003

-

APPLIES TO


 * 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 Q257759



SYMPTOMS
The TN5250 Service may end unexpectedly when a TN5250 client disconnects. This problem occurs when you use the WRQ Reflections TN5250 client, although it can also occur with other client emulators.

When the failure occurs, a Ddrwtsn32.log file indicates that a hard-coded breakpoint occurred. For example:

Application exception occurred:

App: obj\i386\tn5250.exe (pid)

When: (date) (time)

Exception number: 80000003 (hardcoded breakpoint)

[...]

State Dump for Thread Id 0x1b9

eax=00000000 ebx=0110fc74 ecx=00000085 edx=0110fbe8 esi=78022b9a edi=0110fbea

eip=77f762e8 esp=0110fb14 ebp=0023c951 iopl=0 nv up ei pl nz ac po nc

cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000216

[...]

function: DbgBreakPoint

FAULT ->77f762e8 cc int 3

77f762e9 c3 ret

77f762ea 8bc0 mov eax,eax


 * --- Stack Back Trace *

FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name

0023c951 00000000 00000000 00000000 00000000 00000000 ntdll!DbgBreakPoint

00000000 00000000 00000000 00000000 00000000 00000000 tn5250!nosymbols



CAUSE
A timing window can occur during client shutdown processing when an outstanding TEST_RTS_AND_POST verb is cancelled and TP_ENDED is called twice in error. When the second TP_ENDED returns an error, the TN5250 Service may force a hard-coded breakpoint, causing the process to end.



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 Microsoft SNA Server version 4.0, 4.0 SP1, 4.0 SP2 and 4.0 SP3.

This problem was first corrected in SNA Server 4.0 Service Pack 4.

Keywords: kbbug kbfix kbsna400presp4fix kbqfe kbsna400sp4fix KB257759

-

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

© Microsoft Corporation. All rights reserved.