#23354 [Csd]: Use of variable before registration problem

From: Date: Fri, 23 May 2003 16:23:24 +0000
Subject: #23354 [Csd]: Use of variable before registration problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-40297@lists.php.net to get a copy of this message
ID: 23354 User updated by: bill dot macallister at prideindustries dot com Reported By: bill dot macallister at prideindustries dot com Status: Closed Bug Type: Session related Operating System: Linux 2.4.18-27.7.xsmp PHP Version: 4-STABLE-200304281330 New Comment: While the test case that caused this failure was solved with RC4 we are stilling seeing an intermittent problem with session information disappearing. Unfortunately we cannot reproduce the problem at will and see it once or twice is several hundred accesses to this application. We are working on getting more details, but at this point that looks like a slow process. I just wanted to let you know in case you notice something that might be causing this. Thanks again for you efforts, Bill Previous Comments: ------------------------------------------------------------------------ [2003-05-18 11:50:28] sniper@php.net Fix will be in PHP 4.3.2. ------------------------------------------------------------------------ [2003-05-17 17:40:06] bill dot macallister at prideindustries dot com Looks like that fixed the problem. Initial tests are good. Thanks a lot, Bill ------------------------------------------------------------------------ [2003-05-15 13:19:28] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip This might be fixed now. ------------------------------------------------------------------------ [2003-05-09 01:02:37] bill dot macallister at prideindustries dot com On a development system that is exhibits this problem we tried pulling out our customer handler routines and used the vanilla session support in PHP. The problem persists. ------------------------------------------------------------------------ [2003-05-08 16:41:21] bill dot macallister at prideindustries dot com We very carefully went through our code and made sure that we never used a variable before we registered it and the specific problem that I reported does not occur. But we are seeing, very intermitently, similiar failures that we cannot explain. Basically we see a session "lose" its variables. This is happening about 10 times in 1000 accesses. We have not been able to reproduce the problem on demand. This is causing us too much pain at this point and we will likely fall back to 4.2.3 where we do not see the problem. I really think that the variable register/use that I reported is exercising a more fundamental problem. We will try removing our session handler and see if the problem persists. ------------------------------------------------------------------------ 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 http://bugs.php.net/23354 -- Edit this bug report at http://bugs.php.net/?id=23354&edit=1

« previous php.bugs (#40297) next »