Re: aggregation stability

From: Date: Sun, 12 Jan 2003 08:41:22 +0000
Subject: Re: aggregation stability
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-93364@lists.php.net to get a copy of this message
As a further note, it appears that the issue may involve the deaggregate() function. When used as deaggregate($this), it seems to cause a crash. This is the only link to crashing I've found. If I can isolate it, I'll post a bug to the tracker. Greg "Greg Beaver" <greg@chiaraquartet.net> wrote in message news:20030112074016.68624.qmail@pb1.pair.com... > Hi, > > How stable is aggregation considered to be for PHP 4.3.0 release? I've been > getting crashes with apache 1.3.27/php 4.3.0/Win98SE in certain cases when > calling a overriding method of an aggregated class. > > class A > { > function display() > { > } > } > > class B extends A > { > function display() > { > } > } > > class D > { > function test() > { > $this->display(); > } > } > > class C > { > function aggtest() > { > aggregate($this,'B'); > aggregate($this,'D'); > $this->test(); > } > } > > The code above works on my system, and demonstrates the general principle > that I'm using. In some cases, just adding a flush();exit; causes an apache > crash. In others, adding a call to a function crashes things. There is > absolutely nothing consistent. I would like to attach a sample script that > causes a crash, but I can't find anything smaller than the 25 files I have > which will cause one. > > Has anyone else experienced this bizarre behavior? What can I do to find > the bug or help others find it? I don't even know if it has anything to do > with aggregation. The only consistency is that when I call an aggregated > function from another class's aggregated function after deaggregating and > then re-aggregating, it seems to get unstable. I can't find anything else > that when I add it in causes a crash, and stops when I take it out. > > Thanks, > Greg > > >

« previous php.dev (#93364) next »