View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000676 | Xdebug | Uncategorized | public | 2011-04-04 01:51 | 2014-06-14 10:33 |
Reporter | trebly | Assigned To | derick | ||
Priority | high | Severity | block | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Platform | PC | OS | Win XP | OS Version | SP3 |
Summary | 0000676: Xdebug : unable to xdebug_start_trace - no explanation no roadmap to find | ||||
Description | Hi, I had never this I don't how to search the solution. I made a detailed test : So It is probably a documentation problem, but tiny and sharp. note: configuration tested on other projects. | ||||
Steps To Reproduce | No one on your system but just : | ||||
Additional Information | Not present during 8 days from now. xdebug configuration in php.ini (large model) : ;Xdebug ;xdebug.default_enable=Off xdebug.remote_enable=1 xdebug.dump_globals=1 xdebug.show_local_vars=1 xdebug.collect_includes=1 xdebug.auto_trace=0 ; Set B10226 xdebug.collect_assignments=1 | ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 5.3.6 | ||||
|
I Test today to launch lonely So the problem seems to come from the file name. The sequences I will may be find the solution, but I do think that this error on the file could be reported, because there are many reason not to be able to xdebug_start_trace could fail. I think that if the problems find a solution here it must be sent to quality to get a better error message. |
|
Could you show me a working script that shows the problem. The last note's code clearly makes no sense. Please include all filenames/directory names as well. And run it with: strace php yourSmallScript.php 2>/tmp/strace.log and please attach strace.log to this bug as well. |
|
OK it was shortened. In fact I simply open and close the file to test the validity of the name and the rights before launching xdebug. The problem comes from xdebug The full code id a little long because of the check up of xdebug context. So I have not submitted to earn time. I made the test using a full name of the file (get the realpath of the subdir) and concat with the file name. It runs normally. Looking at the xdebug error table (with the error case) I found that the name of the file was not right : the name is "__trac/xd/<name>" the name doesn't matters. The table contains xdebug_start_trace(" trac/xd/<name>) So I think that if the relative name begins with chars "_" they are truncated or replaced by blanks. This generates the error. So a test code should be $subdir="__trac\xd\"; While $subdir="__trac\xd\"; It seems well that the problem comes from the subdir name. |
|
Is this still a problem with the latest version of xdebug? |
|
Unable to reproduce, and no feedback provided. I'm closing this out, but feel free to reopen if you can provide the requested information. |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-04-04 01:51 | trebly | New Issue | |
2011-04-10 20:47 | trebly | Note Added: 0001718 | |
2011-04-10 20:49 | trebly | Note Edited: 0001718 | |
2011-04-11 09:31 | derick | Note Added: 0001719 | |
2011-04-11 09:31 | derick | Assigned To | => derick |
2011-04-11 09:31 | derick | Status | new => feedback |
2011-04-13 00:08 | trebly | Note Added: 0001723 | |
2011-04-13 00:08 | trebly | Status | feedback => assigned |
2014-05-19 23:09 | derick | Note Added: 0002816 | |
2014-05-19 23:09 | derick | Status | assigned => feedback |
2014-06-14 10:33 | derick | Note Added: 0002849 | |
2014-06-14 10:33 | derick | Status | feedback => resolved |
2014-06-14 10:33 | derick | Resolution | open => no change required |
2016-07-31 12:36 | derick | Category | Usage problems => Usage problems (Crashes) |
2016-07-31 12:38 | derick | Category | Usage problems (Crashes) => Usage problems (Wrong Results) |
2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |