Refer http://www.xdebug.org/updates.php Using PHP5.2.5 and xdebug 2.0.1 I was seeing encountering the problems described on the above web page, namely segfaults when php went to include a non-existent file. Unsure whether or not the problem was my system or not. I created a new gentoo install at PHP5.2.5 and xdebug 2.0.2 and the same problems occurred. This time with an additional "zend_mm_heap corrupted" message. I emerge xdebug again and the same problems recurred. - If I disable the xdebug extension the application runs correctly - with no segfaults. - If I ensure all include files are present the application mostly runs correctly (failures occur at other file accesses intermittently, I haven't tracked down a reproducable set of circumstances that will definitely cause a failure. However if I do remove an include file, the application will fail more frequently). The application that I discovered the issues with is DokuWiki (http://wiki.splitbrain.org/wiki:dokuwiki). I have managed to run DokuWiki under PHP5.1.6 and Xdebug2.0.2 on Centos5 without issue. Reproducible: Sometimes
Just to emphasize, the bugs I am seeing were reported fixed in xdebug 2.0.2, but do not appear to be fixed in the gentoo build of xdebug 2.0.2.
I suppose somehow it didn't load the new version... We definitely build the source upstream gives us, so if there are still bugs, it's most probably their problem. Please try dev-php5/xdebug-2.0.3 and see if that gives you better results. Best regards, chtekk.