-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[Bug]: The application crashes after deleting the last inactive tab displayed in the list #27975
Comments
Drive by: I was able to reproduce this locally, but only by:
So the key detail may be closing an inactive tab that is currently open. I can confirm that the uncaught exception is: |
I will continue to investigate, but I'm curious about 2 things:
|
It looks like this is only reproducible if the last inactive tab is the currently selected tab. That state should not be reproducible in production channels as the selected tab will not become inactive even after the 2 week period has gone by. Since this is an edge case only reproducible on debug builds, I will close this as wont-fix for now. If there are reproducible steps I can follow for a release build, please feel free to re-open and we will continue investigation 🙂 |
For clarity, I tried the following things: Using a release beta build, I opened several tabs and then changed the device time to be 4 months in the future. The last selected tab was still active, and the others were inactive. Closing the last inactive tab from that list did not reproduce the bug. Using a debug build built from today's main, I forced several tabs to be inactive including the selected tab. I then opened a different, new tab. Closing the last inactive tab (the previously selected one) did not reproduce the bug. |
It turns out this menu option is still accessible if the user has the secret settings menu available. Given that, I am re-opening for now in case Product would like to prioritize this |
Since the crash was caused by having the current tab set as inactive while the user was still able to see it, now we ignore the current tab if it is selected to be set as inactive.
Since the crash was caused by having the current tab set as inactive while the user was still able to see it, now we ignore the current tab if it is selected to be set as inactive.
Since the crash was caused by having the current tab set as inactive while the user was still able to see it, now we ignore the current tab if it is selected to be set as inactive.
Tested with latest Nightly 111.0a1 from 01/18 with Lenovo Yoga Tab 11 (Android 11). The following were observed:
please observe the screen recording: inactive_child_page.mp4I could not reproduce the crash when the parent page is deleted. |
@DreVla explained how in normal conditions, an user will no longer be able to have all the tabs inactive. The last accessed tab will remained active, thus the scenario I mentioned above is no longer valid, since it involved using the debug feature to manually make all tabs inactive. |
…ng inactive Since the crash was caused by having the current tab set as inactive while the user was still able to see it, now we ignore the current tab if it is selected to be set as inactive.
Steps to reproduce
Expected behaviour
The application should remain stable.
Actual behaviour
The application crashes after deleting the last inactive tab displayed in the list.
However, crash reports are created in About Firefox > Crashes.
Device name
Google Pixel 6, Lenovo Yoga Tab 11
Android version
Android 13, Android 11
Firefox release type
Firefox Nightly
Firefox version
Nightly 109.0a1 from 11/25
Device logs
108.0b4.txt
Nightly109.11.25.txt
Fenix_CrashReport.txt
Additional information
Note that the issue does not have a 100% repro rate.
Reproducible on Beta 108.0b4 as well.
Could not be reproduced on Release.
screen-20221125-170853_Trim.mp4
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: