Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REGRESSION(261586@main): The assertion is randomly failing #11499

Conversation

cdumez
Copy link
Contributor

@cdumez cdumez commented Mar 14, 2023

91848d6

REGRESSION(261586@main): The assertion is randomly failing
https://bugs.webkit.org/show_bug.cgi?id=253875
rdar://106705387

Unreviewed, drop assertion in ~Document() to make sure that m_ranges is empty
as it is hitting on the bots since we updated m_ranges to be a WeakHashSet.
Ranges no longer remove themselves in their destructor from this set so this
assertion is no longer guaranteed to hold. The WeakHashSet will empty itself
as Range objects get destroyed but ~Document() may get called while the
destructor of a Range is still running.

* Source/WebCore/dom/Document.cpp:
(WebCore::Document::~Document):

Canonical link: https://commits.webkit.org/261634@main

a9bbf4a

Misc iOS, tvOS & watchOS macOS Linux Windows
❌ 🧪 style ✅ 🛠 ios ✅ 🛠 mac 🛠 wpe 🛠 wincairo
🧪 bindings ✅ 🛠 ios-sim 🛠 mac-AS-debug 🧪 wpe-wk2
🧪 webkitperl 🧪 ios-wk2 🧪 api-mac ✅ 🛠 gtk
🧪 api-ios 🧪 mac-wk1 🧪 gtk-wk2
🛠 tv 🧪 mac-wk2 🧪 api-gtk
🛠 tv-sim 🧪 mac-AS-debug-wk2
🛠 watch 🧪 mac-wk2-stress
🛠 watch-sim
✅ 🛠 🧪 unsafe-merge

@cdumez cdumez requested a review from rniwa as a code owner March 14, 2023 16:19
@cdumez cdumez self-assigned this Mar 14, 2023
@cdumez cdumez added New Bugs Unclassified bugs are placed in this component until the correct component can be determined. unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing labels Mar 14, 2023
https://bugs.webkit.org/show_bug.cgi?id=253875
rdar://106705387

Unreviewed, drop assertion in ~Document() to make sure that m_ranges is empty
as it is hitting on the bots since we updated m_ranges to be a WeakHashSet.
Ranges no longer remove themselves in their destructor from this set so this
assertion is no longer guaranteed to hold. The WeakHashSet will empty itself
as Range objects get destroyed but ~Document() may get called while the
destructor of a Range is still running.

* Source/WebCore/dom/Document.cpp:
(WebCore::Document::~Document):

Canonical link: https://commits.webkit.org/261634@main
@webkit-commit-queue webkit-commit-queue force-pushed the eng/REGRESSION261586main-The-assertion-is-randomly-failing branch from a9bbf4a to 91848d6 Compare March 14, 2023 16:21
@webkit-commit-queue
Copy link
Collaborator

Committed 261634@main (91848d6): https://commits.webkit.org/261634@main

Reviewed commits have been landed. Closing PR #11499 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit 91848d6 into WebKit:main Mar 14, 2023
@webkit-commit-queue webkit-commit-queue removed the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Bugs Unclassified bugs are placed in this component until the correct component can be determined.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants