Return-Path: X-Original-To: apmail-httpd-dev-archive@www.apache.org Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BF000D617 for ; Tue, 14 May 2013 19:36:17 +0000 (UTC) Received: (qmail 85573 invoked by uid 500); 14 May 2013 19:36:17 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 85505 invoked by uid 500); 14 May 2013 19:36:16 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 85490 invoked by uid 99); 14 May 2013 19:36:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 May 2013 19:36:16 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [209.20.83.52] (HELO gungnir.webthing.com) (209.20.83.52) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 May 2013 19:36:09 +0000 Received: from [192.168.0.3] (cpc20-newt30-2-0-cust112.newt.cable.virginmedia.com [77.99.243.113]) by gungnir.webthing.com (Postfix) with ESMTPSA id C3FF9E8C6F for ; Tue, 14 May 2013 19:35:48 +0000 (UTC) References: <78FB8419-356C-407B-93A8-830D8DD88EAB@sharp.fm> In-Reply-To: <78FB8419-356C-407B-93A8-830D8DD88EAB@sharp.fm> Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii Message-Id: <0CB43A52-AFE3-426B-B117-4B9CE8DDBE62@webthing.com> Content-Transfer-Encoding: quoted-printable From: Nick Kew Subject: Re: proxy segfault in httpd-trunk Date: Tue, 14 May 2013 20:35:47 +0100 To: dev@httpd.apache.org X-Mailer: Apple Mail (2.1085) X-Virus-Checked: Checked by ClamAV on apache.org On 14 May 2013, at 19:54, Graham Leggett wrote: > Hi all, >=20 > I am currently getting a segfault in the proxy during httpd-test, it = looks like conf->mutex is being used before being initialised: http://svn.eu.apache.org/viewvc?view=3Drevision&revision=3D1480627 The logic looks screwed to me: it's in create_proxy_config, and the merge just copies from base. If there's no proxy in the first vhost then you're likely in trouble! Should presumably be created server-wide in post- (or pre-)config and attached in child_init, if memory serves. --=20 Nick Kew=