[jira] [Updated] (AMQCPP-466) Segmentation Fault in Temporary Queue consumer (incorrect Exception construction)
[ https://issues.apache.org/jira/browse/AMQCPP-466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aaron Riekenberg updated AMQCPP-466: Attachment: test.cpp Segmentation Fault in Temporary Queue consumer (incorrect Exception construction) - Key: AMQCPP-466 URL: https://issues.apache.org/jira/browse/AMQCPP-466 Project: ActiveMQ C++ Client Issue Type: Bug Components: CMS Impl Affects Versions: 3.5.0 Environment: Ubuntu 12.10 x86_64, ActiveMQ 5.8.0 Reporter: Aaron Riekenberg Assignee: Timothy Bish Attachments: test.cpp I have a program that creates a TemporaryQueue consumer in CMS. It listens for exceptions from CMS and tries to close and recreate the connection when an exception happens. I'm finding the program crashes sometimes when closing the connection after an exception. I can't recreate this behavior with a consumer on a normal non-temporary queue or topic. I've extracted the issue into a small test program (test.cpp) that I'm attaching to this issue. Steps to reproduce: 1. Run activemq (activemq start) 2. Run attached test program 3. Stop activemq (activemq stop) 4. Restart activemq (activemq start) 5. Repeat steps 3 and 4. Eventually the test program will crash with a segmentation fault just after activemq is stopped and an exception is detected. If I run the test program in valgrind, I see this output: {noformat} ==4055== Invalid read of size 8 ==4055==at 0x58E64D5: decaf::lang::Pointerstd::exception const, decaf::util::concurrent::atomic::AtomicRefCounter::onDeleteFunc(std::exception const*) (in /home/aaron/amqcpp350/lib/libactivemq-cpp.so.15.0.0) ==4055==by 0x58E546C: decaf::lang::Exception::~Exception() (Pointer.h:148) ==4055==by 0x58E5538: decaf::lang::Exception::~Exception() (Exception.cpp:107) ==4055==by 0x588BBA4: cms::CMSException::~CMSException() (auto_ptr.h:170) ==4055==by 0x5F090F8: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x4034E7: SimpleAsyncConsumer::cleanup() (test.cpp:211) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055== Address 0x8427600 is 128 bytes inside a block of size 144 free'd ==4055==at 0x4C2A739: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4055==by 0x56747E8: activemq::core::ActiveMQConnection::close() (ActiveMQConnection.cpp:714) ==4055==by 0x4033F1: SimpleAsyncConsumer::cleanup() (test.cpp:210) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055== ==4055== Invalid write of size 8 ==4055==at 0x5F0817B: std::exception::~exception() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x5F081C8: std::exception::~exception() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x58E546C: decaf::lang::Exception::~Exception() (Pointer.h:148) ==4055==by 0x58E5538: decaf::lang::Exception::~Exception() (Exception.cpp:107) ==4055==by 0x588BBA4: cms::CMSException::~CMSException() (auto_ptr.h:170) ==4055==by 0x5F090F8: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x4034E7: SimpleAsyncConsumer::cleanup() (test.cpp:211) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055== Address 0x8427600 is 128 bytes inside a block of size 144 free'd ==4055==at 0x4C2A739: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4055==by 0x56747E8: activemq::core::ActiveMQConnection::close() (ActiveMQConnection.cpp:714) ==4055==by 0x4033F1: SimpleAsyncConsumer::cleanup() (test.cpp:210) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055== ==4055== Invalid free() / delete / delete[] / realloc() ==4055==at 0x4C2A44B: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4055==by 0x58E546C: decaf::lang::Exception::~Exception() (Pointer.h:148) ==4055==by 0x58E5538: decaf::lang::Exception::~Exception() (Exception.cpp:107) ==4055==by 0x588BBA4: cms::CMSException::~CMSException() (auto_ptr.h:170) ==4055==by 0x5F090F8: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x4034E7: SimpleAsyncConsumer::cleanup() (test.cpp:211) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055== Address 0x8427600 is 128 bytes inside a block of size 144 free'd ==4055==at 0x4C2A739: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4055==by 0x56747E8:
[jira] [Created] (AMQCPP-466) Segmentation Fault in Temporary Queue consumer (incorrect Exception construction)
Aaron Riekenberg created AMQCPP-466: --- Summary: Segmentation Fault in Temporary Queue consumer (incorrect Exception construction) Key: AMQCPP-466 URL: https://issues.apache.org/jira/browse/AMQCPP-466 Project: ActiveMQ C++ Client Issue Type: Bug Components: CMS Impl Affects Versions: 3.5.0 Environment: Ubuntu 12.10 x86_64, ActiveMQ 5.8.0 Reporter: Aaron Riekenberg Assignee: Timothy Bish Attachments: test.cpp I have a program that creates a TemporaryQueue consumer in CMS. It listens for exceptions from CMS and tries to close and recreate the connection when an exception happens. I'm finding the program crashes sometimes when closing the connection after an exception. I can't recreate this behavior with a consumer on a normal non-temporary queue or topic. I've extracted the issue into a small test program (test.cpp) that I'm attaching to this issue. Steps to reproduce: 1. Run activemq (activemq start) 2. Run attached test program 3. Stop activemq (activemq stop) 4. Restart activemq (activemq start) 5. Repeat steps 3 and 4. Eventually the test program will crash with a segmentation fault just after activemq is stopped and an exception is detected. If I run the test program in valgrind, I see this output: {noformat} ==4055== Invalid read of size 8 ==4055==at 0x58E64D5: decaf::lang::Pointerstd::exception const, decaf::util::concurrent::atomic::AtomicRefCounter::onDeleteFunc(std::exception const*) (in /home/aaron/amqcpp350/lib/libactivemq-cpp.so.15.0.0) ==4055==by 0x58E546C: decaf::lang::Exception::~Exception() (Pointer.h:148) ==4055==by 0x58E5538: decaf::lang::Exception::~Exception() (Exception.cpp:107) ==4055==by 0x588BBA4: cms::CMSException::~CMSException() (auto_ptr.h:170) ==4055==by 0x5F090F8: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x4034E7: SimpleAsyncConsumer::cleanup() (test.cpp:211) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055== Address 0x8427600 is 128 bytes inside a block of size 144 free'd ==4055==at 0x4C2A739: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4055==by 0x56747E8: activemq::core::ActiveMQConnection::close() (ActiveMQConnection.cpp:714) ==4055==by 0x4033F1: SimpleAsyncConsumer::cleanup() (test.cpp:210) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055== ==4055== Invalid write of size 8 ==4055==at 0x5F0817B: std::exception::~exception() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x5F081C8: std::exception::~exception() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x58E546C: decaf::lang::Exception::~Exception() (Pointer.h:148) ==4055==by 0x58E5538: decaf::lang::Exception::~Exception() (Exception.cpp:107) ==4055==by 0x588BBA4: cms::CMSException::~CMSException() (auto_ptr.h:170) ==4055==by 0x5F090F8: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x4034E7: SimpleAsyncConsumer::cleanup() (test.cpp:211) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055== Address 0x8427600 is 128 bytes inside a block of size 144 free'd ==4055==at 0x4C2A739: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4055==by 0x56747E8: activemq::core::ActiveMQConnection::close() (ActiveMQConnection.cpp:714) ==4055==by 0x4033F1: SimpleAsyncConsumer::cleanup() (test.cpp:210) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055== ==4055== Invalid free() / delete / delete[] / realloc() ==4055==at 0x4C2A44B: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4055==by 0x58E546C: decaf::lang::Exception::~Exception() (Pointer.h:148) ==4055==by 0x58E5538: decaf::lang::Exception::~Exception() (Exception.cpp:107) ==4055==by 0x588BBA4: cms::CMSException::~CMSException() (auto_ptr.h:170) ==4055==by 0x5F090F8: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x4034E7: SimpleAsyncConsumer::cleanup() (test.cpp:211) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055== Address 0x8427600 is 128 bytes inside a block of size 144 free'd ==4055==at 0x4C2A739: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4055==by 0x56747E8: activemq::core::ActiveMQConnection::close() (ActiveMQConnection.cpp:714) ==4055==by 0x4033F1: SimpleAsyncConsumer::cleanup() (test.cpp:210) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) {noformat} I believe the bug is
[jira] [Updated] (AMQCPP-466) Segmentation Fault in Temporary Queue consumer (incorrect Exception construction)
[ https://issues.apache.org/jira/browse/AMQCPP-466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aaron Riekenberg updated AMQCPP-466: Description: I have a program that creates a TemporaryQueue consumer in CMS. It listens for exceptions from CMS and tries to close and recreate the connection when an exception happens. I'm finding the program crashes sometimes when closing the connection after an exception. I can't recreate this behavior with a consumer on a normal non-temporary queue or topic. I've extracted the issue into a small test program (test.cpp) that I'm attaching to this issue. Steps to reproduce: 1. Run activemq (activemq start) 2. Run attached test program 3. Stop activemq (activemq stop) 4. Restart activemq (activemq start) 5. Repeat steps 3 and 4. Eventually the test program will crash with a segmentation fault just after activemq is stopped and an exception is detected. If I run the test program in valgrind, I see this output: {noformat:title=Test Program Valgrind Output} ==4055== Invalid read of size 8 ==4055==at 0x58E64D5: decaf::lang::Pointerstd::exception const, decaf::util::concurrent::atomic::AtomicRefCounter::onDeleteFunc(std::exception const*) (in /home/aaron/amqcpp350/lib/libactivemq-cpp.so.15.0.0) ==4055==by 0x58E546C: decaf::lang::Exception::~Exception() (Pointer.h:148) ==4055==by 0x58E5538: decaf::lang::Exception::~Exception() (Exception.cpp:107) ==4055==by 0x588BBA4: cms::CMSException::~CMSException() (auto_ptr.h:170) ==4055==by 0x5F090F8: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x4034E7: SimpleAsyncConsumer::cleanup() (test.cpp:211) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055== Address 0x8427600 is 128 bytes inside a block of size 144 free'd ==4055==at 0x4C2A739: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4055==by 0x56747E8: activemq::core::ActiveMQConnection::close() (ActiveMQConnection.cpp:714) ==4055==by 0x4033F1: SimpleAsyncConsumer::cleanup() (test.cpp:210) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055== ==4055== Invalid write of size 8 ==4055==at 0x5F0817B: std::exception::~exception() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x5F081C8: std::exception::~exception() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x58E546C: decaf::lang::Exception::~Exception() (Pointer.h:148) ==4055==by 0x58E5538: decaf::lang::Exception::~Exception() (Exception.cpp:107) ==4055==by 0x588BBA4: cms::CMSException::~CMSException() (auto_ptr.h:170) ==4055==by 0x5F090F8: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x4034E7: SimpleAsyncConsumer::cleanup() (test.cpp:211) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055== Address 0x8427600 is 128 bytes inside a block of size 144 free'd ==4055==at 0x4C2A739: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4055==by 0x56747E8: activemq::core::ActiveMQConnection::close() (ActiveMQConnection.cpp:714) ==4055==by 0x4033F1: SimpleAsyncConsumer::cleanup() (test.cpp:210) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055== ==4055== Invalid free() / delete / delete[] / realloc() ==4055==at 0x4C2A44B: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4055==by 0x58E546C: decaf::lang::Exception::~Exception() (Pointer.h:148) ==4055==by 0x58E5538: decaf::lang::Exception::~Exception() (Exception.cpp:107) ==4055==by 0x588BBA4: cms::CMSException::~CMSException() (auto_ptr.h:170) ==4055==by 0x5F090F8: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x4034E7: SimpleAsyncConsumer::cleanup() (test.cpp:211) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055== Address 0x8427600 is 128 bytes inside a block of size 144 free'd ==4055==at 0x4C2A739: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4055==by 0x56747E8: activemq::core::ActiveMQConnection::close() (ActiveMQConnection.cpp:714) ==4055==by 0x4033F1: SimpleAsyncConsumer::cleanup() (test.cpp:210) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) {noformat} I believe the bug is ActiveMQConnection.cpp is doing this around line 714: {code:title=ActiveMQConnection.cpp line 716} 714 } catch (std::exception stdex) { 715 if (!hasException) { 716 ex = Exception(stdex); 717 ex.setMark(__FILE__, __LINE__); 718 hasException = true; 719
[jira] [Commented] (AMQCPP-466) Segmentation Fault in Temporary Queue consumer (incorrect Exception construction)
[ https://issues.apache.org/jira/browse/AMQCPP-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13585374#comment-13585374 ] Timothy Bish commented on AMQCPP-466: - Give the latest SNAPSHOT a go, pretty sure this is already fixed. Segmentation Fault in Temporary Queue consumer (incorrect Exception construction) - Key: AMQCPP-466 URL: https://issues.apache.org/jira/browse/AMQCPP-466 Project: ActiveMQ C++ Client Issue Type: Bug Components: CMS Impl Affects Versions: 3.5.0 Environment: Ubuntu 12.10 x86_64, ActiveMQ 5.8.0 Reporter: Aaron Riekenberg Assignee: Timothy Bish Attachments: test.cpp I have a program that creates a TemporaryQueue consumer in CMS. It listens for exceptions from CMS and tries to close and recreate the connection when an exception happens. I'm finding the program crashes sometimes when closing the connection after an exception. I can't recreate this behavior with a consumer on a normal non-temporary queue or topic. I've extracted the issue into a small test program (test.cpp) that I'm attaching to this issue. Steps to reproduce: 1. Run activemq (activemq start) 2. Run attached test program 3. Stop activemq (activemq stop) 4. Restart activemq (activemq start) 5. Repeat steps 3 and 4. Eventually the test program will crash with a segmentation fault just after activemq is stopped and an exception is detected. If I run the test program in valgrind, I see this output: {noformat:title=Test Program Valgrind Output} ==4055== Invalid read of size 8 ==4055==at 0x58E64D5: decaf::lang::Pointerstd::exception const, decaf::util::concurrent::atomic::AtomicRefCounter::onDeleteFunc(std::exception const*) (in /home/aaron/amqcpp350/lib/libactivemq-cpp.so.15.0.0) ==4055==by 0x58E546C: decaf::lang::Exception::~Exception() (Pointer.h:148) ==4055==by 0x58E5538: decaf::lang::Exception::~Exception() (Exception.cpp:107) ==4055==by 0x588BBA4: cms::CMSException::~CMSException() (auto_ptr.h:170) ==4055==by 0x5F090F8: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x4034E7: SimpleAsyncConsumer::cleanup() (test.cpp:211) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055== Address 0x8427600 is 128 bytes inside a block of size 144 free'd ==4055==at 0x4C2A739: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4055==by 0x56747E8: activemq::core::ActiveMQConnection::close() (ActiveMQConnection.cpp:714) ==4055==by 0x4033F1: SimpleAsyncConsumer::cleanup() (test.cpp:210) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055== ==4055== Invalid write of size 8 ==4055==at 0x5F0817B: std::exception::~exception() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x5F081C8: std::exception::~exception() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x58E546C: decaf::lang::Exception::~Exception() (Pointer.h:148) ==4055==by 0x58E5538: decaf::lang::Exception::~Exception() (Exception.cpp:107) ==4055==by 0x588BBA4: cms::CMSException::~CMSException() (auto_ptr.h:170) ==4055==by 0x5F090F8: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x4034E7: SimpleAsyncConsumer::cleanup() (test.cpp:211) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055== Address 0x8427600 is 128 bytes inside a block of size 144 free'd ==4055==at 0x4C2A739: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4055==by 0x56747E8: activemq::core::ActiveMQConnection::close() (ActiveMQConnection.cpp:714) ==4055==by 0x4033F1: SimpleAsyncConsumer::cleanup() (test.cpp:210) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055== ==4055== Invalid free() / delete / delete[] / realloc() ==4055==at 0x4C2A44B: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4055==by 0x58E546C: decaf::lang::Exception::~Exception() (Pointer.h:148) ==4055==by 0x58E5538: decaf::lang::Exception::~Exception() (Exception.cpp:107) ==4055==by 0x588BBA4: cms::CMSException::~CMSException() (auto_ptr.h:170) ==4055==by 0x5F090F8: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x4034E7: SimpleAsyncConsumer::cleanup() (test.cpp:211) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055== Address 0x8427600 is 128 bytes inside a block of
[jira] [Comment Edited] (AMQCPP-466) Segmentation Fault in Temporary Queue consumer (incorrect Exception construction)
[ https://issues.apache.org/jira/browse/AMQCPP-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13585374#comment-13585374 ] Timothy Bish edited comment on AMQCPP-466 at 2/24/13 2:02 PM: -- Give the latest SNAPSHOT a go, pretty sure this is already fixed. http://people.apache.org/~tabish/cms-3.6.x/ was (Author: tabish121): Give the latest SNAPSHOT a go, pretty sure this is already fixed. Segmentation Fault in Temporary Queue consumer (incorrect Exception construction) - Key: AMQCPP-466 URL: https://issues.apache.org/jira/browse/AMQCPP-466 Project: ActiveMQ C++ Client Issue Type: Bug Components: CMS Impl Affects Versions: 3.5.0 Environment: Ubuntu 12.10 x86_64, ActiveMQ 5.8.0 Reporter: Aaron Riekenberg Assignee: Timothy Bish Attachments: test.cpp I have a program that creates a TemporaryQueue consumer in CMS. It listens for exceptions from CMS and tries to close and recreate the connection when an exception happens. I'm finding the program crashes sometimes when closing the connection after an exception. I can't recreate this behavior with a consumer on a normal non-temporary queue or topic. I've extracted the issue into a small test program (test.cpp) that I'm attaching to this issue. Steps to reproduce: 1. Run activemq (activemq start) 2. Run attached test program 3. Stop activemq (activemq stop) 4. Restart activemq (activemq start) 5. Repeat steps 3 and 4. Eventually the test program will crash with a segmentation fault just after activemq is stopped and an exception is detected. If I run the test program in valgrind, I see this output: {noformat:title=Test Program Valgrind Output} ==4055== Invalid read of size 8 ==4055==at 0x58E64D5: decaf::lang::Pointerstd::exception const, decaf::util::concurrent::atomic::AtomicRefCounter::onDeleteFunc(std::exception const*) (in /home/aaron/amqcpp350/lib/libactivemq-cpp.so.15.0.0) ==4055==by 0x58E546C: decaf::lang::Exception::~Exception() (Pointer.h:148) ==4055==by 0x58E5538: decaf::lang::Exception::~Exception() (Exception.cpp:107) ==4055==by 0x588BBA4: cms::CMSException::~CMSException() (auto_ptr.h:170) ==4055==by 0x5F090F8: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x4034E7: SimpleAsyncConsumer::cleanup() (test.cpp:211) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055== Address 0x8427600 is 128 bytes inside a block of size 144 free'd ==4055==at 0x4C2A739: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4055==by 0x56747E8: activemq::core::ActiveMQConnection::close() (ActiveMQConnection.cpp:714) ==4055==by 0x4033F1: SimpleAsyncConsumer::cleanup() (test.cpp:210) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055== ==4055== Invalid write of size 8 ==4055==at 0x5F0817B: std::exception::~exception() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x5F081C8: std::exception::~exception() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x58E546C: decaf::lang::Exception::~Exception() (Pointer.h:148) ==4055==by 0x58E5538: decaf::lang::Exception::~Exception() (Exception.cpp:107) ==4055==by 0x588BBA4: cms::CMSException::~CMSException() (auto_ptr.h:170) ==4055==by 0x5F090F8: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x4034E7: SimpleAsyncConsumer::cleanup() (test.cpp:211) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055== Address 0x8427600 is 128 bytes inside a block of size 144 free'd ==4055==at 0x4C2A739: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4055==by 0x56747E8: activemq::core::ActiveMQConnection::close() (ActiveMQConnection.cpp:714) ==4055==by 0x4033F1: SimpleAsyncConsumer::cleanup() (test.cpp:210) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055== ==4055== Invalid free() / delete / delete[] / realloc() ==4055==at 0x4C2A44B: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4055==by 0x58E546C: decaf::lang::Exception::~Exception() (Pointer.h:148) ==4055==by 0x58E5538: decaf::lang::Exception::~Exception() (Exception.cpp:107) ==4055==by 0x588BBA4: cms::CMSException::~CMSException() (auto_ptr.h:170) ==4055==by 0x5F090F8: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x4034E7:
[jira] [Created] (AMQ-4343) activemq-web-console can't be installed on Karaf 2.2.x
Ioannis Canellos created AMQ-4343: - Summary: activemq-web-console can't be installed on Karaf 2.2.x Key: AMQ-4343 URL: https://issues.apache.org/jira/browse/AMQ-4343 Project: ActiveMQ Issue Type: Bug Affects Versions: 5.8.0 Reporter: Ioannis Canellos Fix For: 5.9.0 The bundle requires org.osgi.framework version 1.6.0 or higher. It should be able to also work with 1.5. -- 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
[jira] [Updated] (AMQ-4343) activemq-web-console can't be installed on Karaf 2.2.x
[ https://issues.apache.org/jira/browse/AMQ-4343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ioannis Canellos updated AMQ-4343: -- Attachment: AMQ-4343.patch activemq-web-console can't be installed on Karaf 2.2.x -- Key: AMQ-4343 URL: https://issues.apache.org/jira/browse/AMQ-4343 Project: ActiveMQ Issue Type: Bug Affects Versions: 5.8.0 Reporter: Ioannis Canellos Fix For: 5.9.0 Attachments: AMQ-4343.patch The bundle requires org.osgi.framework version 1.6.0 or higher. It should be able to also work with 1.5. -- 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
[jira] [Updated] (AMQ-4343) activemq-web-console can't be installed on Karaf 2.2.x
[ https://issues.apache.org/jira/browse/AMQ-4343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ioannis Canellos updated AMQ-4343: -- Patch Info: Patch Available activemq-web-console can't be installed on Karaf 2.2.x -- Key: AMQ-4343 URL: https://issues.apache.org/jira/browse/AMQ-4343 Project: ActiveMQ Issue Type: Bug Affects Versions: 5.8.0 Reporter: Ioannis Canellos Fix For: 5.9.0 Attachments: AMQ-4343.patch The bundle requires org.osgi.framework version 1.6.0 or higher. It should be able to also work with 1.5. -- 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
[jira] [Commented] (AMQ-4341) activemq-broker feature can not be installed when OBR is enabled
[ https://issues.apache.org/jira/browse/AMQ-4341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13585416#comment-13585416 ] Ioannis Canellos commented on AMQ-4341: --- There is an additional issue with the feature. activemq-osgi doesn't directly references the jms spec, so it doesn't get installed too. activemq-broker feature can not be installed when OBR is enabled Key: AMQ-4341 URL: https://issues.apache.org/jira/browse/AMQ-4341 Project: ActiveMQ Issue Type: Task Affects Versions: 5.8.0 Reporter: Gert Vanthienen While trying to integrate ActiveMQ 5.8.0 into ServiceMix 5.0.0, I bumped into 2 problems with the features descriptor on a Karaf-based container that has OBR resolution enabled for the Features service: * the activemq-http fragment is referring to a Fragment-Host called {{org.apache.activemq.activemq-core}}, which no longer exists * the xbean-spring bundle is marked with {{dependency=true}} but no other bundle is importing any packages from it, so it does not get installed - since {{activemq-karaf}} does need those packages to work properly, the easiest solution is probably to add a proper Import-Package header to that bundle. -- 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
[jira] [Updated] (AMQ-4341) activemq-broker feature can not be installed when OBR is enabled
[ https://issues.apache.org/jira/browse/AMQ-4341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ioannis Canellos updated AMQ-4341: -- Attachment: AMQ-4341.patch Attaching a patch that: i) removes dependency flag from xbean-spring ii) removes depedenct flag from jms spec iii) removes reference to the activemq-http bundle (since its part of the uberbundle) iv) Creates a new integration test that tests the installation of the activemq broker feature against obr. activemq-broker feature can not be installed when OBR is enabled Key: AMQ-4341 URL: https://issues.apache.org/jira/browse/AMQ-4341 Project: ActiveMQ Issue Type: Task Affects Versions: 5.8.0 Reporter: Gert Vanthienen Attachments: AMQ-4341.patch While trying to integrate ActiveMQ 5.8.0 into ServiceMix 5.0.0, I bumped into 2 problems with the features descriptor on a Karaf-based container that has OBR resolution enabled for the Features service: * the activemq-http fragment is referring to a Fragment-Host called {{org.apache.activemq.activemq-core}}, which no longer exists * the xbean-spring bundle is marked with {{dependency=true}} but no other bundle is importing any packages from it, so it does not get installed - since {{activemq-karaf}} does need those packages to work properly, the easiest solution is probably to add a proper Import-Package header to that bundle. -- 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
[jira] [Commented] (AMQCPP-466) Segmentation Fault in Temporary Queue consumer (incorrect Exception construction)
[ https://issues.apache.org/jira/browse/AMQCPP-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13585487#comment-13585487 ] Aaron Riekenberg commented on AMQCPP-466: - Thanks. I built your latest 3.6-SNAPSHOT in your directory and couldn't reproduce this problem with it. I wonder if there are more changes coming in this area? Couldn't help notice the TODO in [ActiveMQConnection::close|http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnection.cpp?view=markup]: {code} 706 // As TemporaryQueue and TemporaryTopic instances are bound to a connection 707 // we should just delete them after the connection is closed to free up memory 708 PointerIteratorPointerActiveMQTempDestination iterator(this-config-activeTempDestinations.values().iterator()); 709 710 try { 711 while (iterator-hasNext()) { 712 PointerActiveMQTempDestination dest = iterator-next(); 713 dest-close(); 714 } 715 } catch (cms::CMSException error) { 716 if (!hasException) { 717 //ex = Exception(new CMSException(error)); TODO 718 ex = Exception(); 719 ex.setMark(__FILE__, __LINE__); 720 hasException = true; 721 } 722 } {code} Segmentation Fault in Temporary Queue consumer (incorrect Exception construction) - Key: AMQCPP-466 URL: https://issues.apache.org/jira/browse/AMQCPP-466 Project: ActiveMQ C++ Client Issue Type: Bug Components: CMS Impl Affects Versions: 3.5.0 Environment: Ubuntu 12.10 x86_64, ActiveMQ 5.8.0 Reporter: Aaron Riekenberg Assignee: Timothy Bish Attachments: test.cpp I have a program that creates a TemporaryQueue consumer in CMS. It listens for exceptions from CMS and tries to close and recreate the connection when an exception happens. I'm finding the program crashes sometimes when closing the connection after an exception. I can't recreate this behavior with a consumer on a normal non-temporary queue or topic. I've extracted the issue into a small test program (test.cpp) that I'm attaching to this issue. Steps to reproduce: 1. Run activemq (activemq start) 2. Run attached test program 3. Stop activemq (activemq stop) 4. Restart activemq (activemq start) 5. Repeat steps 3 and 4. Eventually the test program will crash with a segmentation fault just after activemq is stopped and an exception is detected. If I run the test program in valgrind, I see this output: {noformat:title=Test Program Valgrind Output} ==4055== Invalid read of size 8 ==4055==at 0x58E64D5: decaf::lang::Pointerstd::exception const, decaf::util::concurrent::atomic::AtomicRefCounter::onDeleteFunc(std::exception const*) (in /home/aaron/amqcpp350/lib/libactivemq-cpp.so.15.0.0) ==4055==by 0x58E546C: decaf::lang::Exception::~Exception() (Pointer.h:148) ==4055==by 0x58E5538: decaf::lang::Exception::~Exception() (Exception.cpp:107) ==4055==by 0x588BBA4: cms::CMSException::~CMSException() (auto_ptr.h:170) ==4055==by 0x5F090F8: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x4034E7: SimpleAsyncConsumer::cleanup() (test.cpp:211) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055== Address 0x8427600 is 128 bytes inside a block of size 144 free'd ==4055==at 0x4C2A739: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4055==by 0x56747E8: activemq::core::ActiveMQConnection::close() (ActiveMQConnection.cpp:714) ==4055==by 0x4033F1: SimpleAsyncConsumer::cleanup() (test.cpp:210) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055== ==4055== Invalid write of size 8 ==4055==at 0x5F0817B: std::exception::~exception() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x5F081C8: std::exception::~exception() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x58E546C: decaf::lang::Exception::~Exception() (Pointer.h:148) ==4055==by 0x58E5538: decaf::lang::Exception::~Exception() (Exception.cpp:107) ==4055==by 0x588BBA4: cms::CMSException::~CMSException() (auto_ptr.h:170) ==4055==by 0x5F090F8: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x4034E7: SimpleAsyncConsumer::cleanup() (test.cpp:211) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055==
[jira] [Resolved] (AMQCPP-466) Segmentation Fault in Temporary Queue consumer (incorrect Exception construction)
[ https://issues.apache.org/jira/browse/AMQCPP-466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Timothy Bish resolved AMQCPP-466. - Resolution: Fixed Fix Version/s: 3.6.0 Fixed on trunk Segmentation Fault in Temporary Queue consumer (incorrect Exception construction) - Key: AMQCPP-466 URL: https://issues.apache.org/jira/browse/AMQCPP-466 Project: ActiveMQ C++ Client Issue Type: Bug Components: CMS Impl Affects Versions: 3.5.0 Environment: Ubuntu 12.10 x86_64, ActiveMQ 5.8.0 Reporter: Aaron Riekenberg Assignee: Timothy Bish Fix For: 3.6.0 Attachments: test.cpp I have a program that creates a TemporaryQueue consumer in CMS. It listens for exceptions from CMS and tries to close and recreate the connection when an exception happens. I'm finding the program crashes sometimes when closing the connection after an exception. I can't recreate this behavior with a consumer on a normal non-temporary queue or topic. I've extracted the issue into a small test program (test.cpp) that I'm attaching to this issue. Steps to reproduce: 1. Run activemq (activemq start) 2. Run attached test program 3. Stop activemq (activemq stop) 4. Restart activemq (activemq start) 5. Repeat steps 3 and 4. Eventually the test program will crash with a segmentation fault just after activemq is stopped and an exception is detected. If I run the test program in valgrind, I see this output: {noformat:title=Test Program Valgrind Output} ==4055== Invalid read of size 8 ==4055==at 0x58E64D5: decaf::lang::Pointerstd::exception const, decaf::util::concurrent::atomic::AtomicRefCounter::onDeleteFunc(std::exception const*) (in /home/aaron/amqcpp350/lib/libactivemq-cpp.so.15.0.0) ==4055==by 0x58E546C: decaf::lang::Exception::~Exception() (Pointer.h:148) ==4055==by 0x58E5538: decaf::lang::Exception::~Exception() (Exception.cpp:107) ==4055==by 0x588BBA4: cms::CMSException::~CMSException() (auto_ptr.h:170) ==4055==by 0x5F090F8: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x4034E7: SimpleAsyncConsumer::cleanup() (test.cpp:211) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055== Address 0x8427600 is 128 bytes inside a block of size 144 free'd ==4055==at 0x4C2A739: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4055==by 0x56747E8: activemq::core::ActiveMQConnection::close() (ActiveMQConnection.cpp:714) ==4055==by 0x4033F1: SimpleAsyncConsumer::cleanup() (test.cpp:210) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055== ==4055== Invalid write of size 8 ==4055==at 0x5F0817B: std::exception::~exception() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x5F081C8: std::exception::~exception() (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x58E546C: decaf::lang::Exception::~Exception() (Pointer.h:148) ==4055==by 0x58E5538: decaf::lang::Exception::~Exception() (Exception.cpp:107) ==4055==by 0x588BBA4: cms::CMSException::~CMSException() (auto_ptr.h:170) ==4055==by 0x5F090F8: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x4034E7: SimpleAsyncConsumer::cleanup() (test.cpp:211) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055== Address 0x8427600 is 128 bytes inside a block of size 144 free'd ==4055==at 0x4C2A739: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4055==by 0x56747E8: activemq::core::ActiveMQConnection::close() (ActiveMQConnection.cpp:714) ==4055==by 0x4033F1: SimpleAsyncConsumer::cleanup() (test.cpp:210) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055== ==4055== Invalid free() / delete / delete[] / realloc() ==4055==at 0x4C2A44B: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==4055==by 0x58E546C: decaf::lang::Exception::~Exception() (Pointer.h:148) ==4055==by 0x58E5538: decaf::lang::Exception::~Exception() (Exception.cpp:107) ==4055==by 0x588BBA4: cms::CMSException::~CMSException() (auto_ptr.h:170) ==4055==by 0x5F090F8: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17) ==4055==by 0x4034E7: SimpleAsyncConsumer::cleanup() (test.cpp:211) ==4055==by 0x402D05: SimpleAsyncConsumer::close() (test.cpp:94) ==4055==by 0x401EB6: main (test.cpp:278) ==4055== Address 0x8427600 is 128 bytes inside a block of size 144 free'd ==4055==
Build failed in Jenkins: ActiveMQ-Trunk-Deploy ยป ActiveMQ :: AMQP #727
See https://builds.apache.org/job/ActiveMQ-Trunk-Deploy/org.apache.activemq$activemq-amqp/727/changes Changes: [ceposta] Added tests for AMQP to JMS transformations -- [INFO] [INFO] [INFO] Building ActiveMQ :: AMQP 5.9-SNAPSHOT [INFO] [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ activemq-amqp --- [INFO] [INFO] --- maven-enforcer-plugin:1.0.1:enforce (default) @ activemq-amqp --- [INFO] [INFO] --- maven-bundle-plugin:2.3.7:cleanVersions (cleanVersions) @ activemq-amqp --- [INFO] [INFO] --- maven-remote-resources-plugin:1.3:process (default) @ activemq-amqp --- [INFO] [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 5 resources [INFO] Copying 3 resources [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ activemq-amqp --- [INFO] Compiling 16 source files to https://builds.apache.org/job/ActiveMQ-Trunk-Deploy/org.apache.activemq$activemq-amqp/ws/target/classes [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ activemq-amqp --- [INFO] [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] Copying 3 resources [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ activemq-amqp --- [INFO] [INFO] Compiling 7 source files to https://builds.apache.org/job/ActiveMQ-Trunk-Deploy/org.apache.activemq$activemq-amqp/ws/target/test-classes [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ activemq-amqp --- [INFO] [INFO] Surefire report directory: https://builds.apache.org/job/ActiveMQ-Trunk-Deploy/org.apache.activemq$activemq-amqp/ws/target/surefire-reports --- T E S T S --- [INFO] --- maven-surefire-plugin:2.10:test (default-test) @ activemq-amqp --- Results : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [JENKINS] Recording test results [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ activemq-amqp --- [INFO] Building jar: https://builds.apache.org/job/ActiveMQ-Trunk-Deploy/org.apache.activemq$activemq-amqp/ws/target/activemq-amqp-5.9-SNAPSHOT.jar [INFO] [INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @ activemq-amqp --- [INFO] [INFO] --- maven-enforcer-plugin:1.0.1:enforce (default) @ activemq-amqp --- [INFO] [INFO] --- maven-bundle-plugin:2.3.7:cleanVersions (cleanVersions) @ activemq-amqp --- Feb 25, 2013 3:20:13 AM hudson.maven.ExecutedMojo init WARNING: Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo [INFO] [INFO] --- maven-source-plugin:2.2:jar (attach-sources) @ activemq-amqp --- [INFO] Building jar: https://builds.apache.org/job/ActiveMQ-Trunk-Deploy/org.apache.activemq$activemq-amqp/ws/target/activemq-amqp-5.9-SNAPSHOT-sources.jar [INFO] [INFO] --- maven-javadoc-plugin:2.8.1:jar (attach-javadocs) @ activemq-amqp --- [INFO] Loading source files for package org.apache.activemq.transport.amqp... Constructing Javadoc information... Standard Doclet version 1.6.0_27 Building tree for all the packages and classes... Generating https://builds.apache.org/job/ActiveMQ-Trunk-Deploy/org.apache.activemq$activemq-amqp/ws/target/apidocs/org/apache/activemq/transport/amqp//ActiveMQJMSVendor.html... Generating https://builds.apache.org/job/ActiveMQ-Trunk-Deploy/org.apache.activemq$activemq-amqp/ws/target/apidocs/org/apache/activemq/transport/amqp//AmqpHeader.html... Generating https://builds.apache.org/job/ActiveMQ-Trunk-Deploy/org.apache.activemq$activemq-amqp/ws/target/apidocs/org/apache/activemq/transport/amqp//AmqpNioSslTransport.html... Generating https://builds.apache.org/job/ActiveMQ-Trunk-Deploy/org.apache.activemq$activemq-amqp/ws/target/apidocs/org/apache/activemq/transport/amqp//AmqpNioSslTransportFactory.html... Generating https://builds.apache.org/job/ActiveMQ-Trunk-Deploy/org.apache.activemq$activemq-amqp/ws/target/apidocs/org/apache/activemq/transport/amqp//AmqpNioTransport.html... Generating https://builds.apache.org/job/ActiveMQ-Trunk-Deploy/org.apache.activemq$activemq-amqp/ws/target/apidocs/org/apache/activemq/transport/amqp//AmqpNioTransportFactory.html... Generating https://builds.apache.org/job/ActiveMQ-Trunk-Deploy/org.apache.activemq$activemq-amqp/ws/target/apidocs/org/apache/activemq/transport/amqp//AmqpProtocolException.html... Generating https://builds.apache.org/job/ActiveMQ-Trunk-Deploy/org.apache.activemq$activemq-amqp/ws/target/apidocs/org/apache/activemq/transport/amqp//AMQPSslTransportFactory.html... Generating
Build failed in Jenkins: ActiveMQ-Trunk-Deploy #727
See https://builds.apache.org/job/ActiveMQ-Trunk-Deploy/727/changes Changes: [ceposta] Added tests for AMQP to JMS transformations -- [...truncated 12764 lines...] [INFO] [INFO] Skipping ActiveMQ :: Web [INFO] This project has been banned from the build due to previous failures. [INFO] [INFO] [INFO] [INFO] Skipping ActiveMQ :: Web Demo [INFO] This project has been banned from the build due to previous failures. [INFO] [INFO] [INFO] [INFO] Skipping ActiveMQ :: Web Console [INFO] This project has been banned from the build due to previous failures. [INFO] [INFO] [INFO] [INFO] Skipping ActiveMQ :: Integration Test :: Spring 3.1 [INFO] This project has been banned from the build due to previous failures. [INFO] [INFO] [INFO] [INFO] Skipping ActiveMQ :: Assembly [INFO] This project has been banned from the build due to previous failures. [INFO] [INFO] [INFO] Reactor Summary: [INFO] [INFO] ActiveMQ .. SUCCESS [27.742s] [INFO] ActiveMQ :: Openwire Generator SUCCESS [11.105s] [INFO] ActiveMQ :: Client SUCCESS [28.285s] [INFO] ActiveMQ :: Openwire Legacy Support ... SUCCESS [17.743s] [INFO] ActiveMQ :: JAAS .. SUCCESS [13.821s] [INFO] ActiveMQ :: Broker SUCCESS [24.202s] [INFO] ActiveMQ :: KahaDB Store .. SUCCESS [23.453s] [INFO] ActiveMQ :: STOMP Protocol SUCCESS [9.184s] [INFO] ActiveMQ :: MQTT Protocol . SUCCESS [8.933s] [INFO] ActiveMQ :: JDBC Store SUCCESS [9.849s] [INFO] ActiveMQ :: LevelDB Store . SUCCESS [55.097s] [INFO] ActiveMQ :: RA SUCCESS [13.612s] [INFO] ActiveMQ :: Pool .. SUCCESS [10.428s] [INFO] ActiveMQ :: Spring SUCCESS [18.861s] [INFO] ActiveMQ :: AMQP .. FAILURE [11.778s] [INFO] ActiveMQ :: Console ... SUCCESS [10.248s] [INFO] ActiveMQ :: Unit Tests SKIPPED [INFO] ActiveMQ :: Camel . SKIPPED [INFO] ActiveMQ :: HTTP Protocol Support . SKIPPED [INFO] ActiveMQ :: All JAR bundle SKIPPED [INFO] ActiveMQ :: File Server ... SKIPPED [INFO] ActiveMQ :: Log4j Appender SUCCESS [8.620s] [INFO] ActiveMQ :: Apache Karaf .. SKIPPED [INFO] ActiveMQ :: Karaf Integration Tests ... SKIPPED [INFO] ActiveMQ :: RAR ... SKIPPED [INFO] ActiveMQ :: Run Jar ... SUCCESS [6.374s] [INFO] ActiveMQ :: OSGi bundle ... SKIPPED [INFO] ActiveMQ :: Tooling ... SUCCESS [4.108s] [INFO] ActiveMQ :: Memory Usage Test Plugin .. SUCCESS [13.237s] [INFO] ActiveMQ :: Performance Test Plugin ... SUCCESS [10.218s] [INFO] ActiveMQ :: StartUp Plugin SUCCESS [9.133s] [INFO] ActiveMQ :: Web ... SKIPPED [INFO] ActiveMQ :: Web Demo .. SKIPPED [INFO] ActiveMQ :: Web Console ... SKIPPED [INFO] ActiveMQ :: Integration Test :: Spring 3.1 SKIPPED [INFO] ActiveMQ :: Assembly .. SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 5:54.531s [INFO] Finished at: Mon Feb 25 03:21:24 UTC 2013 [INFO] Final Memory: 120M/1295M [INFO]
[jira] [Updated] (AMQ-4336) Connection reset exception occurred on Bulk msg producer
[ https://issues.apache.org/jira/browse/AMQ-4336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tamilmaran updated AMQ-4336: Attachment: WAPSimulator.rar Bulk Message Simulator-ActiveMQ Producer Connection reset exception occurred on Bulk msg producer Key: AMQ-4336 URL: https://issues.apache.org/jira/browse/AMQ-4336 Project: ActiveMQ Issue Type: Bug Environment: ActiveMQ 5.6,NMS,C# Reporter: Tamilmaran Attachments: activemq.xml, WAPSimulator.rar I have a Bulk MSG producer which sends 1000 messages for every 4 seconds. But after an hour, Connection reset exception occurred for Bulk MSG producer:- 2013-02-18 21:45:45,149 | WARN | Transport Connection to: tcp://10.2.44.73:59355 failed: java.net.SocketException: Connection reset | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: ssl:///10.2.44.73:59355 10.2.44.73- Bulk MSG producer IP ActiveMQ is using File based cursor and producer control. Attached activeMQ config -- 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
[jira] [Updated] (AMQ-4336) Connection reset exception occurred on Bulk msg producer
[ https://issues.apache.org/jira/browse/AMQ-4336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tamilmaran updated AMQ-4336: Description: I have a Bulk MSG producer which sends 1000 messages for every 4 seconds. But after an hour, Connection reset exception occurred for Bulk MSG producer:- 2013-02-18 21:45:45,149 | WARN | Transport Connection to: tcp://10.2.44.73:59355 failed: java.net.SocketException: Connection reset | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: ssl:///10.2.44.73:59355 10.2.44.73- Bulk MSG producer IP ActiveMQ is using File based cursor and producer control. Attached activeMQ config file and producer app(WAPSimulator) was: I have a Bulk MSG producer which sends 1000 messages for every 4 seconds. But after an hour, Connection reset exception occurred for Bulk MSG producer:- 2013-02-18 21:45:45,149 | WARN | Transport Connection to: tcp://10.2.44.73:59355 failed: java.net.SocketException: Connection reset | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: ssl:///10.2.44.73:59355 10.2.44.73- Bulk MSG producer IP ActiveMQ is using File based cursor and producer control. Attached activeMQ config Connection reset exception occurred on Bulk msg producer Key: AMQ-4336 URL: https://issues.apache.org/jira/browse/AMQ-4336 Project: ActiveMQ Issue Type: Bug Environment: ActiveMQ 5.6,NMS,C# Reporter: Tamilmaran Attachments: activemq.xml, WAPSimulator.rar I have a Bulk MSG producer which sends 1000 messages for every 4 seconds. But after an hour, Connection reset exception occurred for Bulk MSG producer:- 2013-02-18 21:45:45,149 | WARN | Transport Connection to: tcp://10.2.44.73:59355 failed: java.net.SocketException: Connection reset | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: ssl:///10.2.44.73:59355 10.2.44.73- Bulk MSG producer IP ActiveMQ is using File based cursor and producer control. Attached activeMQ config file and producer app(WAPSimulator) -- 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
[jira] [Updated] (AMQ-4336) Connection reset exception occurred on Bulk msg producer
[ https://issues.apache.org/jira/browse/AMQ-4336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tamilmaran updated AMQ-4336: Description: I have a Bulk MSG producer which sends 1000 messages for every 4 seconds. But after an hour, 'Connection is already closed' error is logged on producer side. On ActiveMQ side, Following error has been logged. 2013-02-18 21:45:45,149 | WARN | Transport Connection to: tcp://10.2.44.73:59355 failed: java.net.SocketException: Connection reset | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: ssl:///10.2.44.73:59355 10.2.44.73- Bulk MSG producer IP ActiveMQ is using File based cursor and producer control. Attached activeMQ config file and producer app(WAPSimulator) was: I have a Bulk MSG producer which sends 1000 messages for every 4 seconds. But after an hour, Connection reset exception occurred for Bulk MSG producer:- 2013-02-18 21:45:45,149 | WARN | Transport Connection to: tcp://10.2.44.73:59355 failed: java.net.SocketException: Connection reset | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: ssl:///10.2.44.73:59355 10.2.44.73- Bulk MSG producer IP ActiveMQ is using File based cursor and producer control. Attached activeMQ config file and producer app(WAPSimulator) Connection reset exception occurred on Bulk msg producer Key: AMQ-4336 URL: https://issues.apache.org/jira/browse/AMQ-4336 Project: ActiveMQ Issue Type: Bug Environment: ActiveMQ 5.6,NMS,C# Reporter: Tamilmaran Attachments: activemq.xml, WAPSimulator.rar I have a Bulk MSG producer which sends 1000 messages for every 4 seconds. But after an hour, 'Connection is already closed' error is logged on producer side. On ActiveMQ side, Following error has been logged. 2013-02-18 21:45:45,149 | WARN | Transport Connection to: tcp://10.2.44.73:59355 failed: java.net.SocketException: Connection reset | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: ssl:///10.2.44.73:59355 10.2.44.73- Bulk MSG producer IP ActiveMQ is using File based cursor and producer control. Attached activeMQ config file and producer app(WAPSimulator) -- 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
[jira] [Updated] (AMQ-4336) SocketException: Connection reset exception occurred in ActiveMQ for Bulk msg producer
[ https://issues.apache.org/jira/browse/AMQ-4336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tamilmaran updated AMQ-4336: Summary: SocketException: Connection reset exception occurred in ActiveMQ for Bulk msg producer (was: Connection reset exception occurred on Bulk msg producer) SocketException: Connection reset exception occurred in ActiveMQ for Bulk msg producer -- Key: AMQ-4336 URL: https://issues.apache.org/jira/browse/AMQ-4336 Project: ActiveMQ Issue Type: Bug Environment: ActiveMQ 5.6,NMS,C# Reporter: Tamilmaran Attachments: activemq.xml, WAPSimulator.rar I have a Bulk MSG producer which sends 1000 messages for every 4 seconds. But after an hour, 'Connection is already closed' error is logged on producer side. On ActiveMQ side, Following error has been logged. 2013-02-18 21:45:45,149 | WARN | Transport Connection to: tcp://10.2.44.73:59355 failed: java.net.SocketException: Connection reset | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: ssl:///10.2.44.73:59355 10.2.44.73- Bulk MSG producer IP ActiveMQ is using File based cursor and producer control. Attached activeMQ config file and producer app(WAPSimulator) -- 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
[jira] [Updated] (AMQ-4336) SocketException: Connection reset exception occurred in ActiveMQ for Bulk message producer
[ https://issues.apache.org/jira/browse/AMQ-4336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tamilmaran updated AMQ-4336: Summary: SocketException: Connection reset exception occurred in ActiveMQ for Bulk message producer (was: SocketException: Connection reset exception occurred in ActiveMQ for Bulk msg producer) SocketException: Connection reset exception occurred in ActiveMQ for Bulk message producer -- Key: AMQ-4336 URL: https://issues.apache.org/jira/browse/AMQ-4336 Project: ActiveMQ Issue Type: Bug Environment: ActiveMQ 5.6,NMS,C# Reporter: Tamilmaran Attachments: activemq.xml, WAPSimulator.rar I have a Bulk MSG producer which sends 1000 messages for every 4 seconds. But after an hour, 'Connection is already closed' error is logged on producer side. On ActiveMQ side, Following error has been logged. 2013-02-18 21:45:45,149 | WARN | Transport Connection to: tcp://10.2.44.73:59355 failed: java.net.SocketException: Connection reset | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: ssl:///10.2.44.73:59355 10.2.44.73- Bulk MSG producer IP ActiveMQ is using File based cursor and producer control. Attached activeMQ config file and producer app(WAPSimulator) -- 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
[jira] [Updated] (AMQ-4336) SocketException: Connection reset exception occurred in ActiveMQ for Bulk message producer
[ https://issues.apache.org/jira/browse/AMQ-4336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tamilmaran updated AMQ-4336: Priority: Blocker (was: Major) SocketException: Connection reset exception occurred in ActiveMQ for Bulk message producer -- Key: AMQ-4336 URL: https://issues.apache.org/jira/browse/AMQ-4336 Project: ActiveMQ Issue Type: Bug Environment: ActiveMQ 5.6,NMS,C# Reporter: Tamilmaran Priority: Blocker Attachments: activemq.xml, WAPSimulator.rar I have a Bulk MSG producer which sends 1000 messages for every 4 seconds. But after an hour, 'Connection is already closed' error is logged on producer side. On ActiveMQ side, Following error has been logged. 2013-02-18 21:45:45,149 | WARN | Transport Connection to: tcp://10.2.44.73:59355 failed: java.net.SocketException: Connection reset | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: ssl:///10.2.44.73:59355 10.2.44.73- Bulk MSG producer IP ActiveMQ is using File based cursor and producer control. Attached activeMQ config file and producer app(WAPSimulator) -- 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
[jira] [Updated] (AMQ-4336) SocketException: Connection reset exception occurred in ActiveMQ for Bulk message producer
[ https://issues.apache.org/jira/browse/AMQ-4336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tamilmaran updated AMQ-4336: Description: I have a Bulk MSG producer which sends 1000 messages for every 4 seconds. And a durable subscriber in server side but not sure about its speed to consume all the messages in same rate as well as the producer. But after an hour, 'Connection is already closed' error is logged on producer side. On ActiveMQ side, Following error has been logged. 2013-02-18 21:45:45,149 | WARN | Transport Connection to: tcp://10.2.44.73:59355 failed: java.net.SocketException: Connection reset | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: ssl:///10.2.44.73:59355 10.2.44.73- Bulk MSG producer IP ActiveMQ is using File based cursor and producer control. Attached activeMQ config file and producer app(WAPSimulator) was: I have a Bulk MSG producer which sends 1000 messages for every 4 seconds. But after an hour, 'Connection is already closed' error is logged on producer side. On ActiveMQ side, Following error has been logged. 2013-02-18 21:45:45,149 | WARN | Transport Connection to: tcp://10.2.44.73:59355 failed: java.net.SocketException: Connection reset | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: ssl:///10.2.44.73:59355 10.2.44.73- Bulk MSG producer IP ActiveMQ is using File based cursor and producer control. Attached activeMQ config file and producer app(WAPSimulator) SocketException: Connection reset exception occurred in ActiveMQ for Bulk message producer -- Key: AMQ-4336 URL: https://issues.apache.org/jira/browse/AMQ-4336 Project: ActiveMQ Issue Type: Bug Environment: ActiveMQ 5.6,NMS,C# Reporter: Tamilmaran Priority: Blocker Attachments: activemq.xml, WAPSimulator.rar I have a Bulk MSG producer which sends 1000 messages for every 4 seconds. And a durable subscriber in server side but not sure about its speed to consume all the messages in same rate as well as the producer. But after an hour, 'Connection is already closed' error is logged on producer side. On ActiveMQ side, Following error has been logged. 2013-02-18 21:45:45,149 | WARN | Transport Connection to: tcp://10.2.44.73:59355 failed: java.net.SocketException: Connection reset | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: ssl:///10.2.44.73:59355 10.2.44.73- Bulk MSG producer IP ActiveMQ is using File based cursor and producer control. Attached activeMQ config file and producer app(WAPSimulator) -- 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