iOS app crashing on startup #1642

Closed
opened 2025-11-26 22:54:22 -06:00 by GiteaMirror · 26 comments
Owner

Originally created by @allddd on GitHub (Apr 16, 2023).

Steps To Reproduce

  1. Launch the app and open any login/secure note.

  2. Close the app fully by swiping it up without closing the login/secure note window first.

  3. Wait a little, as you would if you just wanted to copy something.
    The longer it stays closed, the more likely it is to crash on startup.

  4. Launch the app.

Expected Result

The app opens without any problems and displays either the last opened login/secure note or the main screen.

Actual Result

The app is launched and displays the last opened item for a split second.
After that, regardless of whether you press something or not, the app crashes completely.

You will then have to launch it again, it lands on the main screen and works fine.

Screenshots or Videos

No response

Additional Context

This is not related to the current app/iOS version, but is a long-standing problem.
I have experienced it on two different phones (Iphone X and 14 Pro), both iOS 15 and 16, and with all previous versions of the app since I started using Bitwarden (about a year ago).

When you try to recreate it, you should leave it closed for a while. The longer it stays closed, the more likely it is to crash on startup.

Operating System

iOS

Operating System Version

16.4.1

Device

Iphone 14 Pro

Build Version

2023.3.2

Beta

  • Using a pre-release version of the application.
Originally created by @allddd on GitHub (Apr 16, 2023). ### Steps To Reproduce 1. Launch the app and open any login/secure note. 2. Close the app fully by swiping it up without closing the login/secure note window first. 3. Wait a little, as you would if you just wanted to copy something. The longer it stays closed, the more likely it is to crash on startup. 4. Launch the app. ### Expected Result The app opens without any problems and displays either the last opened login/secure note or the main screen. ### Actual Result The app is launched and displays the last opened item for a split second. After that, regardless of whether you press something or not, the app crashes completely. You will then have to launch it again, it lands on the main screen and works fine. ### Screenshots or Videos _No response_ ### Additional Context This is not related to the current app/iOS version, but is a long-standing problem. I have experienced it on two different phones (Iphone X and 14 Pro), both iOS 15 and 16, and with all previous versions of the app since I started using Bitwarden (about a year ago). When you try to recreate it, you should leave it closed for a while. The longer it stays closed, the more likely it is to crash on startup. ### Operating System iOS ### Operating System Version 16.4.1 ### Device Iphone 14 Pro ### Build Version 2023.3.2 ### Beta - [ ] Using a pre-release version of the application.
GiteaMirror added the bug label 2025-11-26 22:54:22 -06:00
Author
Owner

@SergeantConfused commented on GitHub (Apr 17, 2023):

Hi @allddd,

Thank you for your report.

  1. What is your Vault Timeout set to?
  2. What is your Vault Timeout Action set to?
  3. How do you typically unlock the application? Master password, PIN, biometrics?
  4. Does your phone lock during the waiting period? i.e. after you swipe the application up and before you open it anew?
  5. Into how many Bitwarden accounts is your client logged into?
  6. To what language(s) are your phone interface and Bitwarden interface set to?

Thank you in advance,

@SergeantConfused commented on GitHub (Apr 17, 2023): Hi @allddd, Thank you for your report. 1. What is your Vault Timeout set to? 2. What is your Vault Timeout Action set to? 3. How do you typically unlock the application? Master password, PIN, biometrics? 4. Does your phone lock during the waiting period? i.e. after you swipe the application up and before you open it anew? 5. Into how many Bitwarden accounts is your client logged into? 6. To what language(s) are your phone interface and Bitwarden interface set to? Thank you in advance,
Author
Owner

@allddd commented on GitHub (Apr 17, 2023):

@SergeantConfused

  1. What is your Vault Timeout set to?

Immediately

  1. What is your Vault Timeout Action set to?

Lock

  1. How do you typically unlock the application? Master password, PIN, biometrics?

Biometrics

  1. Does your phone lock during the waiting period? i.e. after you swipe the application up and before you open it anew?

I would say yes, but not with 100% certainty.
It usually gets locked because few hours/days can pass between closing the application and opening it again.

  1. Into how many Bitwarden accounts is your client logged into?

Only 1

  1. To what language(s) are your phone interface and Bitwarden interface set to?

Both are in english

@allddd commented on GitHub (Apr 17, 2023): @SergeantConfused > 1. What is your Vault Timeout set to? Immediately > 2. What is your Vault Timeout Action set to? Lock > 3. How do you typically unlock the application? Master password, PIN, biometrics? Biometrics > 4. Does your phone lock during the waiting period? i.e. after you swipe the application up and before you open it anew? I would say yes, but not with 100% certainty. It usually gets locked because few hours/days can pass between closing the application and opening it again. > 5. Into how many Bitwarden accounts is your client logged into? Only 1 > 6. To what language(s) are your phone interface and Bitwarden interface set to? Both are in english
Author
Owner

@Greenderella commented on GitHub (Jul 21, 2023):

Hi there,

We have attempted to reproduce your issue and were unable to do so. We use GitHub issues as a place to track bugs and other development related issues.

Will you first try uninstalling the application, resetting your device (Power Off/On) and re-installing? If your issue persists, please write us back using our contact form, so we can continue troubleshooting: https://bitwarden.com/contact/

You can include a link to this issue in the message content.

Alternatively, you can also search for an answer in our help documentation (https://bitwarden.com/help/) or get help from other Bitwarden users on our community forums (https://community.bitwarden.com/c/support/).

The issue here will be closed.

Thanks!

@Greenderella commented on GitHub (Jul 21, 2023): Hi there, We have attempted to reproduce your issue and were unable to do so. We use GitHub issues as a place to track bugs and other development related issues. Will you first try uninstalling the application, resetting your device (Power Off/On) and re-installing? If your issue persists, please write us back using our contact form, so we can continue troubleshooting: https://bitwarden.com/contact/ You can include a link to this issue in the message content. Alternatively, you can also search for an answer in our help documentation (https://bitwarden.com/help/) or get help from other Bitwarden users on our community forums (https://community.bitwarden.com/c/support/). The issue here will be closed. Thanks!
Author
Owner

@allddd commented on GitHub (Jul 21, 2023):

Hi @Greenderella
well that is very strange.

It still happens constantly and rebooting/reinstalling certainly won't help a problem that's been going on for over a year.
The phone has been rebooted multiple times and the app has also been reinstalled multiple times as the issue has occurred on multiple devices.

I also reinstalled it already as the bug (2023.3.0) broke the app recently.

I will gladly provide a video of it if you reopen the issue, this problem is very irritating.

@allddd commented on GitHub (Jul 21, 2023): Hi @Greenderella well that is very strange. It still happens constantly and rebooting/reinstalling certainly won't help a problem that's been going on for over a year. The phone has been rebooted multiple times and the app has also been reinstalled multiple times as the issue has occurred on multiple devices. I also reinstalled it already as the bug (2023.3.0) broke the app recently. I will gladly provide a video of it if you reopen the issue, this problem is very irritating.
Author
Owner

@SergeantConfused commented on GitHub (Sep 12, 2023):

Hi @allddd,

Thank you for following up on this. I took another look at this and was able to finally reproduce it on iOS 16.6.1 with Bitwarden 2023.8.0; I am going to open this ticket and raise this matter internally; The reproduction steps that I am using are detailed below.

  1. Create a new Bitwarden account.
  2. Create a single Login-type vault items and call it (Test) and leave it empty.
  3. Log into this Bitwarden account via the iOS client.
  4. Set the (Vault Timeout) to (Immediately).
  5. Set the (Vault Timeout Action) to (Lock).
  6. Activate (Unlock with Touch ID).
  7. Close Bitwarden by swiping it up from the App Switcher.
  8. Open Bitwarden anew and tap on Logins > Test.
  9. Press on the Home button.
  10. Open the Task Switcher and swipe Bitwarden up to close it.
  11. Attempt to open Bitwarden again; At this point, it crashes.
@SergeantConfused commented on GitHub (Sep 12, 2023): Hi @allddd, Thank you for following up on this. I took another look at this and was able to finally reproduce it on iOS 16.6.1 with Bitwarden 2023.8.0; I am going to open this ticket and raise this matter internally; The reproduction steps that I am using are detailed below. 1. Create a new Bitwarden account. 2. Create a single Login-type vault items and call it (Test) and leave it empty. 3. Log into this Bitwarden account via the iOS client. 4. Set the (Vault Timeout) to (Immediately). 5. Set the (Vault Timeout Action) to (Lock). 6. Activate (Unlock with Touch ID). 7. Close Bitwarden by swiping it up from the App Switcher. 8. Open Bitwarden anew and tap on Logins > Test. 9. Press on the Home button. 10. Open the Task Switcher and swipe Bitwarden up to close it. 11. Attempt to open Bitwarden again; At this point, it crashes.
Author
Owner

@allddd commented on GitHub (Sep 12, 2023):

Hi @SergeantConfused

Thanks for reopening. The problem still persists on several devices I have used recently, the steps above describe it well.
One small note is that in my case it does not matter what type of vault item it is, it crashes anyway.

@allddd commented on GitHub (Sep 12, 2023): Hi @SergeantConfused Thanks for reopening. The problem still persists on several devices I have used recently, the steps above describe it well. One small note is that in my case it does not matter what type of vault item it is, it crashes anyway.
Author
Owner

@jcbvm commented on GitHub (Sep 16, 2023):

I’m encountering the same issue, it most often happens when you have a vault item open. Then switch to another app and return, the app will crash.

@jcbvm commented on GitHub (Sep 16, 2023): I’m encountering the same issue, it most often happens when you have a vault item open. Then switch to another app and return, the app will crash.
Author
Owner

@larrymcj commented on GitHub (Sep 18, 2023):

Same thing here. This happens when using any one of three Bitwarden accounts. Most often, Bitwarden crashes about one second after I open it. Reopening it right away usually allows it to stay open.

@larrymcj commented on GitHub (Sep 18, 2023): Same thing here. This happens when using any one of three Bitwarden accounts. Most often, Bitwarden crashes about one second after I open it. Reopening it right away usually allows it to stay open.
Author
Owner

@kohei-noda-qcrg commented on GitHub (Sep 20, 2023):

I have the same issue on iPad Air 3 with iPad OS 16.6.
2023.8.0 (4566) is the version of BitWarden.

Furthermore, in my case, the app crashes on any card and identity.

@kohei-noda-qcrg commented on GitHub (Sep 20, 2023): I have the same issue on iPad Air 3 with iPad OS 16.6. 2023.8.0 (4566) is the version of BitWarden. Furthermore, in my case, the app crashes on any card and identity.
Author
Owner

@Nevamex commented on GitHub (Sep 21, 2023):

I have the same problem with my iPhone 12 Mini running iOS 16.6. Switching to another app while leaving a vault item open in the Bitwarden app makes Bitwarden crash on reopen.

@Nevamex commented on GitHub (Sep 21, 2023): I have the same problem with my iPhone 12 Mini running iOS 16.6. Switching to another app while leaving a vault item open in the Bitwarden app makes Bitwarden crash on reopen.
Author
Owner

@PixelEnvision commented on GitHub (Sep 22, 2023):

Same crash here, happening for a while even with the latest update.

My steps to reproduce (every time)

  1. Open Bitwarden with FaceID
  2. Open any vault item
  3. Swipe up and send Bitwarden to the background
  4. Re-open Bitwarden with FaceID =< CRASH

Device is iPhone 13 Pro Max with iOS 16.x

Note: if the Bitwarden is on the main UI, it doesn't crash when re-opened.

@PixelEnvision commented on GitHub (Sep 22, 2023): Same crash here, happening for a while even with the latest update. My steps to reproduce (every time) 1. Open Bitwarden with FaceID 2. Open any vault item 3. Swipe up and send Bitwarden to the background 4. Re-open Bitwarden with FaceID =< CRASH Device is iPhone 13 Pro Max with iOS 16.x Note: if the Bitwarden is on the main UI, it doesn't crash when re-opened.
Author
Owner

@ttorynn commented on GitHub (Sep 23, 2023):

Experiencing precisely the same issue.

  1. Unlock Bitwarden with FaceID
  2. Edit/open any vault item
  3. Navigate away from Bitwarden and allow the vault timeout to auto-lock the vault.
  4. Re-open Bitwarden with FaceID; immediate crash.

iPhone 14 Pro Max on iOS 17.0.1

@ttorynn commented on GitHub (Sep 23, 2023): Experiencing precisely the same issue. 1. Unlock Bitwarden with FaceID 2. Edit/open any vault item 3. Navigate away from Bitwarden and allow the vault timeout to auto-lock the vault. 4. Re-open Bitwarden with FaceID; immediate crash. iPhone 14 Pro Max on iOS 17.0.1
Author
Owner

@jcbvm commented on GitHub (Sep 23, 2023):

I’m also encountering the issue when not using Face ID, or when setting the time out to 1 minute or above. So it does not seem to be related with the settings.

@jcbvm commented on GitHub (Sep 23, 2023): I’m also encountering the issue when not using Face ID, or when setting the time out to 1 minute or above. So it does not seem to be related with the settings.
Author
Owner

@gewdvibes commented on GitHub (Sep 24, 2023):

I've been having this same issue for quite a while(at least a few months).

  • happened with both iPhone 13 Pro Max and now with iPhone 15 Pro
  • happened on iOS 16 and now iOS 17 still happening
  • unlocked with biometrics (faceid)
  • timeout set to 5 mins
  • timeout action set to lock
  1. Open Bitwarden
  2. Do anything(seems like it just has to be open)
  3. Wait for it to lock
  4. Come back after some time
  5. Unlock app with faceid
  6. Crashes immediately upon unlock

It doesn't matter whether I have a vault item open or not it still crashes when I come back to it every time. The locking doesn't seem to be the problem as I tried setting it to immediate lock and when I do that and try different scenarios it never crashes if I just leave the app and come back a few seconds later to unlock it. But if I wait a normal amount of time like maybe an hour or two, when I come back it will crash every time

@gewdvibes commented on GitHub (Sep 24, 2023): I've been having this same issue for quite a while(at least a few months). - happened with both iPhone 13 Pro Max and now with iPhone 15 Pro - happened on iOS 16 and now iOS 17 still happening - unlocked with biometrics (faceid) - timeout set to 5 mins - timeout action set to lock 1. Open Bitwarden 2. Do anything(seems like it just has to be open) 3. Wait for it to lock 4. Come back after some time 5. Unlock app with faceid 6. Crashes immediately upon unlock It doesn't matter whether I have a vault item open or not it still crashes when I come back to it every time. The locking doesn't seem to be the problem as I tried setting it to immediate lock and when I do that and try different scenarios it never crashes if I just leave the app and come back a few seconds later to unlock it. But if I wait a normal amount of time like maybe an hour or two, when I come back it will crash every time
Author
Owner

@orchunchun commented on GitHub (Oct 6, 2023):

+1,i have the same issue on iOS

But it seems Android is not affected.

@orchunchun commented on GitHub (Oct 6, 2023): +1,i have the same issue on iOS But it seems Android is not affected.
Author
Owner

@gewdvibes commented on GitHub (Oct 13, 2023):

I saw a fix got merged. Has this update gone out yet? I'm still getting the same crashing. Seems a little less frequent but that could just be placebo. It's definitely still happening though

@gewdvibes commented on GitHub (Oct 13, 2023): I saw a fix got merged. Has this update gone out yet? I'm still getting the same crashing. Seems a little less frequent but that could just be placebo. It's definitely still happening though
Author
Owner

@PixelEnvision commented on GitHub (Oct 13, 2023):

Just tried, and it's still happening for me too...

@PixelEnvision commented on GitHub (Oct 13, 2023): Just tried, and it's still happening for me too...
Author
Owner

@johannlo commented on GitHub (Oct 16, 2023):

It’s happening for me too

ios17.0.3
Face ID turned on

steps to reproduce

  1. launch BW app, open a login item.
  2. switch to another app
  3. Use the another app awhile
  4. Switch back to BW app
  5. BW app perform Face ID
  6. crashes right after faceID completed.
@johannlo commented on GitHub (Oct 16, 2023): It’s happening for me too ios17.0.3 Face ID turned on steps to reproduce 1. launch BW app, open a login item. 2. switch to another app 3. Use the another app awhile 4. Switch back to BW app 5. BW app perform Face ID 6. crashes right after faceID completed.
Author
Owner

@djsmith85 commented on GitHub (Oct 16, 2023):

The changes made on the linked Pull Request have been merged and will be included in the upcoming 2023.10-release.

@djsmith85 commented on GitHub (Oct 16, 2023): The changes made on the [linked Pull Request](https://github.com/bitwarden/mobile/pull/2813) have been merged and will be included in the upcoming `2023.10`-release.
Author
Owner

@gewdvibes commented on GitHub (Nov 2, 2023):

FYI newest update is still crashing with same behavior. iOS 17.1, iPhone 15 Pro

@gewdvibes commented on GitHub (Nov 2, 2023): FYI newest update is still crashing with same behavior. iOS 17.1, iPhone 15 Pro
Author
Owner

@hazardousthingy commented on GitHub (Nov 6, 2023):

FYI newest update is still crashing with same behavior. iOS 17.1, iPhone 15 Pro

I can confirm, still crashing on iOS 17.1, iPhone 13 Pro.

@hazardousthingy commented on GitHub (Nov 6, 2023): > FYI newest update is still crashing with same behavior. iOS 17.1, iPhone 15 Pro I can confirm, still crashing on iOS 17.1, iPhone 13 Pro.
Author
Owner

@Greenderella commented on GitHub (Nov 6, 2023):

Please try uninstalling the application first, resetting your device (Power Off/On) and re-installing. If the issue persists, please contact support using the form available on the right side of our Help Center: https://bitwarden.com/help/

@Greenderella commented on GitHub (Nov 6, 2023): Please try uninstalling the application first, resetting your device (Power Off/On) and re-installing. If the issue persists, please contact support using the form available on the right side of our Help Center: https://bitwarden.com/help/
Author
Owner

@Clauber commented on GitHub (Nov 23, 2023):

I have the same issue, but it actually breaks when I try to save something

@Clauber commented on GitHub (Nov 23, 2023): I have the same issue, but it actually breaks when I try to save something
Author
Owner

@boydthomson commented on GitHub (Jan 1, 2024):

Experiencing same with iOS 17.2.1 on iPhone 13. Shame as I finally cancelled LastPass for Bitwarden.

@boydthomson commented on GitHub (Jan 1, 2024): Experiencing same with iOS 17.2.1 on iPhone 13. Shame as I finally cancelled LastPass for Bitwarden.
Author
Owner

@SergeantConfused commented on GitHub (Jan 1, 2024):

Hello @gewdvibes, @hazardousthingy, @Clauber, and @boydthomson,

  1. Could you please specify the exact versions of iOS and Bitwarden that you currently are using and are experiencing this with?
  2. Could you please detail the KDF Settings that you have set for your accounts?
  3. Are your iOS clients logged into more than one Bitwarden account?
  4. Could you please share clear and detailed reproduction steps?

Thank you in advance,

@SergeantConfused commented on GitHub (Jan 1, 2024): Hello @gewdvibes, @hazardousthingy, @Clauber, and @boydthomson, 1. Could you please specify the exact versions of iOS and Bitwarden that you currently are using and are experiencing this with? 2. Could you please detail the [KDF Settings](https://bitwarden.com/help/kdf-algorithms/) that you have set for your accounts? 3. Are your iOS clients logged into [more than one](https://bitwarden.com/help/account-switching/) Bitwarden account? 4. Could you please share clear and detailed reproduction steps? Thank you in advance,
Author
Owner

@larrymcj commented on GitHub (Jan 1, 2024):

As the OP, I’ll add my comments here also, as Bitwarden is again crashing occasionally at startup. The frequency is less now, probably one in 10-15 times I open it.

iOS version: 17.2.1
iPhone 15 Pro Max: (though this also occurred on a previous iPhone 14 Pro.
Bitwarden version: 12.0 (5688)
Number of accounts logged into: 3
KDF Settings: PBKDF2 for all three accounts. Two are set for 600,000 and one is set to 100,000
Detailed steps to replicate: tap the Bitwarden home screen icon, it flashes once, then crashes.

Larry McJunkin

On Jan 1, 2024, at 6:41 AM, SergeantConfused @.***> wrote:

Hello @gewdvibes https://github.com/gewdvibes, @hazardousthingy https://github.com/hazardousthingy, @Clauber https://github.com/Clauber, and @boydthomson https://github.com/boydthomson,

Could you please specify the exact versions of iOS and Bitwarden that you currently are using and are experiencing this with?
Could you please detail the KDF Settings https://bitwarden.com/help/kdf-algorithms/ that you have set for your accounts?
Are your iOS clients logged into more than one https://bitwarden.com/help/account-switching/ Bitwarden account?
Could you please share clear and detailed reproduction steps?
Thank you in advance,


Reply to this email directly, view it on GitHub https://github.com/bitwarden/mobile/issues/2478#issuecomment-1873290517, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCGRZGYMBQILWELJF3NB4VDYMKOGLAVCNFSM6AAAAAAXAAG6PCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZTGI4TANJRG4.
You are receiving this because you commented.

@larrymcj commented on GitHub (Jan 1, 2024): As the OP, I’ll add my comments here also, as Bitwarden is again crashing occasionally at startup. The frequency is less now, probably one in 10-15 times I open it. iOS version: 17.2.1 iPhone 15 Pro Max: (though this also occurred on a previous iPhone 14 Pro. Bitwarden version: 12.0 (5688) Number of accounts logged into: 3 KDF Settings: PBKDF2 for all three accounts. Two are set for 600,000 and one is set to 100,000 Detailed steps to replicate: tap the Bitwarden home screen icon, it flashes once, then crashes. Larry McJunkin > On Jan 1, 2024, at 6:41 AM, SergeantConfused ***@***.***> wrote: > > > Hello @gewdvibes <https://github.com/gewdvibes>, @hazardousthingy <https://github.com/hazardousthingy>, @Clauber <https://github.com/Clauber>, and @boydthomson <https://github.com/boydthomson>, > > Could you please specify the exact versions of iOS and Bitwarden that you currently are using and are experiencing this with? > Could you please detail the KDF Settings <https://bitwarden.com/help/kdf-algorithms/> that you have set for your accounts? > Are your iOS clients logged into more than one <https://bitwarden.com/help/account-switching/> Bitwarden account? > Could you please share clear and detailed reproduction steps? > Thank you in advance, > > — > Reply to this email directly, view it on GitHub <https://github.com/bitwarden/mobile/issues/2478#issuecomment-1873290517>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/BCGRZGYMBQILWELJF3NB4VDYMKOGLAVCNFSM6AAAAAAXAAG6PCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZTGI4TANJRG4>. > You are receiving this because you commented. >
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#1642