From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.0.6
PHP Bug Type:     Apache related
Bug description:  Some functions calls made Apache Segfault

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:

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 :)


Edit bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to