PHP 4.0 Bug #6821 Updated: Segmentation fault when opening a php test page
| From: | sniper@php.net | Date: | Mon, 08 Jan 2001 00:44:15 +0000 |
| Subject: | PHP 4.0 Bug #6821 Updated: Segmentation fault when opening a php test page | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-43296@lists.php.net to get a copy of this message | ||
ID: 6821
Updated by: sniper
Reported By: mb38@onyx.net
Old-Status: Open
Status: Feedback
Bug Type: OCI8 related
Assigned To:
Comments:
Does this happen with PHP 4.0.4 ?
Or with latest snapshot from http://snaps.php.net/ ??
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-09-27 17:57:39] mb38@onyx.net
Awaiting feedback on this bug report!
---------------------------------------------------------------------------
[2000-09-21 18:07:08] mb38@onyx.net
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@onyx.net
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