Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 57723 invoked from network); 17 Jan 2011 18:31:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Jan 2011 18:31:12 -0000 Received: (qmail 29313 invoked by uid 500); 17 Jan 2011 18:31:12 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 29088 invoked by uid 500); 17 Jan 2011 18:31:09 -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 29071 invoked by uid 99); 17 Jan 2011 18:31:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jan 2011 18:31:08 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [76.96.30.80] (HELO qmta08.emeryville.ca.mail.comcast.net) (76.96.30.80) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jan 2011 18:31:00 +0000 Received: from omta06.emeryville.ca.mail.comcast.net ([76.96.30.51]) by qmta08.emeryville.ca.mail.comcast.net with comcast id wdoP1f00416AWCUA8iWfTd; Mon, 17 Jan 2011 18:30:39 +0000 Received: from [192.168.199.10] ([69.251.84.64]) by omta06.emeryville.ca.mail.comcast.net with comcast id wiWd1f00H1PGofZ8SiWfrn; Mon, 17 Jan 2011 18:30:39 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1082) Subject: Re: Startup crash for trunk on Solaris after proxy refactoring From: Jim Jagielski In-Reply-To: <4D34839F.1070108@kippdata.de> Date: Mon, 17 Jan 2011 13:30:37 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4D345623.5060705@kippdata.de> <4D34839F.1070108@kippdata.de> To: dev@httpd.apache.org X-Mailer: Apple Mail (2.1082) On Jan 17, 2011, at 12:59 PM, Rainer Jung wrote: > On 17.01.2011 15:45, Rainer Jung wrote: >> Hi, >>=20 >> I get a crash on Solaris Sparc during startup in the test suite after >> the proxy refactoring. Since it is a "Bus error" I wildly guess the = root >> cause is an alignment issue in the shared memory. Sparc ist sensible = to >> that and the only other Bus error or httpd I remember was wrong >> alignment in shm for mod_ssl shmcb (long ago). >=20 > In addition to the fix in slotmem (see previous mail) I suggest = hardening the balancer against future crashes by also aligning the slot = data at 8 byte boundaries (more precisely the APR default alignment): >=20 > http://people.apache.org/~rjung/patches/mod_proxy_alignment.patch >=20 Untested, but +1 for better alignment for slotmem in gen and how proxy uses it.