Your message dated Sun, 29 Dec 2024 15:09:40 +0000
with message-id <[email protected]>
and subject line Bug#1042065: fixed in ltrace 0.7.91~git20230705.8eabf68-1
has caused the Debian Bug report #1042065,
regarding ltrace: [p]{read,write}[v]() handling, common *64() functions in 
modern glibc, [fl]seek[o]()/ftell[o](); requisite [u]llong; 20x speed 
optimisation in default config; format %b+bin() lens and %w[f]32x; 
splice/c_f_r/sendfile[64] formatting; useful __errno_location; %config lines 
not limited to 1kB; pipe[2]() with fds; sysconf(); %m[un]map[64](); operator 
new/delete; <regex.h>; another ~10%; %*locale(); time.h functions; strto*l(); 
qsort_r()
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.)


-- 
1042065: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042065
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ltrace
Version: 0.7.3-6.4
Severity: normal
Tags: patch

Dear Maintainer,

With this patchset,
-- >8 --
memcpy(0x555ea0e8d2a0, "35", 2)                                                 
                          = 0x555ea0e8d2a0
writev(1, 0x7fd6386ed010, 1024, 0x7ffffffffff149f0)                             
                          = 6144
writev(1, 0x7fd6386f1010, 1024, -6)                                             
                          = 6144
writev(1, 0x7fd6386f5010, 1024, -6)                                             
                          = 6144
writev(1, 0x7fd6386f9010, 1024, -6)                                             
                          = 6144
writev(1, 0x7fd6386fd010, 1024, -6)                                             
                          = 6144
writev(1, 0x7fd638701010, 1024, -6)                                             
                          = 6144
writev(1, 0x7fd638705010, 1024, -6)                                             
                          = 6144
writev(1, 0x7fd638709010, 1024, -6)                                             
                          = 6144
writev(1, 0x7fd63870d010, 1024, -6)                                             
                          = 6144
writev(1, 0x7fd638711010, 1024, -6)                                             
                          = 6144
writev(1, 0x7fd638715010, 683, -6)                                              
                          = 4098
memcpy(0x555ea0e8d2a0, "6\n", 2)                                                
                          = 0x555ea0e8d2a0
pread64(3, 0x7ffe6415cf98, 0x10000, 0x11dc0)                                    
                          = 0x10000
memmove(0x555ea0e8d2a4, "6\n", 2)                                               
                          = 0x555ea0e8d2a4
memcpy(0x555ea0e8d2a0, "2496", 4)                                               
                          = 0x555ea0e8d2a0
writev(1, 0x7fd6386ed010, 1024, 0x7ffffffffff11f45)                             
                          = 6144
writev(1, 0x7fd6386f1010, 1024, -6)                                             
                          = 6144
writev(1, 0x7fd6386f5010, 1024, -6)                                             
                          = 6144
writev(1, 0x7fd6386f9010, 1024, -6)                                             
                          = 6144
writev(1, 0x7fd6386fd010, 1024, -6)                                             
                          = 6144
writev(1, 0x7fd638701010, 1024, -6)                                             
                          = 6144
writev(1, 0x7fd638705010, 1024, -6)                                             
                          = 6144
writev(1, 0x7fd638709010, 1024, -6)                                             
                          = 6144
writev(1, 0x7fd63870d010, 1024, -6)                                             
                          = 6144
writev(1, 0x7fd638711010, 1024, -6)                                             
                          = 6144
writev(1, 0x7fd638715010, 682, -6)                                              
                          = 4092
memcpy(0x555ea0e8d2a0, "14044\n", 6)                                            
                          = 0x555ea0e8d2a0
pread64(3, 0x7ffe6415cf98, 0x10000, 7616)                                       
                          = 0x10000
writev(1, 0x7fd6386ed010, 1024, 0x7ffffffffff0f49b)                             
                          = 6144
writev(1, 0x7fd6386f1010, 1024, -6)                                             
                          = 6144
writev(1, 0x7fd6386f5010, 1024, -6)                                             
                          = 6144
writev(1, 0x7fd6386f9010, 1024, -6)                                             
                          = 6093
writev(1, 0x7fd6386fd010, 1024, -5)                                             
                          = 5120
writev(1, 0x7fd638701010, 1024, -5)                                             
                          = 5120
writev(1, 0x7fd638705010, 1024, -5)                                             
                          = 5120
writev(1, 0x7fd638709010, 1024, -5)                                             
                          = 5120
writev(1, 0x7fd63870d010, 1024, -5)                                             
                          = 5120
writev(1, 0x7fd638711010, 1024, -5)                                             
                          = 5120
writev(1, 0x7fd638715010, 1024, -5)                                             
                          = 5120
writev(1, 0x7fd638719010, 1024, -5)                                             
                          = 5120
writev(1, 0x7fd63871d010, 11, -5)                                               
                          = 55
memcpy(0x555ea0e8d2a0, "5\n", 2)                                                
                          = 0x555ea0e8d2a0
pread64(3, 0x7ffe6415cf98, 7616, 0)                                             
                          = 7616
memmove(0x555ea0e8d2a3, "5\n", 2)                                               
                          = 0x555ea0e8d2a3
memcpy(0x555ea0e8d2a0, "174", 3)                                                
                          = 0x555ea0e8d2a0
writev(1, 0x7fd6386ed010, 1024, 0x7ffffffffff0c490)                             
                          = 4842
writev(1, 0x7fd6386f1010, 720, -4)                                              
                          = 2774
memcpy(0x555ea0e8d2a0, "1\n", 2)                                                
                          = 0x555ea0e8d2a0
writev(1, 0x7ffe6415ce20, 1, 0x7ffe6415cd01)                                    
                          = 2
close(3)                                                                        
                          = 0
__cxa_finalize(0x555ea0347778, 0x555ea0346390, 1, 0x7ffe6416cde0)               
                          = 1
+++ exited (status 0) +++
-- >8 --
becomes
-- >8 --
memcpy(0x55a30919a2a0, "35", 2)                                                 
                          = 0x55a30919a2a0
writev(1, [{"35889\n", 6}, {"35888\n", 6}, {"35887\n", 6}, {"35886\n", 6}...], 
1024)                      = 6144
writev(1, [{"34865\n", 6}, {"34864\n", 6}, {"34863\n", 6}, {"34862\n", 6}...], 
1024)                      = 6144
writev(1, [{"33841\n", 6}, {"33840\n", 6}, {"33839\n", 6}, {"33838\n", 6}...], 
1024)                      = 6144
writev(1, [{"32817\n", 6}, {"32816\n", 6}, {"32815\n", 6}, {"32814\n", 6}...], 
1024)                      = 6144
writev(1, [{"31793\n", 6}, {"31792\n", 6}, {"31791\n", 6}, {"31790\n", 6}...], 
1024)                      = 6144
writev(1, [{"30769\n", 6}, {"30768\n", 6}, {"30767\n", 6}, {"30766\n", 6}...], 
1024)                      = 6144
writev(1, [{"29745\n", 6}, {"29744\n", 6}, {"29743\n", 6}, {"29742\n", 6}...], 
1024)                      = 6144
writev(1, [{"28721\n", 6}, {"28720\n", 6}, {"28719\n", 6}, {"28718\n", 6}...], 
1024)                      = 6144
writev(1, [{"27697\n", 6}, {"27696\n", 6}, {"27695\n", 6}, {"27694\n", 6}...], 
1024)                      = 6144
writev(1, [{"26673\n", 6}, {"26672\n", 6}, {"26671\n", 6}, {"26670\n", 6}...], 
1024)                      = 6144
writev(1, [{"25649\n", 6}, {"25648\n", 6}, {"25647\n", 6}, {"25646\n", 6}...], 
683)                       = 4098
memcpy(0x55a30919a2a0, "6\n", 2)                                                
                          = 0x55a30919a2a0
pread64(3, "14044\n14045\n14046\n14047\n14048\n14"..., 65536, 73152)            
                          = 65536
memmove(0x55a30919a2a4, "6\n", 2)                                               
                          = 0x55a30919a2a4
memcpy(0x55a30919a2a0, "2496", 4)                                               
                          = 0x55a30919a2a0
writev(1, [{"24966\n", 6}, {"24965\n", 6}, {"24964\n", 6}, {"24963\n", 6}...], 
1024)                      = 6144
writev(1, [{"23942\n", 6}, {"23941\n", 6}, {"23940\n", 6}, {"23939\n", 6}...], 
1024)                      = 6144
writev(1, [{"22918\n", 6}, {"22917\n", 6}, {"22916\n", 6}, {"22915\n", 6}...], 
1024)                      = 6144
writev(1, [{"21894\n", 6}, {"21893\n", 6}, {"21892\n", 6}, {"21891\n", 6}...], 
1024)                      = 6144
writev(1, [{"20870\n", 6}, {"20869\n", 6}, {"20868\n", 6}, {"20867\n", 6}...], 
1024)                      = 6144
writev(1, [{"19846\n", 6}, {"19845\n", 6}, {"19844\n", 6}, {"19843\n", 6}...], 
1024)                      = 6144
writev(1, [{"18822\n", 6}, {"18821\n", 6}, {"18820\n", 6}, {"18819\n", 6}...], 
1024)                      = 6144
writev(1, [{"17798\n", 6}, {"17797\n", 6}, {"17796\n", 6}, {"17795\n", 6}...], 
1024)                      = 6144
writev(1, [{"16774\n", 6}, {"16773\n", 6}, {"16772\n", 6}, {"16771\n", 6}...], 
1024)                      = 6144
writev(1, [{"15750\n", 6}, {"15749\n", 6}, {"15748\n", 6}, {"15747\n", 6}...], 
1024)                      = 6144
writev(1, [{"14726\n", 6}, {"14725\n", 6}, {"14724\n", 6}, {"14723\n", 6}...], 
682)                       = 4092
memcpy(0x55a30919a2a0, "14044\n", 6)                                            
                          = 0x55a30919a2a0
pread64(3, "5\n1746\n1747\n1748\n1749\n1750\n1751\n"..., 65536, 7616)           
                          = 65536
writev(1, [{"14044\n", 6}, {"14043\n", 6}, {"14042\n", 6}, {"14041\n", 6}...], 
1024)                      = 6144
writev(1, [{"13020\n", 6}, {"13019\n", 6}, {"13018\n", 6}, {"13017\n", 6}...], 
1024)                      = 6144
writev(1, [{"11996\n", 6}, {"11995\n", 6}, {"11994\n", 6}, {"11993\n", 6}...], 
1024)                      = 6144
writev(1, [{"10972\n", 6}, {"10971\n", 6}, {"10970\n", 6}, {"10969\n", 6}...], 
1024)                      = 6093
writev(1, [{"9948\n", 5}, {"9947\n", 5}, {"9946\n", 5}, {"9945\n", 5}...], 
1024)                          = 5120
writev(1, [{"8924\n", 5}, {"8923\n", 5}, {"8922\n", 5}, {"8921\n", 5}...], 
1024)                          = 5120
writev(1, [{"7900\n", 5}, {"7899\n", 5}, {"7898\n", 5}, {"7897\n", 5}...], 
1024)                          = 5120
writev(1, [{"6876\n", 5}, {"6875\n", 5}, {"6874\n", 5}, {"6873\n", 5}...], 
1024)                          = 5120
writev(1, [{"5852\n", 5}, {"5851\n", 5}, {"5850\n", 5}, {"5849\n", 5}...], 
1024)                          = 5120
writev(1, [{"4828\n", 5}, {"4827\n", 5}, {"4826\n", 5}, {"4825\n", 5}...], 
1024)                          = 5120
writev(1, [{"3804\n", 5}, {"3803\n", 5}, {"3802\n", 5}, {"3801\n", 5}...], 
1024)                          = 5120
writev(1, [{"2780\n", 5}, {"2779\n", 5}, {"2778\n", 5}, {"2777\n", 5}...], 
1024)                          = 5120
writev(1, [{"1756\n", 5}, {"1755\n", 5}, {"1754\n", 5}, {"1753\n", 5}...], 11)  
                          = 55
memcpy(0x55a30919a2a0, "5\n", 2)                                                
                          = 0x55a30919a2a0
pread64(3, "1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n14"..., 7616, 0)         
                          = 7616
memmove(0x55a30919a2a3, "5\n", 2)                                               
                          = 0x55a30919a2a3
memcpy(0x55a30919a2a0, "174", 3)                                                
                          = 0x55a30919a2a0
writev(1, [{"1745\n", 5}, {"1744\n", 5}, {"1743\n", 5}, {"1742\n", 5}...], 
1024)                          = 4842
writev(1, [{"721\n", 4}, {"720\n", 4}, {"719\n", 4}, {"718\n", 4}...], 720)     
                          = 2774
memcpy(0x55a30919a2a0, "1\n", 2)                                                
                          = 0x55a30919a2a0
writev(1, [{"1\n", 2}], 1)                                                      
                          = 2
close(3)                                                                        
                          = 0
__cxa_finalize(0x55a30866e778)                                                  
                          = <void>
+++ exited (status 0) +++
-- >8 --

On both amd64 and i686! Untested on the other arches, but should Just
Work on the LP64 ones (may need ABI-specific support for returning u64s
like i686 does).

See commit messages for details. Based on 0.7.3-6.4.

Posting here because ltrace doesn't appear to actually exist anymore.
There's no Homepage: or downstream VCS link. The README says:
-- >8 --
You can send bug reports to <[email protected]>.
User requests can also be directed to that address.
-- >8 --
as we all know alioth is dead now,
and the list archived as inactive, with latest post in November of 2017:
https://alioth-lists-archive.debian.net/pipermail/ltrace-devel/
-- >8 --
ltrace development is hosted by Alioth.Debian.org:

  https://alioth.debian.org/projects/ltrace/

Release tarballs can be downloaded here:

  https://alioth.debian.org/frs/?group_id=30892

Anonymous GIT access is available via:

  git://git.debian.org/git/collab-maint/ltrace.git
-- >8 --
isn't, cannot, isn't.

I even had difficulties getting it off snapshot.d.o: 
https://bugs.debian.org/1034000

Anyway, please consider copying these patches in. I can't be the only
ltrace user.
(Or the only ltrace user who'd benefit from having opens traced,
 for that matter.)

Best,
наб

-- System Information:
Debian Release: 12.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-9-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND, 
TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ltrace depends on:
ii  libc6        2.36-9+deb12u1
ii  libelf1      0.188-2.1
ii  libselinux1  3.4-1+b6

ltrace recommends no packages.

ltrace suggests no packages.

-- no debconf information

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: ltrace
Source-Version: 0.7.91~git20230705.8eabf68-1
Done: наб <[email protected]>

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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
наб <[email protected]> (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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 14 Dec 2024 22:30:41 +0100
Source: ltrace
Architecture: source
Version: 0.7.91~git20230705.8eabf68-1
Distribution: unstable
Urgency: medium
Maintainer: наб <[email protected]>
Changed-By: наб <[email protected]>
Closes: 614994 804494 1042065 1086442 1088700
Changes:
 ltrace (0.7.91~git20230705.8eabf68-1) unstable; urgency=medium
 .
   * Homepage: https://ltrace.org/
   * d/watch: add, pointing at https://gitlab.com/cespedes/ltrace
     + New upstream version format that reflects reality more
   * Standards-Version: 4.7.0 (routine-update)
   * Rules-Requires-Root: no (routine-update)
   * Vcs-Git: https://salsa.debian.org/debian/ltrace.git
   * Maintainer: наб <[email protected]> (Closes: #1088700)
   * Replace libiberty-dev dependency with just using cxa_demangle
   * d/control: remove Homepage: and R-R-R: from binary section
   * d/p/:
     0003  Add llong/ullong
     0004  default config: openat*(), getopt_long*() consistency, fseek*(),
                           ftell*(), reallocarray(), pread*(), pwrite*(),
                           lseek*() with whence enum, *readv*(), *writev*(),
                           __cxa_finalize()
     0005  Remove extraneous whitespace around [] and {}
     0006  Read larger-than-word buffers with process_vm_readv
           Pre-buffer arrays of primitives
     0007  Handle format %b. Add bin() lens
     0008  Add %w[f]{WIDTH}x (glibc 2.38, C2x)
     0009  default config: Add splice()/copy_file_range()/sendfile[64]()
     0010  default config: __errno_location() returns an int*, not addr
     0011  default config: pipe[2]() with fds; sysconf(); m[un]map[64]();
                           operator new/delete; regex.h suite
     0012  Turn opt_p into an array
     0013  Open -o "we" instead of "w" then setting O_CLOEXEC manually
     0014  Boolify pass for prototype/read_config_file
     0015  Remove unused list_of_functions
     0016  default config: Full stat/statfs suite, bare names;
                           strto*ll(); *locale(); time.h functions and struct 
tm;
                           wgetch, tgetstr, MEVENT, getmouse;
                           linkat, renameat{,2}, mkdirat; {,d,dc}gettext,
                           nl_langinfo; ungetc, freopen, fmemopen,
                           open_{,w}memstream, {v,}asprintf, getline,
                           {,__}getdelim, __xpg_basename, strnlen, strverscmp,
                           memcmp, bcmp, strtok_r, strpbrk, stat64, realpath,
                           getsubopt, mbtowc; qsort_r(); boolify isw*()
 .
     In addition to the functional changes, this rollup speeds up ltrace by 20x
     Closes: #1042065
 .
     0018  Fix printf() parser treating field width as array length for strings
           Closes: #804494
     0019  Allow tracing shebanged #! programs directly (Closes: #614994)
 .
     22    loong64 syscalls from Linux 6.10
           https://gitlab.com/cespedes/ltrace/-/merge_requests/22
     21    RISC-V: Add support for c.ebreak — 4-byte ebreak sometimes causes OOB
           https://gitlab.com/cespedes/ltrace/-/merge_requests/21
     19    Fix double free in get_enum
           
https://gitlab.com/cespedes/ltrace/-/merge_requests/19#note_2234679059
 .
     0022  ltrace crashes when trying to resolve memory mapped shared libraries
           of an inferior under /proc/self/fd/*
           https://gitlab.com/cespedes/ltrace/-/issues/15
     0023  getcwd() returns string, not string2
   * d/ltrace.docs: install upstream NEWS
   * Install new, blank, /etc/ltrace.conf with migration instructions;
     copy old ltrace.conf to docs as ltrace.conf.old (Closes: #1086442)
   * Build for m68k sparc64 too (README indicates it should work)
Checksums-Sha1:
 ee3b3440f4c408fe6e6a277cb9bb6340cd928358 2253 
ltrace_0.7.91~git20230705.8eabf68-1.dsc
 fedc781548f59ecabbfea1727c29e92733b81075 272084 
ltrace_0.7.91~git20230705.8eabf68.orig.tar.xz
 096e83db9d23eda12cd9ed420e53ebce13a8ad5b 40008 
ltrace_0.7.91~git20230705.8eabf68-1.debian.tar.xz
 b59088d33df02e135b5d61564f490b708f75f947 6692 
ltrace_0.7.91~git20230705.8eabf68-1_amd64.buildinfo
Checksums-Sha256:
 6c59815ab4e26382ec1e761f80d4b51aa507aedec150bd4c9f5b4440f8e2a37e 2253 
ltrace_0.7.91~git20230705.8eabf68-1.dsc
 da0317b2e6951a035fa606a89e82dc5f99623b6a30ef71bc08c5d23bf00b9ef1 272084 
ltrace_0.7.91~git20230705.8eabf68.orig.tar.xz
 64f89a4ff29883b7f20b63697da50ff9fa5ec01ab7d9e5ae2de996d0b0eda28d 40008 
ltrace_0.7.91~git20230705.8eabf68-1.debian.tar.xz
 1ed3fe8337bf328cc7ef65d2d248ddfe07ffc944aeb67c1f84b3e0c067aecb4c 6692 
ltrace_0.7.91~git20230705.8eabf68-1_amd64.buildinfo
Files:
 c2a55b9987dfef9f2828ee685ef04e0f 2253 utils optional 
ltrace_0.7.91~git20230705.8eabf68-1.dsc
 078c6a958a95c0bedb138a5cda34ba5e 272084 utils optional 
ltrace_0.7.91~git20230705.8eabf68.orig.tar.xz
 fda9ec01aab41ca0bc59fe0d9004fbde 40008 utils optional 
ltrace_0.7.91~git20230705.8eabf68-1.debian.tar.xz
 5dc83b3fbfc332f62e0aaf61eba7b3e7 6692 utils optional 
ltrace_0.7.91~git20230705.8eabf68-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmdkKfERHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtG/qA/9FoGfzMNfRidN7NWRzgfCL9v2kSCYxFiu
txtjSPT59TnGj3rvaZw/dn1VhCCwS/b0CScjt+IABaPBzJQ85u+J4Ru8uFsnh4S0
oNsA9hcqT27nakIgKSC6bkdBS3sJXM5QEHeJ6/Ebdar/7+cmZFkyEZAbkq8+jYK2
3BHPH7a0Ahm37c2nZvXPTtZ8g5qFkd5Q8NuJElivH0Ss26pt3xtbd6hYkzFbJakD
ohSRI4yZQAvW45JpLk/7tE0pYdl1le6ZIcxCl38Upmrr5PgPBAqUWsBv1B0EfCfR
6M+vQHp/BlX17MjgjbjAHjQtH2bKyy24lbD/SzSCEuOOoi162VRZtoDY6NrKFnzq
4qoWd5jwlyQfkQQq17JPOkaFM8Zv5dHOfBdPM/Pryakil8C9wZfwpSjv6HSklcL1
F+5WCpRJ9faDaZEX5cKgScCs85wxtBqc1wxujffIq+NfBoUc+tyOLJcre1AypK3/
gz8y9fp7XiZssHds4Sr/IGlFMhGANJmEUnfprGFXCk5bKDDjntb6B3Cmg6o8jj2i
TtBzhMZY6j2Dgu+MESLFuxhGRE1Fh0nwPmGD+n3Y6/TNvdsqpKQTYA2KYOm2NCiQ
FabAIlBumw8C2gPcqgCRpTq8S8oew5gX49VLoFcz93MFfr9JNnA2xk9vBqVX/d8s
7tcu1ppUUjE=
=3Xp3
-----END PGP SIGNATURE-----

Attachment: pgp31UG8ZPEDI.pgp
Description: PGP signature


--- End Message ---

Reply via email to