Crash in [@ JSScript::getScope]
Categories
(Core :: JavaScript Engine, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox122 | --- | affected |
People
(Reporter: release-mgmt-account-bot, Unassigned)
References
(Blocks 2 open bugs)
Details
(Keywords: crash)
Crash Data
Crash report: https://crash-stats.mozilla.org/report/index/aa5b72d0-921b-435b-ae9c-799620231027
MOZ_CRASH Reason: MOZ_RELEASE_ASSERT(idx < storage_.size())
Top 10 frames of crashing thread:
0 xul.dll AnnotateMozCrashReason mfbt/Assertions.h:46
0 xul.dll mozilla::Span<const JS::GCCellPtr, 18446744073709551615>::operator[] const mfbt/Span.h:735
0 xul.dll JSScript::getScope const js/src/vm/JSScript.h:2070
0 xul.dll JSScript::getScope const js/src/vm/JSScript.h:2080
0 xul.dll js::Interpret js/src/vm/Interpreter.cpp:1963
1 xul.dll MaybeEnterInterpreterTrampoline js/src/vm/Interpreter.cpp:386
1 xul.dll js::RunScript js/src/vm/Interpreter.cpp:444
1 xul.dll js::InternalCallOrConstruct js/src/vm/Interpreter.cpp:598
1 xul.dll InternalCall js/src/vm/Interpreter.cpp:633
1 xul.dll js::Call js/src/vm/Interpreter.cpp:665
By querying Nightly crashes reported within the last 2 months, here are some insights about the signature:
- First crash report: 2023-09-14
- Process type: Multiple distinct types
- Is startup crash: No
- Has user comments: No
- Is null crash: Yes - 1 out of 8 crashes happened on null or near null memory address
Updated•1 year ago
|
Comment 1•1 year ago
|
||
I'm inclined to call this a release assert catching bitflips; however, the thing that gives me pause is the sudden appearance of this signature in August. I'm not sure if there's something in that timeframe that helps explain this.
Did you want to take a peek at this Arai, just to see if anything stands out?
Comment 2•1 year ago
|
||
Checked the reports from August.
The oldest report is at 2023-08-10 17:27:52, for 115.1.0esr (20230724124053).
The oldest version is at 2023-11-06 23:45:07, for 91.12.0esr (20220718130424).
Most frequent major version is 115, where the oldest version is 115.0.1 (20230706202047)
There's a gap between the build ID and the spike. so I doubt the spike is caused only by certain patch.
Possibility I can think of is the change in the crash signature generation, which is to skip the mozilla::Span
frame.
and indeed the mozilla::Span<T>::operator[]
crash stopped at that point, and the amount of the report matches (~50 crashes per day, for 115.1.0esr)
so, the spike isn't something we should worry about.
Comment 3•1 year ago
|
||
I've checked some of the mozilla::Span<T>::operator[]
reports, and they're indeed for JSScript::getScope
.
Description
•