Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 216644

Summary: dev-php5/xdebug-2.0.2: After upgrading from 2.0.1 to 2.0.2 I continue to see the same bugs that xdebug fixed in the newer version.
Product: Gentoo Linux Reporter: Christopher Smith <chris.gentoo>
Component: New packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: chris.gentoo
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christopher Smith 2008-04-07 01:41:39 UTC
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
Comment 1 Christopher Smith 2008-04-07 01:45:37 UTC
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.
Comment 2 Luca Longinotti (RETIRED) gentoo-dev 2008-06-03 03:46:17 UTC
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.