You should probably try a newer version of libxml2. I suspect you are hitting a refcount issue with dictionaries that was fixed in 2.6.8. And before you ask, the error would be more prominent using PHP 5.1 than 5.0.

Rob

James Crumpton wrote:

So ... php-5.1.0b2 with --disable-zend-mm --enable-debug ... apache segfaults on startup.

Without --disable-zend-nm, and run through valgrind, I don't actually experience the corruption, but boy is there a lot of output. Hope you like to read ;)

I've included urls for the --disable-zend-mm segfaulting valgrind output (pid 30703), and the non --disable-zend-mm (pid 27107) below that.

There is no interesting output from valgrind with php-5.0.4 and the same script.

Without zend mm
----------------------------------------------------------
https://www.die.net/tmp/6f51b90defa5c822.txt/withoutmm.txt


With zend mm
----------------------------------------------------------
https://www.die.net/tmp/00e9a7d1e7a5d0fc.txt/withmm.txt

-james



--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to