ID: 32330 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Assigned Bug Type: Session related Operating System: * PHP Version: 5CVS, 4CVS (2005-03-17) Assigned To: sniper New Comment:
I think you are on the right track mfischer. It looks like PS(mod) and PS(mod_data) can get out of synch which would cause this. And I think all the others with seemingly unrelated issues are actually related. If PS(mod_data) leaks out of the per-request sandbox and infects subsequent requests all it takes is one application on a server to use its own session handler and it could affect other seemingly trivial standalone session apps on that server. Previous Comments: ------------------------------------------------------------------------ [2005-05-19 14:09:55] lekhoi at lekhoi dot com dot au I use Window XP -- running Apache SQLite version 2.8.14 PHP version 5.0.4 and am experiencing the same problem of PHP reporting error when calling session_start() I have never have this problem before. However, I am using SQLiteManager ver 1.0.6 and during the development stage I came across this problem. This problem occurs quite randomly specially when I try to modify the database structure or have troubled sql statement. It feels and sounds like a memory leak problem with SQLite functions. I have to stress that I come across this only when using SQLiteManager. I have used and configured session using SQLite as the database for sessions storing and never have a problem. To fix this, I restart Apache, and it works everytime. ------------------------------------------------------------------------ [2005-05-17 21:01:39] semorales at segob dot gob dot mx Any notice about this bug? I'm thinking about using the handler but I'm afraid it will crash my server. Please let me know. ------------------------------------------------------------------------ [2005-04-30 11:31:53] dmih at in-solve dot ru I've added several notes as this bug (marked as bogus): http://bugs.php.net/bug.php?id=32897 Please consider them, as it seems that it is about this bug really. Thanks. ------------------------------------------------------------------------ [2005-04-19 07:37:14] labsy at seznam dot org Since this bug is non-persistent, it is very hard to reproduce. Now, since I run PHP 5.0.2 as ISAPI module, I did a change and added php5isapi.dll also as ISAPI FILTER under web site properties in IIS. I don't have a slight idea what would that change, but it seems to solve problem - I hope. ------------------------------------------------------------------------ [2005-04-19 07:18:46] labsy at seznam dot org I was experiencing this problem one year ago, but now it reoccured. I run PHP 5.0.2 on Win 2000/IIS I act as WebHosting provider, host about 170 domains. Now, one thing that attracted my attention was, that one of my users installed osCommerce portal few days ago. Since osCommerce handles sessions its own way, it seems to corrupt session handling function in PHP all over my server. Any file which has session_start() at the beginning, needs to be loaded twice, first attempt to load page produces the mentioned error, but after reload session initializes normally. I have session.save_handler = files session.save_path = "C:\PHP\sessiondata" ;this dir is world writeable All my PHP files only use session_start() and $_SESSION[] variable cals, no other session functions are used. It worked fine, until one of my users installed osCommerce portal. ------------------------------------------------------------------------ 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/32330 -- Edit this bug report at http://bugs.php.net/?id=32330&edit=1