Closed Bug 1776070 Opened 3 years ago Closed 3 years ago

Intermittent SUMMARY: AddressSanitizer: stack-overflow /builds/worker/checkouts/gecko/gfx/layers/ipc/CompositorBridgeParent.cpp:1843 in mozilla::layers::GetStateForRoot(mozilla::layers::LayersId, mozilla::detail::BaseMonitorAutoLock<mozilla::Monitor> cons

Categories

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

defect

Tracking

()

RESOLVED INCOMPLETE
Tracking Status
firefox-esr91 --- unaffected
firefox-esr102 --- unaffected
firefox101 --- unaffected
firefox102 --- unaffected
firefox103 --- wontfix
firefox104 --- wontfix

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

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


[task 2022-06-22T21:34:34.629Z] 21:34:34     INFO - TEST-START | browser/base/content/test/general/browser_tab_drag_drop_perwindow.js
[task 2022-06-22T21:34:34.948Z] 21:34:34     INFO - GECKO(1637) | -----------------------------------------------------
[task 2022-06-22T21:34:34.949Z] 21:34:34     INFO - GECKO(1637) | Suppressions used:
[task 2022-06-22T21:34:34.950Z] 21:34:34     INFO - GECKO(1637) |   count      bytes template
[task 2022-06-22T21:34:34.950Z] 21:34:34     INFO - GECKO(1637) |      10        320 nsComponentManagerImpl
[task 2022-06-22T21:34:34.951Z] 21:34:34     INFO - GECKO(1637) |       2        288 libfontconfig.so
[task 2022-06-22T21:34:34.951Z] 21:34:34     INFO - GECKO(1637) | -----------------------------------------------------
[task 2022-06-22T21:34:35.548Z] 21:34:35     INFO - GECKO(1637) | 1655933675547	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2022-06-22T21:34:36.479Z] 21:34:36     INFO - GECKO(1637) | -----------------------------------------------------
[task 2022-06-22T21:34:36.479Z] 21:34:36     INFO - GECKO(1637) | Suppressions used:
[task 2022-06-22T21:34:36.480Z] 21:34:36     INFO - GECKO(1637) |   count      bytes template
[task 2022-06-22T21:34:36.480Z] 21:34:36     INFO - GECKO(1637) |      10        320 nsComponentManagerImpl
[task 2022-06-22T21:34:36.480Z] 21:34:36     INFO - GECKO(1637) |       2        288 libfontconfig.so
[task 2022-06-22T21:34:36.480Z] 21:34:36     INFO - GECKO(1637) | -----------------------------------------------------
[task 2022-06-22T21:34:36.583Z] 21:34:36     INFO - GECKO(1637) | 1655933676582	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2022-06-22T21:34:39.049Z] 21:34:39     INFO - GECKO(1637) | 1655933679048	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2022-06-22T21:34:39.685Z] 21:34:39     INFO - GECKO(1637) | 1655933679684	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2022-06-22T21:34:41.504Z] 21:34:41     INFO - GECKO(1637) | 1655933681503	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2022-06-22T21:34:42.159Z] 21:34:42     INFO - GECKO(1637) | 1655933682158	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2022-06-22T21:34:43.944Z] 21:34:43     INFO - GECKO(1637) | 1655933683943	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2022-06-22T21:34:44.561Z] 21:34:44     INFO - GECKO(1637) | 1655933684560	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2022-06-22T21:34:46.738Z] 21:34:46     INFO - GECKO(1637) | 1655933686737	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2022-06-22T21:34:47.523Z] 21:34:47     INFO - GECKO(1637) | 1655933687522	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2022-06-22T21:34:49.578Z] 21:34:49     INFO - GECKO(1637) | 1655933689576	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2022-06-22T21:34:50.219Z] 21:34:50     INFO - GECKO(1637) | 1655933690218	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2022-06-22T21:34:51.983Z] 21:34:51     INFO - GECKO(1637) | AddressSanitizer:DEADLYSIGNAL
[task 2022-06-22T21:34:51.985Z] 21:34:51     INFO - GECKO(1637) | =================================================================
[task 2022-06-22T21:34:51.987Z] 21:34:51    ERROR - GECKO(1637) | ==1637==ERROR: AddressSanitizer: stack-overflow on address 0x7ffcea07efa0 (pc 0x7f7e5bbd4e10 bp 0x7ffcea07f070 sp 0x7ffcea07efa0 T0)
[task 2022-06-22T21:34:53.143Z] 21:34:53     INFO - GECKO(1637) |     #0 0x7f7e5bbd4e10 in mozilla::layers::GetStateForRoot(mozilla::layers::LayersId, mozilla::detail::BaseMonitorAutoLock<mozilla::Monitor> const&) /builds/worker/checkouts/gecko/gfx/layers/ipc/CompositorBridgeParent.cpp:1843
[task 2022-06-22T21:34:53.145Z] 21:34:53     INFO - GECKO(1637) |     #1 0x7f7e5bbcf7fe in mozilla::layers::CompositorBridgeParent::GetGeckoContentControllerForRoot(mozilla::layers::LayersId) /builds/worker/checkouts/gecko/gfx/layers/ipc/CompositorBridgeParent.cpp:1880:7
[task 2022-06-22T21:34:53.147Z] 21:34:53     INFO - GECKO(1637) |     #2 0x7f7e5bc1976b in mozilla::layers::RemoteContentController::NotifyScaleGestureCompleteInProcess(mozilla::layers::ScrollableLayerGuid const&, float) /builds/worker/checkouts/gecko/gfx/layers/ipc/RemoteContentController.cpp:424:7
[task 2022-06-22T21:34:53.156Z] 21:34:53     INFO - GECKO(1637) |     #3 0x7f7e5bc197ee in mozilla::layers::RemoteContentController::NotifyScaleGestureCompleteInProcess(mozilla::layers::ScrollableLayerGuid const&, float) /builds/worker/checkouts/gecko/gfx/layers/ipc/RemoteContentController.cpp:426:21
[task 2022-06-22T21:34:53.156Z] 21:34:53     INFO - GECKO(1637) |     #4 0x7f7e5bc197ee in mozilla::layers::RemoteContentController::NotifyScaleGestureCompleteInProcess(mozilla::layers::ScrollableLayerGuid const&, float) /builds/worker/checkouts/gecko/gfx/layers/ipc/RemoteContentController.cpp:426:21
[task 2022-06-22T21:34:53.156Z] 21:34:53     INFO - GECKO(1637) |     #5 0x7f7e5bc197ee in mozilla::layers::RemoteContentController::NotifyScaleGestureCompleteInProcess(mozilla::layers::ScrollableLayerGuid const&, float) /builds/worker/checkouts/gecko/gfx/layers/ipc/RemoteContentController.cpp:426:21
[task 2022-06-22T21:34:53.156Z] 21:34:53     INFO - GECKO(1637) |     #6 0x7f7e5bc197ee in mozilla::layers::RemoteContentController::NotifyScaleGestureCompleteInProcess(mozilla::layers::ScrollableLayerGuid const&, float) /builds/worker/checkouts/gecko/gfx/layers/ipc/RemoteContentController.cpp:426:21
[task 2022-06-22T21:34:53.156Z] 21:34:53     INFO - GECKO(1637) |     #7 0x7f7e5bc197ee in mozilla::layers::RemoteContentController::NotifyScaleGestureCompleteInProcess(mozilla::layers::ScrollableLayerGuid const&, float) /builds/worker/checkouts/gecko/gfx/layers/ipc/RemoteContentController.cpp:426:21
[task 2022-06-22T21:34:53.156Z] 21:34:53     INFO - GECKO(1637) |     #8 0x7f7e5bc197ee in mozilla::layers::RemoteContentController::NotifyScaleGestureCompleteInProcess(mozilla::layers::ScrollableLayerGuid const&, float) /builds/worker/checkouts/gecko/gfx/layers/ipc/RemoteContentController.cpp:426:21
[task 2022-06-22T21:34:53.156Z] 21:34:53     INFO - GECKO(1637) |     #9 0x7f7e5bc197ee in mozilla::layers::RemoteContentController::NotifyScaleGestureCompleteInProcess(mozilla::layers::ScrollableLayerGuid const&, float) /builds/worker/checkouts/gecko/gfx/layers/ipc/RemoteContentController.cpp:426:21
<...>
[task 2022-06-22T21:34:53.592Z] 21:34:53     INFO - GECKO(1637) |     #239 0x7f7e5bc197ee in mozilla::layers::RemoteContentController::NotifyScaleGestureCompleteInProcess(mozilla::layers::ScrollableLayerGuid const&, float) /builds/worker/checkouts/gecko/gfx/layers/ipc/RemoteContentController.cpp:426:21
[task 2022-06-22T21:34:53.593Z] 21:34:53     INFO - GECKO(1637) |     #240 0x7f7e5bc197ee in mozilla::layers::RemoteContentController::NotifyScaleGestureCompleteInProcess(mozilla::layers::ScrollableLayerGuid const&, float) /builds/worker/checkouts/gecko/gfx/layers/ipc/RemoteContentController.cpp:426:21
[task 2022-06-22T21:34:53.593Z] 21:34:53     INFO - GECKO(1637) |     #241 0x7f7e5bc197ee in mozilla::layers::RemoteContentController::NotifyScaleGestureCompleteInProcess(mozilla::layers::ScrollableLayerGuid const&, float) /builds/worker/checkouts/gecko/gfx/layers/ipc/RemoteContentController.cpp:426:21
[task 2022-06-22T21:34:53.595Z] 21:34:53     INFO - GECKO(1637) |     #242 0x7f7e5bc197ee in mozilla::layers::RemoteContentController::NotifyScaleGestureCompleteInProcess(mozilla::layers::ScrollableLayerGuid const&, float) /builds/worker/checkouts/gecko/gfx/layers/ipc/RemoteContentController.cpp:426:21
[task 2022-06-22T21:34:53.595Z] 21:34:53     INFO - GECKO(1637) |     #243 0x7f7e5bc197ee in mozilla::layers::RemoteContentController::NotifyScaleGestureCompleteInProcess(mozilla::layers::ScrollableLayerGuid const&, float) /builds/worker/checkouts/gecko/gfx/layers/ipc/RemoteContentController.cpp:426:21
[task 2022-06-22T21:34:53.596Z] 21:34:53     INFO - GECKO(1637) |     #244 0x7f7e5bc197ee in mozilla::layers::RemoteContentController::NotifyScaleGestureCompleteInProcess(mozilla::layers::ScrollableLayerGuid const&, float) /builds/worker/checkouts/gecko/gfx/layers/ipc/RemoteContentController.cpp:426:21
[task 2022-06-22T21:34:53.605Z] 21:34:53     INFO - GECKO(1637) |     #245 0x7f7e5bc197ee in mozilla::layers::RemoteContentController::NotifyScaleGestureCompleteInProcess(mozilla::layers::ScrollableLayerGuid const&, float) /builds/worker/checkouts/gecko/gfx/layers/ipc/RemoteContentController.cpp:426:21
[task 2022-06-22T21:34:53.606Z] 21:34:53     INFO - GECKO(1637) | SUMMARY: AddressSanitizer: stack-overflow /builds/worker/checkouts/gecko/gfx/layers/ipc/CompositorBridgeParent.cpp:1843 in mozilla::layers::GetStateForRoot(mozilla::layers::LayersId, mozilla::detail::BaseMonitorAutoLock<mozilla::Monitor> const&)
[task 2022-06-22T21:34:53.606Z] 21:34:53     INFO - GECKO(1637) | ==1637==ABORTING
[task 2022-06-22T21:34:53.607Z] 21:34:53     INFO - GECKO(1637) | Exiting due to channel error.
[task 2022-06-22T21:34:53.607Z] 21:34:53     INFO - GECKO(1637) | Exiting due to channel error.
[task 2022-06-22T21:34:53.607Z] 21:34:53     INFO - GECKO(1637) | Exiting due to channel error.
[task 2022-06-22T21:34:53.608Z] 21:34:53     INFO - GECKO(1637) | Exiting due to channel error.
[task 2022-06-22T21:34:53.608Z] 21:34:53     INFO - GECKO(1637) | Exiting due to channel error.
[task 2022-06-22T21:34:53.608Z] 21:34:53     INFO - GECKO(1637) | Exiting due to channel error.
[task 2022-06-22T21:34:53.609Z] 21:34:53     INFO - GECKO(1637) | Exiting due to channel error.
[task 2022-06-22T21:34:53.610Z] 21:34:53     INFO - GECKO(1637) | Exiting due to channel error.
[task 2022-06-22T21:34:53.610Z] 21:34:53     INFO - GECKO(1637) | Exiting due to channel error.
[task 2022-06-22T21:34:53.611Z] 21:34:53     INFO - TEST-INFO | Main app process: exit 0
[task 2022-06-22T21:34:53.611Z] 21:34:53     INFO - runtests.py | Application ran for: 0:08:32.028084
[task 2022-06-22T21:34:53.612Z] 21:34:53     INFO - zombiecheck | Reading PID log: /tmp/tmpgwb73ektpidlog

This looks like unbounded recursion in mozilla::layers::RemoteContentController::NotifyScaleGestureCompleteInProcess, so this doesn't need to be hidden. Maybe a regression from bug 1773865, which added that method?

Group: gfx-core-security
Flags: needinfo?(mconley)
Keywords: regression
Regressed by: 1773865

FWIW, I don't see any crashes yet with NotifyScaleGestureCompleteInProcess in the protosignature.

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

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

See Also: → 1777277
See Also: → 1777416
Flags: needinfo?(mconley)
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.