Closed Bug 773746 Opened 14 years ago Closed 12 years ago

GC: Rooting analysis fuzz bugs

Categories

(Core :: JavaScript Engine, defect)

Other Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla29

People

(Reporter: bhackett1024, Unassigned)

References

Details

(Whiteboard: [js:t])

Tinderbox is more or less green (modulo newly broken things) wrt the dynamic rooting analysis for identifying moving GC rooting hazards (bug 707049), and it would be good to start fuzzing to look for new violations. Some info: - The rooting analysis needs special configuration options. It's best to do things on x64 builds (preferably debug), configure --enable-gczeal --enable-root-analysis. - The environment variable JS_GC_ZEAL needs to be set to '6' when running. - Violations will show up as crashes at an address similar to 0xda...... (the analysis works by invalidating pointers on the stack). - Violations are not security risks, and filed bugs should be public. This will eventually change, but not for months (and all outstanding bugs will be fixed by then).
(In reply to Brian Hackett (:bhackett) from comment #0) > - The environment variable JS_GC_ZEAL needs to be set to '6' when running. An alternative here is to call gczeal(6) from script somewhere.
(In reply to Brian Hackett (:bhackett) from comment #0) > - Violations will show up as crashes at an address similar to 0xda...... > (the analysis works by invalidating pointers on the stack). More specifically, it will be 0x??da???? on 32-bit, or 0x??????????da???? on 64-bit. (The 64-bit addresses won't look that long because they'll probably have 4 leading zeroes.) Alternatively, you might get an assertion about !IsPoisonedPtr. This means pretty much the same thing, but happens when you attempt to root something that has already been poisoned.
Whiteboard: [js:t]
Summary: Rooting analysis fuzz bugs → GC: Rooting analysis fuzz bugs
Blocks: 807132
Depends on: 830719
Depends on: 850061
Depends on: 850080
Depends on: 850564
Depends on: 851086
Depends on: 851106
Depends on: 851107
Depends on: 851362
Depends on: 851474
Depends on: 852108
Depends on: 906969
Depends on: 907135
Depends on: 907147
Depends on: 907358
Depends on: 909461
Depends on: 909785
Depends on: 914402
No longer depends on: 914402
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
You need to log in before you can comment on or make changes to this bug.