Package: tmux Version: 1.3-1 Severity: grave File: /usr/bin/tmux Justification: causes non-serious data loss
When doing 'tmux attach-session -d' from a terminal window that is smaller than the window where the tmux session was running before, the tmux server crashes, causing everything running under that server to die. This bug also affects Ubuntu, which is where I originally experienced it: https://bugs.edge.launchpad.net/ubuntu/+source/tmux/+bug/671066 This does not happen with tmux built from CVS HEAD without Debian patches. So apparently this is due to one or more Debian-specific patches. Here are some comments on that from the tmux developer on IRC: 000035 <NicM> i said this was a bad move at the time, because you don't want to kill the entire server just because you can't fix the terminal when a client exits 000139 <NicM> in HEAD this patch won't do this though, because we make the tty blocking again before calling tty_raw() 000143 <NicM> but its still a bad move 000214 <NicM> really we should leave it nonblocking and retry on EAGAIN, but who cares tbh, worst case the user has to type "reset" 000346 <NicM> and typically the reason write() would fail is because the terminal has actually gone (ie ssh network disconnect or eg xterm was closed) 000447 <NicM> we are quite careful not to fatal in the tty shutdown path because ssh particularly can leave us with an invalid fd 000518 <NicM> actually in HEAD we set it blocking again AFTER calling tty_raw() so it'd still be an issue with the patch 000551 <NicM> this is because there is some retarded gcc option that complains when write() returns are ignored -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (900, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages tmux depends on: ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib ii libevent-1.4-2 1.4.13-stable-1 An asynchronous event notification ii libncurses5 5.7+20100313-4 shared libraries for terminal hand tmux recommends no packages. tmux suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org