Ticket #11153 (closed defect: obsolete)

Opened 3 years ago

Last modified 12 months ago

Trac error: OperationalError: (1213, 'Deadlock found when trying to get lock; try restarting transaction')

Reported by: jglick Owned by:
Priority: major Component: other
Version: Keywords:
Cc: Guest type: other
Host type: other


Clicked Log In link on bug tracker for the first time in a while. Went thru Oracle SSO successfully. Was prompted to reuse an existing nickname, which I did. Then got this error. However I seem to be logged in now.

How to Reproduce

While doing a POST operation on /login, Trac issued an internal error.

(please provide additional details here)

Request parameters:

 'nick': u'jglick',
 'password': u'[REDACTED]',
 'referer': u''}

User agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/536.11 (KHTML, like Gecko) Ubuntu/12.04 Chromium/20.0.1132.47 Chrome/20.0.1132.47 Safari/536.11

System Information

System information not available

Enabled Plugins

Plugin information not available

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/", line 513, in _dispatch_request
  File "/usr/lib/python2.4/site-packages/trac/web/", line 235, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/web/", line 117, in process_request
  File "/usr/lib/python2.4/site-packages/trac/web/", line 341, in _redirect_back
    req.redirect(referer or req.abs_href())
  File "/usr/lib/python2.4/site-packages/trac/web/", line 358, in redirect # has to be done before the redirect is sent
  File "/usr/lib/python2.4/site-packages/trac/web/", line 88, in save
  File "/usr/lib/python2.4/site-packages/trac/db/", line 77, in transaction_wrapper
  File "/usr/lib/python2.4/site-packages/trac/web/", line 144, in delete_session_cookie
  File "/usr/lib/python2.4/site-packages/trac/db/", line 65, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/usr/lib64/python2.4/site-packages/MySQLdb/", line 166, in execute
    self.errorhandler(self, exc, value)
  File "/usr/lib64/python2.4/site-packages/MySQLdb/", line 35, in defaulterrorhandler
    raise errorclass, errorvalue
OperationalError: (1213, 'Deadlock found when trying to get lock; try restarting transaction')

Change History

comment:1 Changed 12 months ago by frank

  • Status changed from new to closed
  • Resolution set to obsolete
Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use