From owner-freebsd-questions@FreeBSD.ORG Tue Jun 28 20:24:29 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9430106564A; Tue, 28 Jun 2011 20:24:29 +0000 (UTC) (envelope-from michaelobe@mjws.net) Received: from mail2.mjws.net (mail2.mjws.net [68.183.109.241]) by mx1.freebsd.org (Postfix) with ESMTP id C41F58FC15; Tue, 28 Jun 2011 20:24:29 +0000 (UTC) Received: from mail2.mjws.net (unknown [127.0.0.1]) by mail2.mjws.net (Postfix) with ESMTP id 7250CE9BB; Tue, 28 Jun 2011 20:09:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at mjws.net Received: from mail2.mjws.net ([127.0.0.1]) by mail2.mjws.net (mail2.mjws.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id PSV4Le465tx6; Tue, 28 Jun 2011 20:09:04 +0000 (UTC) Received: from [192.168.1.10] (home.mjws.net [68.183.109.181]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: mike@mjws.net) by mail2.mjws.net (Postfix) with ESMTPSA id 19A87E9B5; Tue, 28 Jun 2011 20:09:04 +0000 (UTC) Message-ID: <4E0A34DF.7000301@mjws.net> Date: Tue, 28 Jun 2011 13:09:03 -0700 From: Michael Maguire User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110502 Lightning/1.0b3pre Thunderbird/3.1.10 MIME-Version: 1.0 To: bug-followup@FreeBSD.org, michaelobe@mjws.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: ports/158374: databases/firebird21-client coredumps X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jun 2011 20:24:30 -0000 Hi everyone, I'm posting this to the bug and to freebsd-questions in case anyone can help me out with advice on how to investigate further. This is in regards to: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/158374 I'm not sure if I jumped the gun on submitting the PR because the fix only partially fixed it and the next problem may or may not be related. ===== Actually I played with this further and maybe these things are pertinent: Everything works fine on a FreeBSD 9 VM I have: FreeBSD 9.0-CURRENT #3: Sun Apr 3 20:41:14 PDT 2011 gcc (GCC) 4.2.2 20070831 prerelease [FreeBSD] I never had to patch anything and it is the exact same version of Firebird (and PHP). I did try patching the FreeBSD 8.2 machine (as described in the other PR) and it only sortof worked.... It connects to a firebird database and everything seems fine (it outputs data from the database) until the end of the script where it still segfaults. I should point out that php scripts that don't connect to firebird don't segfault and I tried eliminating all other extentsions. I'm not sure how to get a better backtrace (I tried compiling php/php-extenstions/firebird with debug and they aren't stripped): # gdb php php.core #0 0x000000080193a2d2 in ?? () [New Thread 8017041c0 (LWP 100293)] # file /usr/local/lib/php/20090626-debug/interbase.so /usr/local/lib/php/20090626-debug/interbase.so: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, not stripped /usr/local/lib/libfbclient.so.2.1.3: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, not stripped gcc on the FreeBSD 8.2 box: gcc (GCC) 4.2.1 20070719 Thanks, Mike PS Firebird itself works fine if run from isql-fb.