BUG: Use of 25 Different Tables in a Query May Raise Error 1203

ID: Q238356


The information in this article applies to:

BUG #: 55738 (SQLBUG_70)

SYMPTOMS

Executing a query that uses at least 25 different tables (for example, a UNION of 25 distinct tables) may fail and return the following errors to the client and then terminate the session:

Server: Msg 1203, Level 20, State 1, Line 1
Process ID x attempting to unlock unowned resource
The SQL Server process will be terminated and the last entry found in the error log is the following stack dump:

0x0058f98f Module(sqlservr+18f98f) (ex_raise2+35c)
0x0044f41f Module(sqlservr+4f41f) (ex_raise+5f)
0x006c7972 Module(sqlservr+2c7972) (reportUnlockFailure+8f)
0x0057f85f Module(sqlservr+17f85f) (lck_unlock+d5)
0x00403660 Module(sqlservr+3660) (endscan+68)
0x00403436 Module(sqlservr+3436) (closetable+e8)
0x0058c8ab Module(sqlservr+18c8ab) (clean_process+f5)
0x0058c11f Module(sqlservr+18c11f) (language_exec+5f9)
0x4106187f Module(opends60+187f) (execute_event+659)
0x41061b5d Module(opends60+1b5d) (process_commands+f3)
0x41092be1 Module(ums+2be1) (ProcessWorkRequests+ed)
0x4109336a Module(ums+336a) (ThreadStartRoutine+139)
0x7800c0d7 Module(MSVCRT+c0d7) (beginthread+ce)
0x77f04f3e Module(KERNEL32+4f3e) (BaseThreadStart+45) 


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
The English version of this fix should have the following file attributes or later:

   Date        File name      Platform
   -----------------------------------------

   7.00.712   Sqlservr.exe   Intel and Alpha 
NOTE: Due to file dependencies, the most recent hotfix or feature that contains the above files may also contain additional files.

NOTE: If this product was already installed on your computer when you purchased it from the Original Equipment Manufacturer (OEM) and you need this fix, please call the Pay Per Incident number listed on the above Web site. If you contact Microsoft to obtain this fix, and if it is determined that you only require the fix you requested, no fee will be charged. However, if you request additional technical support, and if your no-charge technical support period has expired, or if you are not eligible for standard no-charge technical support, you may be charged a non-refundable fee.

For more information about eligibility for no-charge technical support, see the following article in the Microsoft Knowledge Base:
Q154871 Determining If You Are Eligible for No-Charge Technical Support


STATUS

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

Additional query words:


Keywords          : SSrvAdmin kbbug7.00 kbSQLServ700bug 
Version           : winnt:7.0
Platform          : winnt 
Issue type        : kbbug 

Last Reviewed: July 30, 1999