From:             deviant at citiz dot net
Operating system: RedHat 8.0
PHP version:      4.3.6
PHP Bug Type:     Apache2 related
Bug description:  segmentation fault

Description:
------------
My apache2.0.49 always down when i browse a php page.
apache error_log shows
#tail /usr/local/apache/logs/error_log
[Tue Apr 20 13:20:49 2004] [notice] child pid 2117 exit signal
Segmentation fault (11)
[Tue Apr 20 13:22:26 2004] [notice] child pid 2103 exit signal
Segmentation fault (11)
[Tue Apr 20 13:22:27 2004] [notice] child pid 2119 exit signal
Segmentation fault (11)
[Tue Apr 20 13:22:30 2004] [notice] child pid 2124 exit signal
Segmentation fault (11)
[Tue Apr 20 13:22:30 2004] [notice] child pid 2115 exit signal
Segmentation fault (11)
[Tue Apr 20 13:24:15 2004] [notice] child pid 2131 exit signal
Segmentation fault (11)
[Tue Apr 20 13:25:33 2004] [notice] child pid 2143 exit signal
Segmentation fault (11)
[Tue Apr 20 13:25:33 2004] [notice] child pid 2142 exit signal
Segmentation fault (11)
[Tue Apr 20 13:25:45 2004] [notice] child pid 2132 exit signal
Segmentation fault (11)
[Tue Apr 20 13:25:45 2004] [notice] child pid 2126 exit signal
Segmentation fault (11)
[Tue Apr 20 13:25:45 2004] [notice] child pid 2123 exit signal
Segmentation fault (11)
[Tue Apr 20 13:25:45 2004] [notice] child pid 2116 exit signal
Segmentation fault (11)
[Tue Apr 20 13:27:27 2004] [notice] child pid 2122 exit signal
Segmentation fault (11)

My environment is
RedHat8.0
apache2.0.49
php4.3.6
oracle9.2.0.1

apache2#./configure --prefix=/usr/local/apache --enable-so

php4.3.6#./configure --prefix=/usr/local/php
--with-apxs2=/usr/local/apache/bin/apxs
--with-oracle=/export/oracle/product/9i
--with-oci8=/export/oracle/product/9i  --without-pcre --with-gd
--with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr
--with-xpm-dir=/usr


gdb /usr/local/apache/bin/httpd
run -X
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 8192 (LWP 2033)]
0x406c3e71 in snauca_check_adapter () from
/export/oracle/product/9i/lib/libclntsh.so.9.0
(gdb) bt
#0  0x406c3e71 in snauca_check_adapter () from
/export/oracle/product/9i/lib/libclntsh.so.9.0
#1  0x406c25f4 in nau_viat () from
/export/oracle/product/9i/lib/libclntsh.so.9.0
#2  0x406bb8ec in nau_gettab () from
/export/oracle/product/9i/lib/libclntsh.so.9.0
#3  0x406b9f6b in nau_ini () from
/export/oracle/product/9i/lib/libclntsh.so.9.0
#4  0x406af8d3 in nainit () from
/export/oracle/product/9i/lib/libclntsh.so.9.0
#5  0x40663f57 in nsnainit () from
/export/oracle/product/9i/lib/libclntsh.so.9.0
#6  0x4065929a in nsopen () from
/export/oracle/product/9i/lib/libclntsh.so.9.0
#7  0x406423b9 in nscall1 () from
/export/oracle/product/9i/lib/libclntsh.so.9.0
#8  0x406418f0 in nscall () from
/export/oracle/product/9i/lib/libclntsh.so.9.0
#9  0x406d8914 in niotns () from
/export/oracle/product/9i/lib/libclntsh.so.9.0
#10 0x406d4629 in nigcall () from
/export/oracle/product/9i/lib/libclntsh.so.9.0
#11 0x40671b73 in osncon () from
/export/oracle/product/9i/lib/libclntsh.so.9.0
#12 0x404ad8f3 in kpuadef () from
/export/oracle/product/9i/lib/libclntsh.so.9.0
#13 0x40530ac5 in upiini () from
/export/oracle/product/9i/lib/libclntsh.so.9.0
#14 0x4051fe1b in upiah0 () from
/export/oracle/product/9i/lib/libclntsh.so.9.0
#15 0x40487eb6 in kpuatch () from
/export/oracle/product/9i/lib/libclntsh.so.9.0
#16 0x40513f9c in OCIServerAttach () from
/export/oracle/product/9i/lib/libclntsh.so.9.0
#17 0x40214895 in _oci_open_server (dbname=0x81e40ac "XINTV",
persistent=0)
    at /usr/local/php-4.3.6/ext/oci8/oci8.c:2536
#18 0x40215409 in oci_do_connect (ht=3, return_value=0x81e552c,
this_ptr=0x0, return_value_used=1, 
    persistent=0, exclusive=0) at
/usr/local/php-4.3.6/ext/oci8/oci8.c:2701
#19 0x40219c44 in zif_ocilogon (ht=3, return_value=0x81e552c,
this_ptr=0x0, return_value_used=1)
    at /usr/local/php-4.3.6/ext/oci8/oci8.c:4340
#20 0x4031357e in execute (op_array=0x81cc0f4) at
/usr/local/php-4.3.6/Zend/zend_execute.c:1635
#21 0x403137b1 in execute (op_array=0x81dfa98) at
/usr/local/php-4.3.6/Zend/zend_execute.c:1679
#22 0x403137b1 in execute (op_array=0x818696c) at
/usr/local/php-4.3.6/Zend/zend_execute.c:1679
#23 0x40301e6b in zend_execute_scripts (type=8, retval=0x0, file_count=3)
    at /usr/local/php-4.3.6/Zend/zend.c:886
#24 0x402cbd80 in php_execute_script (primary_file=0xbffff7b0)
    at /usr/local/php-4.3.6/main/main.c:1731
---Type <return> to continue, or q <return> to quit---
#25 0x4031984d in php_handler (r=0x817c160)
    at /usr/local/php-4.3.6/sapi/apache2handler/sapi_apache2.c:561
#26 0x0807c436 in ap_run_handler (r=0x817c160) at config.c:152
#27 0x0807c94e in ap_invoke_handler (r=0x817c160) at config.c:358
#28 0x0806c5a7 in ap_process_request (r=0x817c160) at http_request.c:246
#29 0x08068681 in ap_process_http_connection (c=0x8177d18) at
http_core.c:250
#30 0x080855d2 in ap_run_process_connection (c=0x8177d18) at
connection.c:42
#31 0x0807afaf in child_main (child_num_arg=0) at prefork.c:609
#32 0x0807b15a in make_child (s=0x80b70e0, slot=0) at prefork.c:649
#33 0x0807b1b3 in startup_children (number_to_start=5) at prefork.c:721
#34 0x0807b8c1 in ap_mpm_run (_pconf=0x807a978, plog=0x80eca90,
s=0x80b70e0) at prefork.c:940
#35 0x0808086e in main (argc=2, argv=0xbffffb34) at main.c:617
#36 0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) 


-- 
Edit bug report at http://bugs.php.net/?id=28073&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28073&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28073&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28073&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28073&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28073&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28073&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28073&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28073&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28073&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28073&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28073&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28073&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28073&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28073&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28073&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28073&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28073&r=float

Reply via email to