ID:               15499
 Updated by:       [EMAIL PROTECTED]
-Reported By:      [EMAIL PROTECTED]
+Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         OCI8 related
 Operating System: Linux
 PHP Version:      4.1.1
 New Comment:

We see this same problem on Redhat 6.2 kernel version 2.2.19-6.3.  We
are using version 8.1.6.2 of the oracle client libraries with php 4.0.6
and php 4.1.1.


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

[2002-02-11 07:09:29] [EMAIL PROTECTED]

We run many sites with php4 and oracle.
On every site we have seen that Apache child processes crash after
about 10 to 20 requests.
We use different Linux Versions (RedHat 7.1, SuSe Linux 7.1, 7.3) and
also different php-Versions (php4.0.6, php4.1.1).
All these sites use Oracle as Database (oci8-Module).
We run other sites with PHP but without Oracle-Module and these sites
run stable.
We tried also PHP on W2K with IIS with the ISAPI Module with
Oci8-Support and we have the same effect, after 10 to 20 requests, the
Server stops serving PHP-Sites, ...
... this seems to be a bug in the oci8-Module of php.

below ldd of http and a gdb backtrace.
phpinfo can be requested from this url:
http://sqp.sft.jawa.at/test.php

ldd httpd
        libdl.so.2 => /lib/libdl.so.2 (0x40027000)
        libm.so.6 => /lib/libm.so.6 (0x4002a000)
        libldap.so.1 => /usr/lib/libldap.so.1 (0x40048000)
        liblber.so.1 => /usr/lib/liblber.so.1 (0x4005d000)
        libgd.so => /usr/local/lib/libgd.so (0x40062000)
        libt1.so.1 => /usr/local/lib/libt1.so.1 (0x4009d000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x400e0000)
        libpng.so.2 => /usr/lib/libpng.so.2 (0x40116000)
        libz.so.1 => /usr/local/lib/libz.so.1 (0x40142000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40151000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x40170000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x4019e000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x401af000)
        libclntsh.so.8.0 => /opt/oracle/OraHome1/lib/libclntsh.so.8.0
(0x401c5000)
        libc.so.6 => /lib/libc.so.6 (0x4077b000)
        libwtc8.so => /opt/oracle/OraHome1/lib/libwtc8.so (0x4088f000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x40891000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

gdb output:

pluto:/usr/local/apache/bin # gdb httpd
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-suse-linux"...
(gdb) run -X
Starting program: /usr/local/apache/bin/httpd -X
[New Thread 1024 (LWP 7211)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 7211)]
0x8159933 in zend_hash_index_find (ht=0x822ca44, h=11,
pData=0xbfffea98)
    at zend_hash.c:935
935                     if ((p->h == h) && (p->nKeyLength == 0)) {
(gdb) bt
#0  0x8159933 in zend_hash_index_find (ht=0x822ca44, h=11,
pData=0xbfffea98)
    at zend_hash.c:935
#1  0x815a54b in _zend_list_delete (id=11) at zend_list.c:53
#2  0x80aa637 in _oci_column_hash_dtor (data=0x8f0db04) at oci8.c:727
#3  0x815894a in zend_hash_destroy (ht=0x87db67c) at zend_hash.c:541
#4  0x80aa7f8 in _oci_stmt_list_dtor (rsrc=0x87db4b4) at oci8.c:771
#5  0x815a838 in list_entry_destructor (ptr=0x87db4b4) at
zend_list.c:177
#6  0x815aa67 in zend_destroy_rsrc_list (ht=0x822ca44) at
zend_list.c:248
#7  0x8148f97 in shutdown_executor () at zend_execute_API.c:196
#8  0x8152d84 in zend_deactivate () at zend.c:600
#9  0x806d71f in php_request_shutdown (dummy=0x0) at main.c:735
#10 0x815f596 in apache_php_module_main (r=0x828fe44,
display_source_mode=0)
    at sapi_apache.c:96
#11 0x806ac3e in send_php ()
#12 0x806aca6 in send_parsed_php ()
#13 0x8184509 in ap_invoke_handler ()
#14 0x8199f6f in process_request_internal ()
#15 0x8199fe2 in ap_process_request ()
#16 0x8190b96 in child_main ()
#17 0x8190d55 in make_child ()
#18 0x8190ed6 in startup_children ()
#19 0x819157d in standalone_main ()
#20 0x8191ddc in main ()
#21 0x40797baf in __libc_start_main () from /lib/libc.so.6

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


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

Reply via email to