sehang / dokan

Automatically exported from code.google.com/p/dokan
0 stars 0 forks source link

Blue screens on deleting files with Win7 Explorer #247

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Install on Windows 7 and use Mirror.exe over a network path.

2. Copy a lot of files to Dokan Drive and then delete a lot of them with Win 
Exporer

3. Press CANCEL during the delete and the computer blue screens instantly most 
times.

What is the expected output? What do you see instead?

One should see files deleted from the Dokan disk. If one leaves the thing alone 
then that is what happens. If one CANCELS on the explorer dialog box during the 
multiple delete then one gets a blue screen STOP 0x8E on 32 bit Win7 or blue 
screen STOP 0x3B (SYSTEM_SERVICE_EXCEPTION)  on Windows 7 64 bit

What version of the product are you using? On what operating system?

Dokan 0.6.0, Windows 7 Ultimate 32 bit and 64 bit

Please provide any additional information below.

Does not fault when using cmd "DEL *.* /s /q" is interrupted with CTRL "C" only 
with explorer.

Also faults when copying files OUT of the dokan to another drive, with Windows 
Explorer and the CANCEL button is pressed. Copying in seems to work correctly.

Original issue reported on code.google.com by moatl...@gmail.com on 3 Feb 2012 at 5:56

GoogleCodeExporter commented 8 years ago
PS: Using standard Dokan.dll Dokan.sys Mirror.exe built with WinDDK 7600. Also 
stock driver from binary installer doesn't work.

Original comment by moatl...@gmail.com on 3 Feb 2012 at 6:01

GoogleCodeExporter commented 8 years ago
PPS: Workaround - This problem is caused by the function PrintUserName in 
Mirror.c and this is used for debugging only. It is called only by 
MirrorCreateFile and the call can therefore be safely commented out or the 
function removed. The problem then goes away completely. 

Shaun Hollingworth.

Original comment by moatl...@gmail.com on 6 Feb 2012 at 4:19