Bug #61662 [Fbk->Nab]: header() cause apache to segfault
| From: | rasmus@php.net | Date: | Sun, 08 Apr 2012 00:22:57 +0000 |
| Subject: | Bug #61662 [Fbk->Nab]: header() cause apache to segfault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-169312@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
Updated by: rasmus@php.net
Reported by: gmblar+php at gmail dot com
Summary: header() cause apache to segfault
-Status: Feedback
+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:
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.
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2012-04-07 22:03:10] gmblar+php at gmail dot com
Description:
------------
Apache segfault, when call header() with wrong parameters.
Test script:
---------------
header('Cache-Control', 'public,max-age=86400');
Expected result:
----------------
Nothing
Actual result:
--------------
httpd[26348]: [core:notice] [pid 26348:tid 47243385569824] AH00052: child pid
26491 exit signal Segmentation fault (11), referer:
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61662&edit=1