Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jul 2007 11:59:18 -0700
From:      "Gordon Stratton" <tsr2600@gmail.com>
To:        "Simun Mikecin" <numisemis@yahoo.com>, freebsd-database@freebsd.org
Subject:   Re: PHP5 + oci8 consistently segfaults on script exit
Message-ID:  <679088c80707281159q2c906b4bn31ca7fcfdd2483a9@mail.gmail.com>
In-Reply-To: <876507.10863.qm@web36614.mail.mud.yahoo.com>
References:  <876507.10863.qm@web36614.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/28/07, Simun Mikecin <numisemis@yahoo.com> wrote:
> Could you please try these and send feedback:
>
> 1) Try the same using PDO_OCI instead of oci8 extension
> 2) Try with this combination: apache 2.0 (port compiled with WITH_THREADS) + php + oci8 extension
> 3) Try with this combination: apache 2.0 (port compiled with WITH_THREADS) + php + PDO_OCI
>
> 2) and 3) should be triggered by HTTP request.

Hey Simun,

1) Segfaults on exit, same as oci8.

2) Does not segfault.

3) Does not segfault.

In my situation, everything works like a charm up until the module is
unloaded via dlclose(3).  My guess is that since mod_php doesn't
unload/reload PHP modules across requests that this is the reason it is
not segfaulting with httpd, but segfaulting with CLI PHP.

Thanks,

Gordon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?679088c80707281159q2c906b4bn31ca7fcfdd2483a9>