Closed onexzero closed 1 year ago
@onexzero can you share the crash report ? https://github.com/dokan-dev/dokany/wiki/How-to-Debug-Dokan#crash-report-bsod
KMODE_EXCEPTION_NOT_HANDLED (1e) This is a very common BugCheck. Usually the exception address pinpoints the driver/function that caused the problem. Always note this address as well as the link date of the driver/image that contains this address. Arguments: Arg1: c0000005, The exception code that was not handled Arg2: 8256de74, The address that the exception occurred at Arg3: 00000000, Parameter 0 of the exception Arg4: 0038002e, Parameter 1 of the exception
Page 7452 not present in the dump file. Type ".hh dbgerr004" for details Page 7452 not present in the dump file. Type ".hh dbgerr004" for details Page 7452 not present in the dump file. Type ".hh dbgerr004" for details
KEY_VALUES_STRING: 1
Key : Analysis.CPU.mSec
Value: 2578
Key : Analysis.DebugAnalysisManager
Value: Create
Key : Analysis.Elapsed.mSec
Value: 2703
Key : Analysis.Init.CPU.mSec
Value: 1921
Key : Analysis.Init.Elapsed.mSec
Value: 4224
Key : Analysis.Memory.CommitPeak.Mb
Value: 78
Key : WER.OS.Branch
Value: 19h1_release
Key : WER.OS.Timestamp
Value: 2019-03-18T12:02:00Z
Key : WER.OS.Version
Value: 10.0.18362.1
FILE_IN_CAB: MEMORY.DMP
VIRTUAL_MACHINE: VMware
BUGCHECK_CODE: 1e
BUGCHECK_P1: ffffffffc0000005
BUGCHECK_P2: ffffffff8256de74
BUGCHECK_P3: 0
BUGCHECK_P4: 38002e
BLACKBOXBSD: 1 (!blackboxbsd)
BLACKBOXNTFS: 1 (!blackboxntfs)
BLACKBOXWINLOGON: 1
PROCESS_NAME: mirror.exe
TRAP_FRAME: 9cedb1ec -- (.trap 0xffffffff9cedb1ec) ErrCode = 00000000 eax=00000007 ebx=00000800 ecx=0038002a edx=9cedb5cc esi=9cedb4ac edi=a91ed84b eip=8256de74 esp=9cedb260 ebp=9cedb4c0 iopl=0 nv up ei pl nz na po nc cs=0008 ss=0010 ds=0023 es=0023 fs=0030 gs=0000 efl=00010202 nt!_output_l+0x3be: 8256de74 8b7104 mov esi,dword ptr [ecx+4] ds:0023:0038002e=???????? Resetting default scope
STACK_TEXT:
9cedaba8 826088d7 0000001e c0000005 8256de74 nt!KeBugCheckEx
9cedabc4 82582282 9cedb108 82704428 9cedacc0 nt!KiFatalExceptionHandler+0x1a
9cedabe8 82582254 9cedb108 82704428 9cedacc0 nt!ExecuteHandler2+0x26
9cedacb0 8247c141 9cedb108 9cedacc0 00010037 nt!ExecuteHandler+0x24
9cedb0ec 8257aeed 9cedb108 00000000 9cedb1ec nt!KiDispatchException+0x1a1
9cedb158 8257f7ce 00000000 00000000 00000000 nt!KiDispatchTrapException+0x51
Thanks I have been able to reproduce but could not find out right now what is happening.
Here is a fix!
sys/create.c line 413
change fileObject->FileName, --> &fileObject->FileName
we need & operator.
Very good catch @onexzero ! I applied the fix here https://github.com/dokan-dev/dokany/commit/938f012556d45d53f17adc446582b7964b2773e2 Thanks for not giving up on this issue 👍
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
Check List
Description
Enabling the DOKAN_OPTION_DISPATCH_DRIVER_LOGS flag causes CRASH on mount on 32-bit.
Logs
Please attach in separate files: mirror output, library logs and kernel logs. In case of BSOD, please attach minidump or dump analyze output.