#27620 [Com]: Apache Child Segfaults Using OCI8 and "PutEnv"
| From: | paul dot g dot smith at cantos dot com | Date: | Tue, 21 Sep 2004 10:54:26 +0000 |
| Subject: | #27620 [Com]: Apache Child Segfaults Using OCI8 and "PutEnv" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-66488@lists.php.net to get a copy of this message | ||
ID: 27620
Comment by: paul dot g dot smith at cantos dot com
Reported By: bmuller at milchstrasse dot de
Status: Feedback
Bug Type: OCI8 related
Operating System: RedHat ES 3
PHP Version: 5CVS-2004-03-17 (dev)
New Comment:
This is a production system. I'm not in a position to install a debug
build on it unfortunately. We have to backtrack to PHP 4.3.6 for the
time being on that server, can't leave it faulty, as it's a live
webserver!
We'll endeavour to find a sacrificial system and install and reproduce
the problem on that - then we can do a backtrace - please bear with us
while we pull the bits together to do that.
FYI, the segfault is reproducible from PHP 4.3.8 through 4.3.9RC3 up to
and including 5.0.1. We're using Oracle client 9.2.0.1.0 on RH ES3.
Previous Comments:
------------------------------------------------------------------------
[2004-09-20 00:22:18] rasmus@php.net
Again, please provide a backtrace of that segfault.
http://bugs.php.net/bugs-generating-backtrace.php
------------------------------------------------------------------------
[2004-09-19 22:34:47] paul dot g dot smith at cantos dot com
We upgraded our PHP installation (running on RH 3.0ES) from 4.3.6 to
4.3.8 today.
Code previously working fine is now segfaulting 99% of the time inside
OCILogin(). Absolutely reproducible.
PHP was built from source both times. With 4.3.6 it worked fine. With
4.3.8 the segfault is solid and reproducible.
No other changes eg to the Oracle client installation.
Viz it can't be blamed on Oracle, the only thing that changed was the
PHP version, therefore suspicion is that it points at something broken
in the new version of PHP.
------------------------------------------------------------------------
[2004-03-17 04:11:35] derick@php.net
5$ that it crashes inside the Oracle library ;-)
------------------------------------------------------------------------
[2004-03-17 03:37:16] tony2001@php.net
You're right, ocilogon() doesn't connect, but it should generate
'ORA-12154: TNS:could not resolve service name' error as it does for
me.
It shouldn't segfault anyway.
------------------------------------------------------------------------
[2004-03-17 03:23:24] derick@php.net
Since when does putenv work? The libraries are initialized before the
script runs...
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/27620
--
Edit this bug report at http://bugs.php.net/?id=27620&edit=1