You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jeff Ortel (JIRA)" <ji...@apache.org> on 2011/04/18 17:57:05 UTC

[jira] [Created] (QPID-3211) Drop VPN between broker & client causes stack trace in tight loop in driver.

Drop VPN between broker & client causes stack trace in tight loop in driver.
----------------------------------------------------------------------------

                 Key: QPID-3211
                 URL: https://issues.apache.org/jira/browse/QPID-3211
             Project: Qpid
          Issue Type: Bug
          Components: Python Client
    Affects Versions: 0.8
         Environment: machine = F14 (vm)

installed:
qpid-cpp-server-store-0.8-4.fc14.x86_64
qpid-cpp-client-0.8-4.fc14.x86_64
qpid-cpp-server-ssl-0.8-4.fc14.x86_64
qpid-cpp-client-ssl-0.8-4.fc14.x86_64
python-qpid-0.8-3.fc14.noarch
qpid-cpp-server-0.8-4.fc14.x86_64

            Reporter: Jeff Ortel


When dropping the VPN between the broker (machine) and client (machine) causes the python-qpid driver to enter a tight loop raising exceptions.  The following trace is written to the log endlessly and process takes 100% CPU.  The python driver seems to be in a broken state.  It's possible that this condition can occur when other significant networking issues arise but not sure.

TRACE:
-------------------------
2011-04-08 15:47:06,834 [ERROR][cds-localhost.localdomain] __fetch() @ consumer.py:90 -
cds-localhost.localdomain
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/gofer/messaging/consumer.py", line 86, in __fetch
return self.receiver.fetch(timeout=self.WAIT)
File "<string>", line 6, in fetch
File "/usr/lib/python2.7/site-packages/qpid/messaging/endpoints.py", line 997, in fetch
self._ecwait(lambda: self.linked)
File "/usr/lib/python2.7/site-packages/qpid/messaging/endpoints.py", line 50, in _ecwait
result = self._ewait(lambda: self.closed or predicate(), timeout)
File "/usr/lib/python2.7/site-packages/qpid/messaging/endpoints.py", line 960, in _ewait
result = self.session._ewait(lambda: self.error or predicate(), timeout)
File "/usr/lib/python2.7/site-packages/qpid/messaging/endpoints.py", line 553, in _ewait
result = self.connection._ewait(lambda: self.error or predicate(), timeout)
File "/usr/lib/python2.7/site-packages/qpid/messaging/endpoints.py", line 196, in _ewait
self.check_error()
File "/usr/lib/python2.7/site-packages/qpid/messaging/endpoints.py", line 189, in
check_error
raise self.error
InternalError: Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/qpid/messaging/driver.py", line 648, in write
op.dispatch(self)
File "/usr/lib/python2.7/site-packages/qpid/ops.py", line 84, in dispatch
getattr(target, handler)(self, *args)
File "/usr/lib/python2.7/site-packages/qpid/messaging/driver.py", line 860, in
do_session_detached
sst = self._sessions.pop(dtc.channel)
KeyError: 0


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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