[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 Ubuntu Desktop Bugs, which is subscribed to vte in Ubuntu. https://bugs.launchpad.net/bugs/865082 Title: gnome-terminal writes to /tmp on every line of output To manage notifications about this bug go to: https://bugs.launchpad.net/vte/+bug/865082/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 865082] Re: gnome-terminal writes to /tmp on every line of output
** Changed in: vte Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to vte in Ubuntu. https://bugs.launchpad.net/bugs/865082 Title: gnome-terminal writes to /tmp on every line of output To manage notifications about this bug go to: https://bugs.launchpad.net/vte/+bug/865082/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 865082] Re: gnome-terminal writes to /tmp on every line of output
Fyi: vte-0.34.9 will add caching (https://git.gnome.org/browse/vte/commit/?h=vte-0-34&id=b959b86). The amount of data written is still the same, but batched up in larger chunks. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to vte in Ubuntu. https://bugs.launchpad.net/bugs/865082 Title: gnome-terminal writes to /tmp on every line of output To manage notifications about this bug go to: https://bugs.launchpad.net/vte/+bug/865082/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 865082] Re: gnome-terminal writes to /tmp on every line of output
** Changed in: vte Status: Unknown => New ** Changed in: vte Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to vte in Ubuntu. https://bugs.launchpad.net/bugs/865082 Title: gnome-terminal writes to /tmp on every line of output To manage notifications about this bug go to: https://bugs.launchpad.net/vte/+bug/865082/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 865082] Re: gnome-terminal writes to /tmp on every line of output
** Package changed: gnome-terminal (Ubuntu) => vte (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to vte in Ubuntu. https://bugs.launchpad.net/bugs/865082 Title: gnome-terminal writes to /tmp on every line of output To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vte/+bug/865082/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 865082] Re: gnome-terminal writes to /tmp on every line of output
this looks like bug https://bugzilla.gnome.org/show_bug.cgi?id=631685 ; could you please share your thoughts there as well? Thanks. ** Bug watch added: GNOME Bug Tracker #631685 https://bugzilla.gnome.org/show_bug.cgi?id=631685 ** Changed in: vte (Ubuntu) Importance: Undecided => Medium ** Changed in: vte (Ubuntu) Status: New => Triaged ** Also affects: vte via https://bugzilla.gnome.org/show_bug.cgi?id=631685 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to vte in Ubuntu. https://bugs.launchpad.net/bugs/865082 Title: gnome-terminal writes to /tmp on every line of output To manage notifications about this bug go to: https://bugs.launchpad.net/vte/+bug/865082/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 865082] Re: gnome-terminal writes to /tmp on every line of output
src/vtestream-file.h: static inline void _vte_file_stream_ensure_fd0 (VteFileStream *stream) { gint fd; gchar *file_name; if (G_LIKELY (stream->fd[0])) return; fd = g_file_open_tmp ("vteXX", &file_name, NULL); if (fd != -1) { unlink (file_name); g_free (file_name); } stream->fd[0] = dup (fd); /* we do the dup to make sure ->fd[0] is not 0 */ close (fd); } -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-terminal in Ubuntu. https://bugs.launchpad.net/bugs/865082 Title: gnome-terminal writes to /tmp on every line of output To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/865082/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 865082] Re: gnome-terminal writes to /tmp on every line of output
** Description changed: STR: 1. Start xterm 2. Run "python -mpyinotify /tmp" - 3. Start gnome-termina. + 3. Start gnome-terminal. 4. Run some command like ls Actual Results: Observe a ton of IN_MODIFY lines such as Or, when idle - 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) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-terminal in Ubuntu. https://bugs.launchpad.net/bugs/865082 Title: gnome-terminal writes to /tmp on every line of output To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/865082/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs