← Back to team overview

desktop-packages team mailing list archive

[Bug 1234453] Re: Terminal freezes during long-running applications

 

Hi,

in MATE, I am able to reproduce this bug just by running "ls -lR  /usr"
and switching desktops back and forth.

The attached patch fixes at least this particular case.

** Patch added: "bugfix"
   https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1234453/+attachment/4311455/+files/0001-fix-freezing-of-a-busy-terminal-when-switching-deskt.patch

-- 
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/1234453

Title:
  Terminal freezes during long-running applications

Status in gnome-terminal package in Ubuntu:
  Confirmed

Bug description:
  What Was Expected:
  Virtual Terminal would simply display output until program terminated or ended.

  What Happens:
  When running an application in terminal, either as a launcher or simply opening a virtual terminal directly , the screen output randomly freezes and the generating running application freezes. To resume, one must double-click the open terminal window and/or use terminal reset & clear. The problem makes running almost any application with terminal screen output unusable--for example, running a machine learning algorithm. 

  The problem affects both mate-terminal and gnome-terminal. The bug
  does not affect a simple x-terminal instance.

  Affected Applications:
  gnome-terminal
  mate-terminal 
  but not xterminal.

  Test Code:
  The following simple Python3 code demonstrates the issue.

  import time
  starttime = time.time()
  i = 0
  while(True):    
      i = i + 1
      print("Still working " , i, " " , time.time() - starttime)

  When running this code in a mate-terminal or gnome-terminal instance,
  the code displays a simple message along with the time. After a random
  period, sometimes seconds, sometimes minutes, the bug arises when the
  terminal instance screen simply freezes. That is, display output just
  stops in mid-stream. You can resume but only by double-clicking or
  using reset & clear.

  The bug affects at least Python and Java applications with output
  displaying to the terminal.

  Approximate Number of Tests:
  Over 50 and narrowed the issue to the terminal instances.

  Hardware:
  i7 4770
  32GB RAM
  (new) Nvidia 760 Video (note: the problems occurs with Nouveua or any proprietary Nvidia driver versions 3.04 through 3.25, that is, all were tested to see if this was just a driver issue and none resolved the issue)

  OS:
  Ubuntu 13.04 (with all updates)

  Desktops:
  Confirmed the bug occurs under Ubuntu Default, GNOME3, and MATE desktops.

  apt-cache policy gnome-terminal
  gnome-terminal:
    Installed: 3.6.1-0ubuntu4
    Candidate: 3.6.1-0ubuntu4
    Version table:
   *** 3.6.1-0ubuntu4 0
          500 http://us.archive.ubuntu.com/ubuntu/ raring/main amd64 Packages
          100 /var/lib/dpkg/status

  apt-cache policy mate-terminal
  mate-terminal:
    Installed: 1.6.1-1.1+raring
    Candidate: 1.6.1-1.1+raring
    Version table:
   *** 1.6.1-1.1+raring 0
          500 http://packages.mate-desktop.org/repo/ubuntu/ raring/main amd64 Packages
          100 /var/lib/dpkg/status

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: gnome-terminal 3.6.1-0ubuntu4
  ProcVersionSignature: Ubuntu 3.8.0-31.46-generic 3.8.13.8
  Uname: Linux 3.8.0-31-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.9.2-0ubuntu8.3
  Architecture: amd64
  Date: Wed Oct  2 19:52:43 2013
  InstallationDate: Installed on 2013-08-06 (57 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   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/1234453/+subscriptions