Public bug reported:
librocsparse1 7.1.0-0ubuntu2 contains device code only for gfx1100/gfx1102
among RDNA3+ targets (per `strings librocsparse.so.1`), nothing for gfx11.5. On
a gfx1150 machine, merely creating a handle segfaults — before any sparse
operation is attempted.
Ubuntu 26.04 (resolute), kernel 7.0.0-28-generic.
Hardware: AMD Ryzen AI 9 HX 370 w/ Radeon 890M iGPU (Strix Point, gfx1150).
KFD reports gfx_target_version 110500; `rocminfo` (7.1.1-0ubuntu1) enumerates
the
GPU agent natively as gfx1150 with no HSA_OVERRIDE_GFX_VERSION set, and the HSA
runtime itself works: HIP kernels compiled at runtime (via hipcc/comgr paths,
e.g. from Julia's AMDGPU.jl) execute correctly on this device.
This report is filed manually (not via apport); happy to attach anything
else.
Reproducer:
// repro.c ; build: hipcc repro.c -lrocsparse -o repro
#include <rocsparse/rocsparse.h>
#include <stdio.h>
int main(void) {
rocsparse_handle h;
rocsparse_status s = rocsparse_create_handle(&h);
printf("create_handle: %d\n", (int)s);
int ver = -1;
s = rocsparse_get_version(h, &ver);
printf("get_version: %d ver=%d\n", (int)s, ver);
return 0;
}
Observed: SIGSEGV (exit 139) before any output is flushed.
Expected: gfx1150 support, or a clean rocsparse_status error from
rocsparse_create_handle.
Practical impact beyond C users: AMDGPU.jl probes library versions in an
isolated subprocess at load; on this stack the rocSPARSE probe crashes that
subprocess every time (the package warns citing
https://github.com/JuliaGPU/AMDGPU.jl/issues/920).
** Affects: rocsparse (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2162811
Title:
librocsparse1 segfaults in rocsparse_create_handle on gfx1150 (no
gfx11.5 code objects)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rocsparse/+bug/2162811/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs