qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ken Giusti (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Created: (QPID-2846) QMF: python console crashes on race condition when deleting an agent.
Date Thu, 02 Sep 2010 20:45:52 GMT
QMF: python console crashes on race condition when deleting an agent.
---------------------------------------------------------------------

                 Key: QPID-2846
                 URL: https://issues.apache.org/jira/browse/QPID-2846
             Project: Qpid
          Issue Type: Bug
          Components: Qpid Managment Framework
         Environment: all
            Reporter: Ken Giusti
            Assignee: Ken Giusti


If an agent is deleted while reply messages from that agent are still pending on the queue,
the python console can crash due to a stale sequence id:

Exception in thread Thread for broker: grm31.lab:5672:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 522, in __bootstrap_inner
    self.run()
  File "/home/ernie/lib/python/qmf/console.py", line 2813, in run
    self._v2Dispatch(item.data)
  File "/home/ernie/lib/python/qmf/console.py", line 2695, in _v2Dispatch
    agent._handleQmfV2Message(opcode, mp, ah, content)
  File "/home/ernie/lib/python/qmf/console.py", line 3418, in
_handleQmfV2Message
    elif opcode == '_exception':       self._v2HandleException(mp, ah, content)
  File "/home/ernie/lib/python/qmf/console.py", line 3282, in
_v2HandleException
    pair.cancel(text)
  File "/home/ernie/lib/python/qmf/console.py", line 3507, in cancel
    self._complete()
  File "/home/ernie/lib/python/qmf/console.py", line 3545, in _complete
    self.agent._clearContext(self.sequence)
  File "/home/ernie/lib/python/qmf/console.py", line 3061, in _clearContext
    x = self.contextMap.pop(sequence)
KeyError: 'pop(): dictionary is empty'

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Mime
View raw message