Your message dated Wed, 14 Aug 2024 23:18:32 +0000 with message-id <e1sengc-00fhly...@fasolo.debian.org> and subject line Bug#553189: fixed in ltrace 0.7.3+git20240814-0.2 has caused the Debian Bug report #553189, regarding mprotect library call shows 5 arguments instead of 3 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 ow...@bugs.debian.org immediately.) -- 553189: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=553189 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Package: ltrace Version: 0.5.1-2ubuntu1 Severity: minor I also tested this on 0.5.2. Dummy testcase file foo.c: #include <sys/mman.h> int main (int argc, char *argv[]) { mprotect ((void*)0xdeadbeef, 4096, PROT_NONE); return 0; } Running it under ltrace gives: $ ltrace ./foo __libc_start_main(0x80483c4, 1, 0xbfa33894, 0x8048410, 0x8048400 <unfinished ...> mprotect(0xdeadbeef, 4096, 0, 0x8048429, 0xb7f25870) = -1 +++ exited (status 0) +++ $Based on my analysis, the behaviour is "technically" correct, because only the syscall's signature is in the config:$ grep mprotect /etc/ltrace.conf int SYS_mprotect(addr,int,int); $And by default the number of arguments that ltrace prints for the functions without the signatures is 5.Indeed "ltrace -S ./foo" prints the syscall itself correctly: [lots of other syscalls]__libc_start_main(0x80483c4, 1, 0xbfb799d4, 0x8048410, 0x8048400 <unfinished ...>mprotect(0xdeadbeef, 4096, 0, 0x8048429, 0xb7f6d870 <unfinished ...> SYS_mprotect(0xdeadbeef, 4096, 0) = -22 <... mprotect resumed> ) = -1 SYS_exit_group(0 <no return ...> +++ exited (status 0) +++Adding the type signature into the config file for the mprotect same as SYS_mprotect corrects the output. I suggest this addition is made in the /etc/ltrace.conf
--- End Message ---
--- Begin Message ---Source: ltrace Source-Version: 0.7.3+git20240814-0.2 Done: Chris Hofstaedtler <z...@debian.org> We believe that the bug you reported is fixed in the latest version of ltrace, 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 553...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Chris Hofstaedtler <z...@debian.org> (supplier of updated ltrace 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 ftpmas...@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Wed, 14 Aug 2024 23:38:24 +0200 Source: ltrace Architecture: source Version: 0.7.3+git20240814-0.2 Distribution: unstable Urgency: medium Maintainer: Juan Cespedes <cespe...@debian.org> Changed-By: Chris Hofstaedtler <z...@debian.org> Closes: 553189 606026 744752 871574 927149 958369 1019505 1027385 1042390 1050320 Changes: ltrace (0.7.3+git20240814-0.2) unstable; urgency=medium . * Non-maintainer upload. * Upload to unstable. Closes: #1019505 * New release, Closes: #958369, #927149, #606026, #553189 * Enable build for arm64, mips64el, loong64, ppc64el, riscv64 Closes: #1042390, #871574, #744752, #1050320, #1027385 Checksums-Sha1: 27348ab3592322c2fd1f7bfe9c0e1f0a3ce77547 1987 ltrace_0.7.3+git20240814-0.2.dsc b87038eac9d48987182bffac4c393594e086990d 9692 ltrace_0.7.3+git20240814-0.2.debian.tar.xz 9b0408382d5ba195d12e18447aae7910dcf8f51f 6008 ltrace_0.7.3+git20240814-0.2_arm64.buildinfo Checksums-Sha256: a60505763e14222992bbcb076aaa6dcc48bc37afcec13a2b80175fcff0b07941 1987 ltrace_0.7.3+git20240814-0.2.dsc a01885d24ad3508ea565917c7217cba3bc9c24401e6e7437700c828912d1dda7 9692 ltrace_0.7.3+git20240814-0.2.debian.tar.xz d617c99e82cf72042191b1938c43ef7d8b943f775beca238e200cf33738aad41 6008 ltrace_0.7.3+git20240814-0.2_arm64.buildinfo Files: b5b19af909499f6a0c3809d0d6f16ffb 1987 utils optional ltrace_0.7.3+git20240814-0.2.dsc 40f58a1dceb6e1605099f855a945ac08 9692 utils optional ltrace_0.7.3+git20240814-0.2.debian.tar.xz 8613285a27765e11fa8dbbc1eb96a993 6008 utils optional ltrace_0.7.3+git20240814-0.2_arm64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEfRrP+tnggGycTNOSXBPW25MFLgMFAma9J4kACgkQXBPW25MF LgM9tw//aQels5Qb2d7EG7GshxZd+X3eXjOctXdsfUyq5oQ6ttcg972RHadZ/Jaz /qjMlNIg2X4sjj90/IwZQoZin+vCSYirW1UXPaeoQvuekxIeKreNjpKWeSEvCkIV DOOQCz7dQdQa+W06tJUVIHRcUW26NXVfbVdB0xx/X83EzczrCVVHBeZgXMtPppCw HmI6d2gA3QwNEbaWIDizH5I2BoReCdy+3hSQU2fsB9sNTLEqjn4FW8IQQpMNh+2W V9hhfCpUYnaI3CxBxlsbFkdYn6+kuBeFEEyjkUaAHJ7FtXySg/L66Q4JmD/9XgJ9 +EY2rk8I1DDPENOFTOE5KdctMZuCrZluC+KffLHhU7zkrIfw0SbM1k3OXa55i9Vn Ba5d7ltVYxUVyHg9bHsJLe+keIhGtMjFbUb4tXimnycbGZXiQK4sam0eWOUtKo6s 4JVEkyhex5TNMYD6tKlm15ITKj3LwDDpCgKoG6pTredAR3MGWTgcoA6LQeba47jE UCozS+z1g7D9sTLnRifrjxb2xK/XvCB38TmV11cLg5fn/8j8YLf+W+5szLKGqbLM ivXWHmDfdQ9TvRLgEL4Ly4Y6aLmkHItmpePwmzBtnfLnF9ZGygRbICbKpnomJyX7 Qbs1DPAS2wokKYmMHw4jpPu4nvMHNhJ4gHjGFb1rZ4BecfqVkHU= =4tu/ -----END PGP SIGNATURE-----pgpsck066jRez.pgp
Description: PGP signature
--- End Message ---