commit | 44b51a2f25170915d6d2256e04a3e8f6df29721a | [log] [tgz] |
---|---|---|
author | Daniel Cheng <dcheng@chromium.org> | Fri Jun 28 19:04:14 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jun 28 19:04:14 2024 |
tree | bd778416324be03c1ae9b1310c8a2af27607537b | |
parent | 6b38b648edabf6daa9a8534e616243536a6eada6 [diff] |
[MSan] Destroy TabGroupSyncServiceImpl::observers_ later TabGroupSyncServiceImpl owns classes, such as TabGroupSyncCoordinator, that observe the TabGroupSyncServiceImpl. TabGroupSyncCoordinator tries to unregister itself as an observer when it is destroyed. However, since `observers_` is ordered after `coordinator_`, the ObserverList is already destroyed by the time the coordinator tries to unregister itself. While this happens to (more or less) be benign, it is undefined behaviour and caught by MSan's use-after-dtor check. Bug: 40222690 Change-Id: I7c59b00dab75da47c063ca9347eb650cb14200d0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5664130 Reviewed-by: David Pennington <dpenning@chromium.org> Commit-Queue: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/main@{#1321110}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.