PHP 4.0 Bug #6938 Updated: --enable-force-cgi-redirect causes sig11 (see bug id 3010)

From: Date: Wed, 01 Nov 2000 08:18:35 +0000
Subject: PHP 4.0 Bug #6938 Updated: --enable-force-cgi-redirect causes sig11 (see bug id 3010)
Groups: php.dev 
Request: Send a blank email to php-dev+get-36602@lists.php.net to get a copy of this message
ID: 6938 User Update by: tog@tog.net Status: Feedback Bug Type: Reproduceable crash Description: --enable-force-cgi-redirect causes sig11 (see bug id 3010) Sorry, no change. By the way, see http://www.tradeok.org/test.php if you want to see phpinfo() (gdb) bt full #0 0x0 in ?? () No symbol table info available. #1 0x80c45dc in php_body_write ( str=0x8130eba "<b>Security Alert!</b> PHP CGI cannot be accessed directly.\n\n<P>This PHP CGI binary was compiled with force-cgi-redirect enabled. This\nmeans that a page will only be served up if the REDIRECT_STATUS"..., str_length=933) at output.c:82 No locals. #2 0x8064554 in main (argc=1, argv=0xbfbfda38) at cgi_main.c:443 exit_status = 0 cgi = 1 c = -1077945684 i = -1077945792 len = -1077945684 file_handle = {type = 125 '}', filename = 0x2816b000 "z¸PÕ\001", opened_path = 0xa88 <Address 0xa88 out of bounds>, handle = { fd = -1077945808, fp = 0xbfbfda30}, free_filename = 184 '¸'} s = 0xbfbfda38 "(Û¿¿" cgi_started = 0 behavior = 1 no_headers = 0 orig_optind = 1 orig_optarg = 0x0 argv0 = 0x0 global_vars = {head = 0x2816d4a0, tail = 0xbfbfda40, size = 1, dtor = 0xbfbfda38, persistent = 0 '\000', traverse_ptr = 0xbfbfda30} interactive = 0 #3 0x80640c5 in _start () No symbol table info available. Previous Comments: --------------------------------------------------------------------------- [2000-11-01 02:25:45] andi@php.net Please check 4.0.3pl1 and let us know if it's fixed. --------------------------------------------------------------------------- [2000-09-29 06:43:24] tog@tog.net Problem from bug id 3010 still occurs with php 4.0.2. Compile php 4.0.2 with --enable-force-cgi-redirect. Attempt to access /cgi-bin/php directly. Instead of spitting out the security alert, php cores. Here's the updated full backtrace for php 4.0.2: (gdb) bt full #0 0x0 in ?? () No symbol table info available. #1 0x80c2fa4 in php_body_write ( str=0x812c430 "<b>Security Alert!</b> PHP CGI cannot be accessed directly.nn<P>This PHP CGI binary was compiled with force-cgi-redirect enabled. Thisnmeans that a page will only be served up if the REDIRECT_STATUS"..., str_length=933) at output.c:81 No locals. #2 0x80644cb in main (argc=1, argv=0xbfbfda54) at cgi_main.c:439 exit_status = 0 cgi = 1 c = -1077945660 i = -1077945764 len = -1077945660 file_handle = {type = 125 '}', filename = 0x28164000 "z¸PÕ

« previous php.dev (#36602) next »