[xdebug-dev] Bug 0000154: Apache Segfault when xdebug.collect_params is ON

From: <xdebug-dev[@]lists.xdebug.org>
Date: Fri, 30 Dec 2005 14:39:31 +0100

The following bug requires your FEEDBACK.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000154
======================================================================
Reporter: SiburNY
Handler:
======================================================================
Project: Xdebug
Bug ID: 154
Category: Usage problems
Reproducibility: always
Severity: crash
Priority: normal
Status: feedback
Operating System:
PHP Version: 5.0.4
Xdebug Version: 2.0.0beta5-dev
======================================================================
Date Submitted: 2005-10-14 18:58 CEST
Last Modified: 2005-12-30 14:39 CET
======================================================================
Summary: 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)
======================================================================

----------------------------------------------------------------------
 derick - 2005-10-19 10:21 CEST
----------------------------------------------------------------------
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

----------------------------------------------------------------------
 SiburNY - 2005-10-19 21:04 CEST
----------------------------------------------------------------------
Yes, I tested it and it's not segfaulting and all parameters are "???" :)

----------------------------------------------------------------------
 derick - 2005-12-30 14:39 CET
----------------------------------------------------------------------
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?

Bug History
Date Modified Username Field Change
======================================================================
2005-10-14 18:58SiburNY New Bug
2005-10-14 18:58SiburNY Bug Monitored: SiburNY
2005-10-19 10:21derick Bugnote Added: 0000299
2005-10-19 10:21derick Xdebug Version 2.0-dev => 2.0.0beta5-dev
2005-10-19 21:04SiburNY Bugnote Added: 0000301
2005-12-30 14:39derick Bugnote Added: 0000316
2005-12-30 14:39derick Status new => feedback
======================================================================
Received on Fri Dec 30 2005 - 14:39:36 GMT

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST