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

[WebGPU] Crash in Device::createShaderModule running shader,validation,* tests #22898

Conversation

mwyrzykowski
Copy link
Contributor

@mwyrzykowski mwyrzykowski commented Jan 18, 2024

@mwyrzykowski mwyrzykowski self-assigned this Jan 18, 2024
@mwyrzykowski mwyrzykowski added the WebGPU For bugs in WebGPU label Jan 18, 2024
@webkit-ews-buildbot webkit-ews-buildbot added the merging-blocked Applied to prevent a change from being merged label Jan 18, 2024
@mwyrzykowski mwyrzykowski removed the merging-blocked Applied to prevent a change from being merged label Jan 18, 2024
@mwyrzykowski mwyrzykowski requested a review from djg January 18, 2024 18:02
@mwyrzykowski mwyrzykowski added the merge-queue Applied to send a pull request to merge-queue label Jan 19, 2024
@webkit-commit-queue
Copy link
Collaborator

This change contains multiple commits which are not squashed together, blocking PR #22898. Please squash the commits to land.

@webkit-commit-queue webkit-commit-queue added merging-blocked Applied to prevent a change from being merged and removed merge-queue Applied to send a pull request to merge-queue labels Jan 19, 2024
@mwyrzykowski mwyrzykowski added merge-queue Applied to send a pull request to merge-queue and removed merging-blocked Applied to prevent a change from being merged labels Jan 19, 2024
@webkit-commit-queue
Copy link
Collaborator

This change contains multiple commits which are not squashed together, blocking PR #22898. Please squash the commits to land.

@webkit-commit-queue webkit-commit-queue added merging-blocked Applied to prevent a change from being merged and removed merge-queue Applied to send a pull request to merge-queue labels Jan 19, 2024
@mwyrzykowski mwyrzykowski added merge-queue Applied to send a pull request to merge-queue and removed merging-blocked Applied to prevent a change from being merged labels Jan 19, 2024
…n,* tests

https://bugs.webkit.org/show_bug.cgi?id=267677
<radar://121171008>

Reviewed by Tadeu Zagallo.

Until https://bugs.webkit.org/show_bug.cgi?id=266774 is completed,
we have a range check that may return NSNotFound and not checking that
led to a crash in -[NSString substringWithRange:]

* Source/WebGPU/WebGPU/ShaderModule.mm:
(WebGPU::Device::createShaderModule):

Canonical link: https://commits.webkit.org/273229@main
@webkit-commit-queue webkit-commit-queue force-pushed the eng/WebGPU-Crash-in-DevicecreateShaderModule-running-shadervalidation-tests branch from f6b4379 to 10afd1e Compare January 19, 2024 19:07
@webkit-commit-queue
Copy link
Collaborator

Committed 273229@main (10afd1e): https://commits.webkit.org/273229@main

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

@webkit-commit-queue webkit-commit-queue merged commit 10afd1e into WebKit:main Jan 19, 2024
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WebGPU For bugs in WebGPU
Projects
None yet
5 participants