{"action":"created","issue":{"url":"https://api.github.com/repos/dokan-dev/dokany/issues/63","labels_url":"https://api.github.com/repos/dokan-dev/dokany/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/dokan-dev/dokany/issues/63/comments","events_url":"https://api.github.com/repos/dokan-dev/dokany/issues/63/events","html_url":"https://github.com/dokan-dev/dokany/issues/63","id":107695954,"number":63,"title":"BSOD mount.exe  with 0.7.4","user":{"login":"MarkJJMcCormack","id":14763340,"avatar_url":"https://avatars.githubusercontent.com/u/14763340?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkJJMcCormack","html_url":"https://github.com/MarkJJMcCormack","followers_url":"https://api.github.com/users/MarkJJMcCormack/followers","following_url":"https://api.github.com/users/MarkJJMcCormack/following{/other_user}","gists_url":"https://api.github.com/users/MarkJJMcCormack/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkJJMcCormack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkJJMcCormack/subscriptions","organizations_url":"https://api.github.com/users/MarkJJMcCormack/orgs","repos_url":"https://api.github.com/users/MarkJJMcCormack/repos","events_url":"https://api.github.com/users/MarkJJMcCormack/events{/privacy}","received_events_url":"https://api.github.com/users/MarkJJMcCormack/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-22T11:28:22Z","updated_at":"2015-09-22T12:44:25Z","closed_at":null,"body":"Whilst attempting to write a simple .NET based simple file system (experimenting) using Visual Studio 2012 & .NET 4 I encountered two BSOD during the day.  They seem to relate to the mounter.exe rather than the driver, but of course I don't really have the experience to know.  My machine has hardly ever BSOD so I am pretty sure it is Dokan related.\r\n\r\nI have pasted the BSOD analyse for the second of the two BSODs.\r\n\r\n====================================================\r\n\r\nMicrosoft (R) Windows Debugger Version 6.3.9600.17336 AMD64\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\n\r\n\r\nLoading Dump File [C:\\Windows\\MEMORY.DMP]\r\nKernel Summary Dump File: Only kernel address space is available\r\n\r\n\r\n************* Symbol Path validation summary **************\r\nResponse                         Time (ms)     Location\r\nDeferred                                       SRV*C:\\Windows\\symbol_cache*http://msdl.microsoft.com/download/symbols\r\nSymbol search path is: SRV*C:\\Windows\\symbol_cache*http://msdl.microsoft.com/download/symbols\r\nExecutable search path is: \r\nWindows 7 Kernel Version 7601 (Service Pack 1) MP (8 procs) Free x64\r\nProduct: WinNt, suite: TerminalServer SingleUserTS\r\nBuilt by: 7601.18939.amd64fre.win7sp1_gdr.150722-0600\r\nMachine Name:\r\nKernel base = 0xfffff800`0341f000 PsLoadedModuleList = 0xfffff800`03666730\r\nDebug session time: Mon Sep 21 21:40:12.408 2015 (UTC + 1:00)\r\nSystem Uptime: 0 days 5:25:44.221\r\nLoading Kernel Symbols\r\n...............................................................\r\n................................................................\r\n.......................................\r\nLoading User Symbols\r\nPEB is paged out (Peb.Ldr = 00000000`7efdf018).  Type \".hh dbgerr001\" for details\r\nLoading unloaded module list\r\n...........\r\n*******************************************************************************\r\n*                                                                             *\r\n*                        Bugcheck Analysis                                    *\r\n*                                                                             *\r\n*******************************************************************************\r\n\r\nUse !analyze -v to get detailed debugging information.\r\n\r\nBugCheck 3B, {c0000005, fffff800037697a1, fffff88009ac6860, 0}\r\n\r\nProbably caused by : ntkrnlmp.exe ( nt!ObpQueryNameString+51 )\r\n\r\nFollowup: MachineOwner\r\n---------\r\n\r\n6: kd> !analyze -v\r\n*******************************************************************************\r\n*                                                                             *\r\n*                        Bugcheck Analysis                                    *\r\n*                                                                             *\r\n*******************************************************************************\r\n\r\nSYSTEM_SERVICE_EXCEPTION (3b)\r\nAn exception happened while executing a system service routine.\r\nArguments:\r\nArg1: 00000000c0000005, Exception code that caused the bugcheck\r\nArg2: fffff800037697a1, Address of the instruction which caused the bugcheck\r\nArg3: fffff88009ac6860, Address of the context record for the exception that caused the bugcheck\r\nArg4: 0000000000000000, zero.\r\n\r\nDebugging Details:\r\n------------------\r\n\r\n\r\nEXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.\r\n\r\nFAULTING_IP: \r\nnt!ObpQueryNameString+51\r\nfffff800`037697a1 410fb64718      movzx   eax,byte ptr [r15+18h]\r\n\r\nCONTEXT:  fffff88009ac6860 -- (.cxr 0xfffff88009ac6860;r)\r\nrax=fffff88009ac7338 rbx=fffffa8010be2ee0 rcx=0074007300790053\r\nrdx=fffffa8010be2f00 rsi=0000000000000001 rdi=0000000000000000\r\nrip=fffff800037697a1 rsp=fffff88009ac7240 rbp=0074007300790053\r\n r8=00000000000000fe  r9=fffff88009ac73b8 r10=fffff88001359840\r\nr11=fffff88009ac7478 r12=fffffa800d3cd3f0 r13=0074007300790053\r\nr14=fffffa8010be2f00 r15=0074007300790023\r\niopl=0         nv up ei pl zr na po nc\r\ncs=0010  ss=0018  ds=002b  es=002b  fs=0053  gs=002b             efl=00010246\r\nnt!ObpQueryNameString+0x51:\r\nfffff800`037697a1 410fb64718      movzx   eax,byte ptr [r15+18h] ds:002b:00740073`0079003b=??\r\nLast set context:\r\nrax=fffff88009ac7338 rbx=fffffa8010be2ee0 rcx=0074007300790053\r\nrdx=fffffa8010be2f00 rsi=0000000000000001 rdi=0000000000000000\r\nrip=fffff800037697a1 rsp=fffff88009ac7240 rbp=0074007300790053\r\n r8=00000000000000fe  r9=fffff88009ac73b8 r10=fffff88001359840\r\nr11=fffff88009ac7478 r12=fffffa800d3cd3f0 r13=0074007300790053\r\nr14=fffffa8010be2f00 r15=0074007300790023\r\niopl=0         nv up ei pl zr na po nc\r\ncs=0010  ss=0018  ds=002b  es=002b  fs=0053  gs=002b             efl=00010246\r\nnt!ObpQueryNameString+0x51:\r\nfffff800`037697a1 410fb64718      movzx   eax,byte ptr [r15+18h] ds:002b:00740073`0079003b=??\r\nResetting default scope\r\n\r\nDEFAULT_BUCKET_ID:  WIN7_DRIVER_FAULT\r\n\r\nBUGCHECK_STR:  0x3B\r\n\r\nPROCESS_NAME:  mounter.exe\r\n\r\nCURRENT_IRQL:  0\r\n\r\nANALYSIS_VERSION: 6.3.9600.17336 (debuggers(dbg).150226-1500) amd64fre\r\n\r\nLAST_CONTROL_TRANSFER:  from fffff80003771b0e to fffff800037697a1\r\n\r\nSTACK_TEXT:  \r\nfffff880`09ac7240 fffff800`03771b0e : 00740073`00790053 fffffa80`10be2f00 fffffa80`000000fe fffff880`09ac73b8 : nt!ObpQueryNameString+0x51\r\nfffff880`09ac7340 fffff880`01364e31 : fffffa80`00000000 fffffa80`00000000 00000000`00001000 00000000`00000000 : nt!ObQueryNameString+0xe\r\nfffff880`09ac7380 fffff880`01363327 : fffffa80`10be2ee0 fffff800`03495a04 fffff800`0369da50 00000000`00000000 : fltmgr!FltpGetObjectName+0x31\r\nfffff880`09ac73b0 fffff880`0135e971 : fffffa80`0d3cd2a0 fffff800`0369da50 00000000`00000000 00000000`00000000 : fltmgr!FltpFsControlMountVolume+0xa7\r\nfffff880`09ac7480 fffff800`036fb28f : fffffa80`0d3cd2a0 00000000`00000000 fffffa80`0d3cd2a0 fffffa80`14dc4560 : fltmgr!FltpFsControl+0x101\r\nfffff880`09ac74e0 fffff800`034819d7 : fffff880`09ac77d0 fffff880`09ac7701 fffffa80`13a83c00 00000000`00000000 : nt!IopMountVolume+0x28f\r\nfffff880`09ac75a0 fffff800`03791206 : 00000000`00000025 00000000`00000000 fffff880`09ac77d0 fffff880`09ac7778 : nt!IopCheckVpbMounted+0x1b7\r\nfffff880`09ac7610 fffff800`0378dbae : fffffa80`13a83c40 00000000`00000000 fffffa80`126a2b10 00000000`00000001 : nt!IopParseDevice+0xb4d\r\nfffff880`09ac7770 fffff800`0378e696 : 00000000`00000000 fffff880`09ac78f0 00000000`00000040 fffffa80`0cdcef30 : nt!ObpLookupObjectName+0x784\r\nfffff880`09ac7870 fffff800`0378ff9c : 00000000`00f80018 00000000`00000000 fffff8a0`13f8e601 fffff800`00000000 : nt!ObOpenObjectByName+0x306\r\nfffff880`09ac7940 fffff800`0379b5c8 : 00000000`0029e7c8 00000000`c0100080 00000000`0029f090 00000000`0029e7e0 : nt!IopCreateFile+0x2bc\r\nfffff880`09ac79e0 fffff800`03491853 : 00000000`00000000 fffff800`037adc00 fffff880`746c6644 fffff880`09ac7af8 : nt!NtCreateFile+0x78\r\nfffff880`09ac7a70 00000000`77afdf0a : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : nt!KiSystemServiceCopyEnd+0x13\r\n00000000`0029e758 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0x77afdf0a\r\n\r\n\r\nFOLLOWUP_IP: \r\nnt!ObpQueryNameString+51\r\nfffff800`037697a1 410fb64718      movzx   eax,byte ptr [r15+18h]\r\n\r\nSYMBOL_STACK_INDEX:  0\r\n\r\nSYMBOL_NAME:  nt!ObpQueryNameString+51\r\n\r\nFOLLOWUP_NAME:  MachineOwner\r\n\r\nMODULE_NAME: nt\r\n\r\nIMAGE_NAME:  ntkrnlmp.exe\r\n\r\nDEBUG_FLR_IMAGE_TIMESTAMP:  55afca65\r\n\r\nIMAGE_VERSION:  6.1.7601.18939\r\n\r\nSTACK_COMMAND:  .cxr 0xfffff88009ac6860 ; kb\r\n\r\nFAILURE_BUCKET_ID:  X64_0x3B_nt!ObpQueryNameString+51\r\n\r\nBUCKET_ID:  X64_0x3B_nt!ObpQueryNameString+51\r\n\r\nANALYSIS_SOURCE:  KM\r\n\r\nFAILURE_ID_HASH_STRING:  km:x64_0x3b_nt!obpquerynamestring+51\r\n\r\nFAILURE_ID_HASH:  {371ec258-1b9b-87e1-9657-7586a7b66133}\r\n\r\nFollowup: MachineOwner\r\n---------\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dokan-dev/dokany/issues/comments/142277215","html_url":"https://github.com/dokan-dev/dokany/issues/63#issuecomment-142277215","issue_url":"https://api.github.com/repos/dokan-dev/dokany/issues/63","id":142277215,"user":{"login":"Liryna","id":4311419,"avatar_url":"https://avatars.githubusercontent.com/u/4311419?v=3","gravatar_id":"","url":"https://api.github.com/users/Liryna","html_url":"https://github.com/Liryna","followers_url":"https://api.github.com/users/Liryna/followers","following_url":"https://api.github.com/users/Liryna/following{/other_user}","gists_url":"https://api.github.com/users/Liryna/gists{/gist_id}","starred_url":"https://api.github.com/users/Liryna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Liryna/subscriptions","organizations_url":"https://api.github.com/users/Liryna/orgs","repos_url":"https://api.github.com/users/Liryna/repos","events_url":"https://api.github.com/users/Liryna/events{/privacy}","received_events_url":"https://api.github.com/users/Liryna/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T12:44:25Z","updated_at":"2015-09-22T12:44:25Z","body":"Normally when you put a breakpoint in the .NET API, the driver should see that the userland code timeout and will try to unmount himself (it is a normal behaviour).\r\n(Otherwise the system will continuously try to use the device until windows get slow and probably crash).\r\nI can only suggest you to use debug print :disappointed:\r\n\r\nAbout your crash, It is an unknown issue even if we know that mounter.exe is a source of instability.\r\nI have not work-around that I can propose you sorry :("}}