You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jiri Danek (JIRA)" <ji...@apache.org> on 2017/01/17 06:53:26 UTC
[jira] [Closed] (DISPATCH-351) Crash after a sequence of qdmanage
operations creating and destroying listener and connector
[ https://issues.apache.org/jira/browse/DISPATCH-351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jiri Danek closed DISPATCH-351.
-------------------------------
Resolution: Works for Me
I tried with current git-tip and with a build I had from August/September 2016 (I do not have anything older handy) and the reproduction steps did not result in crash in either case.
This was apparently fixed sometime between May and August 2016.
> Crash after a sequence of qdmanage operations creating and destroying listener and connector
> --------------------------------------------------------------------------------------------
>
> Key: DISPATCH-351
> URL: https://issues.apache.org/jira/browse/DISPATCH-351
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Router Node
> Affects Versions: 0.6.0
> Environment: RHEL 6.8x
> Git tip at commit 87d0a406c6 "DISPATCH-339 - [From Ganesh Murthy] Properly handle default values for host/addr."
> Reporter: Jiri Danek
> Assignee: Ganesh Murthy
> Attachments: commands.bash, core.6635.backtrace, core.6635.bz2
>
>
> Start up {{qdrouterd}} with the default config and run the (uncommented) commands in {{commands.bash}}. Router crashes.
> {noformat}
> $ local/sbin/qdrouterd -c local/etc/qpid-dispatch/qdrouterd.conf
> Thu May 26 13:16:49 2016 SERVER (info) Container Name: Router.A
> Thu May 26 13:16:49 2016 ROUTER (info) Router started in Standalone mode
> Thu May 26 13:16:49 2016 ROUTER_CORE (info) Router Core thread running. 0/Router.A
> Thu May 26 13:16:49 2016 ROUTER_CORE (info) In-process subscription M/$management
> Thu May 26 13:16:49 2016 ROUTER_CORE (info) In-process subscription L/$management
> Thu May 26 13:16:49 2016 AGENT (info) Activating management agent on $_management_internal
> Thu May 26 13:16:49 2016 ROUTER_CORE (info) In-process subscription L/$_management_internal
> Thu May 26 13:16:49 2016 DISPLAYNAME (info) Activating DisplayNameService on $displayname
> Thu May 26 13:16:49 2016 ROUTER_CORE (info) In-process subscription L/$displayname
> Thu May 26 13:16:49 2016 CONN_MGR (info) Configured Listener: 0.0.0.0:amqp proto=any role=normal
> Thu May 26 13:16:49 2016 POLICY (info) Policy configured maximumConnections: 0, policyFolder: '', access rules enabled: 'false'
> Thu May 26 13:16:49 2016 POLICY (info) Policy fallback defaultApplication is disabled
> Thu May 26 13:16:49 2016 SERVER (info) Operational, 4 Threads Running
> Thu May 26 13:16:58 2016 CONN_MGR (info) Configured Connector: 0.0.0.0:20021 proto=any role=normal
> Thu May 26 13:16:59 2016 CONN_MGR (info) Configured Listener: 0.0.0.0:20021 proto=any role=normal
> Thu May 26 13:16:59 2016 AGENT (error) Error dispatching Message(address=None, properties={'operation': 'CREATE', 'type': 'org.apache.qpid.dispatch.listener', 'name': 'eaconn1'}, body={'host': '0.0.0.0', 'type': 'org.apache.qpid.dispatch.listener', 'port': '20021', 'name': 'eaconn1'}, reply_to='amqp:/_topo/0/Router.A/temp.ozFLn7K3UkHpXm+', correlation_id=1L): org.apache.qpid.dispatch.connector: Duplicate value 'eaconn1' for unique attribute 'name'
> Traceback (most recent call last):
> File "/home/vagrant/local/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py", line 786, in receive
> status, body = self.handle(request)
> File "/home/vagrant/local/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py", line 809, in handle
> return self.create(request)
> File "/home/vagrant/local/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py", line 850, in create
> return (CREATED, self._create(attributes).attributes)
> File "/home/vagrant/local/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py", line 825, in _create
> self.entities.add_implementation(cimplementation, entity)
> File "/home/vagrant/local/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py", line 534, in add_implementation
> self._add_implementation(implementation, adapter=adapter)
> File "/home/vagrant/local/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py", line 531, in _add_implementation
> self.add(adapter)
> File "/home/vagrant/local/lib/qpid-dispatch/python/qpid_dispatch_internal/management/agent.py", line 520, in add
> self.schema.validate_full(chain(iter([entity]), iter(self.entities)))
> File "/home/vagrant/local/lib/qpid-dispatch/python/qpid_dispatch_internal/management/qdrouter.py", line 59, in validate_full
> super(QdSchema, self).validate_all(entities, **kwargs)
> File "/home/vagrant/local/lib/qpid-dispatch/python/qpid_dispatch_internal/management/schema.py", line 597, in validate_all
> check_singleton=check_singleton)
> File "/home/vagrant/local/lib/qpid-dispatch/pytho
> Thu May 26 13:16:59 2016 CONN_MGR (info) Configured Listener: 0.0.0.0:20021 proto=any role=normal
> Thu May 26 13:16:59 2016 DRIVER (error) bind: Address already in use
> Segmentation fault (core dumped)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org