{"action":"created","issue":{"url":"https://api.github.com/repos/dokan-dev/dokany/issues/396","repository_url":"https://api.github.com/repos/dokan-dev/dokany","labels_url":"https://api.github.com/repos/dokan-dev/dokany/issues/396/labels{/name}","comments_url":"https://api.github.com/repos/dokan-dev/dokany/issues/396/comments","events_url":"https://api.github.com/repos/dokan-dev/dokany/issues/396/events","html_url":"https://github.com/dokan-dev/dokany/issues/396","id":188491549,"number":396,"title":"BSOD on Dokan 1.0.1.1000 mirror with /n option + (mini)filter driver","user":{"login":"zina-","id":1845710,"avatar_url":"https://avatars.githubusercontent.com/u/1845710?v=3","gravatar_id":"","url":"https://api.github.com/users/zina-","html_url":"https://github.com/zina-","followers_url":"https://api.github.com/users/zina-/followers","following_url":"https://api.github.com/users/zina-/following{/other_user}","gists_url":"https://api.github.com/users/zina-/gists{/gist_id}","starred_url":"https://api.github.com/users/zina-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zina-/subscriptions","organizations_url":"https://api.github.com/users/zina-/orgs","repos_url":"https://api.github.com/users/zina-/repos","events_url":"https://api.github.com/users/zina-/events{/privacy}","received_events_url":"https://api.github.com/users/zina-/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-10T12:06:37Z","updated_at":"2016-11-13T15:59:47Z","closed_at":null,"body":"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.\r\n\r\n# Environment\r\n * Windows version: Windows 7 SP1\r\n * Processor architecture: 32 bit\r\n * Dokany version: 1.0.1.1000 (Release)\r\n * Library type (Dokany/FUSE): Dokany\r\n \r\n# Check List\r\n  - [x] I checked my issue [doesn't exist yet](https://github.com/dokan-dev/dokany/issues?utf8=%E2%9C%93&q=is%3Aissue)\r\n  - [x] My issue is valid with mirror default sample and not specific to my user-mode driver implementation\r\n  - [x] I can always reproduce the issue with the provided description below.\r\n  - [x] I have updated Dokany to the [latest version](https://github.com/dokan-dev/dokany/releases) and have reboot my computer after.\r\n  - [x] I tested one of the last [snapshot](https://github.com/dokan-dev/dokany/wiki/Build#user-snapshot) from appveyor CI\r\n\r\n# Description\r\n- 1. Start dokan-mirror sample with `NetworkDrive` option\r\n`mirror.exe /r C:\\test /l Z: /n`\r\n- 2. Start ProcessMonitor (sysinternal)\r\n- 3. Open command and rename file\r\n```\r\nZ:\\> rename test1.txt test2.txt\r\n```\r\n- BSOD occur with PAGE_FAULT_IN_NONPAGED_AREA\r\n\r\n# Logs\r\n```\r\n\r\nMicrosoft (R) Windows Debugger Version 10.0.14321.1024 X86\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\n\r\n\r\nLoading Dump File [D:\\SPFSShared\\Dump3\\111016-15484-01.dmp]\r\nMini Kernel Dump File: Only registers and stack trace are available\r\n\r\n\r\n************* Symbol Path validation summary **************\r\nResponse                         Time (ms)     Location\r\nDeferred                                       srv*C:\\Symbols*http://msdl.microsoft.com/download/symbols\r\nSymbol search path is: srv*C:\\Symbols*http://msdl.microsoft.com/download/symbols\r\nExecutable search path is: \r\n*** ERROR: Symbol file could not be found.  Defaulted to export symbols for ntkrpamp.exe - \r\nWindows 7 Kernel Version 7601 (Service Pack 1) MP (2 procs) Free x86 compatible\r\nProduct: WinNt, suite: TerminalServer SingleUserTS\r\nBuilt by: 7601.23569.x86fre.win7sp1_ldr.161007-0600\r\nMachine Name:\r\nKernel base = 0x82649000 PsLoadedModuleList = 0x82795e30\r\nDebug session time: Thu Nov 10 20:25:01.284 2016 (UTC + 9:00)\r\nSystem Uptime: 0 days 0:18:21.995\r\nLoading Kernel Symbols\r\n.\r\n\r\nPress ctrl-c (cdb, kd, ntsd) or ctrl-break (windbg) to abort symbol loads that take too long.\r\nRun !sym noisy before .reload to track down problems loading symbols.\r\n\r\n..............................................................\r\n................................................................\r\n.............\r\nLoading User Symbols\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 50, {a2306ffe, 0, 8cbb9df5, 0}\r\n\r\n*** WARNING: Unable to verify timestamp for PROCMON23.SYS\r\n*** ERROR: Module load completed but symbols could not be loaded for PROCMON23.SYS\r\n\r\nCould not read faulting driver name\r\nProbably caused by : PROCMON23.SYS ( PROCMON23+3016 )\r\n\r\nFollowup:     MachineOwner\r\n---------\r\n\r\n0: kd> !analyze -v\r\n*******************************************************************************\r\n*                                                                             *\r\n*                        Bugcheck Analysis                                    *\r\n*                                                                             *\r\n*******************************************************************************\r\n\r\nPAGE_FAULT_IN_NONPAGED_AREA (50)\r\nInvalid system memory was referenced.  This cannot be protected by try-except.\r\nTypically the address is just plain bad or it is pointing at freed memory.\r\nArguments:\r\nArg1: a2306ffe, memory referenced.\r\nArg2: 00000000, value 0 = read operation, 1 = write operation.\r\nArg3: 8cbb9df5, If non-zero, the instruction address which referenced the bad memory\r\n\taddress.\r\nArg4: 00000000, (reserved)\r\n\r\nDebugging Details:\r\n------------------\r\n\r\n\r\nCould not read faulting driver name\r\n\r\nDUMP_CLASS: 1\r\n\r\nDUMP_QUALIFIER: 400\r\n\r\nBUILD_VERSION_STRING:  7601.23569.x86fre.win7sp1_ldr.161007-0600\r\n\r\nSYSTEM_MANUFACTURER:  Microsoft Corporation\r\n\r\nVIRTUAL_MACHINE:  HyperV\r\n\r\nSYSTEM_PRODUCT_NAME:  Virtual Machine\r\n\r\nSYSTEM_VERSION:  7.0\r\n\r\nBIOS_VENDOR:  American Megatrends Inc.\r\n\r\nBIOS_VERSION:  090006 \r\n\r\nBIOS_DATE:  05/23/2012\r\n\r\nBASEBOARD_MANUFACTURER:  Microsoft Corporation\r\n\r\nBASEBOARD_PRODUCT:  Virtual Machine\r\n\r\nBASEBOARD_VERSION:  7.0\r\n\r\nDUMP_TYPE:  2\r\n\r\nBUGCHECK_P1: ffffffffa2306ffe\r\n\r\nBUGCHECK_P2: 0\r\n\r\nBUGCHECK_P3: ffffffff8cbb9df5\r\n\r\nBUGCHECK_P4: 0\r\n\r\nREAD_ADDRESS: GetPointerFromAddress: unable to read from 827b6850\r\nUnable to get MmSystemRangeStart\r\nGetUlongPtrFromAddress: unable to read from 827b6208\r\nGetUlongPtrFromAddress: unable to read from 827b66ec\r\nUnable to get NonPagedPoolStart\r\nUnable to get PagedPoolStart\r\n a2306ffe \r\n\r\nFAULTING_IP: \r\nfltmgr!FltpExpandShortNames+77\r\n8cbb9df5 6683395c        cmp     word ptr [ecx],5Ch\r\n\r\nMM_INTERNAL_CODE:  0\r\n\r\nCPU_COUNT: 2\r\n\r\nCPU_MHZ: e76\r\n\r\nCPU_VENDOR:  GenuineIntel\r\n\r\nCPU_FAMILY: 6\r\n\r\nCPU_MODEL: 3e\r\n\r\nCPU_STEPPING: 4\r\n\r\nCPU_MICROCODE: 6,3e,4,0 (F,M,S,R)  SIG: FFFFFFFF'00000000 (cache) FFFFFFFF'00000000 (init)\r\n\r\nCUSTOMER_CRASH_COUNT:  1\r\n\r\nDEFAULT_BUCKET_ID:  WIN7_DRIVER_FAULT\r\n\r\nBUGCHECK_STR:  0x50\r\n\r\nPROCESS_NAME:  cmd.exe\r\n\r\nCURRENT_IRQL:  0\r\n\r\nANALYSIS_SESSION_HOST:  DESKTOP-1PS1DJ9\r\n\r\nANALYSIS_SESSION_TIME:  11-10-2016 21:03:48.0287\r\n\r\nANALYSIS_VERSION: 10.0.14321.1024 x86fre\r\n\r\nTRAP_FRAME:  a230980c -- (.trap 0xffffffffa230980c)\r\nErrCode = 00000000\r\neax=a23098f4 ebx=0000000a ecx=a2306ffe edx=00000000 esi=853e0610 edi=ffffeb85\r\neip=8cbb9df5 esp=a2309880 ebp=a23098a0 iopl=0         nv up ei ng nz na po nc\r\ncs=0008  ss=0010  ds=0023  es=0023  fs=0030  gs=0000             efl=00010282\r\nfltmgr!FltpExpandShortNames+0x77:\r\n8cbb9df5 6683395c        cmp     word ptr [ecx],5Ch       ds:0023:a2306ffe=????\r\nResetting default scope\r\n\r\nLAST_CONTROL_TRANSFER:  from 82689f98 to 826d799d\r\n\r\nSTACK_TEXT:  \r\na23097f4 82689f98 00000000 a2306ffe 00000000 nt!MmAccessFault+0x104\r\na23097f4 8cbb9df5 00000000 a2306ffe 00000000 nt!KiTrap0E+0xdc\r\na23098a0 8cbbb290 013e0610 00000000 853e0610 fltmgr!FltpExpandShortNames+0x77\r\na23098b4 8cbbb41d 853e0000 854b1c5c 00000000 fltmgr!FltpGetNormalizedDestinationFileName+0x56\r\na23099f8 9b567016 853bd008 854ab640 00000000 fltmgr!FltGetDestinationFileNameInformation+0x15d\r\nWARNING: Stack unwind information not available. Following frames may be wrong.\r\na2309a34 9b5665af a2309a94 854b1c5c a2309a68 PROCMON23+0x3016\r\na2309a74 8cb9caeb 854b1c30 a2309a94 a2309ac0 PROCMON23+0x25af\r\na2309ae0 8cb9f9f0 a2309b34 86e25100 00000000 fltmgr!FltpPerformPreCallbacks+0x34d\r\na2309af8 8cb9ff01 a2309b34 00000000 872aaca8 fltmgr!FltpPassThroughInternal+0x40\r\na2309b1c 8cba03ba 06309b00 872aaca8 00000000 fltmgr!FltpPassThrough+0x203\r\na2309b4c 82680129 872aaca8 86e25100 00000000 fltmgr!FltpDispatch+0xb4\r\na2309b64 828a657f 46f38d7e 00000050 002eecac nt!IofCallDriver+0x63\r\na2309c18 82686db6 00000050 002eed24 004fa6c8 nt!NtSetInformationFile+0xa8f\r\na2309c18 77cf6c74 00000050 002eed24 004fa6c8 nt!KiSystemServicePostCall\r\n002eed64 00000000 00000000 00000000 00000000 0x77cf6c74\r\n\r\n\r\nSTACK_COMMAND:  kb\r\n\r\nTHREAD_SHA1_HASH_MOD_FUNC:  7e050afe687744860426edb6a911e65d81bbf873\r\n\r\nTHREAD_SHA1_HASH_MOD_FUNC_OFFSET:  7e888713833888e677f247b6299c1d99cdd793d8\r\n\r\nTHREAD_SHA1_HASH_MOD:  2186feeec08d555b4ee64f79ead7ddf85fd74597\r\n\r\nFOLLOWUP_IP: \r\nPROCMON23+3016\r\n9b567016 ??              ???\r\n\r\nSYMBOL_STACK_INDEX:  5\r\n\r\nSYMBOL_NAME:  PROCMON23+3016\r\n\r\nFOLLOWUP_NAME:  MachineOwner\r\n\r\nMODULE_NAME: PROCMON23\r\n\r\nIMAGE_NAME:  PROCMON23.SYS\r\n\r\nDEBUG_FLR_IMAGE_TIMESTAMP:  57b10b49\r\n\r\nFAILURE_BUCKET_ID:  0x50_PROCMON23+3016\r\n\r\nBUCKET_ID:  0x50_PROCMON23+3016\r\n\r\nPRIMARY_PROBLEM_CLASS:  0x50_PROCMON23+3016\r\n\r\nTARGET_TIME:  2016-11-10T11:25:01.000Z\r\n\r\nOSBUILD:  7601\r\n\r\nOSSERVICEPACK:  1000\r\n\r\nSERVICEPACK_NUMBER: 0\r\n\r\nOS_REVISION: 0\r\n\r\nSUITE_MASK:  272\r\n\r\nPRODUCT_TYPE:  1\r\n\r\nOSPLATFORM_TYPE:  x86\r\n\r\nOSNAME:  Windows 7\r\n\r\nOSEDITION:  Windows 7 WinNt (Service Pack 1) TerminalServer SingleUserTS\r\n\r\nOS_LOCALE:  \r\n\r\nUSER_LCID:  0\r\n\r\nOSBUILD_TIMESTAMP:  2016-10-07 23:51:22\r\n\r\nBUILDDATESTAMP_STR:  161007-0600\r\n\r\nBUILDLAB_STR:  win7sp1_ldr\r\n\r\nBUILDOSVER_STR:  6.1.7601.23569.x86fre.win7sp1_ldr.161007-0600\r\n\r\nANALYSIS_SESSION_ELAPSED_TIME: 5ee\r\n\r\nANALYSIS_SOURCE:  KM\r\n\r\nFAILURE_ID_HASH_STRING:  km:0x50_procmon23+3016\r\n\r\nFAILURE_ID_HASH:  {25e19b89-8a57-9e71-6a9c-938409f61632}\r\n\r\nFollowup:     MachineOwner\r\n---------\r\n\r\n```\r\n\r\n# Support\r\n - Usage: <personal/commercial> - <testing/development/production>\r\n - Your personal priority to solve this issue: <dontCare/low/med/high/top/urgent/ASAP/iCanPay/iWillSellMyOrgans>\r\n - Support ability: <programming C, can create pull request / deeptesting / investigate driver issues / donate others / etc.>\r\n"},"comment":{"url":"https://api.github.com/repos/dokan-dev/dokany/issues/comments/260194535","html_url":"https://github.com/dokan-dev/dokany/issues/396#issuecomment-260194535","issue_url":"https://api.github.com/repos/dokan-dev/dokany/issues/396","id":260194535,"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":"2016-11-13T15:59:47Z","updated_at":"2016-11-13T15:59:47Z","body":"Ok 😢 this seems to happen when FltGetDestinationFileNameInformation is requested\r\nIt should call https://github.com/dokan-dev/dokany/blob/66f8927e9bbbdd8c8ea56422219b8bb2fd43fc86/sys/fileinfo.c#L443 FileRenameInformation \r\n\r\nThis issue was already reported here https://github.com/dokan-dev/dokan-dotnet/issues/68#issuecomment-219575373 looks like but we wasn't able to reproduce with @marinkobabic "}}
{"actor":{"display_login":"Liryna"}}