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

From: <xdebug-dev[@]lists.xdebug.org>
Date: Tue, 17 Jan 2006 21:15:08 +0100

A BUGNOTE has been added to this bug.
======================================================================
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.5
Xdebug Version: 2.0.0beta2
======================================================================
Date Submitted: 2005-10-14 18:58 CEST
Last Modified: 2006-01-17 21:15 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?

----------------------------------------------------------------------
 SiburNY - 2005-12-30 21:45 CET
----------------------------------------------------------------------
I will recompile it today. Thank you.

----------------------------------------------------------------------
 derick - 2006-01-17 21:15 CET
----------------------------------------------------------------------
Does it work now?

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
2005-12-30 21:45SiburNY Bugnote Added: 0000326
2006-01-17 21:15derick Bugnote Added: 0000332
2006-01-17 21:15derick PHP Version 5.0.4 => 5.0.5
2006-01-17 21:15derick Xdebug Version 2.0.0beta5-dev => 2.0.0beta2
======================================================================
Received on Tue Jan 17 2006 - 21:15:13 GMT

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