mozilla-mobile / firefox-ios

Firefox for iOS
Mozilla Public License 2.0
12.18k stars 2.92k forks source link

v40 not responding #9604

Closed data-sync-user closed 2 years ago

data-sync-user commented 2 years ago

From https://www.reddit.com/r/firefox/comments/rbkm36/problems_with_latest_ios_update_version_400/

┆Issue is synchronized with this Jira Task

koobs commented 2 years ago

Confirming on iPhone 11 Pro Max 14.8.1

https://twitter.com/koobs/status/1468394111874965505?s=21

Consistent symptoms:

Notable exceptions:

I have attempted to isolate by resetting / changing any responsive options controls to no affect or change in symptoms. Clearing all stored data was done during this isolation.

I have not uninstalled/reinstalled app or rebooted the device in order to maintain app state and to assist debugging.

If a screen recording or enabling Send Usage Data or other in-app debugging options would be useful, let me know.

koobs commented 2 years ago

WFM from iOS 15.2 Beta 4 iPhone 12 Pro user:

https://twitter.com/flds/status/1468535222216048645?s=21

adudenamedruby commented 2 years ago

@koobs Heya. Yeah, a screen recording would be useful. I've been trying to repro this today and can't seem to. So seeing it happening would help. If you could also record your settings screen, and then also tap on the "homepage" section in the settings screen and record that.

Enabling Send Usage Data might provide us with more things to look into as well. Currently our crash logs are empty (because it seems like this isn't a crash).

adudenamedruby commented 2 years ago

Daylight 40 rollout has been halted as we became aware of the problem. Currently, any new download should be on v40, but we have tried to repro on a new install and cannot.

adudenamedruby commented 2 years ago

Data collected so far:

Issue as we can identify right now:

data-sync-user commented 2 years ago

➤ Isabel Rios Escobar commented:

I got the app crashing once and got the logs (iPad Pro, iOS 15, v40.0) but I’m unable to repro following same steps. If you think the logs are still useful I will share them…

adudenamedruby commented 2 years ago

Re-opening until we can confirm issue is resolved in the field.

adudenamedruby commented 2 years ago

Updated data collected so far:

lmarceau commented 2 years ago

Re-opening until we can confirm issue is resolved in the field.

Sorry by merging the PR it automatically closed the issue. That wasn't on purpose. Thanks for reopening!

lmarceau commented 2 years ago

Updated data collected so far:

* Reports of issue seem to not be related to iOS/iPadOS version

  * 14.8.1, 15.0, 15.1, 15.1.1 all have been reported

* Confirmed models with reports don't necessarily indicate this to be solely an "older device" issue

  * iPhone: XR, 8+, SE, 11, 11 Pro Max
  * iPad: Pro

* Doesn't seem to be isolated to a location in the app

  * reports of hang on FxHomepage, settings screen, etc)

* Reports seem to be from existing users, possibly suggesting that this might be an issue when upgrading

  * New users cannot yet be ruled out to be unaffected

* Does not seem to be related to Sync

  * report of issue from user not signed in to Sync

* Does not seem to be related to passwords being saved

  * multiple reports of issue from users with no saved passwords

* Possibly related with multiple tabs being open

  * _Some_ users who have reported have specified that they have open tabs

A lot of users reports they see a white page on startup and nothing loads/nothing can be interacted with.

koobs commented 2 years ago

Attaching video reproduction on iPhone 11 Pro Max 14.8.1

Notes:

https://user-images.githubusercontent.com/1011612/145654137-5ee790f4-2fbf-41e5-933e-d4fa281ee1ca.MOV

lmarceau commented 2 years ago

@koobs Thanks a lot for the video, this helps us a lot! We're onto some ideas on what could cause this and we'll come up with a solution soon 🙏

koobs commented 2 years ago

@koobs Thanks a lot for the video, this helps us a lot! We're onto some ideas on what could cause this and we'll come up with a solution soon 🙏

My pleasure 👍 Note I did addition isolation and reprod, but the video ended up too large. I'll create a shorter version this afternoon for reference, but the additional details are:

Edit: Could not initiate unresponsive state via any other menu items.

the-vampiire commented 2 years ago

I’m able to interact (menus, bookmarks etc) and load a page only when I force touch and select new (or new private) tab.

However, once the page loads it freezes up the whole app again. Able to view tab list but they are all white. Selecting a tab causes it to freeze as well.

csuciu commented 2 years ago

@the-vampiire Do you know approximately how many tabs did you have open when this issue occurred?

adudenamedruby commented 2 years ago

Issue Update:

We believe we've identified what's causing the issue and are working to resolve it.

Updated data collected so far as of Today

SimonBasca commented 2 years ago

I was able to reproduce the issue on iPhone SE 1st generation (iOS 14.8) by opening ~150 tabs and upgrading from v38.0 -> 38.1 -> 39.0 -> 40.0 (6920). After launching v40.0 (6920) the app hangs and crashes after a couple of seconds on start-up. I was able to reproduce without signing in to FxA and with the default settings. From this state I upgraded to v40.1 (7037) and after the update the app was functional again (no crash and hang on start-up).

Crash log from v40 (6920) Client-2021-12-14-160528.ips.beta.zip

the-vampiire commented 2 years ago

@the-vampiire Do you know approximately how many tabs did you have open when this issue occurred?

@csuciu so many it simply shows an infinity symbol 😳

the-vampiire commented 2 years ago

@SimonBasca how did you update to v40.1? i dont see it in the app store

lmarceau commented 2 years ago

@the-vampiire v40.1 was in Beta testing on Testflight, but it will be released soon on the App Store! Hopefully Apple reviews it quickly 🤞Thanks a lot for your patience and helping us solving this issue.

the-vampiire commented 2 years ago

right on. thank you for your code and time

koobs commented 2 years ago

Confirming hang on cold start or other menu items and URL bar touch is no longer reproducible with 40.1.

However, there appears to be related remaining issues with tab list, switching and page loads.

Two videos capturing the symptoms, the latter showing tab listings and order changing after scrolling them slightly out of the viewport:

https://user-images.githubusercontent.com/1011612/145937208-a57dc553-8287-4b03-956a-8177ea2d0cb7.MOV

Edit: And I can't upload second video (GitHub for iOS error) :/ will try again later. Standby.