Error 1265

Severity

20

Message text

Version 15.0.2 and later:

An illegal attempt was made to release an invalid lock or a lock that is not owned by the process family (lr=0x%p, lrmagic=%c).

Version 15.0.1 and earlier:

A lock manager routine expected a lock record as an argument but was passed something else. lr=0x%x, lrmagic=%c.

Explanation

This error occurs when the Adaptive Server Lock Manager is:

and the lock record structure is not valid or the lock record belongs to another process.

This error is usually due to an Adaptive Server problem.

Action

Shutting down and restarting Adaptive Server usually clears the error. If this does not clear the error, or if the error persists, call Sybase Technical Support.

Additional information

Before calling Sybase Technical Support, have the information available that is listed in “Reporting errors”, including the Output of sp_lock at the time the 1265 error occurred.

Versions in which this error is raised

All versions