Return-Path: Delivered-To: apmail-perl-dev-archive@www.apache.org Received: (qmail 37679 invoked from network); 2 Jul 2004 05:29:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Jul 2004 05:29:23 -0000 Received: (qmail 310 invoked by uid 500); 2 Jul 2004 05:29:46 -0000 Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 248 invoked by uid 500); 2 Jul 2004 05:29:45 -0000 Mailing-List: contact dev-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@perl.apache.org Received: (qmail 160 invoked by uid 99); 2 Jul 2004 05:29:43 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [142.132.65.108] (HELO theoryx5.uwinnipeg.ca) (142.132.65.108) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 01 Jul 2004 22:29:35 -0700 Received: from theoryx5.uwinnipeg.ca (localhost.localdomain [127.0.0.1]) by theoryx5.uwinnipeg.ca (8.12.8/8.12.8) with ESMTP id i625V2q9031201; Fri, 2 Jul 2004 00:31:02 -0500 Received: from localhost (randy@localhost) by theoryx5.uwinnipeg.ca (8.12.8/8.12.8/Submit) with ESMTP id i625V2dq031197; Fri, 2 Jul 2004 00:31:02 -0500 Date: Fri, 2 Jul 2004 00:31:02 -0500 (CDT) From: Randy Kobes To: Stas Bekman cc: dev@perl.apache.org, Joe Orton Subject: Re: [mp2] protocol/echo_bbs2 on Win32 In-Reply-To: <40E47CD9.7030405@stason.org> Message-ID: References: <40E47CD9.7030405@stason.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Thu, 1 Jul 2004, Stas Bekman wrote: > Randy Kobes wrote: > > The t/protocol/echo_bbs2 test on Win32 causes a crash > > (protocol/echo_bbs passes). The problem appears to be coming > > from apr_brigade_cleanup(), called from > > WrapXS/APR/Brigade/Brigade.xs - here's the output from the > > debugger: > > Philippe has posted this a few days ago with the complete trace: Sorry about that - I missed that. At least it's confirmation that the problem happens elsewhere (albeit on Win32 :) > I don't understand why it doesn't happen on my setup which > seems to be pretty close to philippe's one. I suppose it > just so happens that the freed memory is still valid on my > machine, due to different compilations. > > The problem appears to be in Apache, where some downstream > filter decides to free the brigade, rendering $bb->cleanup > useless, since you can't rely on $bb to be valid at all. > That just sucks. For what it's worth, I don't have such a problem on my linux machine (Apache/2.0.49 prefork, non-threaded perl-5.4); on Win32, the problem arose on Apache/2.0.50 winnt, perl-5.4 multithreaded (ActivePerl compatible). -- best regards, randy --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org For additional commands, e-mail: dev-help@perl.apache.org