Return-Path: X-Original-To: apmail-subversion-dev-archive@minotaur.apache.org Delivered-To: apmail-subversion-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3F17A969C for ; Mon, 2 Apr 2012 19:30:36 +0000 (UTC) Received: (qmail 69267 invoked by uid 500); 2 Apr 2012 19:30:36 -0000 Delivered-To: apmail-subversion-dev-archive@subversion.apache.org Received: (qmail 69229 invoked by uid 500); 2 Apr 2012 19:30:35 -0000 Mailing-List: contact dev-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@subversion.apache.org Received: (qmail 69222 invoked by uid 99); 2 Apr 2012 19:30:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2012 19:30:35 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [78.47.87.163] (HELO mx0.elegosoft.com) (78.47.87.163) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2012 19:30:26 +0000 Received: from localhost (localhost [127.0.0.1]) by mx0.elegosoft.com (Postfix) with ESMTP id 497BDDE8A7; Mon, 2 Apr 2012 21:30:06 +0200 (CEST) Received: from mx0.elegosoft.com ([127.0.0.1]) by localhost (mx0.elegosoft.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wP+zlHImSF3c; Mon, 2 Apr 2012 21:30:06 +0200 (CEST) Received: from daniel3.local (bzq-79-180-206-85.red.bezeqint.net [79.180.206.85]) by mx0.elegosoft.com (Postfix) with ESMTPSA id DA2B8DE895; Mon, 2 Apr 2012 21:30:05 +0200 (CEST) Date: Mon, 2 Apr 2012 22:29:09 +0300 From: Daniel Shahaf To: Branko =?utf-8?B?xIxpYmVq?= Cc: dev@subversion.apache.org Subject: Re: Subversion BDB doesn't work with Apache 2.4 event MPM Message-ID: <20120402192909.GF4711@daniel3.local> References: <87ty129j5h.fsf@stat.home.lan> <4F79F844.1070803@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4F79F844.1070803@apache.org> User-Agent: Mutt/1.5.20 (2009-06-14) Branko Čibej wrote on Mon, Apr 02, 2012 at 21:04:36 +0200: > On 02.04.2012 18:46, Philip Martin wrote: > > I am unable to run the Subversion regression tests for BDB and DAV with > > Apache 2.4 using the event MPM (the new default MPM in 2.4). Sometimes > > mod_dav_svn SEGVs causing tests to FAIL and sometimes the tests hang > > with mod_dav_svn spinning in a loop. The problems go away when I switch > > to the worker MPM (the old default MPM in 2.2). > > > > I'm not sure what the event MPM does that causes the problem. Here is a > > typical SEGV: > > > > #0 0x00007fb2017f8e96 in svn_error_clear (err=0x2031203920312038) > > at ../src/subversion/libsvn_subr/error.c:341 > > 341 while (err->child) > > (gdb) p err > > $1 = (svn_error_t *) 0x2031203920312038 > > (gdb) p err[0] > > Cannot access memory at address 0x2031203920312038 > > Looks like the DB_REGISTER dance biting us yet again. Pool lifetimes > most likely, it's a tricky bit of code. Hard to say for certain since I > don't know how the event MPM works. http://httpd.apache.org/docs/current/mod/event.html """To solve [the 'keep alive problem'], this MPM uses a dedicated thread to handle both the Listening sockets, all sockets that are in a Keep Alive state, and sockets where the handler and protocol filters have done their work and the only remaining thing to do is send the data to the client""" > > -- Brane >