Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 71035 invoked from network); 5 Jul 2006 15:49:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Jul 2006 15:49:24 -0000 Received: (qmail 61712 invoked by uid 500); 5 Jul 2006 15:49:15 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 61697 invoked by uid 500); 5 Jul 2006 15:49:15 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 61678 invoked by uid 99); 5 Jul 2006 15:49:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jul 2006 08:49:14 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [82.130.70.13] (HELO xsmtp1.ethz.ch) (82.130.70.13) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jul 2006 08:49:13 -0700 Received: from xfe1.d.ethz.ch ([82.130.124.41]) by xsmtp1.ethz.ch with Microsoft SMTPSVC(6.0.3790.2499); Wed, 5 Jul 2006 17:48:51 +0200 Received: from [129.132.57.95] ([129.132.57.95]) by xfe1.d.ethz.ch over TLS secured channel with Microsoft SMTPSVC(6.0.3790.2499); Wed, 5 Jul 2006 17:48:50 +0200 Message-ID: <44ABDF62.1010201@id.ethz.ch> Date: Wed, 05 Jul 2006 17:48:50 +0200 From: Matteo Corti Organization: ETH Zurich User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051201 Thunderbird/1.5 Mnenhy/0.7.3.0 MIME-Version: 1.0 To: users@httpd.apache.org References: <44AA8256.8030801@id.ethz.ch> In-Reply-To: X-Enigmail-Version: 0.94.0.0 OpenPGP: id=4820809B; url=http://matteocorti.ch Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 05 Jul 2006 15:48:50.0706 (UTC) FILETIME=[82AD5720:01C6A04A] X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] segmentation fault with SSLCertificateChainFile X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Joshua Slive wrote: > On 7/4/06, Matteo Corti wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Hi, >> >> I am managing several web servers with a very similar configuration. On >> one instance I get a segmentation fault if I specify the >> SSLCertificateChainFile option (I am using 2.0.58). >> >> If I remove the directive the problem disappears. >> >> - - the certificate file is OK (it is the very same file I use for other >> instances which are working w/o problems) >> >> - - executing httpd with strace I get the following >> > > http://httpd.apache.org/dev/debugging.html > Dear Joshua. many thanks but I hoped that there was something easier that I was missing. In any case I recompiled httpd with debugging support and discovered the following: httpd is crashing in 0x0044feaa in sk_pop_free () from /usr/pack/openssl-0.9.8b-mc/lib/libcrypto.so.0.9.8 (gdb) bt #0 0x0051f39a in sk_pop_free () from /usr/pack/openssl-0.9.8b-mc/lib/libcrypto.so.0.9.8 #1 0x0928e458 in ?? () #2 0x092dcb50 in ?? () #3 0xbfffc4c8 in ?? () #4 0x0040d9f7 in SSL_CTX_use_certificate_chain (ctx=0x0, file=0xc14d90 "S\203�\f�", skipfirst=16302628, cb=0x3fc820 ) at ssl_util_ssl.c:488 Previous frame inner to this frame (corrupt stack?) Now: I know that I could begin to analyze the sources and debug them to see why it is crashing but my laziness makes me ask again if someone had some previous experience with a similar problem (i.e., segfaults using chained SSL certificates). If this a new issue I suppose I'll have to dig into the source by myself :-) Thanks again, Matteo Corti - -- Matteo Corti ETH Zurich Informatikdienste / Basisdienste matteo.corti@id.ethz.ch -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) iD8DBQFEq99iLEG/T0gggJsRAk8dAKCYs4+tFskt6QxLLM9oNmzQTvtXVACgoLJj TQBIn7BxW6djpFisodihU5A= =YXDT -----END PGP SIGNATURE----- --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org