Bug #61662 [Nab]: header() cause apache to segfault
| From: | gmblar+php at gmail dot com | Date: | Sun, 08 Apr 2012 01:19:53 +0000 |
| Subject: | Bug #61662 [Nab]: header() cause apache to segfault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-169316@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61662&edit=1
ID: 61662
User updated by: gmblar+php at gmail dot com
Reported by: gmblar+php at gmail dot com
Summary: header() cause apache to segfault
Status: Not a bug
Type: Bug
Package: *General Issues
Operating System: Debian 6
PHP Version: 5.4.0
Block user comment: N
Private report: N
New Comment:
Reported to Apache Bugtracker https://issues.apache.org/bugzilla/show_bug.cgi?
id=48272
Previous Comments:
------------------------------------------------------------------------
[2012-04-08 00:29:01] rasmus@php.net
Yes, but we can't fix bugs in Apache 2.4. Show me a stack of a segfault in actual
PHP code and I can take a look.
------------------------------------------------------------------------
[2012-04-08 00:24:21] gmblar+php at gmail dot com
The problem occurs only with Apache 2.4, not in the CLI version of php.
$ uname -a
Linux foobox 2.6.32-238.19.1.el5.028stab092.2 #1 SMP Thu Sep 22 13:24:07 MSD 2011
x86_64 GNU/Linux
$ cat /etc/debian_version
6.0.4
------------------------------------------------------------------------
[2012-04-08 00:22:57] rasmus@php.net
But if you are running php-fpm then there is no PHP code in your Apache process.
It is only communicating via FastCGI. And since your segfault is in httpd then
this isn't a PHP bug. It doesn't matter what we send over FastCGI to Apache,
nothing we can possibly send should trigger a segfault. Report the bug to the
Apache folks.
------------------------------------------------------------------------
[2012-04-08 00:15:12] gmblar+php at gmail dot com
Tested with Apache 2.4 (mod_proxy_fcgi) and PHP-FPM 5.4.
Apache configuration: http://foobox.de/Apache/Konfiguration/
PHP configuration: http://foobox.de/PHP/info.php
------------------------------------------------------------------------
[2012-04-07 22:54:40] rasmus@php.net
Are you sure that's all you have in your script? I tried this both on Debian and
Ubuntu from CLI and under Apache and I also checked it with Valgrind. I see no
memory issues with this.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=61662
--
Edit this bug report at https://bugs.php.net/bug.php?id=61662&edit=1