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! |
Date Modified | Username | Field | Change |
---|---|---|---|
2005-10-14 17:58 | SiburNY | New Issue | |
2005-10-19 09:21 | derick | Xdebug Version | 2.0-dev => 2.0.0beta5-dev |
2005-10-19 09:21 | derick | Note Added: 0000299 | |
2005-10-19 20:04 | SiburNY | Note Added: 0000301 | |
2005-12-30 14:39 | derick | Note Added: 0000316 | |
2005-12-30 14:39 | derick | Status | new => feedback |
2005-12-30 21:45 | SiburNY | Note Added: 0000326 | |
2006-01-17 21:15 | derick | PHP Version | 5.0.4 => 5.0.5 |
2006-01-17 21:15 | derick | Xdebug Version | 2.0.0beta5-dev => 2.0.0beta2 |
2006-01-17 21:15 | derick | Note Added: 0000332 | |
2006-01-17 23:22 | derick | Relationship added | has duplicate 0000165 |
2006-01-17 23:29 | judas_iscariote | Note Added: 0000347 | |
2006-01-18 20:34 | SiburNY | Note Added: 0000350 | |
2006-01-18 22:31 | derick | Status | feedback => closed |
2006-01-18 22:31 | derick | Note Added: 0000351 | |
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 |