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

Software crashes repeatedly with error, issue persists after resetting settings #16901

Open
Xiaofuzi0724 opened this issue Mar 6, 2025 · 4 comments
Labels
crash Bug reports involving a crash needs - additional info Needs more information from the reporter needs - reproducing Issues unable to be reproduced by the dev team

Comments

@Xiaofuzi0724
Copy link

Description

When using Files App (Version 3.9.1.0), an error occurs after the application starts. The log shows an exception related to ImmutableDictionary and the OverwriteKeyBindings() method. This might be related to key bindings configuration, preventing the app from properly loading key bindings. Resetting to default settings did not resolve the issue.

Steps To Reproduce

Even after multiple attempts to reset the settings to default, the issue persists and remains unresolved. Reinstalling the application did not fix the error either. This suggests that the problem may stem from the code implementation rather than user configurations. It is recommended that the development team optimize the code, particularly the handling of ImmutableDictionary in the OverwriteKeyBindings() method, to prevent similar errors and improve the application's stability.

Files Version

3.9.1.0

Windows Version

10.0.26100.3194

User ID

d9611caf-5edf-4f8a-93cc-2ebb54d4ef92

Log File

at System.Collections.Immutable.ImmutableDictionary2.HashBucket.Add(TKey key, TValue value, IEqualityComparer1 keyOnlyComparer, IEqualityComparer1 valueComparer, KeyCollisionBehavior behavior, OperationResult& result) at System.Collections.Immutable.ImmutableDictionary2.AddRange(IEnumerable1 items, MutationInput origin, KeyCollisionBehavior collisionBehavior) at System.Collections.Immutable.ImmutableDictionary2.AddRange(IEnumerable`1 pairs, Boolean avoidToHashMap)
at Files.App.Data.Commands.CommandManager.OverwriteKeyBindings()

@Josh65-2201
Copy link
Member

Thanks for the report,

  • Can you please upload the debug.log file (DON'T copy and paste the text) directly to GitHub (email attachments don't work) . You can get it in Files settings > About > Open log folder.
  • Add the steps to reproduce this issue

@Josh65-2201 Josh65-2201 added needs - additional info Needs more information from the reporter crash Bug reports involving a crash labels Mar 6, 2025
@Xiaofuzi0724
Copy link
Author

debug.log

@Josh65-2201
Copy link
Member

Josh65-2201 commented Mar 6, 2025

Thanks, can you also provide steps for us to reproduce the crash. From the log you also have two items assigned to Alt+Ctrl+2, this shouldn't be possible using the Files actions menu, have you edited the settings.json file?

@Xiaofuzi0724
Copy link
Author

Thanks, can you also provide steps for us to reproduce the crash. From the log you also have two items assigned to Alt+Ctrl+2, this shouldn't be possible using the Files actions menu, have you edited the settings.json file?

Thank you for your response. I haven't made any changes to the settings.json file. When the software crashed, I attempted both repairing and resetting it, but the issue still persists.

@Josh65-2201 Josh65-2201 added the needs - reproducing Issues unable to be reproduced by the dev team label Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash Bug reports involving a crash needs - additional info Needs more information from the reporter needs - reproducing Issues unable to be reproduced by the dev team
Projects
None yet
Development

No branches or pull requests

2 participants