ID:               28603
 Updated by:       [EMAIL PROTECTED]
 Reported By:      uncle at fedor dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         OCI8 related
 Operating System: SuSE Linux 8.2
 PHP Version:      4.3.7
 New Comment:

Option d: give up and use prefork. A threaded apache is not going to
buy you much on linux anyway. (And there is also another bug about this
same issue, but can't find it, so I'm closing this one as "bogus")


Previous Comments:
------------------------------------------------------------------------

[2004-07-06 14:51:17] uncle at fedor dot com

I tried to generate a backtrace according to a standard procedure, but
as soon as httpd2-worker is started with the -X switch, it *does not*
die when 'apache2ctl graceful' command is issued.

That tells me the following: when Apache is run with the -X switch only
1 thread is started. Normally there is more than one thread (it is a
-worker). Therefore one could assume the segmentation fault happens
because of multiple threads and OCI8 module incompatibility.

httpd2-prefork also works fine with OCI8 module by the way.

The above poses a few questions:

a) Is OCI8 module not thread-safe?
b) Is it a problem of Oracle 9.0.2 Client libraries?
c) Can the problem be traced futher?
d) Shall I give up and use the prefork mpm?

Thanks!

------------------------------------------------------------------------

[2004-06-11 01:00:03] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2004-06-02 08:23:18] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

------------------------------------------------------------------------

[2004-06-01 14:57:14] uncle at fedor dot com

Description:
------------
It looks like a similar bug (#27810) was fixed when compiled PHP with
PCRE support. Now the same behaviour occures for the OCI8 module.

Apache dies on graceful restart, only when OCI8 support is compiled in.

Reproduce code:
---------------
To reproduce:
- Install apache-2.0.49-worker (using official SuSE RPMs)
- Install Oracle 9.0.2 Client for Linux 32bit
- Compiled php-4.3.7RC1 with OCI8 support using apxs2
- run 'apachectl start'
- run 'apachectl graceful' and apache will die


Expected result:
----------------
The expected behaviour: apache2 should not die

Actual result:
--------------
The actual result: apache2 dies with the following error:

seg fault or similar nasty error detected in the parent process


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=28603&edit=1

Reply via email to