Re: Bugs in 5.0.5 and 5.1 RCs
| From: | Jani Taskinen | Date: | Thu, 01 Sep 2005 08:38:02 +0000 |
| Subject: | Re: Bugs in 5.0.5 and 5.1 RCs | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-18640@lists.php.net to get a copy of this message | ||
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