Microsoft KB Archive/828090

= FIX: Error 1203 Is Reported in the SQL Server Error Log When You Run the xp_sendmail Stored Procedure =

Article ID: 828090

Article Last Modified on 10/25/2005

-

APPLIES TO


 * Microsoft SQL Server 7.0 Standard Edition

-



BUG #: 200065 (SQLBUG_70)



SYMPTOMS
When you run the xp_sendmail stored procedure on a computer that is running SQL Server 7.0 versions 7.00.1085 to 7.00.1098, error 1203 is reported in the SQL Server error log. Subsequently, a fatal exception might occur, causing the computer that is running SQL Server to shut down.

The SQL Server error log may contain entries that are similar to the following entries: 2003-08-25 11:20:21.46 spid33  Process 33 unlocking unowned resource: KEY: 1:33:2 (a603e2c7f4fe) 2003-08-25 11:20:21.46 spid33  Error: 1203, Severity: 20, State: 1 2003-08-25 11:20:21.46 spid33  Process ID 33 attempting to unlock unowned resource KEY: 1:33:2 (a603e2c7f4fe).. 2003-08-25 11:20:21.46 spid33  Process 33 unlocking unowned resource: KEY: 1:33:2 (a603e2c7f4fe) 2003-08-25 11:20:21.46 spid33  Error: 1203, Severity: 20, State: 1 2003-08-25 11:20:21.46 spid33  Process ID 33 attempting to unlock unowned resource KEY: 1:33:2 (a603e2c7f4fe)..

The previous entries are then followed by the following information: Short Stack Dump 0x77f8846f Module(ntdll+846f) (RtlNtStatusToDosError+66) 0x007836ce Module(sqlservr+3836ce) (ex_terminator+37) 0x7800b620 Module(MSVCRT+b620) (terminate+43) 0x7800b22a Module(MSVCRT+b22a) (_unDNameEx+4e5d) 0x7800ae9a Module(MSVCRT+ae9a) (_unDNameEx+4acd) 0x7800b83c Module(MSVCRT+b83c) (_CxxFrameHandler+26) 0x77fb98e6 Module(ntdll+398e6) (strpbrk+22) 0x77fac776 Module(ntdll+2c776) (RtlProtectHeap+50d) 0x7800feec Module(MSVCRT+feec) (global_unwind2+18) 0x78010017 Module(MSVCRT+10017) (except_handler3+5f) 0x77fb98e6 Module(ntdll+398e6) (strpbrk+22) 0x77fac5f4 Module(ntdll+2c5f4) (RtlProtectHeap+38b) 0x77f91a96 Module(ntdll+11a96) (RtlDeNormalizeProcessParams+2f8) 0x7800b78d Module(MSVCRT+b78d) (CxxThrowException+34) 0x005202a8 Module(sqlservr+1202a8) (SetEcFlagAndThrow+38) 0x005200ae Module(sqlservr+1200ae) (ex_raise2+332) 0x0051ff26 Module(sqlservr+11ff26) (ex_raise+5f) 0x006e2a1c Module(sqlservr+2e2a1c) (reportUnlockFailure+8f) 0x005abd5a Module(sqlservr+1abd5a) (lck_unlock+da) 0x004036c3 Module(sqlservr+36c3) (endscan+68) 0x0040345d Module(sqlservr+345d) (closetable+e8) 0x00402829 Module(sqlservr+2829) (CSysScan::~CSysScan+36) 0x00783fa6 Module(sqlservr+383fa6) (getsusername+a2) 0x005e1411 Module(sqlservr+1e1411) (ods_getcurrentlogin+32) 0x4106af85 Module(opends60+af85) (srv_getcurrentlogin+22) 0x4106b903 Module(opends60+b903) (srv_pfield+976) 0x40171e02 Module(sqlmap70+1e02) (xp_sendmail+d2) 0x0061870b Module(sqlservr+21870b) (FCallRpcDLL+2a5) 0x006068b8 Module(sqlservr+2068b8) (CXProc::Execute+12f) 0x0053719d Module(sqlservr+13719d) (CSQLSource::Execute+2b1) 0x00484201 Module(sqlservr+84201) (CStmtExec::XretLocalExec+127) 0x004840c0 Module(sqlservr+840c0) (CStmtExec::XretExecute+253) 0x0040fdfb Module(sqlservr+fdfb) (CMsqlExecContext::ExecuteStmts+11b) 0x0040f910 Module(sqlservr+f910) (CMsqlExecContext::Execute+1be) 2003-08-25 10:18:30.92 spid9   Error: 0, Severity: 21, State: 0 2003-08-25 10:18:30.92 spid9   SQL Server is aborting. Fatal exception 0 caught.



RESOLUTION
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time   Version            Size    File name -  04-Oct-2002  23:59  2000.34.4.0        28,944  Dbmssocn.dll 06-Sep-2002 23:55  2000.33.6.0        53,520  Distrib.exe 06-Sep-2002 23:55  2000.33.6.0        98,576  Logread.exe 05-May-2003 18:34                     54,904  Opends60.dbg 05-May-2003 18:34  2000.41.2.0       155,920  Opends60.dll 06-Sep-2002 23:56  2000.33.6.0       250,128  Rdistcom.dll 06-Sep-2002 23:55  2000.33.6.0        82,192  Replmerg.exe 06-Sep-2002 23:56  2000.33.6.0        78,096  Replres.dll 17-Sep-2002 22:52                      7,941  Securityhotfix.sql 06-Sep-2002 23:56  2000.33.6.0       160,016  Snapshot.exe 30-May-2003 04:21                     59,214  Sp4_serv_uni.sql 15-Jan-2003 01:33  2000.37.13.0      344,064  Sqlagent.exe 06-Sep-2002 23:55  2000.33.6.0        45,056  Sqlcmdss.dll 16-May-2003 00:18  2000.41.14.0    2,629,632  Sqldmo.dll 16-May-2003 13:29  2000.41.14.0       81,920  Sqlmap70.dll 06-Sep-2003 02:55  2000.45.5.0     5,062,928  Sqlservr.exe 04-Oct-2002 23:59  2000.34.4.0        45,328  Ssmsso70.dll 16-May-2003 00:18  2000.41.14.0       24,848  Ssnmpn70.dll 26-Sep-2002 20:30                     28,408  Ums.dbg 26-Sep-2002 20:27  2000.33.25.0       57,616  Ums.dll 16-May-2003 13:31  2000.41.14.0      151,552  Xpweb70.dll Note Because of file dependencies, the most recent hotfix or feature that contains these files may also contain additional files.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Keywords: kbbug kbfix kbqfe kbsqlserv700presp5fix kbhotfixserver KB828090

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.