View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000830 | Xdebug | Uncategorized | public | 2012-05-11 00:29 | 2012-05-28 12:04 |
Reporter | nlaplante | Assigned To | derick | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | PHP 5.4.0 Apache 2.2.22 | OS | Gentoo Linux amd64 | OS Version | 3.2.12 |
Product Version | 2.2.0 | ||||
Target Version | 2.2.1 | Fixed in Version | 2.2.1 | ||
Summary | 0000830: Crash when evaluating variables from remote Eclipse IDE | ||||
Description | I experience an XDebug crash when trying to debug variables (either by hovering it or opening the variables pane). First, Eclipse throws this error message: "Unexpected termination of script, debugging ended." The Apache error_log contains this: "[error] child died with signal 11" | ||||
Steps To Reproduce |
| ||||
Additional Information | I tried using watch expressions. I noticed that if I put the name of variables I expect are strings, it works fine. But if I add an expression to evaluate an object , xdebug crashes with the error specified in the description. | ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 5.4.0 | ||||
|
Hi, In order to reproduce and fix this, I'd need the following information:
cheers, |
|
|
|
I can't reproduce the problem outside of my Symfony 2 environment. Maybe it has to do with the autoloading mechanism? I attach my xdebug.log file. |
|
It's probably not autoloading, but something to do with (static) properties instead. Could you perhaps try making a backtrace for me? (See: https://bugs.php.net/bugs-generating-backtrace.php) |
|
|
|
I uploaded the backtrace. Let me know if you need anything |
|
Awesome, sorry to be a pain, but could you please also run: p *struc |
|
|
|
Here you are! |
|
|
|
Don't use -bt.2.log, I forgot to run "bt full". Use -bt.3.log instead. |
|
Hi, I've tried this with just Monolog, which is where the crash seems to happen. However, I have not made any success. It it possible for you to create a full setup for me, in for example a VM that I could debug? |
|
Yes. I opened up my app at http://nlaplante.dyndns.org:8080/app_dev.php XDebug is enabled, you can go and try it. Let me know when you're finished, |
|
Hi, Just having access to the website is not going to help me; I'd need shell access to probe the innards of Xdebug as well! cheers, |
|
Derick, please contact me at nicolas.laplante@gmail.com. I'll give you ssh credentials to log into the system. |
|
I think it would be a better idea for you to checkout a copy of my project instead. Here's the svn url: http://svn.nlaplante.com/profolio/branches/xdebug Email me for credentials at the address in the previous comment. Thanks! |
|
I think I've just pushed a fix to github for this issue. Could you please try it? |
|
I just tested your fix and it seems to work fine. XDebug doesn't crash on variable inspection anymore, and I can dig into objects normally! |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-05-11 00:29 | nlaplante | New Issue | |
2012-05-13 21:51 | derick | Note Added: 0002149 | |
2012-05-13 21:51 | derick | Assigned To | => derick |
2012-05-13 21:51 | derick | Status | new => feedback |
2012-05-14 21:54 | nlaplante | File Added: xdebug.log | |
2012-05-14 21:55 | nlaplante | Note Added: 0002150 | |
2012-05-14 21:55 | nlaplante | Status | feedback => assigned |
2012-05-15 09:43 | derick | Note Added: 0002153 | |
2012-05-15 09:43 | derick | Status | assigned => feedback |
2012-05-15 22:02 | nlaplante | File Added: xdebug-bt.log | |
2012-05-15 22:02 | nlaplante | Note Added: 0002154 | |
2012-05-15 22:02 | nlaplante | Status | feedback => assigned |
2012-05-15 22:07 | derick | Note Added: 0002155 | |
2012-05-15 22:07 | derick | Status | assigned => feedback |
2012-05-15 22:09 | nlaplante | File Added: xdebug-bt.2.log | |
2012-05-15 22:09 | nlaplante | Note Added: 0002156 | |
2012-05-15 22:09 | nlaplante | Status | feedback => assigned |
2012-05-15 22:10 | nlaplante | File Added: xdebug-bt.3.log | |
2012-05-15 22:10 | nlaplante | Note Added: 0002157 | |
2012-05-15 22:30 | derick | Target Version | => 2.2.1 |
2012-05-16 21:07 | derick | Note Added: 0002162 | |
2012-05-16 21:07 | derick | Status | assigned => feedback |
2012-05-17 00:00 | nlaplante | Note Added: 0002163 | |
2012-05-17 00:00 | nlaplante | Status | feedback => assigned |
2012-05-17 07:33 | derick | Note Added: 0002167 | |
2012-05-17 07:33 | derick | Status | assigned => feedback |
2012-05-17 11:19 | nlaplante | Note Added: 0002174 | |
2012-05-17 11:19 | nlaplante | Status | feedback => assigned |
2012-05-17 21:10 | nlaplante | Note Added: 0002179 | |
2012-05-28 08:26 | derick | Note Added: 0002200 | |
2012-05-28 08:26 | derick | Status | assigned => feedback |
2012-05-28 11:34 | nlaplante | Note Added: 0002207 | |
2012-05-28 11:34 | nlaplante | Status | feedback => assigned |
2012-05-28 12:04 | derick | Status | assigned => closed |
2012-05-28 12:04 | derick | Resolution | open => fixed |
2012-05-28 12:04 | derick | Fixed in Version | => 2.2.1 |
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 |