Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:18640 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29507 invoked by uid 1010); 1 Sep 2005 08:38:08 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 29492 invoked from network); 1 Sep 2005 08:38:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Sep 2005 08:38:08 -0000 X-Host-Fingerprint: 195.197.172.115 gw01.mail.saunalahti.fi Linux 2.4/2.6 Received: from ([195.197.172.115:49662] helo=gw01.mail.saunalahti.fi) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 05/9C-15098-FEDB6134 for ; Thu, 01 Sep 2005 04:38:07 -0400 Received: from nest.netphobia.fi (YZCLXVIII.dsl.saunalahti.fi [85.76.34.69]) by gw01.mail.saunalahti.fi (Postfix) with ESMTP id 26973F16ED; Thu, 1 Sep 2005 11:38:02 +0300 (EEST) Received: from nest.netphobia.fi (nest.netphobia.fi [127.0.0.1]) by nest.netphobia.fi (8.13.1/8.13.1) with ESMTP id j818c22A025329; Thu, 1 Sep 2005 11:38:02 +0300 Received: from localhost (jani@localhost) by nest.netphobia.fi (8.13.1/8.13.1/Submit) with ESMTP id j818c2hW025326; Thu, 1 Sep 2005 11:38:02 +0300 X-Authentication-Warning: nest.netphobia.fi: jani owned process doing -bs Date: Thu, 1 Sep 2005 11:38:02 +0300 (EEST) Reply-To: Jani Taskinen To: steve cc: internals In-Reply-To: <57792e8505083117305fe772b9@mail.gmail.com> Message-ID: References: <57792e8505083117305fe772b9@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: [PHP-DEV] Bugs in 5.0.5 and 5.1 RCs From: sniper@iki.fi (Jani Taskinen) On Wed, 31 Aug 2005, steve wrote: > At any rate, there are two problems: > 1) That the newly thrown exception blows up into a fatal error that > doesn't list the file or line number. Example code? > 2) mysqli is unloaded(!?) (or appears to be) before the the user's > shutdown function is called. This one is SERIOUS -- I use it to save > session data, etc. This then becomes impossible to do. __destruct()'s are called before the user registered shutdown functions. This will not change so don't bother reporting a bug about this. > In the backtrace you'll notice that the function table (in fact, all > parameters, are, as Markus says, borked!) when going from > call_user_function() to call_user_function_ex() on the mysqli > extention. > > #24 0x0823e95c in call_user_function_ex (function_table=0x1, > object_pp=0x1, function_name=0x1, retval_ptr_ptr=0x1, param_count=1, > params=0x1, no_separation=1, symbol_table=0x1) > at /php-5.1.0RC1/Zend/zend_execute_API.c:571 > #25 0x0823e998 in call_user_function (function_table=0xa0a2350, > object_pp=0x0, function_name=0xa43f80c, retval_ptr=0xbfe96ad0, > param_count=0, params=0xa448280) > at /php-5.1.0RC1/Zend/zend_execute_API.c:544 > Provide short (and I mean SHORT) reproducing script before you report any bugs about this. --Jani