Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 23775 invoked from network); 14 Apr 2008 06:26:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Apr 2008 06:26:16 -0000 Received: (qmail 47499 invoked by uid 500); 14 Apr 2008 06:26:11 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 47441 invoked by uid 500); 14 Apr 2008 06:26:11 -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 47430 invoked by uid 99); 14 Apr 2008 06:26:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Apr 2008 23:26:11 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ioplex@gmail.com designates 209.85.200.175 as permitted sender) Received: from [209.85.200.175] (HELO wf-out-1314.google.com) (209.85.200.175) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Apr 2008 06:25:26 +0000 Received: by wf-out-1314.google.com with SMTP id 25so1512884wfa.15 for ; Sun, 13 Apr 2008 23:25:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Fa0sM93+BPxTMi6rl8VNvdfBHz8yX6wePrgKtDJU13Q=; b=jJFWbZeke7fBKN01ibDCyVANeDS5lM3WiKfhKtajoOTE2OaKG1Sge5b2TnOXbB0KcNbwX7y37wHxPLzFu9kN89o0gsgtNN9YJxQDy5NqObPBseFr951j4q6PSbcLqyJ0NSOB60wDRZfur3n/tVAqCG8AS7D26XohREXomBQY3Kc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TbftuJyBGHcynBTyakP8OEfpKMIKyY7oMy1O9lvMbi0WpjDu4QeNYfuMzQQe+uhT+deOAwqS8qOPPmrea3rheXteVBOKwJQ97oOW11CllMODv0mpYh6hTnp4g/D++08r6ADoVs7xub2DltpH8JigyTUFAOa4JG4FVldX2ZdX4ss= Received: by 10.142.139.19 with SMTP id m19mr1694795wfd.7.1208154339546; Sun, 13 Apr 2008 23:25:39 -0700 (PDT) Received: by 10.142.224.18 with HTTP; Sun, 13 Apr 2008 23:25:39 -0700 (PDT) Message-ID: <78c6bd860804132325r117c8ea1x2c631202a3b39644@mail.gmail.com> Date: Mon, 14 Apr 2008 02:25:39 -0400 From: "Michael B Allen" To: dev@httpd.apache.org Subject: Re: FPE in linux loader on custom PHP extension In-Reply-To: <78c6bd860804101352xc4fa9fej929712240316a6ed@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <78c6bd860804101352xc4fa9fej929712240316a6ed@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org On 4/10/08, Michael B Allen wrote: > Sorry this is a bit OT but I'm not sure what to do next and would > really appreciate some ideas. > > One of my clients is seeing an FPE in ld-linux-x86-64.so when loading > a custom PHP extension. The backtrace is inlined below. > > At least I assume it's blowing up loading my extension - with my > extension disabled, everything loads and runs ok. > > # gdb /usr/sbin/httpd2-prefork > GNU gdb 6.6 > Copyright (C) 2006 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "x86_64-suse-linux"... > (no debugging symbols found) > Using host libthread_db library "/lib64/libthread_db.so.1". > (gdb) run -X > Starting program: /usr/sbin/httpd2-prefork -X > (no debugging symbols found) > (no debugging symbols found) > (no debugging symbols found) > > [snipped] > > [Thread debugging using libthread_db enabled] > [New Thread 47783686579872 (LWP 11366)] > (no debugging symbols found) > (no debugging symbols found) > (no debugging symbols found) > > [snipped] > > Program received signal SIGFPE, Arithmetic exception. > [Switching to Thread 47783686579872 (LWP 11366)] > 0x00002b758030468f in do_lookup_x () from /lib64/ld-linux-x86-64.so.2 > (gdb) bt > #0 0x00002b758030468f in do_lookup_x () from /lib64/ld-linux-x86-64.so.2 This turned out to be a backward compatibility problem with .hash vs newer .hash.gnu sections in the libs. Google on "SIGFPE do_lookup_x" for details. Signing off, Mike -- Michael B Allen PHP Active Directory SPNEGO SSO http://www.ioplex.com/