From:             [EMAIL PROTECTED]
Operating system: NetBSD 1.6N
PHP version:      5CVS-2003-02-11 (dev)
PHP Bug Type:     XML related
Bug description:  Lots of "page / chunk is already free" errors after parsing

$tree = new XML_Tree($item);
$tree = $tree->getTreeFromFile();

Well it's just the XML parser at the end.
If I don't call it in any way no error appears.
I downloaded the newest files from cvs repository.

anarchy% php -f todo.php
php in free(): warning: page is already free.
php in free(): warning: chunk is already free.
php in free(): warning: chunk is already free.
php in free(): warning: chunk is already free.
php in free(): warning: chunk is already free.
php in free(): warning: chunk is already free.
php in free(): warning: page is already free.
php in free(): warning: chunk is already free.
php in free(): warning: page is already free.
php in free(): warning: chunk is already free.
php in free(): warning: chunk is already free.

Here's my configure line:
'./configure' '--with-apxs2=/usr/local/sbin/apxs' '--with-openssl'
'--with-mcrypt=/usr/local' '--with-dbx' '--with-zlib=/usr/local'
'--with-bz2' '--enable-calendar' '--enable-ftp'
'--with-gettext=/usr/local' '--with-mysql' '--enable-pcntl'
'--enable-shmop' '--enable-sockets' '--with-regex=php' '--enable-sysvmsg'
'--enable-sysvsem' '--enable-sysvshm' '--with-iconv=/usr/local'
'--enable-bcompiler' '--enable-embed' '--with-imap' '--without-pear'
'--with-gd'
-- 
Edit bug report at http://bugs.php.net/?id=22168&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22168&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22168&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22168&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22168&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22168&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22168&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22168&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22168&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22168&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22168&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22168&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22168&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22168&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22168&r=gnused

Reply via email to