Bug #79267 [Fbk->NoF]: to much setcookie calls crashes the script

From: Date: Sun, 23 Feb 2020 04:22:08 +0000
Subject: Bug #79267 [Fbk->NoF]: to much setcookie calls crashes the script
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-225667@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79267&edit=1 ID: 79267 Updated by: php-bugs@lists.php.net Reported by: williamdes at wdes dot fr Summary: to much setcookie calls crashes the script -Status: Feedback +Status: No Feedback Type: Bug Package: Reproducible crash Operating System: devilbox/php-fpm:7.3-mods PHP Version: Irrelevant Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2020-02-13 00:45:23] requinix@php.net Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. ------------------------------------------------------------------------ [2020-02-12 23:02:38] williamdes at wdes dot fr Description: ------------ As I reported here https://github.com/phpmyadmin/phpmyadmin/issues/15709 To many calls to the setcookie will crash the process. Reproduced on Docker devilbox/php-fpm:7.1-mods and also 7.2,7.3,8.0 php versions I am not sure that the error is not due to something else than php. Test script: --------------- <?php setcookie("goto","",1577363177,"/@phpmyadmin/a/","",false); setcookie("back","",1577363177,"/@phpmyadmin/a/","",false); for ($i=1; $i < 40; $i++) { setcookie("pmaAuth-$i","",1577363177,"/@phpmyadmin/a/","",false); } Expected result: ---------------- See 200 success Actual result: -------------- 502 bad gateway ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=79267&edit=1

« previous php.bugs (#225667) next »