-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[Bug] [Crash] Selected session may be rendered in ExternalAppBrowserActivity #5678
Comments
@csadilek I've tried anything I could think of: sharing from external apps, from custom tabs, using private launcher, using pwa's, sending tabs, but can't get a crash :) If I encounter something I'll make sure to get a log. |
Thank you @sv-ohorvath for investigating. Same here. I've tried it all as well. Only thing I found is a different crash: #6029 Since this is a top crash let's keep it open and investigate more. Will post an update once I have news. |
Interestingly one of the two variants of this crash appear to be fixed since last weeks GV upgrade: https://sentry.prod.mozaws.net/operations/fenix-nightly/issues/6191212/ For the other we'll add additional information to the exception as part of: |
The additional exception details helped us understand the problem. We're running into cases where the Consequently, we're trying to open the selected session (instead of the custom tab session) in a custom tab and two things can happen:
[1] https://github.com/mozilla-mobile/fenix/blob/master/app/src/main/java/org/mozilla/fenix/customtabs/ExternalAppBrowserActivity.kt#L49 |
…nalAppBrowserActivity
@csadilek Do you have some reliable STR for this crash, for QA? |
@sv-ohorvath Unfortunately, we never found reliable STRs, so we had to simulate the crashes by setting the intent to null. However, after we landed the fixes, the crashes went away (you can see in the two Sentry links above). Both crashes stopped happening. |
Ok, thank you then :) |
Removing the |
We've fixed different bugs causing this crash in the past, but it is still happening (although at a lower rate than before). Definitely needs investigation and STRs:
https://sentry.prod.mozaws.net/operations/fenix-nightly/issues/6170288/?environment=fenixNightly
https://sentry.prod.mozaws.net/operations/fenix-nightly/issues/6191212/?environment=fenixNightly
It seems to happen for both regular and custom tabs (looking at the breadcrumbs). The root cause is always that we're trying to set the same session on multiple views. See:
#360
#575
#897
#4438
#4486
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: