View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000678 | Xdebug | Uncategorized | public | 2011-04-04 14:03 | 2011-08-13 15:18 |
| Reporter | kitt | Assigned To | |||
| Priority | high | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 2.1.0 | ||||
| Summary | 0000678: XDebug segfault when IDE send "eval NonExistsClass" | ||||
| Description | Here is xdebug.remote_log: Log opened at 2011-04-04 00:05:18 <- feature_get -i 1 -n breakpoint_languages <- step_into -i 2 <- eval -i 3 -- bmV3IE5vbkV4aXN0c0NsYXNz <- stack_get -i 4 <- run -i 5 After command "eval NonExistsClass" stack_get always return zero level is "filename="file:///var/www/vf/xdebug eval" lineno="1"" and any continuation command (run\step_into\step_over\step_out) becomes my web server got "500 - Internal Server Error" and write to error.log: In my syslog i got an error: | ||||
| Steps To Reproduce | kitt@kitt-dell:~/scripts$ debugclient
Waiting for debug server to connect. Waiting for debug server to connect. If last command is step_into\step_over\step_out xdebug either disconnects with segfault. | ||||
| Additional Information | Segfault repeats on xdebug2.1.0 from Ubuntu repository and xdebug2.1.1 version compiled from source. Web-server is lighttpd/1.4.26 (ssl) with mod_fcgi+5.3.3-1ubuntu9.3 from official repository | ||||
| Tags | No tags attached. | ||||
| Operating System | Linux 2.6.35-28-generic 0000049-Ubuntu 10.10 i686 GNU/Linux | ||||
| PHP Version | 5.3.3 | ||||
|
|
XDebug segfault when IDE send "eval new NonExistsClass" |
|
|
i recompile php and xdebug from source and upload second file "gdb-bt-full2.txt", may be it will provide more info. |
|
|
add core file |
|
|
check on windows - error continues |
|
|
upgrade to xdebug from svn (revision 3440) and php5 5.3.5, error still reproduces in same way. See gdb-bt-full-php5.3.5.txt |
|
|
I think I have this fixed now, could you try xdebug 2.1.2 + this patch: http://derickrethans.nl/files/dump/xdebug-issue606.diff.txt please? |
|
|
Fixed for 2.1.3 and 2.2dev. |