View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000183 | Xdebug | Uncategorized | public | 2006-05-10 10:37 | 2006-05-27 21:12 |
| Reporter | Tindu | Assigned To | |||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | open | ||
| Summary | 0000183: property_get on $this->undefinedvariable | ||||
| Description | property_get -n $this->somethingnonexistent crashes the debugger. In source code: retval = fetch_zval_from_symbol_table(st, keyword, keyword_end - keyword, type, current_classname, cc_length TSRMLS_CC); As retval may be nill then fetch_class_name crashes. | ||||
| Additional Information | This issue was reported first in general list and was kind of fixed (string "$this-" crashed the property_get) | ||||
| Tags | No tags attached. | ||||
| Operating System | WIN XP | ||||
| PHP Version | 5.1.2 | ||||
|
|
The code in CVS is: as you can see I only fetch the classname when retval is not NULL. So please try latest CVS, or the windows binary from http://pecl4win.php.net/ext.php/php_xdebug.dll |
|
|
This should be fixed in CVS by now. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2006-05-10 10:37 | Tindu | New Issue | |
| 2006-05-10 10:42 | derick | Note Added: 0000406 | |
| 2006-05-27 21:12 | derick | Status | new => closed |
| 2006-05-27 21:12 | derick | Note Added: 0000415 | |
| 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 |