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

App Crash on iOS 15 Beta 5 #1493

Closed
sso-bitwarden mannequin opened this issue Aug 11, 2021 · 106 comments
Closed

App Crash on iOS 15 Beta 5 #1493

sso-bitwarden mannequin opened this issue Aug 11, 2021 · 106 comments

Comments

@sso-bitwarden
Copy link
Mannequin

sso-bitwarden mannequin commented Aug 11, 2021

I am able to log in. Regardless of whether or not I make any changes to the settings (enable FaceID or not, change timeouts, etc.) the app will immediately close out as soon as I reopen the app. An ips is generated and the stack racestarts with (if it helps):

"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
"asi" : {"libsystem_c.dylib":["abort() called"]},
"lastExceptionBacktrace" : [{"imageOffset":628456,"imageIndex":5},{"imageOffset":89956,"imageIndex":6},{"imageOffset":1532244,"imageIndex":5},{"imageOffset":188548,"imageIndex":5},{"imageOffset":184768,"imageIndex":5},{"imageOffset":1792184,"imageIndex":11},{"imageOffset":767644,"imageIndex":5},{"imageOffset":836336,"imageIndex":5},{"imageOffset":23652,"imageIndex":5},{"imageOffset":46084,"imageIndex":5},{"imageOffset":126920,"imageIndex":5},{"imageOffset":5004,"imageIndex":8},{"imageOffset":5340688,"imageIndex":9},{"imageOffset":2713072,"imageIndex":9},{"imageOffset":5973944,"imageIndex":3},{"imageOffset":5262784,"imageIndex":3},{"imageOffset":5262660,"imageIndex":3},{"imageOffset":595272,"imageIndex":3},{"imageOffset":4415840,"imageIndex":3},{"imageOffset":284552,"imageIndex":4},{"imageOffset":1055304,"imageIndex":4},{"imageOffset":1080480,"imageIndex":4},{"imageOffset":143556,"imageIndex":4},{"imageOffset":34310384,"imageIndex":3},{"imageOffset":595088,"imageIndex":3},{"imageOffset":105252,"imageIndex":10}],
"faultingThread" : 0,
"threads" : [{"triggered":true,"id":371738,"threadState":{"x":[{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":10000000},{"value":5120},{"value":18446744069414586880},{"value":9007292605623196026},{"value":9007292609895505146},{"value":1000},{"value":12532993},{"value":16393},{"value":4763844608},{"value":16383},{"value":33922},{"value":328},{"value":4345218432},{"value":0},{"value":6},{"value":259},{"value":4345218656},{"value":4749022304},{"value":4764860752},{"value":4763726336},{"value":4379446488},{"value":4764860928},{"value":5},{"value":4309885279}],"flavor":"ARM_THREAD_STATE64","lr":{"value":8390571060},"cpsr":{"value":1073741824},"fp":{"value":6161400176},"sp":{"value":6161400144},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":7425071544,"matchesCrashFrame":1},"far":{"value":6165807040}},"name":"tid_103","queue":"com.apple.main-thread","frames":[{"imageOffset":31160,"imageIndex":0},{"imageOffset":29748,"imageIndex":1},

Environment

  • Operating system: iOS 15 Beta 5
  • Build Version: 2.11.1 (edited)
@jerryc127
Copy link
Mannequin

jerryc127 mannequin commented Aug 11, 2021

yes. I update to iOS 15 beta 5
The app cannot open when click the icon directly
but it can use to fill in the password with keyboard

@the-great-emu-kerfuffle
Copy link
Mannequin

I am the reporter of this bug. More info of questionable quality: If I leave the app running, and do not force close, I can continue to access the app with no issues. If I close it, I have to uninstall & reinstall and then reauthenticate to use it. Also, I can offload the app and reinstall and it will work, which is quicker.

I will need to see if the problem exists on the latest iPadOS beta.

I’m willing to assist in troubleshooting or providing more information but I am not an iOS developer by practice.

@the-great-emu-kerfuffle
Copy link
Mannequin

App version is 2.11.1, the latest in the App Store. Not 2.11.3.

Edit: Issue is not replicated on the latest iPadOS Beta that released yesterday.

@nicopasla
Copy link
Mannequin

nicopasla mannequin commented Aug 11, 2021

Same problem for me since today, restart help but temporarily

@trparky
Copy link
Mannequin

trparky mannequin commented Aug 12, 2021

I have the same issue.

@sunsetsonwheels
Copy link
Mannequin

sunsetsonwheels mannequin commented Aug 12, 2021

I can confirm the same issue on iOS 15 Beta 5, crashes when tapping icon on Home Screen/App Library as well as keyboard autofill.

@evlsmurf
Copy link
Mannequin

evlsmurf mannequin commented Aug 12, 2021

Can confirm this is happening on iPad Pro iOS15 B5 as well but a simple shutdown from settings and turning back on will allow you to use bitwarden again until you close out from multitasking.

@ax-meyer
Copy link
Mannequin

ax-meyer mannequin commented Aug 12, 2021

Same behavior here.
The first major bug I experience on the beta, and directly something with a big impact. Love my luck.

@josephazrak
Copy link
Mannequin

josephazrak mannequin commented Aug 12, 2021

Can confirm I am facing the same issue on 15.0 (19A5318f) (beta 5). App crashes on open--rather high impact.

@sleeping10
Copy link
Mannequin

sleeping10 mannequin commented Aug 12, 2021

Workaround for the moment if autofill stops working in safari use firefox works fine even when the app crash and if you need to access the app reinstall the app

@trparky
Copy link
Mannequin

trparky mannequin commented Aug 13, 2021

I have submitted some feedback in the Apple Feedback app, apparently more than ten of you have submitted similar feedback to Apple. Keep it going guys, maybe it's something in the OS that's causing this issue.

@Jeehut
Copy link
Mannequin

Jeehut mannequin commented Aug 13, 2021

Same problem here. As a workaround I'm now using vault.bitwarden.com in Safari which is not designed for Mobile, but does the job temporarily.

Just in case someone forgot. 😉

@m4rkv5
Copy link
Mannequin

m4rkv5 mannequin commented Aug 13, 2021

@Jeehut On my phone bitwarden runs for multiple hours after a reboot.

@josephazrak
Copy link
Mannequin

josephazrak mannequin commented Aug 13, 2021

@Jeehut On my phone bitwarden runs for multiple hours after a reboot.

That makes sense--it's the time it takes for Jetsam to kill the app in the background naturally. The fact remains that once the app is closed, it will crash on reopen until the next reboot.

@trparky
Copy link
Mannequin

trparky mannequin commented Aug 14, 2021

Any updates on this issue from the devs? Are we close to seeing a fix for this perhaps deployed via Test Flight? Or is this an iOS 15-related bug?

@kkankala
Copy link
Mannequin

kkankala mannequin commented Aug 14, 2021

Any update regarding the fix?

@atridadl
Copy link
Mannequin

atridadl mannequin commented Aug 14, 2021

Seems like an odd one to keep quiet on considering the impact it has.

@TheJulianJES
Copy link
Mannequin

TheJulianJES mannequin commented Aug 14, 2021

It's possible that https://github.com/bitwarden/mobile-maui/pull/1495 fixes this.
(Or it's another "iPhone crash" bug)

@takov751
Copy link
Mannequin

takov751 mannequin commented Aug 14, 2021

So far it's similar to the twitter app, however that app on the second time runs . I would be really interested what changed brought this behaviour

@tdiehl
Copy link
Mannequin

tdiehl mannequin commented Aug 15, 2021

Seems to be affecting lots of Xamarin-based apps (including one I work on). See also xamarin/xamarin-macios#12427.

@Wxfisch
Copy link
Mannequin

Wxfisch mannequin commented Aug 16, 2021

I’ve seen the same behavior. Though I have not been able to use app fill at all until I reboot at which point as others have said it works for some time.
I was directed to this one dude by support and find it odd that it’s not been assigned or even acknowledged by the devs really.

@TheModdersDen
Copy link
Mannequin

TheModdersDen mannequin commented Aug 16, 2021

Same issue here. iOS build 15.0 beta 5 (19A5318f), iPhone 12 Pro.

I can temporarily resolve the issue by offloading the app and then re-downloading it, but can only keep it open for a short amount of time, as noted by others before it begins to crash again.

Uninstalling it and reinstalling it has the same effect, but again, not ideal.

Just thought I’d pitch my 2 cents here…

@niclimcy
Copy link
Mannequin

niclimcy mannequin commented Aug 17, 2021

27885118-9DB2-4D5A-9465-5FA84AA8B443

iOS 15 Beta bug. It will be fixed in the next beta…

@trparky
Copy link
Mannequin

trparky mannequin commented Aug 17, 2021

So, I guess that this may actually be a bug in iOS 15 Beta 5. Now let's hope that beta 6 is released this week and it contains the fix.

@AlexHunterCodes
Copy link
Mannequin

AlexHunterCodes mannequin commented Aug 17, 2021

Polite reminder to everyone: stating you're also running the same version on the same beta and are also affected by this issue in the same way, or saying you're affected without posting any diagnostically useful or new information (like version numbers, and which beta branch and number you're running) doesn't help developers fix the issue any faster. It's just creating more noise they have to sift through. If your comment boils down to just saying "+1" use GitHub's emoji reactions to leave a 👍 on an existing comment, instead of cluttering the thread.

The issue already has a reliable repro on Beta 5, and appears to be an iOS issue that's affecting other Xamarin apps too, that Apple is already aware of and will likely be fixed in the next beta release, which developers will probably get early next week, and the public beta testers a couple of days later.

So this is probably a case of just being patient, and remembering that if you don't want to deal with bugs and crashes, don't run beta software on your primary devices.

@TheJulianJES
Copy link
Mannequin

TheJulianJES mannequin commented Aug 17, 2021

Can reproduce on iOS 15 Developer Beta 6 (released today).

It's likely that if it's a fix on Apple's side, it didn't make it into today's beta. It should be in next week's beta. (They are now in the weekly release cycle.)

@jerryc127
Copy link
Mannequin

jerryc127 mannequin commented Aug 17, 2021

Beta 6 still have this problem

@ghost
Copy link

ghost commented Aug 18, 2021

I have a stack trace if needed, Dev Beta 5, latest app store version. it stopped autofilling a while ago but still allowed app access... then it just stopped allowing app access. Device uptime is in the low double digits of days though. I'll update/reboot device and see if any more useful information can be gleaned from Dev Beta 6.

@whatstevedid
Copy link
Mannequin

whatstevedid mannequin commented Aug 18, 2021

Interesting post on the xamarin thread here:
xamarin/xamarin-macios#12427 (comment)

Changing the minimum OS version to be 14.0 in the info.plist stopped the crash for this user.

Any way we could get a TestFlight version with this change to test?

@trparky
Copy link
Mannequin

trparky mannequin commented Aug 18, 2021

Someone reported this...

Hi all.
I was facing a similar issue, but got it working.
I changed the minimum OS version to be 14.0 in the info.plist, and it doesn't crash on the 2nd load.

@rbrussell82
Copy link
Mannequin

rbrussell82 mannequin commented Aug 23, 2021

I just added build 2.12.0 (846) to the public testflight track. Please try this and report back. It has LLVM enabled as a suggested workaround.

This seems to fix the app crashes for me on an iPhone 11 Pro Max, BUT AutoFill doesn't seem to be working. It never opens the passwords for me or if it detects a saved login and I click on it, it doesn't do anything.

AutoFill does seem to be working for me after restarting the phone. No crashes here after a phone reboot.

@trparky
Copy link
Mannequin

trparky mannequin commented Aug 23, 2021

I rebooted my phone; the app still crashes on exit however the app works. Something about small victories.

@craigmpeters
Copy link
Mannequin

craigmpeters mannequin commented Aug 23, 2021

Updated build: auto fill worked once but then didn't, it currently does not crash when using the app after this which is different from my test done previously.

@MrAshieB
Copy link
Mannequin

MrAshieB mannequin commented Aug 23, 2021

Build 2.12.0 (846) no longer crashing on launch, but does crash on closing, prompting a pop-up to report to devs.

@takov751
Copy link
Mannequin

takov751 mannequin commented Aug 23, 2021

Build 2.12.0 (846) no longer crashing on launch, but does crash on closing, prompting a pop-up to report to devs.

Exactly the same 👌 so it seems the solution is in reach

@oaklandm
Copy link
Mannequin

oaklandm mannequin commented Aug 23, 2021

Yep seems to have fixed the crash on launch, thanks for finding the fix. I haven't experienced a crash on exit, or any crashes at all

@manikanta-dornala
Copy link
Mannequin

manikanta-dornala mannequin commented Aug 23, 2021

Is there scope for some conspiracy theory here?

@kspearrin
Copy link
Mannequin

kspearrin mannequin commented Aug 23, 2021

We just uploaded build 2.12.0 (848) that might fix also the autofill extensions. Please let us know.

@manikanta-dornala
Copy link
Mannequin

manikanta-dornala mannequin commented Aug 23, 2021

Can confirm that with build 2.12.0 (848) both Autofill and App work without crashing on iPhone 12 pro max with 15.0 Beta 5 (19A5325f).

@josephazrak
Copy link
Mannequin

josephazrak mannequin commented Aug 23, 2021

Can confirm that the application now functions without crashing as of TF build 848. Auto fill works too.

App crashes on task switcher exit, though.

@karassm
Copy link
Mannequin

karassm mannequin commented Aug 23, 2021

With build 848 on iphone 12 ios15b6 : tested ok (app + autofill) on safari, chrome and firefox focus... no crash yet. Thanks a lot for the availability on TestFlight !

@niclimcy
Copy link
Mannequin

niclimcy mannequin commented Aug 23, 2021

Steps to reproduce crash on exit:

  1. Open bitwarden
  2. Open recents
  3. Close bitwarden from recents
  4. Bitwarden crashes

It is crucial to not go back to the homescreen before closing Bitwarden as that scenario is working fine

@dfuentes03
Copy link
Mannequin

dfuentes03 mannequin commented Aug 23, 2021

Thanks to the Bitwarden team for hearing their users and getting this fixed even if on iOS Beta software! Another reason to continue using and paying for your product.

@hv0905
Copy link
Mannequin

hv0905 mannequin commented Aug 24, 2021

Build 848 works well on ios15 beta6(iphone8plus)
Thanks a lot for the fix!

@egadsthefuzz
Copy link
Mannequin

egadsthefuzz mannequin commented Aug 24, 2021

Steps to reproduce crash on exit:

  1. Open bitwarden

  2. Open recents

  3. Close bitwarden from recents

  4. Bitwarden crashes

It is crucial to not go back to the homescreen before closing Bitwarden as that scenario is working fine

I can reproduce on 848 using this, autofill now works though

@niclimcy
Copy link
Mannequin

niclimcy mannequin commented Aug 24, 2021

For people still looking for the testflight link:

https://testflight.apple.com/join/595lFH7U

@xiangsanliu
Copy link
Mannequin

xiangsanliu mannequin commented Aug 25, 2021

Steps to reproduce crash on exit:

  1. Open bitwarden
  2. Open recents
  3. Close bitwarden from recents
  4. Bitwarden crashes

It is crucial to not go back to the homescreen before closing Bitwarden as that scenario is working fine

I can reproduce on 848 using this, autofill now works though

Same problem on 848 and iOS15 beta.

@rbrussell82
Copy link
Mannequin

rbrussell82 mannequin commented Aug 25, 2021

iOS Beta 7 just dropped.

From initial reports on Reddit in /r/iOSBeta it appears that the App Store version of Bitwarden works again without crashes. I haven't tested yet as Beta 7 is still downloading for me.

@the-great-emu-kerfuffle
Copy link
Mannequin

I can confirm that Bitwarden 2.11.1 works as expected on both iOS and iPadOS Beta 7. The app does not crash when closed from task manager (without going to the Home Screen first). It also reopens after closure.

I have not tested the keyboard extension/autofill, however, because I don’t use it. Just the app itself.

@SwiftCoderJoe
Copy link
Mannequin

SwiftCoderJoe mannequin commented Aug 25, 2021

I can confirm the autofill extension also works on Beta 7.

@trparky
Copy link
Mannequin

trparky mannequin commented Aug 25, 2021

Alright guys, I did a test. I downloaded and installed iOS 15 Public Beta 7 and the test flight version of BitWarden, while it works, continues to crash when you swipe it off the multitasking screen. So, I decided to throw caution to the wind and had the AppStore re-download BitWarden app version 2.11.1 (704). I then did a full reboot of the phone and launched the app (v2.11.1) and then swiped it off the multitasking screen. No crash. Yay. I then did a re-launch of the app and guess what... no crash. Double yay!

So, what does this mean? It basically means that @kspearrin can disable LLVM in the compilation of the iOS app and go back to the normal way of compiling an iOS app and we should be good to go.

@trparky
Copy link
Mannequin

trparky mannequin commented Aug 25, 2021

In other words, Apple fixed the true underlining issue that was causing all of our issues in iOS Public Beta 7.

@TheJulianJES
Copy link
Mannequin

TheJulianJES mannequin commented Aug 25, 2021

When downloading from the iOS App Store and then swiping up the app in the multitask switcher (to close it), it might still crash (very likely). You just don't get the popup because it's not a TestFlight build. So there is still an issue with the iOS beta.

@egadsthefuzz
Copy link
Mannequin

egadsthefuzz mannequin commented Aug 25, 2021

Is there a way to see that crash @TheJulianJES so we can report on the Apple feedback app to Apple about the beta?

@trparky
Copy link
Mannequin

trparky mannequin commented Aug 25, 2021

When downloading from the iOS App Store and then swiping up the app in the multitask switcher (to close it), it might still crash (very likely). You just don't get the popup because it's not a TestFlight build. So there is still an issue with the iOS beta.

OK, you're right. I went into Analytics & Improvements and counted the number of crash files for Bitwarden. There were five there. I then recreated the issue where I swiped it off the screen, sure enough... there were six when I checked back. So yes, there is still a crash issue however, it's hidden. Apple needs to fix some additional issues but hey, that's why we're here. Right? To report issues.

@the-great-emu-kerfuffle
Copy link
Mannequin

Is there a way to see that crash @TheJulianJES so we can report on the Apple feedback app to Apple about the beta?

Settings -> Privacy -> Analytics & Improvements -> Analytics Data. Under Bitwarden-[timestamp].ips

"deployVersion" : 210,
"modelCode" : "iPhone13,4",
"procStartAbsTime" : 355861957246,
"coalitionID" : 956,
"osVersion" : {
"isEmbedded" : true,
"train" : "iPhone OS 15.0",
"releaseType" : "Beta",
"build" : "19A5337a"
},
"captureTime" : "2021-08-25 18:52:28.3071 -0500",
"incident" : "AAEE3B2B-311B-4D76-9C3B-7659AAF58729",
"bug_type" : "309",
"pid" : 2204,
"procExitAbsTime" : 355917953516,
"cpuType" : "ARM-64",
"procName" : "BitwardeniOS",
"procPath" : "/private/var/containers/Bundle/Application/4B80285E-90EE-4745-8BA4-C6AD1C70B9EB/BitwardeniOS.app/BitwardeniOS",
"bundleInfo" : {"CFBundleShortVersionString":"2.11.1","CFBundleVersion":"704","CFBundleIdentifier":"com.8bit.bitwarden","DTAppStoreToolsBuild":"12E506"},
"storeInfo" : {"storeCohortMetadata":"10|date=1629914400000&sf=143441&pgtp=Search&pgid=2b756e23-9c18-4e48-9a51-f528dbfbe8d5&prpg=Genre_179183&ctxt=Search&issrch=1&imptyp=lockup&kind=iosSoftware&itpltyp=PI3&lngid=1","itemID":"1137397744","deviceIdentifierForVendor":"10CCF88C-0AA2-4A49-B0FE-AF1020E9A13E","softwareVersionExternalIdentifier":"842454278","thirdParty":true,"applicationVariant":"1:iPhone13,4:14"},
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "com.8bit.bitwarden",
"crashReporterKey" : "6241ea2d2ded2eaf2a98d9ff9e6b9abc8fdf058a",
"basebandVersion" : "2.09.10",
"vmRegionInfo" : "0 is not in any region. Bytes before following region: 4302258176\n REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n __TEXT 1006f4000-100784000 [ 576K] r-x/r-x SM=COW .../BitwardeniOS",
"isCorpse" : 1,
"exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_ACCESS","signal":"SIGABRT","subtype":"KERN_INVALID_ADDRESS at 0x0000000000000000"},
"vmregioninfo" : "0 is not in any region. Bytes before following region: 4302258176\n REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n __TEXT 1006f4000-100784000 [ 576K] r-x/r-x SM=COW .../BitwardeniOS",
"asi" : {"libsystem_c.dylib":["abort() called"]},
"faultingThread" : 0,
"threads" : [{"triggered":true,"id":258294,"threadState":{"x":[{"value":0},{"value":0},

etc.

@egadsthefuzz
Copy link
Mannequin

egadsthefuzz mannequin commented Aug 26, 2021

Cheers! I wish they made it a bit easier to attach them on a feedback report, anyway, added and sent

@TheModdersDen
Copy link
Mannequin

TheModdersDen mannequin commented Aug 26, 2021

Just an FYI, on my iPhone 12 Pro running the new public beta 7 (build 15.0 19A5337a), Bitwarden works like a charm so far without having to join the TestFlight.

I'll comment if I have any issues, but on my end it seems resolved.

@c0ldplasma
Copy link
Mannequin

c0ldplasma mannequin commented Aug 29, 2021

Can confirm the AppStore version works on iPhone 12 iOS 15 Beta 7 without crashing

@mpbw2 mpbw2 closed this as completed Oct 4, 2021
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

2 participants