Crash in [@ java.lang.NegativeArraySizeException: at org.mozilla.geckoview.GeckoSession$SessionState.spliceSessionHistory(GeckoSession.java)]
Categories
(GeckoView :: General, defect, P1)
Tracking
(firefox134 unaffected, firefox135 unaffected, firefox136 disabled)
Tracking | Status | |
---|---|---|
firefox134 | --- | unaffected |
firefox135 | --- | unaffected |
firefox136 | --- | disabled |
People
(Reporter: mccr8, Assigned: kaya)
References
(Regression)
Details
(Keywords: crash, regression, Whiteboard: [fxdroid][group1])
Crash Data
Attachments
(1 file, 1 obsolete file)
Crash report: https://crash-stats.mozilla.org/report/index/b66ce08e-1ff4-4901-989e-84c280250116
Top 10 frames:
0 org.mozilla.geckoview.GeckoSession$SessionState spliceSessionHistory GeckoSession.java:10
1 org.mozilla.geckoview.GeckoSession$SessionState getPartiallyUpdatedHistoryChange GeckoSession.java:47
2 org.mozilla.geckoview.GeckoSession$SessionState updateSessionState GeckoSession.java:51
3 org.mozilla.geckoview.GeckoSession$2 handleMessage GeckoSession.java:18
4 org.mozilla.geckoview.GeckoSession$2 handleMessage GeckoSession.java:1
5 org.mozilla.geckoview.GeckoSessionHandler handleMessage GeckoSessionHandler.java:2
6 org.mozilla.gecko.EventDispatcher$3 run EventDispatcher.java:13
7 android.os.Handler handleCallback Handler.java:739
8 android.os.Handler dispatchMessage Handler.java:95
9 android.os.Looper loop Looper.java:145
Looks like this first appeared in the 20250114093520 Nightly build.
Reporter | ||
Updated•5 months ago
|
Reporter | ||
Comment 1•5 months ago
|
||
Looks like this session store splice stuff was recently enabled via bug 1933630.
Reporter | ||
Updated•5 months ago
|
Assignee | ||
Comment 2•5 months ago
•
|
||
Yes, looks like there's some issue with the fromIdx
coming from the platform side possibly due to the old index used in OnHistoryNewEntry
(some code refs from the codepath). The minimum integer value is forwarded to the GV layer and Java's min integer is set to be the size of the array (for the result of splice operation). I'll put up a patch to backout enabling partial updates, and try to fix it next week (will be out on Fri, Jan 17).
Assignee | ||
Comment 3•5 months ago
|
||
This reverts commit 3cbba36b19ba7955c5a221d7a809b3755a56923d.
Updated•5 months ago
|
Updated•5 months ago
|
Comment 4•5 months ago
|
||
The regressor Bug 1933630 was backed out
Comment 5•5 months ago
|
||
The bug is linked to a topcrash signature, which matches the following criterion:
- Top 10 AArch64 and ARM crashes on nightly
For more information, please visit BugBot documentation.
Updated•5 months ago
|
Updated•5 months ago
|
Updated•5 months ago
|
Comment 6•4 months ago
|
||
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.
Assignee | ||
Comment 7•4 months ago
|
||
Comment 8•4 months ago
|
||
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.
Description
•