The following code triggers a segfault with the attached stacktrace:
<?php class UML_Class extends ReflectionClass { }
print ReflectionClass::export('UML_Class'); ?>
-- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/
Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/
php5ts_debug.dll!_class_string(_string * str=0x0012e984, _zend_class_entry * ce=0x00ac29d8, _zval_struct * obj=0x00000000, char * indent=0x10631249, void * * * tsrm_ls=0x009926a0) Zeile 271 + 0x9 C php5ts_debug.dll!zif_reflection_class___toString(int ht=0, _zval_struct * return_value=0x00ac1990, _zval_struct * this_ptr=0x0012f308, int return_value_used=1, void * * * tsrm_ls=0x009926a0) Zeile 2020 + 0x1d C php5ts_debug.dll!zend_call_function(_zend_fcall_info * fci=0x0012ed28, _zend_fcall_info_cache * fci_cache=0x00000000, void * * * tsrm_ls=0x009926a0) Zeile 853 + 0x4b C php5ts_debug.dll!call_user_function_ex(_hashtable * function_table=0x00000000, _zval_struct * * object_pp=0x0012ee94, _zval_struct * function_name=0x00ac17b0, _zval_struct * * retval_ptr_ptr=0x0012ee7c, unsigned int param_count=0, _zval_struct * * * params=0x00000000, int no_separation=0, _hashtable * symbol_table=0x00000000, void * * * tsrm_ls=0x009926a0) Zeile 550 + 0xf C php5ts_debug.dll!zif_reflection_export(int ht=2, _zval_struct * return_value=0x00ac1800, _zval_struct * this_ptr=0x00000000, int return_value_used=1, void * * * tsrm_ls=0x009926a0) Zeile 1037 + 0x1f C php5ts_debug.dll!zend_call_function(_zend_fcall_info * fci=0x0012f260, _zend_fcall_info_cache * fci_cache=0x00000000, void * * * tsrm_ls=0x009926a0) Zeile 853 + 0x4b C php5ts_debug.dll!_reflection_export(int ht=1, _zval_struct * return_value=0x00ac1708, _zval_struct * this_ptr=0x00000000, int return_value_used=1, void * * * tsrm_ls=0x009926a0, _zend_class_entry * ce_ptr=0x00afd090, int ctor_argc=1) Zeile 995 + 0x12 C php5ts_debug.dll!zif_reflection_class_export(int ht=1, _zval_struct * return_value=0x00ac1708, _zval_struct * this_ptr=0x00000000, int return_value_used=1, void * * * tsrm_ls=0x009926a0) Zeile 1887 + 0x21 C php5ts_debug.dll!zend_do_fcall_common_helper(_zend_execute_data * execute_data=0x0012f744, _zend_op * opline=0x00ac1378, _zend_op_array * op_array=0x00ac0f90, void * * * tsrm_ls=0x009926a0) Zeile 2699 + 0x32 C php5ts_debug.dll!zend_do_fcall_by_name_handler(_zend_execute_data * execute_data=0x0012f744, _zend_op * opline=0x00ac1378, _zend_op_array * op_array=0x00ac0f90, void * * * tsrm_ls=0x009926a0) Zeile 2810 + 0x15 C php5ts_debug.dll!execute(_zend_op_array * op_array=0x00ac0f90, void * * * tsrm_ls=0x009926a0) Zeile 1391 + 0x17 C php5ts_debug.dll!zend_execute_scripts(int type=8, void * * * tsrm_ls=0x009926a0, _zval_struct * * retval=0x00000000, int file_count=3, ...) Zeile 1058 + 0x21 C php5ts_debug.dll!php_execute_script(_zend_file_handle * primary_file=0x0012ff2c, void * * * tsrm_ls=0x009926a0) Zeile 1630 + 0x1b C php.exe!main(int argc=2, char * * argv=0x00994f08) Zeile 943 + 0x13 C php.exe!mainCRTStartup() Zeile 398 + 0x11 C kernel32.dll!77e614c7() ntdll.dll!77f844a8()
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php