Open Bug 1901582 Opened 1 year ago Updated 9 months ago

Crash in [@ java.lang.IndexOutOfBoundsException: at androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java)]

Categories

(Firefox for Android :: History, defect)

Unspecified
Android
defect

Tracking

()

Tracking Status
firefox127 --- wontfix
firefox128 --- wontfix
firefox129 --- affected
firefox130 --- affected

People

(Reporter: cpeterson, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: crash, Whiteboard: [fxdroid][group4])

Crash Data

Crash report: https://crash-stats.mozilla.org/report/index/75624307-49de-4a9b-8cdb-4078b0240607

java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionHistoryListItemViewHolder{5b9f1a0 position=3 id=-1, oldPos=3, pLpos:-1 scrap [attachedScrap] update tmpDetached no parent} androidx.recyclerview.widget.RecyclerView{ac38ecb VFED.V... .F....I. 0,0-720,1196 #7f0902e3 app:id/history_list}, adapter:org.mozilla.fenix.library.history.HistoryAdapter@1bb9b5a, layout:androidx.recyclerview.widget.LinearLayoutManager@6c7d6a8, context:org.mozilla.fenix.HomeActivity@a6d7231

Top 10 frames:

0  androidx.recyclerview.widget.RecyclerView$Recycler  tryGetViewHolderForPositionByDeadline  RecyclerView.java:559
1  androidx.recyclerview.widget.LinearLayoutManager$LayoutState  next  LinearLayoutManager.java:63
2  androidx.recyclerview.widget.LinearLayoutManager  layoutChunk  LinearLayoutManager.java:1
3  androidx.recyclerview.widget.LinearLayoutManager  fill  LinearLayoutManager.java:49
4  androidx.recyclerview.widget.LinearLayoutManager  onLayoutChildren  LinearLayoutManager.java:800
5  androidx.recyclerview.widget.RecyclerView  dispatchLayoutStep1  RecyclerView.java:394
6  androidx.recyclerview.widget.RecyclerView  dispatchLayout  RecyclerView.java:64
7  androidx.recyclerview.widget.RecyclerView  onLayout  RecyclerView.java:8
8  android.view.View  layout  View.java:19865
9  android.view.ViewGroup  layout  ViewGroup.java:6240

The bug is linked to a topcrash signature, which matches the following criterion:

  • Top 10 AArch64 and ARM crashes on beta

For more information, please visit BugBot documentation.

Keywords: topcrash

The severity field is not set for this bug.
:gl, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(gl)

This is a rising crash signature for 128 as well.

Based on the topcrash criteria, the crash signature linked to this bug is not a topcrash signature anymore.

For more information, please visit BugBot documentation.

Keywords: topcrash
Severity: -- → S2
Component: Homepage → History
Flags: needinfo?(gl)

A user has reported that a particular instance where this crash happens is when they try to clear the history while they have tabs that are loading. They suspect that it may be a race condition.

Whiteboard: [fxdroid][group4]

Since the crash volume is low (less than 15 per week), the severity is downgraded to S3. Feel free to change it back if you think the bug is still critical.

For more information, please visit BugBot documentation.

Severity: S2 → S3
You need to log in before you can comment on or make changes to this bug.