Return-Path: X-Original-To: apmail-activemq-issues-archive@minotaur.apache.org Delivered-To: apmail-activemq-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2936818F82 for ; Mon, 1 Feb 2016 17:38:49 +0000 (UTC) Received: (qmail 87534 invoked by uid 500); 1 Feb 2016 17:38:40 -0000 Delivered-To: apmail-activemq-issues-archive@activemq.apache.org Received: (qmail 87491 invoked by uid 500); 1 Feb 2016 17:38:40 -0000 Mailing-List: contact issues-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list issues@activemq.apache.org Received: (qmail 87470 invoked by uid 99); 1 Feb 2016 17:38:39 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2016 17:38:39 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D4DED2C044E for ; Mon, 1 Feb 2016 17:38:39 +0000 (UTC) Date: Mon, 1 Feb 2016 17:38:39 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMQ-6142) ActiveMQBytesMessage decompress throws DataFormatException incorrect header check MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-6142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15126614#comment-15126614 ] ASF subversion and git services commented on AMQ-6142: ------------------------------------------------------ Commit aaa2fdd5418098b98595f9f85be8248da32aff7b in activemq's branch refs/heads/activemq-5.13.x from [~cshannon] [ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=aaa2fdd ] https://issues.apache.org/jira/browse/AMQ-6142 Fixing a race condition that exists in the decompress method of ActiveMQBytesMessage that can cause an invalid length to be read. (cherry picked from commit 5f7a81f9280fb65b8a3c1f85c4570a18d87fafd9) > ActiveMQBytesMessage decompress throws DataFormatException incorrect header check > --------------------------------------------------------------------------------- > > Key: AMQ-6142 > URL: https://issues.apache.org/jira/browse/AMQ-6142 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.10.2, 5.12.1, 5.11.3, 5.13.0 > Reporter: Claudio Tagliola > Assignee: Christopher L. Shannon > Attachments: Client.java, MessageListener.java, Server.java, pom.xml > > > In our environment we use an embedded broker. On one topic where compression is enabled, the server is also listening in on the messages. From ActiveMQ 5.10.0 up to 5.13.0, we encounter DataFormatException: incorrect header check exceptions on the tcp clients due to corruption of the payload. Attached are a test server and client. At some point, the client will exit due to mentioned exception. Increase chances by running multiple clients. This scenario works with 5.8.0 and 5.9.1. > If the server has multiple consumers on the same topic, they will encounter corruption as well, but this has other side-effects. -- This message was sent by Atlassian JIRA (v6.3.4#6332)