ID: 27868 Updated by: [EMAIL PROTECTED] Reported By: blackei2k at gmx dot de -Status: Open +Status: Verified Bug Type: Zend Engine 2 problem Operating System: * -PHP Version: 5CVS-2004-04-07 +PHP Version: 5CVS-2005-01-10
Previous Comments: ------------------------------------------------------------------------ [2004-08-02 12:10:11] kostko at unimatrix-one dot org I can also confirm this problem. Tried version 5.0.0 final and it segfaults. It segfaults also on the latest 5.1.0-dev version. ------------------------------------------------------------------------ [2004-07-25 21:23:39] blackei2k at gmx dot de Still there the segfault. error.log of apache: [Sun Jul 25 21:28:17 2004] [notice] child pid 11664 exit signal Segmentation fault (11) php configured like: './configure' '--disable-debug' '--disable-cli' '--with-apxs=/usr/bin/apxs' '--disable-pear' System tested on: Linux baggy 2.4.21 #1 Fri Jun 27 21:24:38 CEST 2003 i686 PHP Version 5.1.0-dev PHP API 20031224 PHP Extension 20040718 Zend Extension 220040718 Sorry stas, but this is still happening. ------------------------------------------------------------------------ [2004-07-19 16:51:45] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip can't reproduce with new PHP5, probably fixed ------------------------------------------------------------------------ [2004-04-07 08:05:28] [EMAIL PROTECTED] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 20934)] 0x082a972d in zend_std_get_method (object=0x40e420bc, method_name=0x40e4213c "zar", method_len=3) at /usr/src/web/php/php5/Zend/zend_object_handlers.c:673 673 if (zend_hash_find(&zobj->ce->function_table, lc_method_name, method_len+1, (void **)&fbc) == FAILURE) { (gdb) bt #0 0x082a972d in zend_std_get_method (object=0x40e420bc, method_name=0x40e4213c "zar", method_len=3) at /usr/src/web/php/php5/Zend/zend_object_handlers.c:673 #1 0x082b72c7 in zend_init_method_call_handler (execute_data=0xbfffd800, opline=0x40e40420, op_array=0x40e35e54) at /usr/src/web/php/php5/Zend/zend_execute.c:2505 #2 0x082b4a07 in execute (op_array=0x40e35e54) at /usr/src/web/php/php5/Zend/zend_execute.c:1391 #3 0x0829a699 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /usr/src/web/php/php5/Zend/zend.c:1057 #4 0x082686f6 in php_execute_script (primary_file=0xbffffbd0) at /usr/src/web/php/php5/main/main.c:1630 #5 0x082c7a92 in main (argc=2, argv=0xbffffc54) at /usr/src/web/php/php5/sapi/cli/php_cli.c:943 ------------------------------------------------------------------------ [2004-04-05 07:47:01] blackei2k at gmx dot de I got a working (segfaulting) test-case here: <?php class foo { function __construct() { $a = 0 ; if ($a == 0) throw new Exception ('$a == 0 in foo::_constructor'); } function zar() { return 0; } } class bar extends foo { function __construct() { try { parent::__construct(); } catch (Exception $e) { echo $e->getMessage() . "\n"; } return true; } } $o = new bar; $o->zar(); ?> Hope that helps ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/27868 -- Edit this bug report at http://bugs.php.net/?id=27868&edit=1