View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001238 | Xdebug | Uncategorized | public | 2015-12-18 16:31 | 2016-01-25 21:59 |
| Reporter | petervanderdoes | Assigned To | |||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | Linux | OS | Ubuntu | OS Version | 15.10 |
| Product Version | 2.4.0rc3 | ||||
| Fixed in Version | 2.4.0rc4 | ||||
| Summary | 0001238: php-fpm7.0 crashed with SIGSEGV in xdebug_var_export() | ||||
| Description | Using a WordPress site, PHP 7 crashes always, while debugging and while not debugging, at a certain point in the code. | ||||
| Steps To Reproduce | Hard to reproduce by others, it seems to specific to a certain site I have locally. Another WordPress site does not show the same problem. But the crash always occurs at the same point. | ||||
| Additional Information | The code that cause the crash:
} It crashes on return WP_ADMIN; Attached is the SegvAnalysis portion of the coredump. | ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 7.0.0-7.0.4 | ||||
|
|
Thanks for the report and backtrace. I am pretty sure that this is 0001229 - can you try the latest source from GitHub please? cheers, |
|
|
Derick, I don't know if this helps, but I'm seeing a similar issue. Syslog reports [ 5277.283602] php-fpm7.0[29262]: segfault at 12 ip 00007f4fd4d0c082 sp 00007ffde87616e0 error 4 in xdebug.so[7f4fd4ce3000+38000] I can provide full crash report if you like. Environmnet: Ubuntu 15.10 I'll try the mainline branch this weekend. |
|
|
Cloned the repository, installed 2.4.0RC4-dev, resulted in NO crash during normal work, but crash when debugging as soon as a breakpoint is hit and you continue the program. Uploaded new backtrace. |
|
|
Looks like I missed one occurence of the issue. Quick fix for you to make things work while I fix it is to change any -O2 to -O0 in the Makefile after running "./configure" and before "make". Instead of just "make" you'll likely will have to run "make clean" first (but still after "./configure". |
|
|
Yup that seems to solve the issue for debugging. Thanks. |
|
|
And regular stuff as well, No more crashing |
|
|
This should now be fixed in Git's master - without the O2 ? O0 hack. |