Closed Bug 1950991 Opened 27 days ago Closed 22 days ago

Serialize access to sessionsPendingDeletion

Categories

(Firefox for Android :: Browser Engine, defect)

All
Android
defect

Tracking

()

VERIFIED FIXED
138 Branch
Tracking Status
firefox136 + verified
firefox137 + verified
firefox138 + verified

People

(Reporter: boek, Assigned: boek, NeedInfo)

References

(Regression)

Details

(Keywords: crash, regression, Whiteboard: [fxdroid][group1])

Crash Data

Attachments

(3 files)

Assignee: nobody → jboek
Status: NEW → ASSIGNED

Does this crash only affect users with SHIP enabled? I suspect all users are potentially affected because this crash is one of our top crashes in Beta 136, where SHIP is not enabled. We should consider uplifting this fix to Beta 137 or even a 136.x dot release if we see these crashes in Release.

Crash Signature: [@ java.util.ConcurrentModificationException: at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java) ] [@ java.util.ConcurrentModificationException: at java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java) ]
Flags: needinfo?(jboek)
Keywords: crash, regression
Regressed by: 1892751

Assigned reviewers and posted in the broader chat channel to see if we can get a review for this patch

Flags: needinfo?(jboek)

Tracking since the volume is higher in 136 than 135.
We should include this in next week's planned Android release for Fx136.

Pushed by jboek@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c96eda77c820 Serializes access to sessionsPendingDeletion r=android-reviewers,kaya
Status: ASSIGNED → RESOLVED
Closed: 22 days ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch

The patch landed in nightly and beta is affected.
:boek, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox137 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(jboek)

Adding to Comment 7, please add a release uplift request also.
It will have coverage in nightly and beta before we go to release.

Attachment #9470070 - Flags: approval-mozilla-beta?
Attachment #9470071 - Flags: approval-mozilla-release?

release Uplift Approval Request

  • User impact if declined: Users will experience this crash in 136
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: Delete tabs using the tabs tray
  • Risk associated with taking this patch: Low
  • Explanation of risk level: Adds a mutex, but code is easy to understand. May be close to medium as it has not had time to bake in Nightly or Beta
  • String changes made/needed: none
  • Is Android affected?: yes

beta Uplift Approval Request

  • User impact if declined: Users will experience this crash in 137
  • Code covered by automated testing: yes
  • Fix verified in Nightly: no
  • Needs manual QE test: no
  • Steps to reproduce for manual QE testing: Delete tabs using the tabs tray after browsing.
  • Risk associated with taking this patch: Low
  • Explanation of risk level: Adds a mutex, but code is easy to understand. May be close to medium as it has not had time to bake in Nightly or Beta
  • String changes made/needed: None
  • Is Android affected?: yes
Attachment #9470070 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9470071 - Flags: approval-mozilla-release? → approval-mozilla-release+

This issue is verified as fixed on Firefox Nightly 138 (2025-03-10), Firefox 137 Beta 4 and Firefox RC 136.0.1 under Samsung S24 Ultra (Android 14) and Google Pixel 8 (Android 15). No crash was encountered when closing tabs from tabs tray.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: