Closed
Bug 2038898
Opened 6 months ago
Closed 6 months ago
Crash in [@ mozilla::Variant<T>::as<T> | js::GCMarker::matchRegularOrParallelTracer<T>(TraceEdgeForBarrier(js::GCMarker*, js::gc::TenuredCell*, JS::TraceKind)::$::operator()<T>(JSObject*) const::{lambda(auto:1&)#1})]
Categories
(Core :: JavaScript: GC, defect, P2)
Core
JavaScript: GC
Tracking
()
RESOLVED
FIXED
152 Branch
| Tracking | Status | |
|---|---|---|
| firefox-esr140 | --- | unaffected |
| firefox150 | --- | unaffected |
| firefox151 | --- | unaffected |
| firefox152 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: jonco)
References
(Blocks 2 open bugs)
Details
(Keywords: crash)
Crash Data
Attachments
(1 external file)
Crash report: https://crash-stats.mozilla.org/report/index/286d57c0-41d6-4a0c-85ae-16fb20260512
MOZ_CRASH Reason:
MOZ_RELEASE_ASSERT(is<T>())
Top 10 frames:
0 libxul.so MOZ_CrashSequence(void*, long) mfbt/Assertions.h:261
0 libxul.so mozilla::Variant<js::gc::MarkingTracerT<(unsigned int)0>, js::gc::MarkingTrac... mfbt/Variant.h:747
0 libxul.so js::GCMarker::matchRegularOrParallelTracer<TraceEdgeForBarrier(js::GCMarker*,... js/src/gc/GCMarker.h:505
0 libxul.so TraceEdgeForBarrier(js::GCMarker*, js::gc::TenuredCell*, JS::TraceKind)::$_0:... js/src/gc/Marking.cpp:924
0 libxul.so JS::MapGCThingTyped<TraceEdgeForBarrier(js::GCMarker*, js::gc::TenuredCell*, ... js/public/TraceKind.h:250
0 libxul.so JS::ApplyGCThingTyped<TraceEdgeForBarrier(js::GCMarker*, js::gc::TenuredCell*... js/public/TraceKind.h:265
0 libxul.so TraceEdgeForBarrier(js::GCMarker*, js::gc::TenuredCell*, JS::TraceKind) js/src/gc/Marking.cpp:922
1 libxul.so js::gc::UnmarkGrayTracer::onChild(JS::GCCellPtr, char const*) js/src/gc/Marking.cpp:3226
2 libxul.so JS::CallbackTracer::onEdge<JSObject>(JSObject**, char const*) js/public/TracingAPI.h:245
2 libxul.so js::GenericTracerImpl<JS::CallbackTracer>::onObjectEdge(JSObject**, char const*) js/public/TracingAPI.h:219
| Reporter | ||
Updated•6 months ago
|
status-firefox152:
--- → affected
| Assignee | ||
Updated•6 months ago
|
Assignee: nobody → jcoppeard
Updated•6 months ago
|
| Assignee | ||
Comment 1•6 months ago
|
||
The unmark gray tracer needs to be able to push work onto the normal marking
stack if it reaches a GC thing that is being marked in an incremental GC. It
needs to use the correct tracer to do this. The patch templates the unmarking
tracer on the barrier tracer class and dispatches on this at the start (to save
potentially dispatching on in multiple times later).
Pushed by jcoppeard@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/d9c548512eae
https://hg.mozilla.org/integration/autoland/rev/a46370efb8a3
Template UnmarkGrayTracer on barrier tracer type r=sfink
Comment 3•6 months ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
Updated•6 months ago
|
status-firefox150:
--- → unaffected
status-firefox151:
--- → unaffected
status-firefox-esr140:
--- → unaffected
You need to log in
before you can comment on or make changes to this bug.
Description
•