Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 30448 invoked from network); 7 Jan 2007 14:42:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Jan 2007 14:42:10 -0000 Received: (qmail 10605 invoked by uid 500); 7 Jan 2007 14:42:17 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 10574 invoked by uid 500); 7 Jan 2007 14:42:16 -0000 Mailing-List: contact activemq-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-dev@geronimo.apache.org Received: (qmail 10564 invoked by uid 99); 7 Jan 2007 14:42:16 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Jan 2007 06:42:16 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Jan 2007 06:42:09 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 24D857142A7 for ; Sun, 7 Jan 2007 06:41:49 -0800 (PST) Message-ID: <18250450.1168180909120.JavaMail.jira@brutus> Date: Sun, 7 Jan 2007 06:41:49 -0800 (PST) From: "Nathan Mittler (JIRA)" To: activemq-dev@geronimo.apache.org Subject: [jira] Updated: (AMQCPP-38) Async error on broker when running integration tests In-Reply-To: <31335281.1167096242481.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQCPP-38?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nathan Mittler updated AMQCPP-38: --------------------------------- Fix Version/s: 1.1 > Async error on broker when running integration tests > ---------------------------------------------------- > > Key: AMQCPP-38 > URL: https://issues.apache.org/activemq/browse/AMQCPP-38 > Project: ActiveMQ C++ Client > Issue Type: Bug > Affects Versions: 1.1 > Reporter: Albert Strasheim > Assigned To: Nathan Mittler > Fix For: 1.1 > > > Brought over from the comments in AMQCPP-28. > Sometimes when running the integration tests against the AMQ broker from trunk, ones sees the following message from the broker: > ERROR Service - Async error occurred: > java.lang.IllegalStateException: Cannot remove a consumer that had not been registered: ID:xxx-36153-1166305227288-5:16:-1:1 > at org.apache.activemq.broker.TransportConnection.processRemoveConsumer(TransportConnection.java:593) > at org.apache.activemq.command.RemoveInfo.visit(RemoveInfo.java:64) > at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:287) > at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:178) > at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:65) > at org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:122) > at org.apache.activemq.transport.stomp.StompTransportFilter.sendToActiveMQ(StompTransportFilter.java:74) > at org.apache.activemq.transport.stomp.ProtocolConverter.sendToActiveMQ(ProtocolConverter.java:119) > at org.apache.activemq.transport.stomp.ProtocolConverter.onStompUnsubscribe(ProtocolConverter.java:379) > at org.apache.activemq.transport.stomp.ProtocolConverter.onStompCommad(ProtocolConverter.java:151) > at org.apache.activemq.transport.stomp.StompTransportFilter.onCommand(StompTransportFilter.java:64) > at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:84) > at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:137) > at java.lang.Thread.run(Thread.java:595) > Using the default activemq.xml, I can reproduce the IllegalStateException quite reliabily: > 1. Start a fresh copy of the broker (4.2 from yesterday's trunk) > 2. Run the integration test under Valgrind > 3. IllegalStateException happens at the end of integration::durable::DurableTester::test or at the start of integration::expiration::ExpirationTest::testExpired. > Subsequent test runs don't yield the error, until the broker is restarted. I don't know if this issue could be time-dependent - if it is, it could explain why I only see it when running under Valgrind. > On Linux, I also just got the following test failure for the first time (not running under Valgrind): > 1) test: integration::durable::DurableTester::test (E) > uncaught exception of unknown type -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira