Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jun 2011 13:09:03 -0700
From:      Michael Maguire <michaelobe@mjws.net>
To:        bug-followup@FreeBSD.org, michaelobe@mjws.net
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ports/158374: databases/firebird21-client coredumps
Message-ID:  <4E0A34DF.7000301@mjws.net>

Next in thread | Raw E-Mail | Index | Archive | Help
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.






Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4E0A34DF.7000301>