Your message dated Fri, 09 May 2025 11:49:04 +0000 with message-id <[email protected]> and subject line Bug#1100542: fixed in btop 1.3.2-0.1 has caused the Debian Bug report #1100542, regarding btop crashed at the start to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 1100542: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1100542 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: btop Version: 1.3.0-1 Dear Maintainer, I am using Debian sid. When I invoke btop from shell prompt it shows `Segmentation fault (core dumped)` I downloaded the source code using `apt source btop' and debugged it with gdb, and found the struct rsmi_frequencies defined in btop-1.3.0/src/linux/btop_collect.cpp:177 is struct rsmi_frequencies_t {uint32_t num_supported, current, frequency[RSMI_MAX_NUM_FREQUENCIES];}; But the same name struct provided by librocm-smi-dev 6.1.2-1 is: typedef struct { /** * Deep Sleep frequency is only supported by some GPUs */ bool has_deep_sleep; /** * The number of supported frequencies */ uint32_t num_supported; /** * The current frequency index */ uint32_t current; /** * List of frequencies. * Only the first num_supported frequencies are valid. */ uint64_t frequency[RSMI_MAX_NUM_FREQUENCIES]; } rsmi_frequencies_t; It led to the stack smashing after rsmi_dev_gpu_clk_freq_get(btop-1.3.0/src/linux/btop_collect.cpp:1371) returned. After updating this struct, the crash disappeared, and btop can work normally. I also found the upstream btop on github has solved this issue by selecting the right struct based on the ROCM version: https://github.com/aristocratos/btop/blob/53df78db887150ad961c021bcbc0b0a25f62c4a7/src/linux/btop_collect.cpp#L191 Can btop be upgraded to resolve this issue?
--- End Message ---
--- Begin Message ---Source: btop Source-Version: 1.3.2-0.1 Done: Andrew Lee (李健秋) <[email protected]> We believe that the bug you reported is fixed in the latest version of btop, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Andrew Lee (李健秋) <[email protected]> (supplier of updated btop package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Tue, 06 May 2025 12:12:58 +0200 Source: btop Architecture: source Version: 1.3.2-0.1 Distribution: unstable Urgency: medium Maintainer: Marius Gripsgard <[email protected]> Changed-By: Andrew Lee (李健秋) <[email protected]> Closes: 1100022 1100542 Changes: btop (1.3.2-0.1) unstable; urgency=medium . * Non-maintainer upload. * Bug fixes release from upstream. (Closes: #1100022, #1100542) Checksums-Sha1: 799d7b9e597156bbeb936b32f017396d23dc77a8 1815 btop_1.3.2-0.1.dsc b5ff07ae2ee03299c4a5bb98040071afa191f178 1144620 btop_1.3.2.orig.tar.gz 9ece16becbe8e256ef01e7e0083dea991d4e644f 4852 btop_1.3.2-0.1.debian.tar.xz e456e3a4af3c62000b089d919dff389e53267d60 5776 btop_1.3.2-0.1_source.buildinfo Checksums-Sha256: 72f02813729360b1b3bbcbceb5712a9645cba3e899cbfa13fcba8883f7d225e8 1815 btop_1.3.2-0.1.dsc 331d18488b1dc7f06cfa12cff909230816a24c57790ba3e8224b117e3f0ae03e 1144620 btop_1.3.2.orig.tar.gz 9ccf64a260a2068e12099dd5e9b75954c9fc27d296f8aa2e235cadfcaf891466 4852 btop_1.3.2-0.1.debian.tar.xz db96f5041c871787c9a4ae73c42c8a696d8a2b6cbfc5ab5285161c2a9daa0115 5776 btop_1.3.2-0.1_source.buildinfo Files: e80c283fa6be5127c1f3e5324e2b1a27 1815 utils optional btop_1.3.2-0.1.dsc 04ff8d32e7bf748705fe34dfea50c628 1144620 utils optional btop_1.3.2.orig.tar.gz 350679ef70920ebcbbb2f531975a49ed 4852 utils optional btop_1.3.2-0.1.debian.tar.xz d69214dad481e767409a931327e77226 5776 utils optional btop_1.3.2-0.1_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE703UlH90QYpfEyJV58vhUqwX+XMFAmgZ7u8ACgkQ58vhUqwX +XP1aQ//d5SKvqWf3/xoXz1QF+bA0nWqb8vv/kF90erzezqdE4VuQI8XaFvn6Jo0 sBniDPiQDvQTvhKWivbVP5UMX0GiU6DkYuqNlWwp7VwFfCKcxSipy2bZGg8+pemj 6A9pAesF0/gH5ODAW9pkHV2pEcYAMoS6z4FD1Zp633cYVIVVLYAxILl4stDPmR4b bSSSzuIyP+9/FEOWxF8PpCsjenKTWeMto0yPDlk6/Sj4+0g+vbBrjcjVUziL+enj nAvHRJWVhhpsPWuaCO1wjN1qIUkpUWJuvk3T2dDZGeikX6ybE2SHxWlrE0C3MXOI xOqVdD3XRBPYKhqLIxb3OX8iB2qCJAhCZlbjSwEBym1bA7lCTzU+QPeJ+PWCIrOj nZOyLkXbti11GsJ8mPsvMcRDn8fbV1f3gYQyfD9jf6pCousuPR6/UJNBgm37ccZa u2fakdI0Ckw4FBSGoqVeKF4eWUM/IlD1n0JfG4PjX5NlEQ5aY+3HgD2vhd6Yr9Ns T/r/PkSSad+ARU9A1q2uRk92NtbnB0iv9G/jl41nFJtt1jWY3OPLhZzVqquE5vJ+ E/cqfojssXRN0yVUS3Obe56s4jWRbCT6WOyfy6GWD+unN2x66DURfbGyuyAOsD3R RRkQ5+jZanTHz19JBkMc1Y7YhauVI0TG4z2GvzIv1pn/+om5fwk= =2mJG -----END PGP SIGNATURE-----
pgpwmgJLeneQi.pgp
Description: PGP signature
--- End Message ---

