[PHP-DEV] PHP 4.0 Bug #6821 Updated: Segmentation fault when opening a php test page From: Bug Database (php-dev <email protected>)
Date: 09/27/00

ID: 6821
User Update by: mb38 <email protected>
Status: Open
Bug Type: OCI8 related
Description: Segmentation fault when opening a php test page

Awaiting feedback on this bug report!

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

[2000-09-21 18:07:08] mb38 <email protected>
Output from dbx is as follows

# dbx -I src httpd core
Type 'help' for help.
reading symbolic information ...
[using memory image in core]

Segmentation fault in sig_coredump at line 2742 in file "src/http_main.c"
"http_main.c" has only 2558 lines
(dbx) where
sig_coredump(sig = 11), line 2742 in "http_main.c"
alloca() at 0xd296a5ec
php_execute_script(0x2ff22730), line 1135 in "main.c"
apache_php_module_main(0x20140ff0, 0x0), line 89 in "sapi_apache.c"
send_php(0x20140ff0, 0x0, 0x20141a20), line 503 in "mod_php4.c"
send_parsed_php(0x20140ff0), line 514 in "mod_php4.c"
ap_invoke_handler(0x20140ff0), line 508 in "http_config.c"
process_request_internal(0x20140ff0), line 1215 in "http_request.c"
ap_process_request(0x20140ff0), line 1231 in "http_request.c"
unnamed block $b39, line 4177 in "http_main.c"
child_main(child_num_arg = 0), line 4177 in "http_main.c"
make_child(s = 0x2001e290, slot = 0, now = 969550169), line 4336 in "http_main.c
"
startup_children(number_to_start = 5), line 4363 in "http_main.c"
standalone_main(argc = 3, argv = 0x2ff22be0), line 4651 in "http_main.c"
http_main.main(argc = 3, argv = 0x2ff22be0), line 4978 in "http_main.c"
(dbx)

If this adds anything to the case.

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

[2000-09-20 21:56:09] mb38 <email protected>
Building php with...

./configure --with-apxs=/usr/local/apache/bin/apxs
--with-config-file-path=/server/httpd/conf
--enable-c9x-inline
--without-mysql
--enable-shared=all
--with-oci8=$ORACLE_HOME

with ORACLE_HOME correctly set. I Have Apache 1.3.12 compiled with:

/usr/vac/bin/cc -qlibansi -qansialias -lpthread

php is built with the same compiler/options

Compiles ok and apache starts ok. The header in the log states php 4.0.2 is loaded.

I have a test page...

<?php
phpinfo()
?>

When I try to load the page in a browser the apache instance seg faults.

I have built php exactly the same but minus the oci8 support and it works fine.

Any answers.

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

Full Bug description available at: http://bugs.php.net/?id=6821

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>