FIX: Large Query Text from Socket Client May Cause Open Data Services Access Violation

ID: Q187278


The information in this article applies to:
  • Microsoft SQL Server version 6.5

BUG #: 17988 (SQLBUG_65)

SYMPTOMS

Sending large SQL query text from TCP/IP socket network library clients may result in an access violation (AV) with Open Data Services (ODS) Opends60.dll.

Open Data Services is designed to shut down upon encountering an access violation. Therefore, when this problem occurs, the ODS application (such as SQL Server) will also be stopped.

With SQL Server, the ERRORLOG file will contain output that looks similar to the following:


   8/05/02 01:19:03.93 spid180
   ******************************************************
   8/05/02 01:19:03.96 spid180  *
   8/05/02 01:19:03.98 spid180  * STACK DUMP:
   8/05/02 01:19:03.98 spid180  *
   8/05/02 01:19:04.00 spid180  *   Exception Address = 78787878
   8/05/02 01:19:04.01 spid180  *   Exception Code    = c0000005
   8/05/02 01:19:04.03 spid180  *   Access Violation occurred reading
                                    address 78787878 

You may also see other errors within Open Data Services, such as the following:

   98/05/03 13:50:48.26 ods      Error : 17805, Severity: 18, State: 0
   98/05/03 13:50:48.26 ods      Invalid buffer received from client.

   98/05/03 13:56:44.57 ods      Error : 17824, Severity: 10, State: 0
   98/05/03 13:56:44.57 ods      Unable to write to ListenOn connection
   '1433', loginname 'sa', hostname ''.
   98/05/03 13:56:44.57 ods      OS Error : 6, The handle is invalid.
   98/05/03 13:56:44.59 ods      Error : 17825, Severity: 17, State: 0
   98/05/03 13:56:44.59 ods      Unable to close ListenOn connection.
   98/05/03 13:56:44.59 ods      OS Error : 10038,

   98/02/02 13:50:31.31 ods      Error : 17803, Severity: 17, State: 0
   98/02/02 13:50:31.31 ods      Insufficient memory available. 


RESOLUTION

A supported fix that corrects this problem is now available from Microsoft, but it has not been fully regression tested and should be applied only to systems experiencing this specific problem. If you are not severely affected by this specific problem, Microsoft recommends that you wait for the next SQL Server service pack that contains this fix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the 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:

http://www.microsoft.com/support/supportnet/overview/overview.asp



   Version    File name      Platform
   ----------------------------------------

   6.50.422   Opends60.dll   i386 and Alpha
   6.50.422   Sqlservr.exe   i386 and Alpha 


NOTE: Due to file dependencies, the most recent hotfix or feature that contains the above files may also contain additional files.




WORKAROUND

To work around this problem, configure clients to use a different network library than sockets, such as named pipes.


STATUS

Microsoft has confirmed this to be a problem in SQL Server version 6.5.


MORE INFORMATION

This problem is specific to the use of sockets Net-Library clients. This problem is within the Opends60.dll component, and therefore may be encountered by any Open Data Services application that receives large language event buffers.

Additional query words: dbmssocn ssmsso60 net-lib netlib error log

Keywords : SSrvODS kbbug6.50
Version : winnt:6.5
Platform : winnt
Issue type : kbbug


Last Reviewed: October 11, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.