← Back to team overview

desktop-packages team mailing list archive

[Bug 865082] Re: gnome-terminal writes to /tmp on every line of output

 

Probably related, here's a small sample as captured by the new "fatrace
--filter W" utility on Ubuntu 14.04 LTS:

09:35:01.577176 gnome-terminal(8923): RW /tmp/#132358 (deleted)
09:35:01.588323 gnome-terminal(8923): W /tmp/#132359 (deleted)
09:35:01.588323 gnome-terminal(8923): RW /tmp/#132359 (deleted)
09:35:01.588323 gnome-terminal(8923): W /tmp/#132358 (deleted)
09:35:01.588323 gnome-terminal(8923): RW /tmp/#132358 (deleted)
09:35:01.604411 gnome-terminal(8923): W /tmp/#132359 (deleted)
09:35:01.604411 gnome-terminal(8923): RW /tmp/#132359 (deleted)
09:35:01.604411 gnome-terminal(8923): W /tmp/#132358 (deleted)
09:35:01.604411 gnome-terminal(8923): RW /tmp/#132358 (deleted)
09:35:01.606859 bash(12220): CW /home/bnesbitt/.bash_history
09:35:01.606859 bash(12220): RCWO /home/bnesbitt/.bash_history
09:35:01.610768 gnome-terminal(8923): CW /tmp/#132355 (deleted)
09:35:01.610768 gnome-terminal(8923): CW /tmp/#132355 (deleted)
09:35:01.610856 gnome-terminal(8923): CW /tmp/#132356 (deleted)
09:35:01.610856 gnome-terminal(8923): CW /tmp/#132356 (deleted)
09:35:01.636285 gnome-terminal(8923): W /tmp/#132359 (deleted)
09:35:01.636285 gnome-terminal(8923): RW /tmp/#132359 (deleted)
09:35:01.636285 gnome-terminal(8923): W /tmp/#132358 (deleted)
09:35:01.636285 gnome-terminal(8923): RW /tmp/#132358 (deleted)
09:35:01.666355 gnome-terminal(8923): W /tmp/#132359 (deleted)
09:35:01.666355 gnome-terminal(8923): RW /tmp/#132359 (deleted)
09:35:01.666355 gnome-terminal(8923): W /tmp/#132358 (deleted)
09:35:01.666355 gnome-terminal(8923): RW /tmp/#132358 (deleted)
09:35:01.677547 gnome-terminal(8923): W /tmp/#132359 (deleted)
09:35:01.677547 gnome-terminal(8923): RW /tmp/#132359 (deleted)
09:35:01.677547 gnome-terminal(8923): W /tmp/#132358 (deleted)
09:35:01.677547 gnome-terminal(8923): RW /tmp/#132358 (deleted)

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

Title:
  gnome-terminal writes to /tmp on every line of output

Status in Gnome Virtual Terminal Emulator:
  Confirmed
Status in vte package in Ubuntu:
  Triaged

Bug description:
  STR:

  1. Start xterm
  2. Run "python -mpyinotify /tmp"
  3. Start gnome-terminal.
  4. Run some command like ls

  Actual Results:

  Observe a ton of IN_MODIFY lines such as
  <Event dir=False mask=0x2 maskname=IN_MODIFY name=vteD7DX2V path=/tmp pathname=/tmp/vteD7DX2V wd=1 >
  <Event dir=False mask=0x2 maskname=IN_MODIFY name=vte1XDX2V path=/tmp pathname=/tmp/vte1XDX2V wd=1 >
  <Event dir=False mask=0x2 maskname=IN_MODIFY name=vte72DX2V path=/tmp pathname=/tmp/vte72DX2V wd=1 >
  <Event dir=False mask=0x2 maskname=IN_MODIFY name=vteD7DX2V path=/tmp pathname=/tmp/vteD7DX2V wd=1 >
  <Event dir=False mask=0x2 maskname=IN_MODIFY name=vte1XDX2V path=/tmp pathname=/tmp/vte1XDX2V wd=1 >
  <Event dir=False mask=0x2 maskname=IN_MODIFY name=vteD7DX2V path=/tmp pathname=/tmp/vteD7DX2V wd=1 >
  <Event dir=False mask=0x2 maskname=IN_MODIFY name=vte1XDX2V path=/tmp pathname=/tmp/vte1XDX2V wd=1 >
  <Event dir=False mask=0x2 maskname=IN_MODIFY name=vte72DX2V path=/tmp pathname=/tmp/vte72DX2V wd=1 >
  <Event dir=False mask=0x2 maskname=IN_MODIFY name=vteD7DX2V path=/tmp pathname=/tmp/vteD7DX2V wd=1 >
  <Event dir=False mask=0x2 maskname=IN_MODIFY name=vte1XDX2V path=/tmp pathname=/tmp/vte1XDX2V wd=1 >

  Or, when idle -
  <Event dir=False mask=0x1 maskname=IN_ACCESS name=vteGFOF2V path=/tmp pathname=/tmp/vteGFOF2V wd=1 >
  <Event dir=False mask=0x1 maskname=IN_ACCESS name=vteI7NF2V path=/tmp pathname=/tmp/vteI7NF2V wd=1 >
  <Event dir=False mask=0x1 maskname=IN_ACCESS name=vteVCOF2V path=/tmp pathname=/tmp/vteVCOF2V wd=1 >
  <Event dir=False mask=0x1 maskname=IN_ACCESS name=vteGFOF2V path=/tmp pathname=/tmp/vteGFOF2V wd=1 >
  <Event dir=False mask=0x1 maskname=IN_ACCESS name=vteI7NF2V path=/tmp pathname=/tmp/vteI7NF2V wd=1 >
  <Event dir=False mask=0x1 maskname=IN_ACCESS name=vteVCOF2V path=/tmp pathname=/tmp/vteVCOF2V wd=1 >
  <Event dir=False mask=0x1 maskname=IN_ACCESS name=vteGFOF2V path=/tmp pathname=/tmp/vteGFOF2V wd=1 >
  <Event dir=False mask=0x1 maskname=IN_ACCESS name=vteI7NF2V path=/tmp pathname=/tmp/vteI7NF2V wd=1 >
  <Event dir=False mask=0x1 maskname=IN_ACCESS name=vteVCOF2V path=/tmp pathname=/tmp/vteVCOF2V wd=1 >
  <Event dir=False mask=0x1 maskname=IN_ACCESS name=vteGFOF2V path=/tmp pathname=/tmp/vteGFOF2V wd=1 >

  This looks like vte code storing something. According to this question - http://ubuntuforums.org/showthread.php?t=1830432,
  "Sometimes vte creates temporary files which contains a copy of the whole scrollback buffer, [...]".

  Expected results:
  Nothing is being written to this dir at this rate by gnome-terminal.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: gnome-terminal 3.0.1-0ubuntu3
  ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4
  Uname: Linux 3.0.0-12-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu2
  Architecture: amd64
  Date: Mon Oct  3 09:55:29 2011
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
  SourcePackage: gnome-terminal
  UpgradeStatus: Upgraded to oneiric on 2011-08-30 (33 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/vte/+bug/865082/+subscriptions


References