Repository: dokan-dev/dokany

Issue #414: BSOD in /n (NetworkDrive) mirror sample
Created: 2016-12-26T06:41:02Z
Feature request can skip this form. Bug report must complete it. Check List must be 100% match or it will be automatically closed without further discussion. Please remove this line.
Environment

Windows version: Windows 7 x86
Processor architecture: x86
Dokany version: 1.0.1.1025+
Library type (Dokany/FUSE): Dokany

Check List

 I checked my issue doesn't exist yet
 My issue is valid with mirror default sample and not specific to my user-mode driver implementation
 I can always reproduce the issue with the provided description below.
 I have updated Dokany to the latest version and have reboot my computer after.
 I tested one of the last snapshot from appveyor CI

Description
Logs



Support
sorry my english...
test in dokany version 1.0.1.1025+ (with latest commit)
#396 issue is resolved but reproduced BSOD sometimes.
I install/uninstall dokan driver 2~3 times, occur BSOD when rename file with NetworkDrive option.
attach kernel debugger for dokan debug message, I found out call "FileNameInformation" in fileinfo.c not "FileNormalizedNameInformation" when rename file.
So, I test isNormalized set to TRUE in NetworkDrive always like this
if (isNetworkFileSystem) {
    if (fcb->FileName.Length == 0 || fcb->FileName.Buffer[0] != L'\\') {
         DDbgPrint("  NetworkFileSystem has no root folder. So return the full device name \n");
         fileName = vcb->Dcb->DiskDeviceName;
         length = fileName->Length;
    }
    else {
        isNormalized = TRUE;
        if (isNormalized) {
            DDbgPrint("  FullFileName should be returned \n");
            fileName = vcb->Dcb->DiskDeviceName;
            length = fileName->Length + vcb->Dcb->DiskDeviceName->Length;
            doConcat = TRUE;
        }
    }
}
It's works fine, but I don't know why just call "FileNameInformation" not "FileNormalizedNameInformation"... and I don't know it's correct fixed code.

Duplicate issue #814: With security software installed, launching mirror.exe with the network drive option causes BSOD.
Created: 2019-07-17T09:46:13Z
Feature request can skip this form. Bug report must complete it. Check List must be 100% match or it will be automatically closed without further discussion. Please remove this line.
Environment

Windows version: Windows 10 Home 1903
Processor architecture: x64
Dokany version: 1.2.2.1000
Library type (Dokany/FUSE): Dokany

Check List

 I checked my issue doesn't exist yet
 My issue is valid with mirror default sample and not specific to my user-mode driver implementation
 I can always reproduce the issue with the provided description below.
 I have updated Dokany to the latest version and have reboot my computer after.
 I tested one of the last snapshot from appveyor CI

Description
I am not good at English, so I translated this text by Google translation.
With security software installed, launching mirror.exe with the network drive option causes BSOD.
The command line argument of mirror.exe is "/d /n /s /r C:\work\tmp /l F".
The security software that I was able to confirm BSOD is Kaspersky and Avira.
I reproduced with high probability by the following operation.


Reproduction operation in case of Kaspersky
Open a network drive
Create a new file or folder and rename it.


Reproduction operation in case of Avira
Rename files or folders.


I reproduced the test using 1.2.2.1724 downloaded from AppVeyor.
But it did not reproduce in the combination of Avira + dokany 1.2.2.1724.
I attach minidump and kernel debug log when I occured BSOD.
Logs
dokany_bsod_log.zip

Closing comment (2019-07-23T11:31:40Z): Looks related to #414