Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 76548 invoked from network); 23 Jun 2006 23:25:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Jun 2006 23:25:22 -0000 Received: (qmail 44219 invoked by uid 500); 23 Jun 2006 23:25:20 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 44182 invoked by uid 500); 23 Jun 2006 23:25:20 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 44171 invoked by uid 99); 23 Jun 2006 23:25:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jun 2006 16:25:20 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of hanson.char@gmail.com designates 66.249.82.197 as permitted sender) Received: from [66.249.82.197] (HELO wx-out-0102.google.com) (66.249.82.197) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jun 2006 16:25:19 -0700 Received: by wx-out-0102.google.com with SMTP id s8so579959wxc for ; Fri, 23 Jun 2006 16:24:59 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=E3gCKiARviSR29BHo+4yenotMkMIdrdOJP/ZdQGQGjttLg0dFXM3XJlfDhcVMMhN1LNl/e/wKm8/qAqto1N/GG66WNzhHxSIE4o9BpeOlbq6HYGWqAu4TAhvmAWkvTqVGQwEAU0Et8gnlX+6iEF5meqBVKsg+zvMZaRQXv2sMzI= Received: by 10.70.32.20 with SMTP id f20mr5284023wxf; Fri, 23 Jun 2006 16:24:59 -0700 (PDT) Received: by 10.70.77.16 with HTTP; Fri, 23 Jun 2006 16:24:58 -0700 (PDT) Message-ID: Date: Fri, 23 Jun 2006 16:24:58 -0700 From: "Hanson Char" To: dev@directory.apache.org Subject: Data corruption in Mina 0.8.2 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I think I found a bug in Mina 0.8.2 that leads to data corruption when Mina is under high load. Specifically, in Mina 0.8.2, when invoked from IOAdapter$SessionHandlerAdapter.dowrite() the Queue.isEmpty() is not properly synchronized. I also found a get around to this problem with Java 5. More details here: http://hansonchar.blogspot.com/2006/06/bug-patch-mina-082.html Any comment? Is this already fixed in later releases ? Cheers, Hanson Char