Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:5376 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47907 invoked by uid 1010); 12 Nov 2003 07:57:23 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 47865 invoked from network); 12 Nov 2003 07:57:22 -0000 Received: from unknown (HELO mail.de-punkt.de) (62.4.81.205) by pb1.pair.com with SMTP; 12 Nov 2003 07:57:22 -0000 Received: (qmail 12522 invoked by uid 511); 12 Nov 2003 07:57:21 -0000 Received: from unknown (HELO wopr) (sb@de-punkt.de@80.142.46.196) by webby.de-punkt.de with SMTP; 12 Nov 2003 07:57:21 -0000 Received: from wopr [127.0.0.1] by wopr (192.168.2.100) (userid 19) with Hamster-NewsToMail-Gate (Classic Hamster Version 2.0 Build 2.0.2.2) ; Wed, 12 Nov 2003 08:56:04 +0100 Date: Wed, 12 Nov 2003 08:56:04 +0100 Organization: www.sebastian-bergmann.de User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en To: internals@lists.php.net Sender: admin Lines: 34 Subject: Java Extension From: sebastian@php.net (Sebastian Bergmann) Message-ID: 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: 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/