View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001699 | Xdebug | Profiling | public | 2019-08-24 14:08 | 2019-10-31 10:44 |
| Reporter | Lobzek | Assigned To | |||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | PC | OS | Windows | OS Version | 10 |
| Product Version | 2.8.0beta1 | ||||
| Fixed in Version | 2.8.0 | ||||
| Summary | 0001699: Crash during debugging Phalcon project | ||||
| Description | During debugging my project that uses Phalcon framework, in step-by-step mode once any Phalcon's function/class initiated the Xdebug stop working (actually the whole Apache process crashes). That doesn't happens when debugging pure PHP project. Checked on different IDEs: Netbeans 11 & PhpStrom 2019.2 | ||||
| Steps To Reproduce | Run step-by-step debugging of following test script: $test = 5; | ||||
| Additional Information | First I saw the crash in Apache error log: [mpm_winnt:notice] [pid 11116:tid 720] AH00428: Parent: child process 10172 exited with status 3221225477 -- Restarting. After that I checked windows event viewer and found following information: Application Error: And here the windows crash report: Fault bucket 1758042406467703038, type 4 Problem signature: Analysis symbol: Windows report file attached to the issue. | ||||
| Tags | phalcon | ||||
| Operating System | Windows 10 | ||||
| PHP Version | 7.3.5-7.3.9 | ||||
|
|
I've got the same issue on the newly installed vagrant box with Ubuntu 16.04. |
|
|
Remote debugging log with this script |
|
|
I've tried to reproduce this, but I can't. @StudioMaX, can you share the Vagrant file? |
|
|
You can test it here: https://github.com/StudioMaX/phalcon-xdebug
|
|
|
I haven't tried yet, but is it possible to reproduce on the CLI as well? /cc @StudioMaX |
|
|
Well, when I run the Symfony Console in my app, which uses the Phalcon dependency manager, there are no issues. It also works if xdebug is enabled, but I do not use step-by-step debugging. But when I use step-by-step debugging, moved onto line |
|
|
@derick are you able to reproduce this case? |
|
|
Well, it also crashes in CLI when using step-by-step debugging at the same breakpoint: |
|
|
I tried to reproduce this again, but still no luck. Beyond Vagrant not working (it says something about not being able to find the provider?), it works locally without a hitch. However, this is with that latest RC candidate of Xdebug. Perhaps you can try that? |
|
|
Yes, this still occurs on 2.8.0beta2.
|
|
|
Could you provide something I can ssh into? |
|
|
Hi there! I could successfully reproduce it with your Vagrant machine, and I know why I could reproduce it there, and not at home. At home I had compiled a beta of phalcon 4.0.0 (the master in git), and you were using 3.4.4. The 4 beta version handles data differently (or rather, correctly). I believe the bug is really in phalcon itself, but there is a workaround that I have that works around this. I'll have that committed later today (after it's gone through all the CI tests). |
|
|
This is now fixed in GIT, for Xdebug 2.8.0beta3/RC1. |