← Back to team overview

desktop-packages team mailing list archive

[Bug 1435905] Re: gnome-terminal randomly outputs control characters

 

I am attaching a log.

After some trial and error, I was able to set up my terminal in a state
such that I could reproduce the error in a single keystroke.

The transcript of the session is:
$ script -f /home/$USER/bin/shell_logs/$(date +"%d-%b-%y_%H-%M-%S")_shell.log
Script started, file is /home/bbeltr1/24-Mar-15_13-29-44_shell.log
$ tmux attach
[vim renders]
[I hit <ctrl-q>j, to change to the (non-existent) "next lower" tmux pane]
[the character appears in my vim status line]
[I hit <ctrl-q>d to detach]
$ Ctrl^D

I should also point out that if I resize the window before I detach, the
character disappears, presumedly because vim re-renders the status line.
More in general, any action which re-renders that character on the
screen will cause the glitch-character to disappear.

Thank you for the quick response!

** Attachment added: "script session when bug appears right away"
   https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1435905/+attachment/4354707/+files/24-Mar-15_13-29-44_shell.log

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-terminal in Ubuntu.
https://bugs.launchpad.net/bugs/1435905

Title:
  gnome-terminal randomly outputs control characters

Status in gnome-terminal package in Ubuntu:
  New

Bug description:
  Observed behavior:
  When using tmux, the terminal occasionally displays the "boxed" version of the 0x001b character followed by two ']' characters either in the cursor's current location or at the end of a refreshed line, or sometimes at an apparently random position on the screen. The times at which this character appears seem to be completely random.

  To reproduce:
  Get a clean install of tmux and gnome-terminal from the repositories. It is difficult to quantify this, but it appears that the bug will present itself most readily when working in vim or another refresh-heavy cli program.

  Why it's not a tmux bug:
  The bug appears to affect gnome-terminal and terminator, but not xterm or e.g. sessions connected over putty. In fact, if I open all of these screens side-by-size (using a virtual machine), and simultaneously attach to the same tmux session, only gnome-terminal and terminator show the strange characters, while the other two terminals render the screen as expected.

  Please see this superuser discussion for a link to a video of what the bug looks like:
  http://superuser.com/questions/864364/tmux-printing-u0x001b-and-112-randomly

  Let me know if there is anything else I can do to help reproduce/solve
  this, as using xterm is a really bad workaround to have to put up
  with.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: gnome-terminal 3.6.2-0ubuntu1
  ProcVersionSignature: Ubuntu 3.13.0-43.72-generic 3.13.11.11
  Uname: Linux 3.13.0-43-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.7
  Architecture: amd64
  Date: Tue Mar 24 10:30:12 2015
  InstallationDate: Installed on 2015-01-11 (71 days ago)
  InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
  ProcEnviron:
   LANGUAGE=en_US
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: gnome-terminal
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1435905/+subscriptions


References