Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3567 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72573 invoked from network); 22 Jul 2003 19:40:27 -0000 Received: from unknown (HELO mail.de-punkt.de) (62.4.81.205) by pb1.pair.com with SMTP; 22 Jul 2003 19:40:27 -0000 Received: (qmail 23462 invoked by uid 508); 22 Jul 2003 19:40:26 -0000 Received: from sb@sebastian-bergmann.de by webby by uid 511 with qmail-scanner-1.16 (f-prot: 3.12. spamassassin: 2.53. Clear:. Processed in 0.370651 secs); 22 Jul 2003 19:40:26 -0000 Received: from unknown (HELO wopr) (sb@de-punkt.de@80.142.38.81) by webby.de-punkt.de with SMTP; 22 Jul 2003 19:40:25 -0000 Received: from wopr [127.0.0.1] by wopr (192.168.2.100) (userid 2) with Hamster-NewsToMail-Gate (Classic Hamster Version 2.0 Build 2.0.2.1) ; Tue, 22 Jul 2003 21:39:30 +0200 Date: Tue, 22 Jul 2003 21:39:29 +0200 Organization: www.sebastian-bergmann.de User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030716 Thunderbird/0.1a X-Accept-Language: en-us, en To: internals@lists.php.net Sender: admin Lines: 32 X-Qmail-Scanner-Message-ID: <105890282553023456@webby> Subject: Segfault in Reflection_Method::invoke() From: sebastian@php.net (Sebastian Bergmann) Message-ID: I know that the usage of invoke() in the example below is wrong, but it should not segfault: getMethod('bar'); $method->invoke(); ?> zif_reflection_method_invoke(int 0, _zval_struct * 0x00affad0, _zval_struct * 0x00affc40, int 0, void * * * 0x00ae42c0) line 948 + 3 bytes zend_do_fcall_common_helper(_zend_execute_data * 0x0012faa4, _zend_op_array * 0x00afef10, void * * * 0x00ae42c0) line 2636 + 54 bytes zend_do_fcall_by_name_handler(_zend_execute_data * 0x0012faa4, _zend_op_array * 0x00afef10, void * * * 0x00ae42c0) line 2736 + 17 bytes execute(_zend_op_array * 0x00afef10, void * * * 0x00ae42c0) line 1192 + 19 bytes zend_execute_scripts(int 8, void * * * 0x00ae42c0, _zval_struct * * 0x00000000, int 3) line 1017 + 33 bytes php_execute_script(_zend_file_handle * 0x0012ff48, void * * * 0x00ae42c0) line 1568 + 27 bytes main(int 2, char * * 0x00ae3ed0) 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/