Closed Bug 1896995 Opened 1 year ago Closed 1 year ago

Intermittent SUMMARY: AddressSanitizer: SEGV /builds/worker/checkouts/gecko/image/SVGDocumentWrapper.cpp:387:28 in GetRootSVGElem

Categories

(Core :: Graphics: ImageLib, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

Filed by: smolnar [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=458349082&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/b-O7NQQlRfqANe6GRfq5yw/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/b-O7NQQlRfqANe6GRfq5yw/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


REFTEST TEST-START | image/test/crashtests/delayedframe.sjs
[task 2024-05-15T21:25:19.524Z] 21:25:19     INFO - REFTEST TEST-LOAD | http://localhost:44867/1715807868729/46/delayedframe.sjs | 1485 / 4034 (36%)
[task 2024-05-15T21:25:19.704Z] 21:25:19     INFO - /builds/worker/workspace/build/tests/reftest/tests/image/test/crashtests/threeframes-start.gif
[task 2024-05-15T21:25:20.061Z] 21:25:20     INFO - AddressSanitizer:DEADLYSIGNAL
[task 2024-05-15T21:25:20.061Z] 21:25:20     INFO - =================================================================
[task 2024-05-15T21:25:20.061Z] 21:25:20    ERROR - ==2488==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f3b1b7de2ea bp 0x7ffe0fa1a410 sp 0x7ffe0fa1a3a0 T0)
[task 2024-05-15T21:25:20.061Z] 21:25:20     INFO - ==2488==The signal is caused by a READ memory access.
[task 2024-05-15T21:25:20.061Z] 21:25:20     INFO - ==2488==Hint: address points to the zero page.
[task 2024-05-15T21:25:24.732Z] 21:25:24     INFO - /builds/worker/workspace/build/tests/reftest/tests/image/test/crashtests/threeframes-end.gif
[task 2024-05-15T21:25:24.832Z] 21:25:24     INFO - REFTEST TEST-PASS | image/test/crashtests/delayedframe.sjs | (LOAD ONLY)
See Also: → 1897055

Looks like a null deref happening on this

https://searchfox.org/mozilla-central/rev/55b8c839700564409af5295286a1fd389410e19b/image/SVGDocumentWrapper.cpp#387

but we null check mViewer just before. I think this is all main thread only code, but maybe it's possible for the destructor of ~SVGDocumentWrapper to run off main thread, which clears the mViewer pointer. I'll put a main thread assert there in bug 1897055 so if this happens again we know.

See Also: → 1897359
See Also: → 1856491
Summary: Intermittent [Tier 2] SUMMARY: AddressSanitizer: SEGV /builds/worker/checkouts/gecko/image/SVGDocumentWrapper.cpp:387:28 in GetRootSVGElem → Intermittent SUMMARY: AddressSanitizer: SEGV /builds/worker/checkouts/gecko/image/SVGDocumentWrapper.cpp:387:28 in GetRootSVGElem

This also started failing on tier 1

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.