ID: 33987 Updated by: [EMAIL PROTECTED] Reported By: php dot net at sharpdreams dot com Status: Verified Bug Type: Apache2 related Operating System: Win32 (XP SP2) PHP Version: 5CVS-2005-08-03 New Comment:
Here's windows backtrace: _zend_hash_index_update_or_next_insert(_hashtable * 0x00764175, unsigned long 17273680, void * 0x00000000, unsigned int 115800552, void * * 0x0000000c, int 0) line 354 + 9 bytes zend_list_insert(void * 0x06eb0808, int 2) line 47 + 38 bytes zend_register_resource(_zval_struct * 0x00000000, void * 0x06eb0808, int 2) line 101 _php_stream_alloc(_php_stream_ops * 0x00a69ec8 _php_stream_stdio_ops, void * 0x06eb07b0, const char * 0x00000000, const char * 0x00943794 `string', void * * * 0x0103fd38) line 264 _php_stream_fopen_from_fd(int 3, const char * 0x00943794 `string', const char * 0x00000000, void * * * 0x0103fd38) line 204 + 22 bytes _php_stream_fopen(const char * 0x0078e843, const char * 0x01034e90, char * * 0x00943794 `string', int 115801692, void * * * 0x00000085) line 881 + 13 bytes _php_stream_fopen_with_path(char * 0x0078e10b, char * 0x01034e90, char * 0x00943794 `string', char * * 0x00953f6c `string', int 115801692, void * * * 0x00000085) line 1262 + 5 bytes php_plain_files_stream_opener(_php_stream_wrapper * 0x0079122c, char * 0x00a69f40 _php_plain_files_wrapper, char * 0x01034e90, int 9713556, char * * 0x00000085, _php_stream_context * 0x06e6fe5c, void * * * 0x00000000) line 930 + 23 bytes _php_stream_open_wrapper_ex(char * 0x0077f575, char * 0x01034e90, int 9713556, char * * 0x00a69f40 _php_plain_files_wrapper, _php_stream_context * 0x06e6fe5c, void * * * 0x00000000) line 1773 + 32 bytes php_stream_open_for_zend(const char * 0x01034e90, _zend_file_handle * 0x06e6fe54, void * * * 0x0103fd38) line 849 + 37 bytes zend_stream_open(const char * 0x06e6fe54, _zend_file_handle * 0x0103fd38, void * * * 0x06eb06d0) line 47 + 17 bytes open_file_for_scanning(_zend_file_handle * 0x00000001, void * * * 0x01030001) line 293 + 17 bytes my_compile_file(_zend_file_handle * 0x006c2cb9, int 115801684, void * * * 0x00000002) line 256 + 36 bytes zend_execute_scripts(int 268448524, void * * * 0x00000002, _zval_struct * * 0x0103fd38, int 0) line 1070 + 10 bytes php_handler(request_rec * 0x010344a8) line 564 + 17 bytes LIBHTTPD! 6ff0155f() Seems that a parameter too few is being passed somewhere around the call to php_stream_open_for_zend(). Previous Comments: ------------------------------------------------------------------------ [2005-08-14 16:14:23] [EMAIL PROTECTED] It happens on Linux too if the child hasn't done any PHP requests yet. ------------------------------------------------------------------------ [2005-08-14 05:27:53] [EMAIL PROTECTED] It crashes if ErrorDocument refers to a PHP file. Anything else and it works fine. ------------------------------------------------------------------------ [2005-08-04 18:45:32] php dot net at sharpdreams dot com There is no entry in either error_log or access_log (I presume it crashes before logging). If I turn on the rewriting log, I can see the request getting rewritten until it hits /error.php. I know it crashes because it pops u the Visual Studio debuger. ------------------------------------------------------------------------ [2005-08-04 09:11:07] [EMAIL PROTECTED] What do you get in the apache error_log when this problem happens? Are you sure it really crashes..? ------------------------------------------------------------------------ [2005-08-04 01:37:03] php dot net at sharpdreams dot com LoadModule php5_module "C:/www/apache2/PHP5-1/php5apache2.dll" AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps PHPIniDir "C:/www/apache2/php5-1" ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/33987 -- Edit this bug report at http://bugs.php.net/?id=33987&edit=1