[
https://issues.apache.org/jira/browse/QPID-1474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12649041#action_12649041
]
Andrew Stitcher commented on QPID-1474:
---------------------------------------
The simplest solution is to change the locking in PollerHandle:~PollerHandle()
> Calling PollerHandle::~PollerHandle() before Poller::wait() causes crash
> ------------------------------------------------------------------------
>
> Key: QPID-1474
> URL: https://issues.apache.org/jira/browse/QPID-1474
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: M3
> Reporter: Andrew Stitcher
> Assignee: Andrew Stitcher
> Fix For: M4
>
>
> This is because DeletionManager::markForDeletion() is called inside a lock
> before DeletionManager::markAllUnusedInThisThread() creates any thread
> specific state to attach the deletion to. The result is that markForDeletion
> ends up deleting the corresponding PollerHandlePrivate which causes a lock
> assertion.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.