I took a quick look at the Java extension just now. What I did was simply copy the ext/java directory from PHP_4_3 to HEAD. It builds okay but segfaults with this simple script:
<?php $system = new Java('java.lang.System'); print $system->getProperty('java.version'); ?> zend_call_function(_zend_fcall_info * 0x0012f860, _zend_fcall_info_cache * 0x00000000, void * * * 0x00ed4328) line 652 + 51 bytes call_user_function_ex(_hashtable * 0x00000000, _zval_struct * * 0x0012f96c, _zval_struct * 0x0012f924, _zval_struct * * 0x0012f910, unsigned int 2, _zval_struct * * * 0x0012f914, int 0, _hashtable * 0x00000000, void * * * 0x00ed4328) line 513 + 15 bytes zend_std_call_user_call(int 1, _zval_struct * 0x00eefc20, _zval_struct * 0x00ef0bb0, int 1, void * * * 0x00ed4328) line 520 + 33 bytes zend_do_fcall_common_helper(_zend_execute_data * 0x0012faa8, _zend_op_array * 0x00eef0e8, void * * * 0x00ed4328) line 2550 + 54 bytes zend_do_fcall_by_name_handler(_zend_execute_data * 0x0012faa8, _zend_op_array * 0x00eef0e8, void * * * 0x00ed4328) line 2665 + 17 bytes execute(_zend_op_array * 0x00eef0e8, void * * * 0x00ed4328) line 1271 + 19 bytes zend_execute_scripts(int 8, void * * * 0x00ed4328, _zval_struct * * 0x00000000, int 3) line 1015 + 33 bytes php_execute_script(_zend_file_handle * 0x0012ff48, void * * * 0x00ed4328) line 1622 + 27 bytes main(int 2, char * * 0x00ed2d00) line 910 + 17 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/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php