ID: 25275
Updated by: [EMAIL PROTECTED]
Reported By: rehsack at liwing dot de
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: FreeBSD 5.1 i386
PHP Version: 4.3.3
New Comment:
Yes, that's the idea..
Previous Comments:
------------------------------------------------------------------------
[2003-08-30 06:10:26] rehsack at liwing dot de
Nope, it runs fine. Do you suggest enabling each extension I used until
it crash's?
------------------------------------------------------------------------
[2003-08-30 02:00:15] [EMAIL PROTECTED]
Try this:
# rm config.cache
# ./configure --disable-all --disable-cgi --enable-debug
# make clean && make
# sapi/cli/php yourscript.php
Does it crash now?
------------------------------------------------------------------------
[2003-08-28 10:23:42] rehsack at liwing dot de
Sorry, misunderstood. Thought you've asked for php.ini.
# ./configure --enable-versioning --enable-memory-limit
--with-layout=GNU --with-zlib-dir=/usr --disable-all --with-regex=php
--disable-ipv6 --with-apxs=/usr/local/sbin/apxs --with-bz2=/usr
--with-dom=/usr/local --with-dom-xslt=/usr/local
--with-dom-exslt=/usr/local --with-gettext=/usr/local
--with-gmp=/usr/local --with-iconv=/usr/local --with-mcrypt=/usr/local
--with-mhash=/usr/local --with-mysql=/usr/local --with-ldap=/usr/local
--with-openssl=/usr --enable-pcntl --with-pcre-regex=yes --enable-posix
--with-readline --enable-session --enable-sockets --enable-sysvsem
--enable-sysvshm --enable-tokenizer --enable-xml
--with-expat-dir=/usr/local --with-xmlrpc --enable-xslt
--with-xslt-sablot=/usr/local --with-zlib=yes --prefix=/usr/local
i386-portbld-freebsd5.1
CC="cc"
CFLAGS="-O -pipe -g"
Addition: deaggregating from classes by adding name of
class to deaggregate doesn't dump.
------------------------------------------------------------------------
[2003-08-28 06:33:06] [EMAIL PROTECTED]
That script does not crash for me.
What was the configure line you used to configure PHP?
------------------------------------------------------------------------
[2003-08-28 06:32:15] [EMAIL PROTECTED]
<?php
class FDefaultContentAccess
{
function InitFDefaultContentAccess()
{
$this->Flags |= 1;
}
}
class FDirectContentAccess
{
function InitFDirectContentAccess()
{
$this->Flags |= 2;
$this->Flags &= ~3;
}
}
class FFilePhysicalAccess
{
var $Flags;
function FFilePhysicalAccess( )
{
aggregate( $this, "FDirectContentAccess" );
$this->InitFDirectContentAccess();
aggregate( $this, "FDefaultContentAccess" );
$this->InitFDefaultContentAccess();
}
function CleanUp()
{
fwrite( STDERR, "before deaggregate\n");
deaggregate( $this );
fwrite( STDERR, "after deaggregate\n");
}
} // end of class FFilePhysicalAccess
$inst = new FFilePhysicalAccess();
$inst->CleanUp();
?>
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/25275
--
Edit this bug report at http://bugs.php.net/?id=25275&edit=1