Bug #79267 [Com]: to much setcookie calls crashes the script

From: Date: Mon, 24 Feb 2020 12:36:52 +0000
Subject: Bug #79267 [Com]: to much setcookie calls crashes the script
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-225693@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 Comment by: hennadii dot panasenko at gmail dot com Reported by: williamdes at wdes dot fr Summary: to much setcookie calls crashes the script Status: Verified Type: Bug Package: Reproducible crash Operating System: devilbox/php-fpm:7.3-mods PHP Version: Irrelevant Block user comment: N Private report: N New Comment: I'm facing the same issue while trying to send extra one cookie using the code setcookie('GLSU', $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'], 0, '/' , $_SERVER['SERVER_NAME'], true, true); When I commented out one of the cookies (other, not this), all works fine. No 'buben-dances' helped to solve the issue, not changing the cookie data, nor cookie name or any other credentials. It looks like only cookie count matters. If needed, I'm ready to help to reproduce it. Previous Comments: ------------------------------------------------------------------------ [2020-02-24 12:10:19] nikic@php.net With FPM I do see a "502 bad gateway", though no actual crash. ------------------------------------------------------------------------ [2020-02-24 12:00:09] nikic@php.net Doesn't reproduce on built-in server at least. ------------------------------------------------------------------------ [2020-02-23 14:50:49] williamdes at wdes dot fr I will not have time soon to test in debug mode But I will do it someday :) ------------------------------------------------------------------------ [2020-02-23 04:22:08] php-bugs at lists dot php dot net 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. ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ 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=79267 -- Edit this bug report at https://bugs.php.net/bug.php?id=79267&edit=1

« previous php.bugs (#225693) next »