SAP Knowledge Base Article - Preview

2062088 - ASE reports error 1265 "illegal attempt was made to release an invalid lock" - ASE SAP

Symptom

  • Execution of REORG DEFRAG ... WITH TIME ... RESUME fails with ASE error 1265:

    00:0017:00000:03026:2014/08/03 09:14:35.99 server  Error: 1265, Severity: 20, State: 1
    00:0017:00000:03026:2014/08/03 09:14:35.99 server  An illegal attempt was made to release an invalid lock or a lock that is not owned by the process family (lr=0
    x271e74a50, lrmagic=f).
    00:0017:00000:03026:2014/08/03 09:14:36.00 kernel  ************************************
    00:0017:00000:03026:2014/08/03 09:14:36.00 kernel  SQL causing error : reorg defrag [BSE_CLR] with time= 00:10 , resume
  • Errorlog shows a stack trace following Error 1265 with the following modules:

    reorg_handler()
    fgunlock()
    endscan()
    reorg_end()
    reorg__ptn_defrag.fdpr.chunk.2()
    reorg_defrag() 


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE)
  • Dataserver

Product

SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0

Keywords

Reorg, defrag, lock, reorg__ptn_defrag(), reorg_end(), xact_commit(), endscan, sdatalock, sdes, fgunlock, endscan(), lock_release(), CR#768781, CR768781, 768781 , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.