VirtualBox

Ticket #10554 (new defect)

Opened 2 years ago

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

Reported by: matteosistisette Owned by:
Priority: minor Component: other
Version: VirtualBox 4.1.14 Keywords:
Cc: Guest type: other
Host type: other

Description

This doesn't look like the right place to report this (this is a bug in Trac, not in VirtualBox), but the error message directed me here:

"""" Oops… Trac detected an internal error: OperationalError: (1213, 'Deadlock found when trying to get lock; try restarting transaction') There was an internal error in Trac. It is recommended that you notify your local Trac administrator with the information needed to reproduce the issue.

To that end, you could ((THIS LINKED HERE)) a ticket.

The action that triggered the error was:

GET: /login TracGuide — The Trac User and Administration Guide """"

How to Reproduce

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

(please provide additional details here)

Request parameters:

{}

User agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19

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/main.py", line 513, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 235, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/web/auth.py", line 117, in process_request
    self._redirect_back(req)
  File "/usr/lib/python2.4/site-packages/trac/web/auth.py", line 341, in _redirect_back
    req.redirect(referer or req.abs_href())
  File "/usr/lib/python2.4/site-packages/trac/web/api.py", line 358, in redirect
    self.session.save() # has to be done before the redirect is sent
  File "/usr/lib/python2.4/site-packages/trac/web/api.py", line 212, in __getattr__
    value = self.callbacks[name](self)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 298, in _get_session
    return Session(self.env, req)
  File "/usr/lib/python2.4/site-packages/trac/web/session.py", line 166, in __init__
    self.promote_session(sid)
  File "/usr/lib/python2.4/site-packages/trac/web/session.py", line 225, in promote_session
    @self.env.with_transaction()
  File "/usr/lib/python2.4/site-packages/trac/db/api.py", line 77, in transaction_wrapper
    fn(ldb)
  File "/usr/lib/python2.4/site-packages/trac/web/session.py", line 236, in update_session_id
    cursor.execute("""
  File "/usr/lib/python2.4/site-packages/trac/db/util.py", line 65, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/usr/lib64/python2.4/site-packages/MySQLdb/cursors.py", line 166, in execute
    self.errorhandler(self, exc, value)
  File "/usr/lib64/python2.4/site-packages/MySQLdb/connections.py", line 35, in defaulterrorhandler
    raise errorclass, errorvalue
OperationalError: (1213, 'Deadlock found when trying to get lock; try restarting transaction')
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use