BUG: Extended Stored Proc Call May Generate a Thread AV

Last reviewed: May 2, 1997
Article ID: Q139557

The information in this article applies to:
  • Microsoft SQL Server, version 4.21a
BUG# NT: 11515 (4.21a.SP4)

SYMPTOMS

When you use an extended stored procedure to return data to an output parameter a thread access violation can occur.

The following query exposes the behavior:

   declare @strData varchar(255)
   exec xp_echo "Test", @strData OUTPUT

The procedure xp_echo is the sample provided in the XP.DLL file.

WORKAROUND

  1. Stop SQL Server.

  2. Copy the SQLSERVR.EXE file from the SQL Server Service Pack 3 to the ..\SQL\BINN directory.

  3. Restart SQL Server.

STATUS

Microsoft has confirmed this to be a problem in Microsoft SQL Server version 4.21a Service Pack 4. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


Additional query words: ODS sp4 servpack
Keywords : kbbug4.21a.sp4 kbprg SSrvProg SSrvStProc
Version : 4.21a.SP4 4.21a
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 2, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.