PHP 4.0 Bug #6821 Updated: Segmentation fault when opening a php test page
| From: | sniper@php.net | Date: | Wed, 10 Jan 2001 12:41:11 +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-43671@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:
There have been a lots of fixes in both PHP and Zend after 4.0.2 was released.
Another thing, did you set the environment variables (for Oracle) before starting
apache? Please check: http://www.php.net/manual/ref.oci8.php
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-01-10 04:18:36] mb38@onyx.net
Haven't tried a newer version of PHP. What exactly would be the point of this exercise? Is
there a specific change or area of change in the later versions that could have an influence? If not
then trying a newer version won't reveal anything about the problem.
I haven't tried the snapshot either. To be honest I don't know what a snapshot is.
I've searched the php site for info about snapshots and trawled through the FAQ. I've even
searched the Zend site. There's nothing to be found. In the absence of info I don't want
to waste my time downloading something that I know nothing about.
Mark
---------------------------------------------------------------------------
[2001-01-07 19:44:15] sniper@php.net
Does this happen with PHP 4.0.4 ?
Or with latest snapshot from http://snaps.php.net/ ??
--Jani
---------------------------------------------------------------------------
[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.
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the comments,
please view the bug report online.
Full Bug description available at: http://bugs.php.net/?id=6821