Description of problem: When strace -v prints environment strings, then most short ones get printed with ellipsis ("...") even though they are not truncated, and are less than the length of a "long string". Version-Release number of selected component (if applicable): strace-4.5.16-2.fc8 How reproducible: always Steps to Reproduce: 1. strace -e trace=execve -v date 2. 3. Actual results: execve("/bin/date", ["date"], ["SSH_AGENT_PID=3133", "HOSTNAME=f8test3-32.localdomain"..., "SHELL=/bin/bash"..., "TERM=xterm"..., "DESKTOP_STARTUP_ID="..., "HISTSIZE=1000"..., "XDG_SESSION_COOKIE=47e96c94f225b"..., "GTK_RC_FILES=/etc/gtk/gtkrc:/hom"..., "WINDOWID=56712498"..., "GTK_MODULES=gnomebreakpad"..., "USER=jreiser"..., "LS_COLORS=no=00:fi=00:di=00;34:l"..., "GNOME_KEYRING_SOCKET=/tmp/keyrin"..., "SSH_AUTH_SOCK=/tmp/ssh-NZRqOH303"..., "SESSION_MANAGER=local/unix:@/tmp"..., "USERNAME=jreiser"..., "MAIL=/var/spool/mail/jreiser"..., "PATH=/usr/kerberos/bin:/usr/lib/"..., "DESKTOP_SESSION=default"..., "GDM_XSERVER_LOCATION=local"..., "INPUTRC=/etc/inputrc"..., "PWD=/tmp"..., "XMODIFIERS=@im=none"..., "LANG=en_US.UTF-8"..., "GNOME_KEYRING_PID=3030"..., "GDM_LANG=en_US.UTF-8"..., "GDMSESSION=default"..., "SSH_ASKPASS=/usr/libexec/openssh"..., "SHLVL=2"..., "HOME=/home/jreiser"..., "GNOME_DESKTOP_SESSION_ID=Default", "LOGNAME=jreiser", "CVS_RSH=ssh", "DBUS_SESSION_BUS_ADDRESS=unix:ab"..., "XDG_DATA_DIRS=/usr/local/share/:"..., "LESSOPEN=|/usr/bin/lesspipe.sh %"..., "WINDOWPATH=7"..., "DISPLAY=:0.0"..., "G_BROKEN_FILENAMES=1"..., "COLORTERM=gnome-terminal"..., "XAUTHORITY=/tmp/.gdmQRKR0T"..., "_=/usr/bin/strace"..., "OLDPWD=/data/Fedora8/logs"...]) = 0 Note the cases "SHELL=/bin/bash"..., "TERM=xterm"..., (etc.). Nothing has been truncated, so there should be no ellipsis. Expected results: ellipsis ["..."] only when each individual name=value pair exceeds the long-string threshhold, and so will have been truncated for printing. Additional info: Possibly: some counter or flag is not being reset to zero for each environment string.
Consistent reproducer independent of user's env: env -i LONG=12345678901234567890 FOO=1 ./strace -e trace=execve -v /bin/date
Fixed upstream.
Based on the date this bug was created, it appears to have been reported during the development of Fedora 8. In order to refocus our efforts as a project we are changing the version of this bug to '8'. If this bug still exists in rawhide, please change the version back to rawhide. (If you're unable to change the bug's version, add a comment to the bug and someone will change it for you.) Thanks for your help and we apologize for the interruption. The process we're following is outlined here: http://fedoraproject.org/wiki/BugZappers/F9CleanUp We will be following the process here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this doesn't happen again.
Fixed in strace.x86_64 0:4.5.16-5.fc9.