Files: Crash in windows10 2004

Created on 2 Aug 2020  ·  6Comments  ·  Source: files-community/Files

Describe the bug
When I open one folder, the files-uwp crash

To Reproduce
Steps to reproduce the behavior:

  1. Just start the computer,
  2. Open the files-uwp.
  3. Click on one of my folder, such as OneDrive, Document, or other folders.
  4. See error

Expected behavior
Jusr crash, then the whole software is turned off.

Desktop (please complete the following information):

  • OS Version: [e.g. Windows 10 2004 19041.421]
  • App version: [v0.12.0]

Additional context
Add any other context about the problem here. Does this problem occur again after restarting the app?

bug needs-triage

Most helpful comment

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.93. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

All 6 comments

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.93. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

半桶水英语,我用中文再复述下吧(逃~
Bug现象:
在软件内打开文件夹时软件闪退

复现步骤:

  1. 启动电脑,或者正在运行的电脑也可以
  2. 启动files-uwp
  3. 在files-uwp中打开一个文件夹,比如OneDrive或者文档或者别的什么文件夹
  4. files-uwp闪退

软件和系统版本
OS Version: [Windows 10 2004 19041.421]
App version: [v0.12.0]

@ChenShihuan Please upload the log file. You can access it from Settings->About->Open log location.

Please upload the log file. You can access it from Settings->About->Open log location.

@Jaiganeshkumaran Thanks for your reply. I think I maybe find the reason with the help of the log. The log said that "The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)|System.IO.FileLoadException: The process cannot access the file because it is being used by another process." , and then I found that I have opened the windows file explorer. After I turn it off, the files-uwp no longer crashes.

But, this bug still affects us , when I open the OenDrive folder or the NextCloud folder, it still crash. But whether it's OneDrive or nextcloud, we all need to keep in sync in the background. By the way, the OneDrive App version in my windows 10 is [20.134.0705.0008],and the NextCloud App version is [2.6.5]. The debug.txt is below, thanks for all of you make this software better and better!

debug.txt :

2020-08-05 00:16:23.8097|INFO|Files.App|App launched|
2020-08-05 00:16:24.1697|INFO|Files.Filesystem.DrivesManager|Drive added: C:\, Fixed|
2020-08-05 00:16:24.2287|INFO|Files.Filesystem.DrivesManager|Drive added: D:\, Fixed|
2020-08-05 00:16:24.2877|INFO|Files.Filesystem.DrivesManager|Drive added: E:\, Fixed|
2020-08-05 00:16:26.9377|ERROR|Files.App|The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)|System.IO.FileLoadException: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
at Files.Helpers.JumpListManager.d__7.MoveNext() + 0x11e
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__7_0(Object) + 0x1e
at System.Action1.Invoke(T) + 0x28 at System.Threading.WinRTSynchronizationContext.Invoker.InvokeCore() + 0x33 at System.Runtime.InteropServices.McgMarshal.ThrowOnExternalCallFailed(Int32, RuntimeTypeHandle) + 0x21 at __Interop.ComCallHelpers.Call(__ComObject, RuntimeTypeHandle, Int32) + 0xb8 at __Interop.ForwardComStubs.Stub_10[TThis](__ComObject, Int32) + 0x24 at Microsoft.AppCenter.Utils.ApplicationLifecycleHelper.<.ctor>b__17_1(Object, UnhandledErrorDetectedEventArgs) + 0x3d --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21 at Microsoft.AppCenter.Utils.ApplicationLifecycleHelper.<.ctor>b__17_1(Object, UnhandledErrorDetectedEventArgs) + 0x75 at System.EventHandler1.Invoke(Object, TEventArgs) + 0x2e
at __Interop.Intrinsics.HasThisCall__23TArg0 + 0x36
at Files!+0x1279be0

2020-08-05 00:16:34.9981|INFO|Files.App|App launched|
2020-08-05 00:16:35.4251|INFO|Files.Filesystem.DrivesManager|Drive added: C:\, Fixed|
2020-08-05 00:16:35.4881|INFO|Files.Filesystem.DrivesManager|Drive added: D:\, Fixed|
2020-08-05 00:16:35.5512|INFO|Files.Filesystem.DrivesManager|Drive added: E:\, Fixed|
2020-08-05 00:16:41.2562|ERROR|Files.App|The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)|System.IO.FileLoadException: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
at Files.Helpers.JumpListManager.d__7.MoveNext() + 0x11e
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__7_0(Object) + 0x1e
at System.Action1.Invoke(T) + 0x28 at System.Threading.WinRTSynchronizationContext.Invoker.InvokeCore() + 0x33 at System.Runtime.InteropServices.McgMarshal.ThrowOnExternalCallFailed(Int32, RuntimeTypeHandle) + 0x21 at __Interop.ComCallHelpers.Call(__ComObject, RuntimeTypeHandle, Int32) + 0xb8 at __Interop.ForwardComStubs.Stub_10[TThis](__ComObject, Int32) + 0x24 at Microsoft.AppCenter.Utils.ApplicationLifecycleHelper.<.ctor>b__17_1(Object, UnhandledErrorDetectedEventArgs) + 0x3d --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21 at Microsoft.AppCenter.Utils.ApplicationLifecycleHelper.<.ctor>b__17_1(Object, UnhandledErrorDetectedEventArgs) + 0x75 at System.EventHandler1.Invoke(Object, TEventArgs) + 0x2e
at __Interop.Intrinsics.HasThisCall__23TArg0 + 0x36
at Files!+0x1279be0

2020-08-05 00:16:50.8415|INFO|Files.App|App launched|
2020-08-05 00:16:51.3525|INFO|Files.Filesystem.DrivesManager|Drive added: C:\, Fixed|
2020-08-05 00:16:51.4145|INFO|Files.Filesystem.DrivesManager|Drive added: D:\, Fixed|
2020-08-05 00:16:51.4785|INFO|Files.Filesystem.DrivesManager|Drive added: E:\, Fixed|
2020-08-05 00:19:43.1373|ERROR|Files.App|The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)|System.IO.FileLoadException: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
at Files.Helpers.JumpListManager.d__7.MoveNext() + 0x11e
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__7_0(Object) + 0x1e
at System.Action1.Invoke(T) + 0x28 at System.Threading.WinRTSynchronizationContext.Invoker.InvokeCore() + 0x33 at System.Runtime.InteropServices.McgMarshal.ThrowOnExternalCallFailed(Int32, RuntimeTypeHandle) + 0x21 at __Interop.ComCallHelpers.Call(__ComObject, RuntimeTypeHandle, Int32) + 0xb8 at __Interop.ForwardComStubs.Stub_10[TThis](__ComObject, Int32) + 0x24 at Microsoft.AppCenter.Utils.ApplicationLifecycleHelper.<.ctor>b__17_1(Object, UnhandledErrorDetectedEventArgs) + 0x3d --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21 at Microsoft.AppCenter.Utils.ApplicationLifecycleHelper.<.ctor>b__17_1(Object, UnhandledErrorDetectedEventArgs) + 0x75 at System.EventHandler1.Invoke(Object, TEventArgs) + 0x2e
at __Interop.Intrinsics.HasThisCall__23TArg0 + 0x36
at Files!+0x1279be0

2020-08-05 00:20:00.9674|INFO|Files.App|App launched|
2020-08-05 00:20:01.5334|INFO|Files.Filesystem.DrivesManager|Drive added: C:\, Fixed|
2020-08-05 00:20:01.5914|INFO|Files.Filesystem.DrivesManager|Drive added: D:\, Fixed|
2020-08-05 00:20:01.6464|INFO|Files.Filesystem.DrivesManager|Drive added: E:\, Fixed|
2020-08-05 00:20:22.2077|ERROR|Files.App|The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)|System.IO.FileLoadException: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
at Files.Helpers.JumpListManager.d__7.MoveNext() + 0x11e
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__7_0(Object) + 0x1e
at System.Action1.Invoke(T) + 0x28 at System.Threading.WinRTSynchronizationContext.Invoker.InvokeCore() + 0x33 at System.Runtime.InteropServices.McgMarshal.ThrowOnExternalCallFailed(Int32, RuntimeTypeHandle) + 0x21 at __Interop.ComCallHelpers.Call(__ComObject, RuntimeTypeHandle, Int32) + 0xb8 at __Interop.ForwardComStubs.Stub_10[TThis](__ComObject, Int32) + 0x24 at Microsoft.AppCenter.Utils.ApplicationLifecycleHelper.<.ctor>b__17_1(Object, UnhandledErrorDetectedEventArgs) + 0x3d --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21 at Microsoft.AppCenter.Utils.ApplicationLifecycleHelper.<.ctor>b__17_1(Object, UnhandledErrorDetectedEventArgs) + 0x75 at System.EventHandler1.Invoke(Object, TEventArgs) + 0x2e
at __Interop.Intrinsics.HasThisCall__23TArg0 + 0x36
at Files!+0x1279be0

2020-08-05 00:20:42.8002|INFO|Files.App|App launched|
2020-08-05 00:20:43.3542|INFO|Files.Filesystem.DrivesManager|Drive added: C:\, Fixed|
2020-08-05 00:20:43.4162|INFO|Files.Filesystem.DrivesManager|Drive added: D:\, Fixed|
2020-08-05 00:20:43.4712|INFO|Files.Filesystem.DrivesManager|Drive added: E:\, Fixed|

this bug had been fixed in the latest release! thanks!🎉🎉🎉~

Thank you for creating this feedback item. This issue is currently resolved in one of our releases and should be available from the Microsoft Store. Please subscribe to our releases to be notified when fixes like this are available.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

xpirad picture xpirad  ·  3Comments

ChenShihuan picture ChenShihuan  ·  3Comments

Jaiganeshkumaran picture Jaiganeshkumaran  ·  3Comments

Cyberdroid1 picture Cyberdroid1  ·  3Comments

generalguy41 picture generalguy41  ·  3Comments