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

From: Date: Fri, 29 Sep 2000 10:43:24 +0000
Subject: PHP 4.0 Bug #6938: --enable-force-cgi-redirect causes sig11 (see bug id 3010)
Groups: php.dev 
Request: Send a blank email to php-dev+get-33842@lists.php.net to get a copy of this message
From: tog@tog.net Operating system: FreeBSD 3.5-STABLE PHP version: 4.0.2 PHP Bug Type: Reproduceable crash Bug description: --enable-force-cgi-redirect causes sig11 (see bug id 3010) 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.\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: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Õ\001", opened_path = 0xa88 <Address 0xa88 out of bounds>, handle = { fd = -1077945780, fp = 0xbfbfda4c}, free_filename = 184 '¸'} s = 0xbfbfda54 "@Û¿¿" cgi_started = 0 behavior = 1 no_headers = 0 orig_optind = 1 orig_optarg = 0x0 argv0 = 0x0 global_vars = {head = 0x281664a0, tail = 0xbfbfda5c, size = 1, dtor = 0xbfbfda54, persistent = 0 '\000', traverse_ptr = 0xbfbfda4c} interactive = 0 #3 0x8064041 in _start () No symbol table info available.

« previous php.dev (#33842) next »