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

From: Date: Sun, 18 May 2003 16:50:28 +0000
Subject: #23354 [Opn->Csd]: Use of variable before registration problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39882@lists.php.net to get a copy of this message
 ID:               23354
 Updated by:       sniper@php.net
 Reported By:      bill dot macallister at prideindustries dot com
-Status:           Open
+Status:           Closed
 Bug Type:         Session related
 Operating System: Linux 2.4.18-27.7.xsmp
 PHP Version:      4-STABLE-200304281330
 New Comment:

Fix will be in PHP 4.3.2.



Previous Comments:
------------------------------------------------------------------------

[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.

------------------------------------------------------------------------

[2003-04-30 10:58:33] bill dot macallister at prideindustries dot com

Well, a cleaned up php.ini did not seem to change anything.  What I did
was to start from php.ini-recommended and then add local changes.

Bill

------------------------------------------------------------------------

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



Thread (16 messages)

« previous php.bugs (#39882) next »