[Pkg-opencl-devel] Bug#1115962: libllvmspirvlib19.1: clinfo crashes with Mesa/Rusticl after upgrade

Luigi Laurini raspberrypi.eclipse at gmail.com
Mon Sep 22 15:40:50 BST 2025


Package: libllvmspirvlib19.1
Version: 19.1.11-1
Severity: important

Dear Maintainer,


I encountered a regression introduced after upgrading libllvmspirvlib19.1.
Before the upgrade (libllvmspirvlib19.1 from 1:19.1.10-1)
OpenCL via Mesa Rusticl was working correctly. After the upgrade
(libllvmspirvlib19.1 from 1:19.1.11-1), `clinfo` crashes:

 clinfo
Number of platforms                               1
  Platform Name                                   rusticl
  Platform Vendor                                 Mesa/X.org
  Platform Version                                OpenCL 3.0
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd
cl_khr_byte_addressable_store cl_khr_create_command_queue cl_khr_expect_assume
cl_khr_extended_bit_ops cl_khr_extended_versioning
cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics
cl_khr_il_program cl_khr_local_int32_base_atomics
cl_khr_local_int32_extended_atomics cl_khr_integer_dot_product
cl_khr_spirv_no_integer_wrap_decoration cl_khr_spirv_queries
cl_khr_suggested_local_work_size cl_khr_spirv_linkonce_odr cl_khr_fp16
cl_khr_gl_sharing cles_khr_int64 cl_khr_kernel_clock cl_khr_3d_image_writes
cl_khr_depth_images cl_ext_image_unorm_int_2_101010 cl_khr_pci_bus_info
cl_khr_priority_hints cl_khr_device_uuid cl_khr_subgroup_shuffle
cl_khr_subgroup_shuffle_relative cl_arm_shared_virtual_memory
cl_ext_buffer_device_address
  Platform Extensions with Version                cl_khr_icd
0x800000 (2.0.0)
                                                  cl_khr_byte_addressable_store
0x400000 (1.0.0)
                                                  cl_khr_create_command_queue
0x400000 (1.0.0)
                                                  cl_khr_expect_assume
0x400000 (1.0.0)
                                                  cl_khr_extended_bit_ops
0x400000 (1.0.0)
                                                  cl_khr_extended_versioning
0x400000 (1.0.0)
cl_khr_global_int32_base_atomics                                 0x400000
(1.0.0)
cl_khr_global_int32_extended_atomics                             0x400000
(1.0.0)
                                                  cl_khr_il_program
0x400000 (1.0.0)
cl_khr_local_int32_base_atomics                                  0x400000
(1.0.0)
cl_khr_local_int32_extended_atomics                              0x400000
(1.0.0)
                                                  cl_khr_integer_dot_product
0x800000 (2.0.0)
cl_khr_spirv_no_integer_wrap_decoration                          0x400000
(1.0.0)
                                                  cl_khr_spirv_queries
0x400000 (1.0.0)
cl_khr_suggested_local_work_size                                 0x400000
(1.0.0)
                                                  cl_khr_spirv_linkonce_odr
0x400000 (1.0.0)
                                                  cl_khr_fp16
0x400000 (1.0.0)
                                                  cl_khr_gl_sharing
0x400000 (1.0.0)
                                                  cles_khr_int64
0x400000 (1.0.0)
                                                  cl_khr_kernel_clock
0x400000 (1.0.0)
                                                  cl_khr_3d_image_writes
0x400000 (1.0.0)
                                                  cl_khr_depth_images
0x400000 (1.0.0)
cl_ext_image_unorm_int_2_101010                                  0x400000
(1.0.0)
                                                  cl_khr_pci_bus_info
0x400000 (1.0.0)
                                                  cl_khr_priority_hints
0x400000 (1.0.0)
                                                  cl_khr_device_uuid
0x400000 (1.0.0)
                                                  cl_khr_subgroup_shuffle
0x400000 (1.0.0)
cl_khr_subgroup_shuffle_relative                                 0x400000
(1.0.0)
                                                  cl_arm_shared_virtual_memory
0x400000 (1.0.0)
                                                  cl_ext_buffer_device_address
0x400002 (1.0.2)
  Platform Numeric Version                        0xc00000 (3.0.0)
  Platform Extensions function suffix             MESA
  Platform Host timer resolution                  1ns

  Platform Name                                   rusticl
Number of devices                                 1
  Device Name                                     AMD Radeon RX 480 Graphics
(radeonsi, polaris10, ACO, DRM 3.64, 6.16.8-ryzen)
  Device Vendor                                   AMD
  Device Vendor ID                                0x1002
  Device Version                                  OpenCL 3.0
  Device UUID
00000000-2b00-0000-0000-000000000000
  Driver UUID
414d442d-4d45-5341-2d44-525600000000
  Valid Device LUID                               No
  Device LUID                                     0000-000000000000
  Device Node Mask                                0
  Device Numeric Version                          0xc00000 (3.0.0)
  Driver Version                                  25.2.2-1
  Device OpenCL C Version                         OpenCL C 1.2
  Device OpenCL C Numeric Version                 0x402000 (1.2.0)
  Device OpenCL C all versions                    OpenCL C
0xc00000 (3.0.0)
                                                  OpenCL C
0x402000 (1.2.0)
                                                  OpenCL C
0x401000 (1.1.0)
                                                  OpenCL C
0x400000 (1.0.0)
  Device OpenCL C features
__opencl_c_integer_dot_product_input_4x8bit                      0x800000
(2.0.0)
__opencl_c_integer_dot_product_input_4x8bit_packed               0x800000
(2.0.0)
                                                  __opencl_c_int64
0x400000 (1.0.0)
__opencl_c_kernel_clock_scope_device                             0x400000
(1.0.0)
__opencl_c_kernel_clock_scope_sub_group                          0x400000
(1.0.0)
                                                  __opencl_c_images
0x400000 (1.0.0)
                                                  __opencl_c_read_write_images
0x400000 (1.0.0)
                                                  __opencl_c_3d_image_writes
0x400000 (1.0.0)
__opencl_c_ext_image_unorm_int_2_101010                          0x400000
(1.0.0)
                                                  __opencl_c_subgroups
0x400000 (1.0.0)
  Latest conformance test passed                  v0000-01-01-00
  Device Type                                     GPU
  Device PCI bus info (KHR)                       PCI-E, 0000:2b:00.0
  Device Profile                                  EMBEDDED_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               36
  Max clock frequency                             1266MHz
  Device Partition                                (core)
    Max number of sub-devices                     0
    Supported partition types                     None
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                             1024x1024x1024
  Max work group size                             1024
  Preferred work group size multiple (device)     64

thread '<unnamed>' panicked at library/core/src/panicking.rs:218:5:
panic in a function that cannot unwind
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
Aborted                    (core dumped) clinfo




Steps to reproduce:
1. Install mesa-opencl-icd and libllvmspirvlib19.1 from testing.
2. Run `clinfo`.
3. The program crashes with no usable output.

What I tested:
- Downgrading mesa-opencl-icd (from 25.2.2-1 to 25.0.7-2) does not solve the
issue.
- The problem disappears only by downgrading libllvmspirvlib19.1.
- The regression appeared on 16/09 between Debian testing snapshots.

System info:
- Debian testing (updated 2025-09-15)
- Kernel: 6.16.8
- GPU: AMD RX480
- clinfo version: 3.0.25.02.14


Thanks for your work maintaining this package!


-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.16.8-ryzen (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CPU_OUT_OF_SPEC, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libllvmspirvlib19.1 depends on:
ii  libc6       2.41-12
ii  libllvm19   1:19.1.7-3+b2
ii  libstdc++6  15.2.0-4

libllvmspirvlib19.1 recommends no packages.

libllvmspirvlib19.1 suggests no packages.

-- no debconf information



More information about the Pkg-opencl-devel mailing list