Re: [PHP-DEV] PHP 4.0 Bug #6821 Updated: Segmentation fault when opening a php test page From: Rasmus Lerdorf (rasmus <email protected>)
Date: 01/10/01

http://snaps.php.net

On 10 Jan 2001 mb38 <email protected> wrote:

> ID: 6821
> User Update by: mb38 <email protected>
> Old-Status: Feedback
> Status: Open
> Bug Type: OCI8 related
> Description: Segmentation fault when opening a php test page
>
> 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
>
> Previous Comments:
> ---------------------------------------------------------------------------
>
> [2001-01-07 19:44:15] sniper <email protected>
> 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 <email protected>
> Awaiting feedback on this bug report!
>
> ---------------------------------------------------------------------------
>
> [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>
>

-- 
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>