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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1734811

Title:
  Detaching session sometimes kills the session

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/byobu/+bug/1734811/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to