#39138 [Fbk->Opn]: LOCK_NB for flock() does not work
| From: | php at koterov dot ru | Date: | Fri, 13 Oct 2006 14:13:00 +0000 |
| Subject: | #39138 [Fbk->Opn]: LOCK_NB for flock() does not work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-103520@lists.php.net to get a copy of this message | ||
ID: 39138
User updated by: php at koterov dot ru
Reported By: php at koterov dot ru
-Status: Feedback
+Status: Open
Bug Type: Filesystem function related
Operating System: Windows, Linux
PHP Version: 5.1.6
New Comment:
Thanks for detailed testing.
Server version: Apache/2.0.54
Server built: Apr 16 2005 14:25:31
Windows XP, NTFS.
I don't know if my server threaded or not; where could I see that?
With command-line php.exe effect is NOT quite reproducible: first
process prints "bool(true) int(0)", second - "bool(false) int(0)".
(Note that in both cases we have 0 in $w; is it proper or not?)
One time I've got in additional a message: "Failed to start up
concurrent users module!" with php.exe, but cannot reproduce this
message again now.
Previous Comments:
------------------------------------------------------------------------
[2006-10-13 13:43:17] tony2001@php.net
What kind of Server API do you use and is your web-server threaded or
not?
Where can I see the results? (as I'm unable to reproduce it locally)
------------------------------------------------------------------------
[2006-10-13 13:38:31] php at koterov dot ru
PHP 5.2.0RC6-dev (cli) (built: Oct 13 2006 12:22:44)
Bug is reproducible.
------------------------------------------------------------------------
[2006-10-13 08:34:14] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
------------------------------------------------------------------------
[2006-10-13 06:47:58] php at koterov dot ru
Ah, on Linux bug is reproducible at version 5.1.1. Sorry, I do not have
more recent test machine. On Windows - I've tested 5.1.6, bug is
reproducible.
------------------------------------------------------------------------
[2006-10-12 14:44:12] tony2001@php.net
Not reproducible on Linux.
------------------------------------------------------------------------
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/39138
--
Edit this bug report at http://bugs.php.net/?id=39138&edit=1