Skip to content

lavapipe on asahi segfaults on all ray tracing examples #8637

@cwfitzgerald

Description

@cwfitzgerald

This feels like a driver bug. Maybe something about aarch64?

Discovered in #8610 (comment).

     SIGSEGV [   1.198s] ( 986/1314) wgpu-test::wgpu-gpu [Executed] [Vulkan/llvmpipe (LLVM 21.1.5, 128 bits)/1] wgpu_gpu::ray_tracing::as_build::build_with_transform
     SIGSEGV [   1.254s] ( 987/1314) wgpu-test::wgpu-gpu [Executed] [Vulkan/llvmpipe (LLVM 21.1.5, 128 bits)/1] wgpu_gpu::ray_tracing::as_build::blas_compaction_without_flags
     SIGSEGV [   1.315s] ( 990/1314) wgpu-test::wgpu-gpu [Executed] [Vulkan/llvmpipe (LLVM 21.1.5, 128 bits)/1] wgpu_gpu::ray_tracing::as_build::blas_compaction
     SIGSEGV [   1.285s] ( 991/1314) wgpu-test::wgpu-gpu [Executed] [Vulkan/llvmpipe (LLVM 21.1.5, 128 bits)/1] wgpu_gpu::ray_tracing::as_build::only_blas_vertex_return
     SIGSEGV [   1.295s] ( 992/1314) wgpu-test::wgpu-gpu [Executed] [Vulkan/llvmpipe (LLVM 21.1.5, 128 bits)/1] wgpu_gpu::ray_tracing::as_build::extra_format_build
     SIGSEGV [   1.264s] ( 993/1314) wgpu-test::wgpu-gpu [Executed] [Vulkan/llvmpipe (LLVM 21.1.5, 128 bits)/1] wgpu_gpu::ray_tracing::as_build::out_of_order_as_build
     SIGSEGV [   1.225s] ( 995/1314) wgpu-test::wgpu-gpu [Executed] [Vulkan/llvmpipe (LLVM 21.1.5, 128 bits)/1] wgpu_gpu::ray_tracing::as_build::out_of_order_as_build_use
     SIGSEGV [   1.035s] (1014/1314) wgpu-test::wgpu-gpu [Executed] [Vulkan/llvmpipe (LLVM 21.1.5, 128 bits)/1] wgpu_gpu::ray_tracing::shader::prevent_invalid_ray_query_calls
     SIGSEGV [   1.077s] (1016/1314) wgpu-test::wgpu-gpu [Executed] [Vulkan/llvmpipe (LLVM 21.1.5, 128 bits)/1] wgpu_gpu::ray_tracing::scene::acceleration_structure_build_with_index
     SIGSEGV [   1.170s] (1020/1314) wgpu-test::wgpu-gpu [Executed] [Vulkan/llvmpipe (LLVM 21.1.5, 128 bits)/1] wgpu_gpu::ray_tracing::as_use_after_free::acceleration_structure_use_after_free
     SIGSEGV [   1.158s] (1021/1314) wgpu-test::wgpu-gpu [Executed] [Vulkan/llvmpipe (LLVM 21.1.5, 128 bits)/1] wgpu_gpu::ray_tracing::shader::access_all_struct_members
     SIGSEGV [   1.839s] (1025/1314) wgpu-test::wgpu-gpu [Executed] [Vulkan/llvmpipe (LLVM 21.1.5, 128 bits)/1] wgpu_gpu::ray_tracing::as_build::unprepared_blas_compaction
     SIGSEGV [   1.283s] (1030/1314) wgpu-test::wgpu-gpu [Executed] [Vulkan/llvmpipe (LLVM 21.1.5, 128 bits)/1] wgpu_gpu::ray_tracing::scene::acceleration_structure_build_no_index

@Friz64 Would you be able to pull a stack trace from one of these? The examples might be easiest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backend: vulkanIssues with Vulkanexternal: driver-bugA driver is causing the bug, though we may still want to work around itfeature: raytracingIssues with the Ray Tracing Native Featuretype: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions