View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000154 | Xdebug | Uncategorized | public | 2005-10-14 17:58 | 2006-01-18 22:31 |
| Reporter | SiburNY | Assigned To | |||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | open | ||
| Summary | 0000154: Apache Segfault when xdebug.collect_params is ON | ||||
| Description | When xdebug.collect_params is OFF, everything works like a charm. Once I turn it on, all php scripts (except one that execute phpinfo() only) stop working. In Apache error log I see errors "[notice] child pid XXXXX exit signal Segmentation fault (11)". P.S. I'm using PHP 5.0.6-dev (latest CVS) and XDebug from CVS downloaded today (Oct 14 around 12:30PM -0500) | ||||
| Additional Information | I used GDB to get more info. This full output with stacktrace: Starting program: /usr/local/apache2/bin/httpd -X Program received signal SIGSEGV, Segmentation fault.
| ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 5.0.5 | ||||
|
|
Hello, I just committed a "fix" to CVS, can you please verify that this stops the crash itself? (The parameters will be shown as "???" though, I do need to look into this a bit better). Derick |
|
|
Yes, I tested it and it's not segfaulting and all parameters are "???" :) |
|
|
I think I figured out what is causing this - it might be GCC's over optimizating something. Which GCC version do you use (gcc --version) and does it work if you remove the "-O2" from the Makefile before compiling? |
|
|
I will recompile it today. Thank you. |
|
|
Does it work now? |
|
|
I can confirm this problem it a gcc over-optimization issue. gcc --version (vendor provided GCC) |
|
|
Everything works like a charm now :) Thanks! gcc --versiongcc (GCC) 4.0.2 20051007 (Red Hat 4.0.2-3) |
|
|
In CVS I now remove the -O2 for this extension, so all should be well even without hacking the Makefile yourself. Thanks for testing it! |