ID:               42096
 Updated by:       paj...@php.net
 Reported By:      michael202 at gmx dot de
-Status:           Open
+Status:           Assigned
 Bug Type:         Streams related
-Operating System: Windows only
+Operating System: Windows
-PHP Version:      5.2CVS-2007-07-24
+PHP Version:      5.2*
-Assigned To:      
+Assigned To:      pajoye
 New Comment:

I have to verify with UNC path and 5.2.


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

[2009-11-27 17:18:56] michael202 at gmx dot de

First I gave up on this issue and switched to drive letters.
Now I tested php 5.3.1 and this bug is fixed !

It must have been an issue with php, because:

I have two parallel installations of php (5.2.6 and 5.3.1) on the same
computer.
If I switch between these I can produce the bug with 5.2.6 and I don't
have it with 5.3.1.

Again: for each access to a file with a UNC path, something truncates
the last character of the share name (here import -> impor) resulting in
hundreds of these error messages (/var/log/samba/log.smbd):

[2009/11/27 18:07:44, 0] smbd/service.c:make_connection(794)
  pro (1.2.7.1) couldn't find service impor

AND resulting in a very high load and a server hard reset.

Thanks !

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

[2007-09-08 01:00:01] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

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

[2007-08-31 10:04:20] j...@php.net

As is_dir() uses stat to check whether passed path is directory or not
I doubt this can really be any PHP bug, just another limitiation of
Windows. Try doing the same using something else than PHP and I bet the
result is the same.

And this is totally bogus: echo(is_dir($p) . "\n");
Proto for the function http://php.net/is_dir is:

bool is_dir ( string $filename )

"Returns TRUE if the filename exists and is a directory, FALSE 
otherwise."

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

[2007-08-08 09:09:04] michael202 at gmx dot de

running a script that makes a few thousand accesses to a samba server
(that is used by approx. 30 other hosts) causes this server to "crash"
and dismount the samba share.

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

[2007-07-25 14:43:22] michael202 at gmx dot de

tested with php5.2-win32-latest.zip
from today morning 2007-07-25 08h08

error is still in there

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

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/42096

-- 
Edit this bug report at http://bugs.php.net/?id=42096&edit=1

Reply via email to