Added abigail report on description
** Description changed:
- [ Impact ]
+ [ Impact ]
- * hipsparse 7.2.3 (libhipsparse4, upstream library version 4.2.0) fixes a
- memory leak affecting all `hipsparseCreate*` functions for sparse matrix
- descriptors: `hipsparseCreateCoo`, `hipsparseCreateConstCoo`,
- `hipsparseCreateBlockedEll`, `hipsparseCreateConstBlockedEll`,
- `hipsparseCreateCooAoS`, `hipsparseCreateCsr`,
`hipsparseCreateConstCsr`,
- `hipsparseCreateCsc`, and `hipsparseCreateConstCsc`. In all affected
- functions the pattern was: allocate a `hipsparseSpMatDescr_st` object
with
- `new`, then call the underlying rocSPARSE descriptor constructor; if the
- rocSPARSE call returned an error, the freshly-allocated object was never
- freed. Applications that call any of these functions in failure paths
- (invalid arguments, unavailable device, etc.) would silently leak
memory.
- The fix stores the return status, deletes the object on failure, and
then
- returns the status.
+ * hipsparse 7.2.3 (libhipsparse4, upstream library version 4.2.0) fixes a
+ memory leak affecting all `hipsparseCreate*` functions for sparse matrix
+ descriptors: `hipsparseCreateCoo`, `hipsparseCreateConstCoo`,
+ `hipsparseCreateBlockedEll`, `hipsparseCreateConstBlockedEll`,
+ `hipsparseCreateCooAoS`, `hipsparseCreateCsr`,
`hipsparseCreateConstCsr`,
+ `hipsparseCreateCsc`, and `hipsparseCreateConstCsc`. In all affected
+ functions the pattern was: allocate a `hipsparseSpMatDescr_st` object
with
+ `new`, then call the underlying rocSPARSE descriptor constructor; if the
+ rocSPARSE call returned an error, the freshly-allocated object was never
+ freed. Applications that call any of these functions in failure paths
+ (invalid arguments, unavailable device, etc.) would silently leak
memory.
+ The fix stores the return status, deletes the object on failure, and
then
+ returns the status.
- * The release also carries documentation improvements (example code
snippets
- are now referenced via `\snippet` rather than embedded inline
`\code{.c}`
- blocks in the API headers) and a new `BUILD_CLIENTS_ONLY`
CMake/build-script
- option; neither change affects the installed library or its ABI.
+ * The release also carries documentation improvements (example code
snippets
+ are now referenced via `\snippet` rather than embedded inline
`\code{.c}`
+ blocks in the API headers) and a new `BUILD_CLIENTS_ONLY`
CMake/build-script
+ option; neither change affects the installed library or its ABI.
- * Reverse dependencies of libhipsparse4: libhipsparse-dev, libhipsolver1,
- libhipsolverrf1 (and their test/bench packages), and any ROCm ecosystem
- packages that link against hipSPARSE.
+ * Reverse dependencies of libhipsparse4: libhipsparse-dev, libhipsolver1,
+ libhipsolverrf1 (and their test/bench packages), and any ROCm ecosystem
+ packages that link against hipSPARSE.
- [ Test Plan ]
+ [ Test Plan ]
- 1. Build:
- - sbuild or dpkg-buildpackage succeeds.
- - dpkg --compare-versions 7.2.3-0ubuntu1 gt 7.1.1-0ubuntu1 confirms the
- new version is greater.
- - Run dpkg-gensymbols against the built libhipsparse4; confirm no
symbols
- added, removed, or changed (the debian/libhipsparse4.symbols file
should
- remain identical — SONAME remains libhipsparse.so.4).
- 2. Autopkgtest:
- ```
- autopkgtest [22:00:27]: test libhipsparse4-tests:
-----------------------]
- autopkgtest [22:00:29]: test libhipsparse4-tests: - - - - - - - - - -
results - - - - - - - - - -
- libhipsparse4-tests PASS
- autopkgtest [22:00:29]: @@@@@@@@@@@@@@@@@@@@ summary
- libhipsparse4-tests PASS
- 2026-06-03 22:00:32 - Autopkg tests ended for hipsparse in
ppa:bruno-bdmoura/hipsparse-7.2.3.
- Tests took: 0h 20m 27s. Logs saved in ./hipsparse_20260603_214005.log
- ./hipsparse --symlink-to-last-hipsparse-log-->
./hipsparse_20260603_214005.log
- ```
+ 1. Build:
+ - sbuild or dpkg-buildpackage succeeds.
+ - dpkg --compare-versions 7.2.3-0ubuntu1 gt 7.1.1-0ubuntu1 confirms the
+ new version is greater.
+ - Run dpkg-gensymbols against the built libhipsparse4; confirm no
symbols
+ added, removed, or changed (the debian/libhipsparse4.symbols file
should
+ remain identical — SONAME remains libhipsparse.so.4).
+ 2. Autopkgtest:
+ ```
+ autopkgtest [22:00:27]: test libhipsparse4-tests:
-----------------------]
+ autopkgtest [22:00:29]: test libhipsparse4-tests: - - - - - - - - - -
results - - - - - - - - - -
+ libhipsparse4-tests PASS
+ autopkgtest [22:00:29]: @@@@@@@@@@@@@@@@@@@@ summary
+ libhipsparse4-tests PASS
+ 2026-06-03 22:00:32 - Autopkg tests ended for hipsparse in
ppa:bruno-bdmoura/hipsparse-7.2.3.
+ Tests took: 0h 20m 27s. Logs saved in ./hipsparse_20260603_214005.log
+ ./hipsparse --symlink-to-last-hipsparse-log-->
./hipsparse_20260603_214005.log
+ ```
- [ Where problems could occur ]
+ [ Where problems could occur ]
- * The memory-leak fix adds a `delete spMatDescr[0]` branch on the error
path
- of each Create function. The only observable regression would be a
- double-free if the caller also freed the descriptor on error, but the
API
- contract is that the descriptor is invalid (and therefore must not be
freed
- by the caller) when the function returns non-SUCCESS. Risk: very low.
- * All other changes (documentation, build infrastructure, benchmark-tool
- argument parsing) are not present in the installed library and carry no
- runtime risk.
+ * The memory-leak fix adds a `delete spMatDescr[0]` branch on the error
path
+ of each Create function. The only observable regression would be a
+ double-free if the caller also freed the descriptor on error, but the
API
+ contract is that the descriptor is invalid (and therefore must not be
freed
+ by the caller) when the function returns non-SUCCESS. Risk: very low.
+ * All other changes (documentation, build infrastructure, benchmark-tool
+ argument parsing) are not present in the installed library and carry no
+ runtime risk.
- [ Other Info ]
+ [ Other Info ]
- * ABI unchanged: no symbols were added, removed, or changed between 7.1.1
- and 7.2.3. The debian/libhipsparse4.symbols file should remain
identical.
- SONAME remains libhipsparse.so.4.
- * This update is part of the coordinated ROCm 7.2 stack release.
- * PPA:
https://launchpad.net/~bruno-bdmoura/+archive/ubuntu/hipsparse-7.2.3/+packages
- * Upstream version comparison:
- https://github.com/ROCm/hipsparse/compare/rocm-7.1.1...rocm-7.2.3
- * Target: stonking 26.04 LTS
+ * ABI unchanged: no symbols were added, removed, or changed between 7.1.1
+ and 7.2.3. The debian/libhipsparse4.symbols file should remain
identical.
+ SONAME remains libhipsparse.so.4.
+ * This update is part of the coordinated ROCm 7.2 stack release.
+ * PPA:
https://launchpad.net/~bruno-bdmoura/+archive/ubuntu/hipsparse-7.2.3/+packages
+ * Upstream version comparison:
+ https://github.com/ROCm/hipsparse/compare/rocm-7.1.1...rocm-7.2.3
+ * Target: stonking 26.04 LTS
+
+ abigail report:
+ ```
+ === Comparing libhipsparse-doc ===
+ NOTICE: Package 'libhipsparse-doc' was removed in the new version (present
in old, absent in new)
+
+ === Comparing libhipsparse4-tests ===
+ Running: abipkgdiff
/home/ubuntu/actions-runner/_work/bullwinkle-cicd/bullwinkle-cicd/old/libhipsparse4-tests_7.1.0-0ubuntu1_amd64.deb
/home/ubuntu/actions-runner/_work/bullwinkle-cicd/bullwinkle-cicd/new/libhipsparse4-tests_7.2.3-0ubuntu1~ppa10~26.04.1_amd64.deb
+ ================ changes of 'hipsparse-test'===============
+ Functions changes summary: 0 Removed, 0 Changed, 0 Added function
+ Variables changes summary: 0 Removed, 0 Changed, 0 Added variable
+ Function symbols changes summary: 0 Removed, 0 Added function symbol not
referenced by debug info
+ Variable symbols changes summary: 0 Removed, 2 Added variable symbols not
referenced by debug info
+
+ 2 Added variable symbols not referenced by debug info:
+
+ [A] _ZTTSt14basic_ifstreamIcSt11char_traitsIcEE
+ [A] _ZTVSt14basic_ifstreamIcSt11char_traitsIcEE
+
+ ================ end of changes of 'hipsparse-test'===============
+
+
+ === Comparing libhipsparse4 ===
+ Running: abipkgdiff
/home/ubuntu/actions-runner/_work/bullwinkle-cicd/bullwinkle-cicd/old/libhipsparse4_7.1.0-0ubuntu1_amd64.deb
/home/ubuntu/actions-runner/_work/bullwinkle-cicd/bullwinkle-cicd/new/libhipsparse4_7.2.3-0ubuntu1~ppa10~26.04.1_amd64.deb
+ ```
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2156252
Title:
SRU: New upstream version 7.2.3
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hipsparse/+bug/2156252/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs