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

Intermittent freezing when accessing a local file #109

Closed
keepassium opened this issue Jun 17, 2020 · 2 comments
Closed

Intermittent freezing when accessing a local file #109

keepassium opened this issue Jun 17, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@keepassium
Copy link
Owner

When loading a local database, KeePassium freezes at the "Contacting storage provider..." stage (that is, resolving a URL bookmark). This happens very rarely (a couple of times over weeks and months).

To reproduce

Exact steps are unknown, since the issue is observed rarely and only by few users.

  1. Try to unlock a local database (in On My iPhone / KeePassium)
  2. Observe progress bar stuck at "Contacting storage provider... 0%"

Expected behavior: the app should continue loading the database.

User information

  • Device: iPhone
  • OS: iOS 13.5.1 (also iOS 13.1.3, 13.2.2, 13.2.3, 13.3)
  • App Version: 1.13.62 and earlier

Additional context

  • Previously reported on 2019-10-24 in #71 (now deleted by the original poster).
  • The offending call is URL.init(resolvingBookmarkData:options:relativeTo:bookmarkDataIsStale:)
  • "Wireless Data" permission is "off" (only available on Chinese iOS devices), so KeePassium is definitely offline
  • Yet the issue has never happened in flight mode
  • iCloud for KeePassium is turned on
  • iCloud Backup is turned off
  • No in-app backup copies made
  • No Synology apps installed
  • No MDM software on device

[Thanks, phoenix]

@keepassium keepassium added the bug Something isn't working label Jun 17, 2020
@keepassium keepassium self-assigned this Jun 17, 2020
keepassium added a commit that referenced this issue Sep 20, 2020
Docs: update changelog
Release: version bump to 1.17.74
Chore: update in-app change log
Refine(backup): show a spinner when mass-deleting backup files
Refine(ios14): suggest re-adding the database if it is missing on iOS 14
Chore: replace hard-coded NSCocoaErrorDomain strings with a const
Refine(backup): keep the .latest backup file regardless of its age
Fix(fileKeeper): speed up maintenance of backup files
Fix(fileKeeper): freezing when there are hundreds of backup files (related #109)
Fix(urlRef): parsing file provider ID on iOS 14
Fix(appCover): warning about unbalanced calls to appearance transition
Fix(appIcon): unstable position of text labels on iOS 12 (fixes #123)
Fix(fileKeeper): backup directory not recognized on first launch
Fix(viewEntry): ambiguous constraints in cells
Fix(settings): ensure textScale is always valid
Fix(db2): opening kdbx4 with UInt32 transformRounds (keeweb/keeweb#1598)
Refactor(editGroup): simplify code
Refactor(editEntry): push icon picker to navVC instead of popover
Refactor(coo): make item icon picker a coordinator
Refactor: move ChooseIconVC to database/icon
Fix(fileTypes): opening files with unregistered extensions
Feat(autoFill): add Copy button to Caller ID
Chore: remove unused image
Fix: splash screen background color in dark mode
Refine: increase max length of generated passwords to 100
@keepassium
Copy link
Owner Author

This was fixed in 1.14.63, but I forgot to reference this issue. Closing finally :)

@keepassium
Copy link
Owner Author

keepassium added a commit that referenced this issue Apr 23, 2022
When there is an unreachable SMB server, creation and resolution
of file references (URL bookmarks, in Apple's terms) takes more
than a minute — resulting in freezes and crashes.

This fix avoids bookmark creation/resolution for internal backup files,
so they can still work as a fallback for SMB-hosted DBs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant