Microsoft KB Archive/825800

= FIX: Logical Unit Application may quit unexpectedly and cause an access violation in the RUI_WRITE_LU function =

Article ID: 825800

Article Last Modified on 10/26/2005

-

APPLIES TO


 * Microsoft Host Integration Server 2000 Standard Edition
 * Microsoft Host Integration Server 2000 Service Pack 1
 * 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
 * Microsoft SNA Server 4.0 Service Pack 4

-





SYMPTOMS
A Logical Unit Application (LUA) application may quit unexpectedly and cause all existing host sessions that are in use by the application to end.

If the Drwtsn32.exe program is configured as the default debugger on the system, the Drwtsn32.log file may be updated with an entry similar to the following when the access violation occurs: Application exception occurred: App: (pid=process ID) When: date @ time Exception number: c0000005 (access violation)

function: RUI_write_lu 642039bd 6a00            push    0x0 642039bf e8bcd8ffff      call    PreAsyncTrace (64201280) 642039c4 83c408          add     esp,0x8 642039c7 8b7328          mov     esi,[ebx+0x28]         ds:00daf85e=???????? 642039ca 8b7c241c        mov     edi,[esp+0x1c]         ss:0dbf9c7f=???????? 642039ce 33c9            xor     ecx,ecx 642039d0 8b442418        mov     eax,[esp+0x18]         ss:0dbf9c7f=???????? 642039d4 668b4b02        mov     cx,[ebx+0x2]               ds:00daf85f=???? 642039d8 8bd1            mov     edx,ecx 642039da c1e902          shr     ecx,0x2 FAULT ->642039dd f3a5           rep  movsd ds:00338fff=???????? es:01d6e6c5=f0f0f1f3 642039df 8bca            mov     ecx,edx 642039e1 83e103          and     ecx,0x3 642039e4 f3a4            rep     movsb         ds:00338fff=00 es:01d6e6c5=f3 642039e6 8b4804          mov     ecx,[eax+0x4]          ds:01def57a=???????? 642039e9 8b742418        mov     esi,[esp+0x18]         ss:0dbf9c7f=???????? 642039ed 8b01            mov     eax,[ecx]              ds:00000001=???????? 642039ef 668b5004        mov     dx,[eax+0x4]               ds:01def57b=???? 642039f3 66035326        add     dx,[ebx+0x26]              ds:00daf85f=???? 642039f7 4a              dec     edx 642039f8 66895006        mov     [eax+0x6],dx               ds:01def57b=???? 642039fc 8b44241c        mov     eax,[esp+0x1c]         ss:0dbf9c7f=????????


 * > Stack Back Trace <*

FramePtr ReturnAd Param#1 Param#2  Param#3  Param#4  Function Name 642373A8 00000000 00000000 00000000 00000000 003358AC winrui32!RUI_write_lu



CAUSE
This problem occurs because the RUI library (Winrui32.dll) copies too much data from the data buffer of a LUA application while writing a BIND +RSP for a negotiable BIND request. This results in the access violation in the RUI_WRITE_LU function.



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 file attributes) 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 --  30-Jul-2003  16:04  5.0.0.930   123,152  Winrui32.dll

Note Because of file dependencies, the most recent fix that contains the preceding files may also contain additional files.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the &quot;Applies to&quot; section.

This problem was corrected in Microsoft Host Integration Server 2000 Service Pack 2.



MORE INFORMATION
The access violation may occur only if the LUA application is using a negotiable BIND to activate host sessions. Most applications that use dependent logical units (LUs) use non-negotiable BIND requests when activating sessions. Dependent LUs include LU0 (LUA), LU1, LU2, and LU3.

Keywords: kbbug kbfix kbqfe kbhotfixserver KB825800

-

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

© Microsoft Corporation. All rights reserved.