Bug #12853 Updated: Crash when open_file_for_scanning is adding handle to CG(open_files)

From: Date: Mon, 17 Sep 2001 14:10:53 +0000
Subject: Bug #12853 Updated: Crash when open_file_for_scanning is adding handle to CG(open_files)
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-66116@lists.php.net to get a copy of this message
ID: 12853 User updated by: dacota@iis.nsk.su Reported By: dacota@iis.nsk.su Old Status: Open Status: Closed Bug Type: Reproducible crash Operating System: Windows NT 4.0 SP5 PHP Version: 4.0CVS-2001-08-27 New Comment: Fixed sapi/apache/mod_php4.h in version 1.15 Previous Comments: ------------------------------------------------------------------------ [2001-08-27 04:43:42] dacota@iis.nsk.su Checked with the latest sources - the problem remains. Back trace when running as apache module: zend_llist_add_element(_zend_llist * 0x0072a364, void * 0x011dfdb4) line 38 + 9 bytes open_file_for_scanning(_zend_file_handle * 0x011dfdb4, void * * * 0x00729040) line 274 + 31 bytes compile_file(_zend_file_handle * 0x011dfdb4, int 0x00000002, void * * * 0x00729040) line 356 + 13 bytes zend_execute_scripts(int 0x00000002, void * * * 0x00729040, int 0x00000001) line 804 + 18 bytes send_php(request_rec * 0x00882f30, int 0x00000000, char * 0x00000000) line 501 + 18 bytes send_parsed_php(request_rec * 0x00882f30) line 590 + 13 bytes ap_invoke_handler(request_rec * 0x00882f30) line 517 + 10 bytes process_request_internal(request_rec * 0x00882f30) line 1303 + 9 bytes ap_internal_redirect(const char * 0x00882f08, request_rec * 0x008822c0) line 1427 + 9 bytes handle_dir(request_rec * 0x008822c0) line 179 ap_invoke_handler(request_rec * 0x008822c0) line 517 + 10 bytes process_request_internal(request_rec * 0x008822c0) line 1303 + 9 bytes ap_process_request(request_rec * 0x008822c0) line 1319 + 9 bytes child_sub_main(int 0x00000000) line 5447 + 9 bytes child_main(int 0x00000000) line 5514 + 9 bytes MSVCRTD! 1020bf53() KERNEL32! 77f04ee8() ------------------------------------------------------------------------ [2001-08-20 04:19:22] dacota@iis.nsk.su Apache/1.3.19 (Win32) PHP/4.0.7-dev rus/PL30.4 Win32 TS Debug build, only compiled-in modules. any php scripts (i.e. <? php_info(); ?>) send_php: if (AP(in_request)) { zend_file_handle fh; fh.filename = r->filename; fh.opened_path = NULL; fh.free_filename = 0; fh.type = ZEND_HANDLE_FILENAME; > zend_execute_scripts(ZEND_INCLUDE TSRMLS_CC, 1, &fh); return OK; } we falling into this branch and CG struct isn't initialized since will initialize further in this function. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12853&edit=1

« previous php.dev (#66116) next »