Closed Bug 1700228 Opened 3 years ago Closed 3 years ago

Intermittent hazards | unrooted 'object' of type 'JSObject*' live across GC call at dom/script/ScriptLoader.cpp:978

Categories

(Core :: JavaScript: GC, defect, P5)

defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox-esr78 --- unaffected
firefox87 --- unaffected
firefox88 --- unaffected
firefox89 --- fixed

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Filed by: csabou [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=334035847&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/dSjLTZi9Ri6Ie7SAX3y3vA/runs/0/artifacts/public/logs/live_backing.log


[task 2021-03-22T21:10:29.573Z] PATH="/builds/worker/fetches/gcc/bin:/builds/worker/fetches/sixgill/usr/bin:${PATH}" ANALYZED_OBJDIR='/builds/worker/workspace/obj-analyzed-browser' XDB='/builds/worker/fetches/sixgill/usr/bin/xdb.so' SOURCE='/builds/worker/checkouts/gecko' /builds/worker/workspace/obj-haz-shell/dist/bin/js /builds/worker/checkouts/gecko/js/src/devtools/rootAnalysis/analyzeRoots.js gcFunctions.lst gcEdges.txt limitedFunctions.lst gcTypes.txt typeInfo.txt 15 15 tmp.15 > rootingHazards.15
[task 2021-03-22T21:13:27.843Z] cat rootingHazards.1 rootingHazards.2 rootingHazards.3 rootingHazards.4 rootingHazards.5 rootingHazards.6 rootingHazards.7 rootingHazards.8 rootingHazards.9 rootingHazards.10 rootingHazards.11 rootingHazards.12 rootingHazards.13 rootingHazards.14 rootingHazards.15 > rootingHazards.txt
[task 2021-03-22T21:13:27.849Z] Running explain to generate ('hazards.txt', 'unnecessary.txt', 'refs.txt')
[task 2021-03-22T21:13:27.849Z] PATH="/builds/worker/fetches/gcc/bin:/builds/worker/fetches/sixgill/usr/bin:${PATH}" ANALYZED_OBJDIR='/builds/worker/workspace/obj-analyzed-browser' XDB='/builds/worker/fetches/sixgill/usr/bin/xdb.so' SOURCE='/builds/worker/checkouts/gecko' python2.7 /builds/worker/checkouts/gecko/js/src/devtools/rootAnalysis/explain.py rootingHazards.txt gcFunctions.txt hazards.txt unnecessary.txt refs.txt
[task 2021-03-22T21:13:31.176Z] Wrote explained_hazards.tmp
[task 2021-03-22T21:13:31.176Z] Wrote unnecessary.tmp
[task 2021-03-22T21:13:31.176Z] Wrote refs.tmp
[task 2021-03-22T21:13:31.176Z] Found 1 hazards 224 unsafe references 0 missing
[task 2021-03-22T21:13:31.178Z] Running heapwrites to generate heapWriteHazards.txt
[task 2021-03-22T21:13:31.178Z] PATH="/builds/worker/fetches/gcc/bin:/builds/worker/fetches/sixgill/usr/bin:${PATH}" ANALYZED_OBJDIR='/builds/worker/workspace/obj-analyzed-browser' XDB='/builds/worker/fetches/sixgill/usr/bin/xdb.so' SOURCE='/builds/worker/checkouts/gecko' /builds/worker/workspace/obj-haz-shell/dist/bin/js /builds/worker/checkouts/gecko/js/src/devtools/rootAnalysis/analyzeHeapWrites.js > heapWriteHazards.txt
[task 2021-03-22T21:14:08.534Z] + check_hazards /builds/worker/workspace/haz-browser
[task 2021-03-22T21:14:08.534Z] + set +e
[task 2021-03-22T21:14:08.534Z] ++ grep -c 'Function.*has unrooted.*live across GC call' /builds/worker/workspace/haz-browser/rootingHazards.txt
[task 2021-03-22T21:14:08.539Z] + NUM_HAZARDS=1
[task 2021-03-22T21:14:08.539Z] ++ grep -c '^Function.*takes unsafe address of unrooted' /builds/worker/workspace/haz-browser/refs.txt
[task 2021-03-22T21:14:08.541Z] + NUM_UNSAFE=224
[task 2021-03-22T21:14:08.541Z] ++ grep -c '^Function.* has unnecessary root' /builds/worker/workspace/haz-browser/unnecessary.txt
[task 2021-03-22T21:14:08.543Z] + NUM_UNNECESSARY=1217
[task 2021-03-22T21:14:08.544Z] ++ grep -c '^Dropped CFG' /builds/worker/workspace/haz-browser/build_xgill.log
[task 2021-03-22T21:14:08.586Z] + NUM_DROPPED=0
[task 2021-03-22T21:14:08.587Z] ++ perl -lne 'print $1 if m!found (\d+)/\d+ allowed errors!' /builds/worker/workspace/haz-browser/heapWriteHazards.txt
[task 2021-03-22T21:14:08.596Z] + NUM_WRITE_HAZARDS=0
[task 2021-03-22T21:14:08.596Z] ++ grep -c '^Function.*expected hazard.*but none were found' /builds/worker/workspace/haz-browser/rootingHazards.txt
[task 2021-03-22T21:14:08.599Z] + NUM_MISSING=0
[task 2021-03-22T21:14:08.599Z] + set +x
[task 2021-03-22T21:14:08.599Z] TinderboxPrint: rooting hazards<br/>1
[task 2021-03-22T21:14:08.599Z] TinderboxPrint: (unsafe references to unrooted GC pointers)<br/>224
[task 2021-03-22T21:14:08.599Z] TinderboxPrint: (unnecessary roots)<br/>1217
[task 2021-03-22T21:14:08.599Z] TinderboxPrint: missing expected hazards<br/>0
[task 2021-03-22T21:14:08.599Z] TinderboxPrint: heap write hazards<br/>0
[task 2021-03-22T21:14:08.601Z] TEST-UNEXPECTED-FAIL | hazards | unrooted 'object' of type 'JSObject*' live across GC call at dom/script/ScriptLoader.cpp:978
[task 2021-03-22T21:14:08.601Z] TEST-UNEXPECTED-FAIL | hazards | 1 rooting hazards detected
[task 2021-03-22T21:14:08.601Z] TinderboxPrint: documentation<br/><a href='https://wiki.mozilla.org/Javascript:Hazard_Builds#Diagnosing_a_rooting_hazards_failure'>static rooting hazard analysis failures</a>, visit "Inspect Task" link for hazard details
[task 2021-03-22T21:14:08.601Z] + grab_artifacts
[task 2021-03-22T21:14:08.601Z] + local artifacts
[task 2021-03-22T21:14:08.601Z] + artifacts=/builds/worker/artifacts
[task 2021-03-22T21:14:08.601Z] + '[' -d /builds/worker/workspace/haz-browser ']'
[task 2021-03-22T21:14:08.601Z] + cd /builds/worker/workspace/haz-browser
[task 2021-03-22T21:14:08.601Z] + ls -lah
[task 2021-03-22T21:14:08.607Z] total 7.2G```
Flags: needinfo?(evilpies)
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Flags: needinfo?(evilpies)

Set release status flags based on info from the regressing bug 1536094

Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.