View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000817 | Xdebug | Uncategorized | public | 2012-04-23 10:13 | 2012-04-28 16:23 |
| Reporter | ngaur | Assigned To | |||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | not fixable | ||
| OS | Debian Gnu/Linux | OS Version | Lenny | ||
| Target Version | 2.2.0 | ||||
| Summary | 0000817: Missing arguments in function traces | ||||
| Description | In my funtion traes, the values of argumetns passed to functions appear as '???' xdebug configzend_extension=/usr/lib/php5/20060613/xdebug2.2.so Sample output:
require statements do show the name of the require'd file. | ||||
| Steps To Reproduce | I haven't tried it on other systems yet. Every trace I do displays the problem. I compiled from source. | ||||
| Additional Information | I couldn't see this as an existing issue, but it's not the easiest one to search for. | ||||
| Tags | No tags attached. | ||||
| Operating System | linux | ||||
| PHP Version | 5.2.6 | ||||
|
|
Can you post your phpinfo() output in an attachment to this bug please? |
|
|
phpinfo uploaded as requested. |
|
|
Hmm, the only thing I can think of is maybe the suhosin patch, but I've not heard of that doing this before. Could you please try the recently released 2.2.0RC2? |
|
|
Tried RC2. No change. |
|
|
I've just gone through recreating this in a clean virtual machine. The problem still presents itself. The suhosin patch is present - it comes as standard in the debian package for lenny, though it's been removed in later debian distributions. I kept the test case as simple as I could:
|
|
|
I don't think suhosin is the culprit. In the virtual machine referred to above, I removed php5-{cgi,cli,common,dev}, and installed a version of php5 without suhosin. It's php-5.2.9, and the packages are in the zipfile linked from http://www.net-tools.org/web/index.php?option=com_content&view=article&id=118:php5-compiled-for-debian-lenny-without-suhosin-patch&catid=20:scripts&Itemid=40. The bug is still present. |
|
|
Suhosin is definitely not the culprit. I removed php from my VM again, and installed the version from http://archives.dotdeb.org/dists/lenny/php5/5.3.10/binary-i386/ This is php5.3.10, with the suhosin patch. I recompiled xdebug, and re-tested. The bug does not present itself in this test. This may be a way out of the problem for me in future, but it'll be a bit of a process to upgrade php on the live server. |
|
|
I've figure out what this is: overzealos optimisations with the lenny compiler. If Xdebug gets compiled with -O2, I get the ??? as well. If I compile with -O0 or -O1 all is well. The workaround in this case is, after running "phpize" edit the makefile and change CFLAGS=-g -O2 to CFLAGS=-g -O1 before running make. I'm going to close this as this is not something I can fix in Xdebug. |