Segfault in zend_get_executed_lineno with APD on Windows

php.internals

Sebastian Bergmann

22 years ago
I wanted to play with APD a bit but current HEAD/HEAD segfaults on Windows for tracing-enabled script execution: zend_get_executed_lineno(void * * * 0x00702990) line 338 + 23 bytes log_time(void * * * 0x00702990) line 424 + 26 bytes trace_function_exit(char * 0x00a15420) line 399 + 9 bytes apd_execute(_zend_op_array * 0x0085e588, void * * * 0x00702990) line 519 + 9 bytes zend_do_fcall_common_helper(_zend_execute_data * 0x0012f814, _zend_op * 0x00a11170, _zend_op_array * 0x0085e248, void * * * 0x00702990) line 2677 + 33 bytes zend_do_fcall_by_name_handler(_zend_execute_data * 0x0012f814, _zend_op * 0x00a11170, _zend_op_array * 0x0085e248, void * * * 0x00702990) line 2759 + 21 bytes execute(_zend_op_array * 0x0085e248, void * * * 0x00702990) line 1339 + 23 bytes apd_execute(_zend_op_array * 0x0085e248, void * * * 0x00702990) line 518 + 16 bytes zend_do_fcall_common_helper(_zend_execute_data * 0x0012fa0c, _zend_op * 0x009c0b18, _zend_op_array * 0x0082f468, void * * * 0x00702990) line 2677 + 33 bytes zend_do_fcall_by_name_handler(_zend_execute_data * 0x0012fa0c, _zend_op * 0x009c0b18, _zend_op_array * 0x0082f468, void * * * 0x00702990) line 2759 + 21 bytes execute(_zend_op_array * 0x0082f468, void * * * 0x00702990) line 1339 + 23 bytes apd_execute(_zend_op_array * 0x0082f468, void * * * 0x00702990) line 518 + 16 bytes zend_execute_scripts(int 8, void * * * 0x00702990, _zval_struct * * 0x00000000, int 3) line 1041 + 33 bytes php_execute_script(_zend_file_handle * 0x0012ff3c, void * * * 0x00702990) line 1650 + 27 bytes main(int 1, char * * 0x00702580) line 1561 + 19 bytes mainCRTStartup() line 338 + 17 bytes
-- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/