Bug #13153 Updated: Some functions calls made Apache Segfault
| From: | rasmus@php.net | Date: | Wed, 05 Sep 2001 18:10:41 +0000 |
| Subject: | Bug #13153 Updated: Some functions calls made Apache Segfault | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-65169@lists.php.net to get a copy of this message | ||
ID: 13153
Updated by: rasmus
Reported By: d.denis@absyde.com
Old Status: Open
Status: Closed
Bug Type: Apache related
Operating System: Linux
PHP Version: 4.0.6
New Comment:
This has been fixed in CVS and will be in 4.0.7
Previous Comments:
------------------------------------------------------------------------
[2001-09-05 14:05:06] d.denis@absyde.com
Hello all,
Some weird bugs were found playing with Apache 1.3.20 and PHP 4.0.6. Apache reported that some child
process died after a Segfault. I have tracked a little the .php files, not all are crashing Apache.
I found the nasty sequences in one of them :
this works fine:
setcookie("cookie" ,$date_now , time()+24*3600 , "p.php" );
this makes some Apache child process segfault:
setcookie("cookie");
funny isn't it ? :)
I have tried with and without output buffering, removing mysql and mhash modules, nothing changes.
After installing 4.0.5 debian packages everything went ok. Other php pages made Apache segfault(
without setcookie() calls ). I haven't
tracked them. Hope this will help :)
Regards,
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13153&edit=1