[Bug 785501] Re: Terminator has a (some?) memory leak
@Stephen: Thanks for your explanation. @rahmadani: Unassigning you until you come back to us with the requested informations. ** Changed in: terminator Assignee: rahmadani (rahmadani) => (unassigned) ** Changed in: terminator (Ubuntu) Assignee: rahmadani (rahmadani) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/785501 Title: Terminator has a (some?) memory leak To manage notifications about this bug go to: https://bugs.launchpad.net/terminator/+bug/785501/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 785501] Re: Terminator has a (some?) memory leak
@Vej: I've had a few cases of people in Indonesia doing stupid actions that cause me (the maintainer) problems, as I have to then fix the stuff they mess with. I had one Indonesian person that I had banned twice for doing braindead changes to the translations. I do wonder if this crap is some way of accumulating karma, but why? It's not like there's cash rewards for a big karma score. And why is it always Indonesia? Very peculiar. @rahmadani: This is the first and last warning to you. If you make more pointless changes to this project then I will speak to the Launchpad group and have your account banned. In case you do not speak English: Ini adalah peringatan pertama dan terakhir untuk Anda. Jika Anda membuat perubahan yang lebih sia-sia untuk proyek ini maka saya akan berbicara kepada kelompok Launchpad dan memiliki account Anda dilarang. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/785501 Title: Terminator has a (some?) memory leak To manage notifications about this bug go to: https://bugs.launchpad.net/terminator/+bug/785501/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 785501] Re: Terminator has a (some?) memory leak
@rahmadani You assigned this bug report to yourself, which has been of status "Fix Released" in Terminator before. Can you explain please, why you consider this to be in need of another fix, or what kind of work you are going to do here? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/785501 Title: Terminator has a (some?) memory leak To manage notifications about this bug go to: https://bugs.launchpad.net/terminator/+bug/785501/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 785501] Re: Terminator has a (some?) memory leak
** Changed in: terminator Assignee: (unassigned) => rahmadani (rahmadani) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/785501 Title: Terminator has a (some?) memory leak To manage notifications about this bug go to: https://bugs.launchpad.net/terminator/+bug/785501/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 785501] Re: Terminator has a (some?) memory leak
** Tags removed: amd64 apport-bug natty patch ** Changed in: terminator (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/785501 Title: Terminator has a (some?) memory leak To manage notifications about this bug go to: https://bugs.launchpad.net/terminator/+bug/785501/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 785501] Re: Terminator has a (some?) memory leak
The attachment "Dependencies.txt" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/785501 Title: Terminator has a (some?) memory leak To manage notifications about this bug go to: https://bugs.launchpad.net/terminator/+bug/785501/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 785501] Re: Terminator has a (some?) memory leak
** Changed in: terminator (Ubuntu) Assignee: (unassigned) => rahmadani (rahmadani) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/785501 Title: Terminator has a (some?) memory leak To manage notifications about this bug go to: https://bugs.launchpad.net/terminator/+bug/785501/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 785501] Re: Terminator has a (some?) memory leak
** Changed in: terminator Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/785501 Title: Terminator has a (some?) memory leak To manage notifications about this bug go to: https://bugs.launchpad.net/terminator/+bug/785501/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 785501] Re: Terminator has a (some?) memory leak
Committed revision 1729. Yay!!! This was an annoying one, and it seems it has been around for a long time. ** Changed in: terminator Status: Incomplete => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/785501 Title: Terminator has a (some?) memory leak To manage notifications about this bug go to: https://bugs.launchpad.net/terminator/+bug/785501/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 785501] Re: Terminator has a (some?) memory leak
Status changed to 'Confirmed' because the bug affects multiple users. ** Branch linked: lp:terminator ** Changed in: terminator (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/785501 Title: Terminator has a (some?) memory leak To manage notifications about this bug go to: https://bugs.launchpad.net/terminator/+bug/785501/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 785501] Re: Terminator has a (some?) memory leak
I've hit this bug recently too. More information here: https://bbs.archlinux.org/viewtopic.php?id=213319 It happens every few days. It's almost certainly Terminator to blame and not something more systemic, because I can open Konsole fine. There may be a memory leak involved. A freshly started terminator uses 49 MB, whereas the stuck version uses 190 MB. Unfortunately, this bug takes a while to surface. This means testing terminator-gtk3 is not an option for me; version r1637 is unusable because of this bug: https://bugs.launchpad.net/terminator/+bug/1501128/comments/4 I'm happy to troubleshoot more, if that is useful. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/785501 Title: Terminator has a (some?) memory leak To manage notifications about this bug go to: https://bugs.launchpad.net/terminator/+bug/785501/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 785501] Re: Terminator has a (some?) memory leak
Hi, you're the first person to touch this bug in a verrry long time. Which version of Terminator are you using? Quick explanation: The /tmp/vteXX files are temporary files created to hold the scrollback history once the size gets a little too big. You will typically see these if you have infinite scrollback turned on. They are created, a lock is obtained, then it is unlinked so no longer appears in the filesystem. They are entirely handled by the libvte component, so nothing can be done within Terminator directly. The vte developers have long since moved on from the crusty old libvte used by Terminator (typically 0.28) to a much newer gtk3 version (currently 0.4x), and do not backport fixes. It would help if you could see if this is still an issue in the gtk3 version of Terminator with a recent version of libvte. ( http://gnometerminator.blogspot.de/2015/09/so-you- want-to-try-terminator-gtk3.html ) If the problem still occurs there, then a bug needs to be raised against libvte ( https://bugzilla.gnome.org/page.cgi?id=browse.html=vte ) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/785501 Title: Terminator has a (some?) memory leak To manage notifications about this bug go to: https://bugs.launchpad.net/terminator/+bug/785501/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 785501] Re: Terminator has a (some?) memory leak
I misread the bug in the link in the previous comment, which seems to be unrelated. However the following issue does look the same to the issue at hand: https://bugzilla.redhat.com/show_bug.cgi?id=647942 ** Bug watch added: Red Hat Bugzilla #647942 https://bugzilla.redhat.com/show_bug.cgi?id=647942 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/785501 Title: Terminator has a (some?) memory leak To manage notifications about this bug go to: https://bugs.launchpad.net/terminator/+bug/785501/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 785501] Re: Terminator has a (some?) memory leak
I happened to hit the same problem and so did some digging. lsof output showed that terminator's (grand-)process gdm is leaking file descriptor: /usr/bin/ 2143 ldaye 25u REG8,3 6413711 42205304 /tmp/vteZRV4BY (deleted) /usr/bin/ 2143 ldaye 26u REG8,3 1070400 42205305 /tmp/vteHMV4BY (deleted) . . . /usr/bin/ 2143 ldaye 1020u REG8,3 2407 42206629 /tmp/vte7G4CFY (deleted) /usr/bin/ 2143 ldaye 1021u REG8,3 113 42206606 /tmp/vteY9YUFY (deleted) /usr/bin/ 2143 ldaye 1022u REG8,364 42206627 /tmp/vteO5YUFY (deleted) /usr/bin/ 2143 ldaye 1023u REG8,3 3350 42206628 /tmp/vteTCOLFY (deleted) Also, strace on gdm showed that open() failed with EMFILE (Too many open files), which matches well with the limit of open files is at 1024. Web search on "gdm file descriptor leak" landed on a few hits, the following could be relevant: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532319 ** Bug watch added: Debian Bug tracker #532319 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532319 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/785501 Title: Terminator has a (some?) memory leak To manage notifications about this bug go to: https://bugs.launchpad.net/terminator/+bug/785501/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 785501] Re: Terminator has a (some?) memory leak
Hi Bug subscribers, this is the maintainer (Steve Boddy) of Terminator, who took over from Chris. In case you were not aware there has been a new release 0.98 of Terminator in the last few days which has many changes, fixes and updates. We also have an ongoing GTK3 port which uses a much more up-to- date libvte. Even with the ~50 issues closed by that release, and discounting the ~90 outstanding wishlist items, we still have an unwieldy 95 bugs. With the oldest approaching it's 6th birthday and some that haven't seen any updates in nearly 5, it is time for a purge. My intention is to try and get this list down to a minimum, and for that I need your help. First I'm going to work through, oldest to newest, setting bugs to Incomplete, pending confirmation that they are still an issue. If after a month there is no feedback, the issue will get closed as Invalid. Here's where you come in. I can't always reproduce, or setting up (i.e. other distros) to even test takes a long time, so I'm going to try crowdsourcing this. 1. Get the latest release. Is it still an issue? If yes, set the confirmed-0.98 tag. For bonus points follow the guide http://gnometerminator.blogspot.com/2015/09/so-you-want-to-try- terminator-gtk3.html and see if the GTK3 branch has same issue, and set the confirmed-gtk3 or notaffected-gtk3 tag. 2. Can you reproduce with an empty/default config file? You can pass "-g temp_config" to do this without affecting your existing config. If you already have Terminator running, you'll need to pass -u as well to disable the DBus. 3. If able to, can you reproduce with another user/guest account? 4. If the issue does not already have clear, precise instructions to reproduce with minimal setup/steps, add them. 5. Put as much info about what you are running. * Software/library versions (libvte, gtk, pango, cairo, distro, desktop environment, language) * Screens (single or multi) * Any unusual / custom packages or configs that might be interacting. 6. If possible attach the config file, unless the issue also happens with an empty one, but mention that. 7. Attach the "-d" debug output from 0.98. Some common things that cause incidents. * Strange sizing issues or rapidly shrinking windows - Try turning off Window geometry hints. * Input (esp. broadcasting duplicate chars etc) problems - Try killing IBus. * Hand editing of the config file can cause various issues - Due to misunderstanding, incorrect structure or typos. * Some issues are actually in libvte - This is why testing GTK3 is so important. * segfaults - Unfortunately these are dying inside the C libraries, and it is usually beyond me to fix those. Many thanks for your assistance, and hopefully this will get us closer to a bug-free Terminator. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/785501 Title: Terminator has a (some?) memory leak To manage notifications about this bug go to: https://bugs.launchpad.net/terminator/+bug/785501/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 785501] Re: Terminator has a (some?) memory leak
** Changed in: terminator Status: New = Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/785501 Title: Terminator has a (some?) memory leak To manage notifications about this bug go to: https://bugs.launchpad.net/terminator/+bug/785501/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 785501] Re: Terminator has a (some?) memory leak
Just to mention that its still occurring with terminator from Precise: 5132 simon 20 0 868m 184m 18m S2 2.4 9:57.44 /usr/bin/python /usr/bin/terminator $ apt-cache policy terminator terminator: Installed: 0.96-0ubuntu1 Candidate: 0.96-0ubuntu1 Version table: *** 0.96-0ubuntu1 0 500 http://archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages 100 /var/lib/dpkg/status -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/785501 Title: Terminator has a (some?) memory leak To manage notifications about this bug go to: https://bugs.launchpad.net/terminator/+bug/785501/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 785501] Re: Terminator has a (some?) memory leak
Andrea: which objects are you seeing that happening for? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/785501 Title: Terminator has a (some?) memory leak To manage notifications about this bug go to: https://bugs.launchpad.net/terminator/+bug/785501/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 785501] Re: Terminator has a (some?) memory leak
Some debug revealed that whenever a terminal is split (or a new window is created, Terminator creates some Python objects, but never deletes them when the terminals are closed. So there are no memory leaks nor circular references. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/785501 Title: Terminator has a (some?) memory leak To manage notifications about this bug go to: https://bugs.launchpad.net/terminator/+bug/785501/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 785501] Re: Terminator has a (some?) memory leak
** Also affects: terminator Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/785501 Title: Terminator has a (some?) memory leak -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 785501] Re: Terminator has a (some?) memory leak
AFAIK, terminator is pure-Python. So I do not think that it's leaking really memory. Instead, I think that it's creating some kind of temporary object without deleting them (probably because of circular references). I'll try to do some debugging this week or the next one. If anyone is interested, checking for circular references is simple: drop into pdb and import gc; gc.collect(); gc.garbage. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/785501 Title: Terminator has a (some?) memory leak -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 785501] Re: Terminator has a (some?) memory leak
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/785501 Title: Terminator has a (some?) memory leak -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 785501] Re: Terminator has a (some?) memory leak
I just closed all but one of the division and the memory usage doesn't drop. Top output : 21557 simon 20 0 604m 179m 18m S0 2.3 19:10.68 /usr/bin/python /usr/bin/terminator -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/785501 Title: Terminator has a (some?) memory leak -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 785501] Re: Terminator has a (some?) memory leak
On my system, a freshly started terminator gives this kind of top output : 624 simon 20 0 431m 35m 16m S1 0.5 0:00.51 /usr/bin/python /usr/bin/terminator -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/785501 Title: Terminator has a (some?) memory leak -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs