Bug: App crashes when opening two folders at the same time
See original GitHub issueDescription
Occurs whenever I try to open two folders at almost the same time using a script (AHK) or Run. The app would sometimes immediately crash after the notification.
I’m planning to create a script where it opens specific folders when a shortcut key is triggered but I’m encountering these two errors:
0x800706BA
& 0x800706BE
The lowest delay I could set before executing the 2nd folder was 1.5 seconds.
Steps To Reproduce
- Set Files as default file manager
- Open the Run dialog (Win+R)
- Type in
C:\
and press enter - Quickly open the run dialog box and press enter again
- See that the second path isn’t opened in Files
Steps to fix
- Fix the crash and open the second path as expected
Files Version
2.3.56.0
Windows Version
10.22623.875
Relevant Assets/Logs
- The RPC server is unavailable
2022-11-01 07:38:04.8938|ERROR|AppUnhandledException|A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (The RPC server is unavailable. (0x800706BA))
System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (The RPC server is unavailable. (0x800706BA))
---> System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. (0x800706BA)
at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|20_0(Int32 hr)
at ABI.Microsoft.Windows.AppLifecycle.IAppActivationArgumentsMethods.get_Data(IObjectReference _obj)
at Files.App.MainWindow.InitializeApplication(AppActivationArguments activatedEventArgs)
at CommunityToolkit.WinUI.DispatcherQueueExtensions.<>c__DisplayClass2_0.<<EnqueueAsync>b__1>d.MoveNext()
--- End of inner exception stack trace ---
Issue Analytics
- State:
- Created a year ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
[BUG] App Crashes When Root Directories With Too Many ...
I am trying to open directory, but it shows "No directory selected" on the side tab. OS: Window 10 Zettlr version: 1.4.1.
Read more >Win 10 starts crashing when I open multiple programs
7. Click on the Startup Tab and click open task manager. This will open another window which contains all your startup applications on...
Read more >[SOLVED] Windows File Explorer Keeps Crashing on ...
Type control folders and press Enter to open the File Explorer Options ... press the Windows logo key and E at the same...
Read more >Windows Explorer crashes when opening folder with a ...
It appears the folder view is the problem. Change the view for that folder and its sub folders. The folder does not crash...
Read more >Windows 10 Explorer Keeps Crashing? Here Are 10 ...
Here is a quick guide: Step 1: Open File Explorer Options and then go to the View tab.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
using v2.3.63, the RPC thing is now gone and I can now run paths from a command line. However, sometimes I encounter these two errors:
and this one
Both errors will not crash the app and only some of the folders are opened. My current workaround is to just add a delay before executing the subsequent folders.
Coudl you check if this issue is fixed in Files v2.3.62? #10575 might have helped.