Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when accessing AppData/LocalLow and sub-directories #4304

Closed
ghost opened this issue Mar 25, 2021 · 11 comments
Closed

Crash when accessing AppData/LocalLow and sub-directories #4304

ghost opened this issue Mar 25, 2021 · 11 comments

Comments

@ghost
Copy link

ghost commented Mar 25, 2021

Explain the bug
Write a clear description of what the bug is.

To reproduce

  1. Replace Explorer with Files using the registry files from the documentation.
  2. Navigate to C:/Users/username/AppData/ (sometimes it crashes already here.)
  3. Navigate to LocalLow and keep navigating through sub-directories.
  4. At some point the loading bar will appear for a few seconds and then the app crashes with no error.

Expected behavior
Being able to navigate to AppData and subdirectories

Logfile
debug.txt
debug_fulltrust.txt

System Information

  • OS Version:
    Udgave Windows 10 Home
    Version 20H2
    Installeret d. ‎18-‎03-‎2021
    Operativsystemets build 19042.868
    Visning Windows Feature Experience Pack 120.2212.551.0

  • App version:
    Version 1.5.0.0

Additional comment
It seems random whether it just crashes in AppData or a sub-directory, and other sub-directories of AppData than LocalLow don't seem to cause any issues.

@ghost ghost added the bug label Mar 25, 2021
@ghost
Copy link
Author

ghost commented Mar 25, 2021

I realised there might be some irrelevant errors from earlier in those logs, so I deleted them and reproduced the crash again. Here are the new logs, which don't seem to reflect the crash at all.

debug.txt
debug_fulltrust.txt

@gave92
Copy link
Member

gave92 commented Mar 25, 2021

Thanks for the report:

  • Do you get a notification saying "something went wrong" or does the app just close?
  • Could you try if it works is you disable these two settings (turn off caching) under Experimental? (warning: probably won't change a thing but it's worth trying)

image

@ghost
Copy link
Author

ghost commented Mar 25, 2021

The app just closes without notification.

I had already disabled caching, since I'm not even able to access my user files with it enabled (#4282) and AppData resides in the user directory.

@gave92
Copy link
Member

gave92 commented Mar 27, 2021

@emilnymann What about the following? (I'd like to know if this only happens in details view)

  1. Turn Off "Enable individual preferences for individual directories" in Settings > Files and Folders
  2. Set Tiles or GridView layout mode
  3. Try to trigger the crash

@ghost
Copy link
Author

ghost commented Mar 27, 2021

  • Turn Off "Enable individual preferences for individual directories" in Settings > Files and Folders
  • Set Tiles or GridView layout mode

Followed these two steps and browsed around in various directories for 5 minutes, including AppData and its subdirectories, and was not able to trigger a crash. After changing to detail view, the crash did still not occur. After changing to detail view, closing Files, opening it again and browsing to AppData/LocalLow a crash occured again. I had caching disabled the whole time.

Reproduced the above results several times.

Edit: caching also only seems to crash in details view.

@Lamparter
Copy link
Contributor

Can you try replacing explorer with Files and seeing if that works? (I don't exactly know how the Registry works, so tell me if that's wrong)

@ghost
Copy link
Author

ghost commented Apr 4, 2021

Can you try replacing explorer with Files and seeing if that works? (I don't exactly know how the Registry works, so tell me if that's wrong)

Other than the aforementioned registry tweaks, I don't know of any other way of replacing Explorer with Files. It doesn't appear to be an actual neccesary step to trigger this crash, but I included it in my steps when I first wrote the issue in case it was.

@Lamparter
Copy link
Contributor

  1. Navigate to LocalLow and keep navigating through sub-directories.

It could be that you are attempting to go beneath the character limit for directories, and (I don't know, but I think) Files doesn't have access to go beneath the character limit.

@ghost
Copy link
Author

ghost commented Apr 5, 2021

It could be that you are attempting to go beneath the character limit for directories, and (I don't know, but I think) Files doesn't have access to go beneath the character limit.

The crash has been confirmed to be related to details view, as it never occurs in tile/grid view, so I don't think that's directly related.

@Lamparter
Copy link
Contributor

ok

@yaira2
Copy link
Member

yaira2 commented May 16, 2021

This issue should be resolved in main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants