BUG: Extended Stored Proc Call May Generate a Thread AV

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 : kbprg SSrvProg SSrvStProc kbbug4.21a.sp4
Version : 4.21a.SP4 4.21a
Platform : WINDOWS
Issue type :


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