** Changed in: gnome-terminal
       Status: Incomplete => Expired

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

Title:
  gnome-terminal hangs after executing tail -f for some time with plenty
  of output

Status in GNOME Terminal:
  Expired
Status in “gnome-terminal” package in Ubuntu:
  New

Bug description:
  Steps to reproduce:

  1) Open gnome-terminal with bash shell.

  2) type tail -f someLogFile

  3) Let it run with plenty of output for a long time.

  Result:

  Tail output will suddenly stop.

  Stracing the bash process shows:
  mm@musca:~ $ sudo strace  -p 31412
  [sudo] password for mm: 
  Process 31412 attached - interrupt to quit
  wait4(-1, 

  Stracing the tail process shows:
  sudo strace -p 17298
  [sudo] password for mm: 
  Process 17298 attached - interrupt to quit
  write(1, "ull;null;null;null;0;null;eurex;"..., 4515^C <unfinished ...>
  Process 17298 detached

  It seems that the processes are somehow deadlocked.
  After killing the tail process, the tail died, but the gnome-terminal stayed 
unusable.

  mm@musca:~ $ sudo strace  -p 31412
  [sudo] password for mm: 
  Process 31412 attached - interrupt to quit
  wait4(-1, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGTERM}], WSTOPPED|WCONTINUED, 
NULL) = 17298
  rt_sigprocmask(SIG_BLOCK, [CHLD TSTP TTIN TTOU], [CHLD], 8) = 0
  ioctl(255, TIOCSPGRP, [31412])          = 0
  rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
  ioctl(255, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo 
...}) = 0
  ioctl(255, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0
  ioctl(255, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo 
...}) = 0
  ioctl(255, TIOCGWINSZ, {ws_row=63, ws_col=211, ws_xpixel=0, ws_ypixel=0}) = 0
  write(2, "Terminated\n", 11

  Choosing  "Terminal->Reset" from gnome-terminal menu did not help.

  Choosing  "Terminal->Reset And Clear" from gnome-terminal menu made
  the window usable again..

  Probably there is a problem with a buffer overflow, etc.
  I am using a scrollback of 1000000 lines.
  The output should have been sufficient to fill this buffer.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: gnome-terminal 3.4.1.1-0ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-48.74-generic 3.2.46
  Uname: Linux 3.2.0-48-generic x86_64
  ApportVersion: 2.0.1-0ubuntu17.3
  Architecture: amd64
  Date: Mon Jul 15 18:05:39 2013
  InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 
(20120822.4)
  MarkForUpload: True
  SourcePackage: gnome-terminal
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to