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

ID: Q238356


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

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.


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: December 14, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.