Skip to content

CTS webgpu:api,validation,render_pipeline,vertex_state:vertex_attribute_contained_in_stride:* crashes on Metal in CI #8312

@andyleiserson

Description

@andyleiserson

https://github.com/gfx-rs/wgpu/actions/runs/18289574487/job/52076976373?pr=8311

A previous run for the same PR ran for 30 minutes without finishing, which could be an unrelated runner problem, or could be related.

2025-10-06T18:43:24.0109490Z thread 'main' panicked at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metal-0.32.0/src/pipeline/render.rs:684:1:
2025-10-06T18:43:24.0134490Z assertion failed: !ptr.is_null()
2025-10-06T18:43:24.0142430Z stack backtrace:
...
2025-10-06T18:43:24.4652320Z   16:        0x10396b2f8 - core::panicking::panic::h755aa7cf85bf3433
2025-10-06T18:43:24.4653710Z                                at /rustc/6b00bc3880198600130e1cf62b8f8a93494488cc/library/core/src/panicking.rs:145:5
2025-10-06T18:43:24.4654700Z   17:        0x101a83fb0 - from_ptr
2025-10-06T18:43:24.4655770Z                                at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/foreign-types-0.5.0/src/lib.rs:248:9
2025-10-06T18:43:24.4696580Z   18:        0x101a76ad8 - new_render_pipeline_state
2025-10-06T18:43:24.4697790Z                                at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metal-0.32.0/src/device.rs:1837:16
2025-10-06T18:43:24.4815400Z   19:        0x101692f9c - {closure#0}
2025-10-06T18:43:24.4816920Z                                at /Users/runner/work/wgpu/wgpu/wgpu-hal/src/metal/device.rs:1348:23
2025-10-06T18:43:24.4887590Z   20:        0x101663138 - autoreleasepool<core::result::Result<wgpu_hal::metal::RenderPipeline, wgpu_hal::PipelineError>, wgpu_hal::metal::device::{impl#1}::create_render_pipeline::{closure_env#0}>
2025-10-06T18:43:24.4890950Z                                at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/objc-0.2.7/src/rc/autorelease.rs:29:5
2025-10-06T18:43:24.4963500Z   21:        0x101654484 - create_render_pipeline
2025-10-06T18:43:24.4965380Z                                at /Users/runner/work/wgpu/wgpu/wgpu-hal/src/metal/device.rs:1116:9
2025-10-06T18:43:24.5261680Z   22:        0x10140527c - create_render_pipeline<wgpu_hal::metal::Device>
2025-10-06T18:43:24.5262750Z                                at /Users/runner/work/wgpu/wgpu/wgpu-hal/src/dynamic/device.rs:414:18
2025-10-06T18:43:24.5417990Z   23:        0x1014792e8 - create_render_pipeline
2025-10-06T18:43:24.5419060Z                                at /Users/runner/work/wgpu/wgpu/wgpu-core/src/device/resource.rs:4317:22
2025-10-06T18:43:24.5583060Z   24:        0x10159e088 - device_create_general_render_pipeline
2025-10-06T18:43:24.5584730Z                                at /Users/runner/work/wgpu/wgpu/wgpu-core/src/device/global.rs:1531:34
2025-10-06T18:43:24.5585700Z   25:        0x10159d364 - device_create_render_pipeline
2025-10-06T18:43:24.5592510Z                                at /Users/runner/work/wgpu/wgpu/wgpu-core/src/device/global.rs:1349:9
2025-10-06T18:43:24.5784720Z   26:        0x101129b20 - new_render_pipeline
2025-10-06T18:43:24.5785670Z                                at /Users/runner/work/wgpu/wgpu/deno_webgpu/device.rs:885:21
2025-10-06T18:43:24.5786440Z   27:        0x10114ba5c - call
2025-10-06T18:43:24.5787120Z                                at /Users/runner/work/wgpu/wgpu/deno_webgpu/device.rs:502:5
2025-10-06T18:43:24.5805560Z   28:        0x101149948 - slow_function_impl
2025-10-06T18:43:24.5806180Z                                at /Users/runner/work/wgpu/wgpu/deno_webgpu/device.rs:76:1
2025-10-06T18:43:24.5806510Z   29:        0x10114b7e0 - v8_fn_ptr
2025-10-06T18:43:24.5806850Z                                at /Users/runner/work/wgpu/wgpu/deno_webgpu/device.rs:76:1

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: ctsIssues stemming from the WebGPU Conformance Test Suitebackend: metalIssues with Metalplatform: macosIssues with integration with macostag: crashInvolves a crash or panictype: bugSomething isn't working

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions