#41738 [NEW]: session file lock not released
| From: | e dot mauviere at geoclip dot fr | Date: | Tue, 19 Jun 2007 17:27:27 +0000 |
| Subject: | #41738 [NEW]: session file lock not released | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-113932@lists.php.net to get a copy of this message | ||
From: e dot mauviere at geoclip dot fr
Operating system: Win XPPRO
PHP version: 5.2.3
PHP Bug Type: Session related
Bug description: session file lock not released
Description:
------------
This appeared suddendly on my server. a session_start() in a php script
called by a first one with a first session_start() fails :
Warning: session_start() [function.session-start]:
open(C:\WINDOWS\TEMP\\sess_dasb7s8kc3op8u6220rupt7ed4, O_RDWR) failed:
Permission denied (13) in c:\wwwroot\_fl7\session.php on line 2
After checking in windows temp, the session file appears to be locked
(read only).
I had to restart the server, all was working properly again, then, few
hours later, same problem suddendly appears.
Reproduce code:
---------------
<?php
session_start();
echo $_SESSION["test"];
$_SESSION["test"]=1;
?>
<html>
<body>
<a href='session.php'>recall</a>
</body>
</html>
Expected result:
----------------
after clicking recall link : 1
Actual result:
--------------
Warning: session_start() [function.session-start]:
open(C:\WINDOWS\TEMP\\sess_dasb7s8kc3op8u6220rupt7ed4, O_RDWR) failed:
Permission denied (13) in c:\wwwroot\_fl7\session.php on line 2
--
Edit bug report at http://bugs.php.net/?id=41738&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41738&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41738&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41738&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=41738&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=41738&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=41738&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=41738&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=41738&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=41738&r=support
Expected behavior: http://bugs.php.net/fix.php?id=41738&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=41738&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=41738&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=41738&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41738&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=41738&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=41738&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=41738&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=41738&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=41738&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=41738&r=mysqlcfg