php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15126 Segfalt on startup when compiled with oci8
Submitted: 2002-01-20 18:07 UTC Modified: 2002-05-23 00:00 UTC
From: edink@php.net Assigned:
Status: No Feedback Package: Apache2 related
PHP Version: 4.0CVS-2002-01-2 OS: RedHat Linux 6.2
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2002-01-20 18:07 UTC] edink@php.net
Apache 2 segfaults on startup when php is configured with:
./configure --enable-debug --with-oci8 --with-apx2

Apache was configured with:
./configure  --enable-maintainer-mode --with-mpm=prefork --enable-so

On the same platform Apache 1.3 + Oracle 8.0.5 + php any
version function with no problems.

Backtrace:

#0  php_apache_sapi_send_headers (sapi_headers=0x812d660, tsrm_ls=0x812d5f8) at sapi_apache2.c:106
#1  0x2ad21d8c in sapi_send_headers (tsrm_ls=0x812d5f8) at SAPI.c:578
#2  0x2ad7dc1e in php_header () at head.c:58
#3  0x2ad26d71 in php_ub_body_write (str=0x7fffe3ec "OCIDebug: START php_mshutdown_oci<br />\n", 
    str_length=40, tsrm_ls=0x812d5f8) at output.c:461
#4  0x2ad2615c in php_body_write (str=0x7fffe3ec "OCIDebug: START php_mshutdown_oci<br />\n", 
    str_length=40, tsrm_ls=0x812d5f8) at output.c:99
#5  0x2ad1bf37 in php_printf (format=0x2add0db0 "OCIDebug: %s<br />\n") at main.c:355
#6  0x2ad41c82 in oci_debug (format=0x2add09c8 "START php_mshutdown_oci") at oci8.c:1031
#7  0x2ad410a9 in zm_shutdown_oci (type=1, module_number=7, tsrm_ls=0x812d5f8) at oci8.c:591
#8  0x2ad12a53 in module_destructor (module=0x81671a8) at zend_API.c:1124
#9  0x2ad147b3 in zend_hash_destroy (ht=0x2adfdc40) at zend_hash.c:541
#10 0x2ad0f3dc in zend_shutdown (tsrm_ls=0x812d5f8) at zend.c:490
#11 0x2ad1d7c7 in php_module_shutdown (tsrm_ls=0x812d5f8) at main.c:1000
#12 0x2ad1d78f in php_module_shutdown_wrapper (sapi_globals=0x2ade1000) at main.c:977
#13 0x2ad1b223 in php_apache_server_shutdown (tmp=0x0) at sapi_apache2.c:408
#14 0x2aae93ec in run_cleanups (c=0x812c2d8) at apr_pools.c:1713
#15 0x2aae876a in apr_pool_clear (pool=0x80aca60) at apr_pools.c:524
#16 0x807b7ce in main (argc=2, argv=0x7ffff994) at main.c:458

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-19 11:39 UTC] aaron@php.net
I hope you meant --with-apxs2= :)

Have you tried the latest CVS? Many recent changes were
made that could have affected this.
 [2002-05-23 00:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, 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".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 04:01:28 2024 UTC