Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:8268 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70016 invoked by uid 1010); 1 Mar 2004 13:37:55 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 69906 invoked from network); 1 Mar 2004 13:37:53 -0000 Received: from unknown (HELO mail.zend.com) (192.117.235.230) by pb1.pair.com with SMTP; 1 Mar 2004 13:37:53 -0000 Received: (qmail 30633 invoked from network); 1 Mar 2004 13:37:46 -0000 Received: from guardian.zend.office (HELO AndiNotebook.zend.com) (10.1.1.4) by mail.zend.com with SMTP; 1 Mar 2004 13:37:46 -0000 Message-ID: <5.1.0.14.2.20040301153733.0221d348@127.0.0.1> X-Sender: andi@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 01 Mar 2004 15:37:44 +0200 To: Stefan Walk , internals@lists.php.net In-Reply-To: <20040226224155.GA22873@prp0.prp.physik.tu-darmstadt.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] Segfault in HEAD From: andi@zend.com (Andi Gutmans) References: <20040226224155.GA22873@prp0.prp.physik.tu-darmstadt.de> This should be fixed now. Thanks for the short reproducing script. Andi At 11:41 PM 2/26/2004 +0100, Stefan Walk wrote: >Hi, after a cvs update i get a segfault with this script: >class test >{ > function __destruct() { > $this->foo = false; > } > public function start() { > throw new Exception(); > } >} > > $test = new test(); > $test->start(); > >?> > >Backtrace: >#0 0x00000000 in ?? () >#1 0x081656a2 in execute (op_array=0x40206284) at >/home/et/cvs.php.net/php-src/Zend/zend_execute.c:1339 >#2 0x0814790e in zend_call_function (fci=0xbfffd400, fci_cache=0xbfffd3e0) > at /home/et/cvs.php.net/php-src/Zend/zend_execute_API.c:759 >#3 0x0815924c in zend_call_method (object_pp=0xbfffd48c, >obj_ce=0x40204c84, fn_proxy=0x0, > function_name=0x819f540 "__destruct", function_name_len=10, > retval_ptr_ptr=0x0, param_count=1075859404, arg1=0x0, > arg2=0x0) at /home/et/cvs.php.net/php-src/Zend/zend_interfaces.c:79 >#4 0x0815af9a in zend_objects_destroy_object (object=0x402051ac, >handle=1075859404) > at /home/et/cvs.php.net/php-src/Zend/zend_objects.c:71 >#5 0x0815c8c0 in zend_objects_store_call_destructors (objects=0x81c06d0) > at /home/et/cvs.php.net/php-src/Zend/zend_objects_API.c:52 >#6 0x08146e92 in shutdown_executor () at >/home/et/cvs.php.net/php-src/Zend/zend_execute_API.c:209 >#7 0x0814e54b in zend_deactivate () at >/home/et/cvs.php.net/php-src/Zend/zend.c:802 >#8 0x08124091 in php_request_shutdown (dummy=0x0) at >/home/et/cvs.php.net/php-src/main/main.c:1243 >#9 0x0816ded8 in main (argc=4, argv=0xbfffe1e4) at >/home/et/cvs.php.net/php-src/sapi/cli/php_cli.c:1044 >#10 0x420158f7 in __libc_start_main () from /lib/i686/libc.so.6 > > >-- >Regards, >Stefan Walk > > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php