You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jason Dillaman (JIRA)" <ji...@apache.org> on 2012/08/28 00:03:08 UTC
[jira] [Created] (QPID-4259) HA broker crash during queue reroute
Jason Dillaman created QPID-4259:
------------------------------------
Summary: HA broker crash during queue reroute
Key: QPID-4259
URL: https://issues.apache.org/jira/browse/QPID-4259
Project: Qpid
Issue Type: Bug
Components: C++ Broker
Affects Versions: 0.18
Reporter: Jason Dillaman
Broker will crash if a priority queue contains deleted messages with NULL payloads (i.e. HA message padding) when a reroute is performed. PriorityQueue::removeIf is missing a guard to only include available messages for the reroute -- other classes derived from Messages have the guard.
Backtrace:
#0 0x00000036f42091c0 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1 0x00007f8d9d58297a in qpid::sys::Mutex::lock (this=<value optimized out>) at ../include/qpid/sys/posix/Mutex.h:116
#2 0x00007f8d9d5fbdaa in ScopedLock (this=0x0) at ../include/qpid/sys/Mutex.h:33
#3 qpid::broker::Message::clearTrace (this=0x0) at qpid/broker/Message.cpp:389
#4 0x00007f8d9d61beab in qpid::broker::Queue::purge (this=0x7f8d940111a0, purge_request=<value optimized out>, dest=..., filter=<value optimized out>) at qpid/broker/Queue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org
[jira] [Assigned] (QPID-4259) HA broker crash during queue reroute
Posted by "Alan Conway (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-4259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Conway reassigned QPID-4259:
---------------------------------
Assignee: Alan Conway
> HA broker crash during queue reroute
> ------------------------------------
>
> Key: QPID-4259
> URL: https://issues.apache.org/jira/browse/QPID-4259
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: 0.18
> Reporter: Jason Dillaman
> Assignee: Alan Conway
> Attachments: qpid-4259.patch
>
>
> Broker will crash if a priority queue contains deleted messages with NULL payloads (i.e. HA message padding) when a reroute is performed. PriorityQueue::removeIf is missing a guard to only include available messages for the reroute -- other classes derived from Messages have the guard.
> Backtrace:
> #0 0x00000036f42091c0 in pthread_mutex_lock () from /lib64/libpthread.so.0
> #1 0x00007f8d9d58297a in qpid::sys::Mutex::lock (this=<value optimized out>) at ../include/qpid/sys/posix/Mutex.h:116
> #2 0x00007f8d9d5fbdaa in ScopedLock (this=0x0) at ../include/qpid/sys/Mutex.h:33
> #3 qpid::broker::Message::clearTrace (this=0x0) at qpid/broker/Message.cpp:389
> #4 0x00007f8d9d61beab in qpid::broker::Queue::purge (this=0x7f8d940111a0, purge_request=<value optimized out>, dest=..., filter=<value optimized out>) at qpid/broker/Queue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org
[jira] [Updated] (QPID-4259) HA broker crash during queue reroute
Posted by "Jason Dillaman (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-4259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Dillaman updated QPID-4259:
---------------------------------
Attachment: qpid-4259.patch
Proposed patch to prevent the crash.
> HA broker crash during queue reroute
> ------------------------------------
>
> Key: QPID-4259
> URL: https://issues.apache.org/jira/browse/QPID-4259
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: 0.18
> Reporter: Jason Dillaman
> Attachments: qpid-4259.patch
>
>
> Broker will crash if a priority queue contains deleted messages with NULL payloads (i.e. HA message padding) when a reroute is performed. PriorityQueue::removeIf is missing a guard to only include available messages for the reroute -- other classes derived from Messages have the guard.
> Backtrace:
> #0 0x00000036f42091c0 in pthread_mutex_lock () from /lib64/libpthread.so.0
> #1 0x00007f8d9d58297a in qpid::sys::Mutex::lock (this=<value optimized out>) at ../include/qpid/sys/posix/Mutex.h:116
> #2 0x00007f8d9d5fbdaa in ScopedLock (this=0x0) at ../include/qpid/sys/Mutex.h:33
> #3 qpid::broker::Message::clearTrace (this=0x0) at qpid/broker/Message.cpp:389
> #4 0x00007f8d9d61beab in qpid::broker::Queue::purge (this=0x7f8d940111a0, purge_request=<value optimized out>, dest=..., filter=<value optimized out>) at qpid/broker/Queue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org
[jira] [Resolved] (QPID-4259) HA broker crash during queue reroute
Posted by "Alan Conway (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-4259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Conway resolved QPID-4259.
-------------------------------
Resolution: Fixed
Already fixed on trunk.
> HA broker crash during queue reroute
> ------------------------------------
>
> Key: QPID-4259
> URL: https://issues.apache.org/jira/browse/QPID-4259
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: 0.18
> Reporter: Jason Dillaman
> Assignee: Alan Conway
> Attachments: qpid-4259.patch
>
>
> Broker will crash if a priority queue contains deleted messages with NULL payloads (i.e. HA message padding) when a reroute is performed. PriorityQueue::removeIf is missing a guard to only include available messages for the reroute -- other classes derived from Messages have the guard.
> Backtrace:
> #0 0x00000036f42091c0 in pthread_mutex_lock () from /lib64/libpthread.so.0
> #1 0x00007f8d9d58297a in qpid::sys::Mutex::lock (this=<value optimized out>) at ../include/qpid/sys/posix/Mutex.h:116
> #2 0x00007f8d9d5fbdaa in ScopedLock (this=0x0) at ../include/qpid/sys/Mutex.h:33
> #3 qpid::broker::Message::clearTrace (this=0x0) at qpid/broker/Message.cpp:389
> #4 0x00007f8d9d61beab in qpid::broker::Queue::purge (this=0x7f8d940111a0, purge_request=<value optimized out>, dest=..., filter=<value optimized out>) at qpid/broker/Queue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org