ID:               15591
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           No Feedback
+Status:           Closed
 Bug Type:         Apache2 related
 Operating System: Mandrake 8.1
 PHP Version:      4.1.1
 New Comment:

This bug has been fixed in CVS.




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

[2002-03-18 00:00:04] [EMAIL PROTECTED]

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".

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

[2002-03-09 22:34:43] [EMAIL PROTECTED]

Well,

PHP4 is officially broken on Mandrake 8.2 + Oracle 9i. I tested this
with the latest
CVS from PHP4 as well as Apache. Still coredumps:
#0  php_apache_sapi_send_headers (sapi_headers=0x813a328,
tsrm_ls=0x8133458)
    at
/software/compile/php4-200203091200/sapi/apache2filter/sapi_apache2.c:106
106             ctx->f->r->status = SG(sapi_headers).http_response_code;
(gdb) bt
#0  php_apache_sapi_send_headers (sapi_headers=0x813a328,
tsrm_ls=0x8133458)
    at
/software/compile/php4-200203091200/sapi/apache2filter/sapi_apache2.c:106
#1  0x40480875 in sapi_send_headers (tsrm_ls=0x8133458)
    at /software/compile/php4-200203091200/main/SAPI.c:578
#2  0x4042ec86 in php_header ()
    at /software/compile/php4-200203091200/ext/standard/head.c:58
#3  0x4048560e in php_ub_body_write (
    str=0xbfffdef0 "OCIDebug: START php_mshutdown_oci<br />\n",
str_length=40, 
    tsrm_ls=0x8133458) at
/software/compile/php4-200203091200/main/output.c:475
#4  0x40484a1e in php_body_write (
    str=0xbfffdef0 "OCIDebug: START php_mshutdown_oci<br />\n",
str_length=40, 
    tsrm_ls=0x8133458) at
/software/compile/php4-200203091200/main/output.c:99
#5  0x4047abe6 in php_printf (format=0x404c9fb3 "OCIDebug: %s<br
/>\n")
    at /software/compile/php4-200203091200/main/main.c:355
#6  0x403f2e16 in oci_debug (format=0x404c9dd7 "START
php_mshutdown_oci")
    at /software/compile/php4-200203091200/ext/oci8/oci8.c:1043
#7  0x403f214c in zm_shutdown_oci (type=1, module_number=8,
tsrm_ls=0x8133458)
    at /software/compile/php4-200203091200/ext/oci8/oci8.c:592
#8  0x404a52ad in module_destructor (module=0x8177c40)
    at /software/compile/php4-200203091200/Zend/zend_API.c:1127
#9  0x404a6ef8 in zend_hash_destroy (ht=0x404f6160)
    at /software/compile/php4-200203091200/Zend/zend_hash.c:541
---Type <return> to continue, or q <return> to quit---
#10 0x404a1d3c in zend_shutdown (tsrm_ls=0x8133458)
    at /software/compile/php4-200203091200/Zend/zend.c:490
#11 0x4047c637 in php_module_shutdown (tsrm_ls=0x8133458)
    at /software/compile/php4-200203091200/main/main.c:1050
#12 0x4047c5f4 in php_module_shutdown_wrapper
(sapi_globals=0x404e3dc0)
    at /software/compile/php4-200203091200/main/main.c:1027
#13 0x404b6f11 in php_apache_server_shutdown (tmp=0x0)
    at
/software/compile/php4-200203091200/sapi/apache2filter/sapi_apache2.c:408
#14 0x4004025a in run_cleanups (c=0x8131970) at apr_pools.c:1653
#15 0x4003f592 in apr_pool_clear (pool=0x8092b98) at apr_pools.c:521
#16 0x0806635c in main (argc=2, argv=0xbffff574) at main.c:463
#17 0x401f7280 in __libc_start_main () from /lib/libc.so.6
(gdb) quit
[root@domin

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

[2002-02-22 02:37:51] [EMAIL PROTECTED]

Anyone got a fix for this ? I just tried the latest PHP4 and Apache2
snapshot ... same thing .. segmentation fault

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

[2002-02-17 05:56:36] [EMAIL PROTECTED]

It coredumped without --oci8 as well:
#0  0x404a5761 in ts_resource_ex (id=1, th_id=0x0) at TSRM.c:310
310     TSRM_SAFE_RETURN_RSRC(thread_resources->storage, id,
thread_resources->count);
(gdb) bt
#0  0x404a5761 in ts_resource_ex (id=1, th_id=0x0) at TSRM.c:310
#1  0x4042366a in php_module_startup (sf=0x404c96c0) at main.c:807
#2  0x404216cc in php_apache_server_startup (pconf=0x8096c78,
plog=0x80bed18, 
    ptemp=0x8149470, s=0x8098598) at sapi_apache2.c:428
#3  0x08065e3f in ap_run_post_config (pconf=0x8096c78, plog=0x80bed18,

    ptemp=0x8149470, s=0x8098598) at config.c:124
#4  0x0806a086 in main (argc=2, argv=0xbffff944) at main.c:491
#5  0x401f9370 in __libc_start_main () from /lib/libc.so.6

There ya go .. something is fishy in sapi_apache2.c

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

[2002-02-17 05:44:15] [EMAIL PROTECTED]

Opps, PHP4 configuration line:
./configure --prefix=/web --with-apxs2=/web/bin/apxs
--with-oci8=/opt/oracle/901/ --without-mysql
 --enable-sigchild

I have tried compiling it with the --with-tsrm-pth=pth-config option
and GNU Pth but it has too many conflicts with Mandrake 8.2's
libpthread and I did not feel like messing up the rest of my
environmental by renaming lib files, etc.

It won't core dump without --oci8 but WILL NOT START. 
apachectl start .. sends stuff to log file (initializing, etc.) then
kaput.

Muchas gracias!

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

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/15591

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

Reply via email to