[Impact]
* Byobu users of the byobu-screen backend will find their screen process crashed, if they hit ctrl-a (screen's default escape sequence). This is a critical breakage for byobu-screen users.
[Test Case]
* From a new or fresh Trusty installation (desktop or server), drop to a command line, and run 'byobu-screen'. You'll be interactively prompted to choose whether ctrl-a should be handled like screen or emacs. Choose (1) for screen. Your screen session is now crashed.
* Upgrade to the package in trusty-proposed, launch a new byobu-screen session, and press ctrl-a-c to create a new window, and then ctrl-a-n and ctrl-a-p and that should all work perfectly well now.
[Regression Potential]
* This fix does revert the change that was intended to fix a far more minor Bug: #814172. I have reopened that bug, will fix it separately, and upload another SRU later.
* Otherwise, regression potential should be minimal. Once that recent commit was reverted, the code looks very much like it's looked for a very long, stable time.
[Other Info]
* None

That way I only get byobu's menu about which Ctrl-A behaviour I want.
But if I choose the "screen behaviour" and then I get a screen
(server) process zombie and a no more reacting screen (client)
process -- even if I kill these processes, start a new byobu-screen
session and press "Ctrl-A c" again, the same happens. (Everything
works fine, if I choose the "emacs behaviour".)

So thanks for that hint!

It does not only happen with "Ctrl-A c" but at least also "Ctrl-A m"
(repeat last message).

Marking this issue as "also affects byobu" as it seems to use screen
in an incompatible way. (IIRC it uses tmux as default backend
nowadays.) IMHO this should be fixed in byobu, too.

Nevertheless, getting screen to make its server process becoming a
zombie is clearly also an issue in screen -- which should be fixed.

I can also reproduce it on Debian Sid. "screen -ls" shows a dead
session there:

I'll try to reproduce it with some simpler setup than byobu and
forward it to the GNU Screen upstream.

JFTR: I could reproduce it with byobu version 5.77-0ubuntu1 and screen
4.1.0~20120320gitdb59704-9 on trusty as well as with byobu 5.77-1 and
screen 4.2.0-1 (i.e. the newest GNU Screen upstream version, currently
in Debian Experimental).

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

No more crashes, but Ctrl-A now _always_ triggers the Ctrl-A behaviour menu, even after setting it once and then exiting the session and starting a new one. Can't get Ctrl-A to work properly with 5.77-0ubuntu1.1. :-(

I am not able to download the byobu_5.77-0ubuntu1.2 version from trusty-proposed. Still getting 5.77-0ubuntu1.1 and am able to duplicate the issue noted by ahasenack. Did the upload of byobu_5.77-0ubuntu1.2 succeed? Should I wait longer for some upload propagation process to complete? First use of LP, so apologies in advance for missing what is obvious to the experienced. Would love to test byobu_5.77-0ubuntu1.2

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Note that you will need to `rm -f ~/.byobu/keybindings` after your
failed run. I suppose I could add this to byobu-janitor, if
necessary.

Cheers,

:-Dustin

On Tue, Jul 29, 2014 at 4:21 PM, Chris J Arges
<email address hidden> wrote:
> Hello Anders, or anyone else affected,
>
> Accepted byobu into trusty-proposed. The package will build now and be
> available at http://launchpad.net/ubuntu/+source/byobu/5.77-0ubuntu1.2
> in a few hours, and then in the -proposed repository.
>
> Please help us by testing this new package. See
> https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
> enable and use -proposed. Your feedback will aid us getting this update
> out to other Ubuntu users.
>
> If this package fixes the bug for you, please add a comment to this bug,
> mentioning the version of the package you tested, and change the tag
> from verification-needed to verification-done. If it does not fix the
> bug for you, please add a comment stating that, and change the tag to
> verification-failed. In either case, details of your testing will help
> us make a better decision.
>
> Further information regarding the verification process can be found at
> https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
> advance!
>
> ** Changed in: byobu (Ubuntu Trusty)
> Status: In Progress => Fix Committed
>
> ** Tags removed: verification-failed
>
> ** Tags added: verification-needed
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1274720
>
> Title:
> [SRU] screen server process can be crashed by byobu
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/screen/+bug/1274720/+subscriptions

* usr/bin/byobu-ctrl-a.in: LP: #1274720
- cherry pick upstream r2338, r2363
- revert r2317, as this is breaking ctrl-a in byobu-screen in a bad way
+ add bindkey line back, this line is *essential*; there was a
syntax error in it previously, but removing the line was not
the correct fix; fix a missing double quote in last upload

The verification of the Stable Release Update for byobu has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.