Closed
Bug 1513433
Opened 5 years ago
Closed 5 years ago
gc/Verifier.cpp uses incorrect DebugOnly and breaks fuzzing
Categories
(Core :: JavaScript: GC, defect, P1)
Core
JavaScript: GC
Tracking
()
RESOLVED
FIXED
mozilla66
Tracking | Status | |
---|---|---|
firefox66 | --- | fixed |
People
(Reporter: tcampbell, Assigned: tcampbell)
References
Details
Attachments
(1 file)
1.21 KB,
patch
|
sfink
:
review+
|
Details | Diff | Splinter Review |
:decoder reports fuzzing errors:
> In file included from /srv/jenkins/jobs/mozilla-central-build-jsshell/workspace/arch/64/compiler/clang/instrumentation/none/type/opt/js/src/gc/Unified_cpp_js_src_gc2.cpp:2:
> /srv/jenkins/jobs/mozilla-central-clone/workspace/js/src/gc/Verifier.cpp:799:16: error: member reference type 'DebugOnly<JS::Zone *>' is not a pointer; did you mean to use '.'?
> !(keyZone->isGCMarking() || keyZone->isGCSweeping())) {
> ~~~~~~~^~
> .
> /srv/jenkins/jobs/mozilla-central-clone/workspace/js/src/gc/Verifier.cpp:799:18: error: no member named 'isGCMarking' in 'mozilla::DebugOnly<JS::Zone *>'
> !(keyZone->isGCMarking() || keyZone->isGCSweeping())) {
> ~~~~~~~ ^
> /srv/jenkins/jobs/mozilla-central-clone/workspace/js/src/gc/Verifier.cpp:799:42: error: member reference type 'DebugOnly<JS::Zone *>' is not a pointer; did you mean to use '.'?
> !(keyZone->isGCMarking() || keyZone->isGCSweeping())) {
> ~~~~~~~^~
> .
> /srv/jenkins/jobs/mozilla-central-clone/workspace/js/src/gc/Verifier.cpp:799:44: error: no member named 'isGCSweeping' in 'mozilla::DebugOnly<JS::Zone *>'
> !(keyZone->isGCMarking() || keyZone->isGCSweeping())) {
> ~~~~~~~ ^
This is due to keyZone marked DebugOnly when it is also used in non-debug code.
I believe this occurs in non-debug but JS_GC_ZEAL builds.
Assignee | ||
Comment 1•5 years ago
|
||
Updated•5 years ago
|
Attachment #9030621 -
Flags: review+
Pushed by tcampbell@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/6b08a22a9ced Fix gc/Verifier.cpp in opt gczeal configuration. r=sfink
Comment 3•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/6b08a22a9ced
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox66:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in
before you can comment on or make changes to this bug.
Description
•