Re: Re: #23505 [Csd->Asn]: debug_backtrace inside overloaded __call method segfaults

From: Date: Fri, 16 May 2003 07:02:24 +0000
Subject: Re: Re: #23505 [Csd->Asn]: debug_backtrace inside overloaded __call method segfaults
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-1559@lists.php.net to get a copy of this message
On Fri, May 16, 2003 at 03:47:07PM +0900, Moriyoshi Koizumi wrote: > thies@php.net wrote: > > > jani, your fix won't work if you call a function in an > > overloaded object from a funtion in an overloaded > > object;-) calling get_active_function_name() inside > > debug_backtrace doesn't seem right to me. > > i will try to find some time to investigate myself. > > Indeed I took the problem you pointed out into account.. > IIRC, overloaded handlers are never invoked recursively > because of DISABLE_HANDLER() calls placed within each handler > function in ext/overload/overload.c . but this is only tru for the object "we're in" - if were calling out to another overloaded object your assumption is not correct. tc -- Thies C. Arntzen - Looking for all sorts of freelance work - just ask.. http://www.amazon.de/exec/obidos/wishlist/AB9DY62QWDSZ

« previous php.internals (#1559) next »