-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[WebGPU] Queue::onSubmittedWorkDone may crash if device is destructed #23593
Merged
webkit-commit-queue
merged 1 commit into
WebKit:main
from
mwyrzykowski:eng/WebGPU-QueueonSubmittedWorkDone-may-crash-if-device-is-destructed
Feb 1, 2024
Merged
[WebGPU] Queue::onSubmittedWorkDone may crash if device is destructed #23593
webkit-commit-queue
merged 1 commit into
WebKit:main
from
mwyrzykowski:eng/WebGPU-QueueonSubmittedWorkDone-may-crash-if-device-is-destructed
Feb 1, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
EWS run on previous version of this PR (hash 030f2bc)
|
webkit-ews-buildbot
added
the
merging-blocked
Applied to prevent a change from being merged
label
Jan 31, 2024
mwyrzykowski
removed
the
merging-blocked
Applied to prevent a change from being merged
label
Jan 31, 2024
mwyrzykowski
force-pushed
the
eng/WebGPU-QueueonSubmittedWorkDone-may-crash-if-device-is-destructed
branch
from
January 31, 2024 17:49
030f2bc
to
4cde87a
Compare
EWS run on current version of this PR (hash 4cde87a)
|
djg
approved these changes
Feb 1, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://bugs.webkit.org/show_bug.cgi?id=268474 <radar://122010484> Reviewed by Dan Glastonbury. Queue was holding a reference to a device, but its posssible for the Device to get destroyed prior to the Queue so hold a WeakPtr instead. * Source/WebGPU/WebGPU/Device.h: * Source/WebGPU/WebGPU/Queue.h: * Source/WebGPU/WebGPU/Queue.mm: (WebGPU::Queue::submit): (WebGPU::Queue::writeBuffer): (WebGPU::Queue::device const): (WebGPU::Queue::clearTexture): (WebGPU::Queue::writeTexture): (WebGPU::Queue::scheduleWork): Canonical link: https://commits.webkit.org/273870@main
webkit-commit-queue
force-pushed
the
eng/WebGPU-QueueonSubmittedWorkDone-may-crash-if-device-is-destructed
branch
from
February 1, 2024 01:04
4cde87a
to
d08e8b0
Compare
Committed 273870@main (d08e8b0): https://commits.webkit.org/273870@main Reviewed commits have been landed. Closing PR #23593 and removing active labels. |
webkit-commit-queue
removed
the
merge-queue
Applied to send a pull request to merge-queue
label
Feb 1, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
d08e8b0
4cde87a