Comment 8 for bug 1734811

Revision history for this message
laborer (laborer) wrote :

If I downgrade tmux from 2.5-3 to 2.3-4 (the version in Ubuntu 17.04), then byobu does not ever get killed after detaching.

It looks like the bug is in how tmux runs the status line script, /usr/bin/byobu-status. If byobu-status takes long time to finish, then even my "good" computer becomes affected by the bug. For example, with following line placed at the beginning of byobu-status
seq 10000000 | awk '{i=i+$0} END {print i}'
byobu is a lot more likely to be killed after detaching.

In tmux 2.5-3, the status line is reloaded every time a session is reattached as you can see the status line says "byobu-status not ready" at the beginning. But in tmux 2.3-4, the status line is NOT reloaded. This difference might be a useful clue to solve the problem.