[Touch-packages] [Bug 1527315] Re: Attached gif downloaded from telegram takes out the phone as thumbnailer hogs the memory and cpu

2016-01-27 Thread Pat McGowan
** Changed in: canonical-devices-system-image Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to thumbnailer in Ubuntu. https://bugs.launchpad.net/bugs/1527315 Title: Attached gif

[Touch-packages] [Bug 1527315] Re: Attached gif downloaded from telegram takes out the phone as thumbnailer hogs the memory and cpu

2016-01-21 Thread James Henstridge
We should have a better fix for this in the next Thumbnailer landing: rather than blacklisting large GIF files, I worked out how to convince gdk-pixbuf to stop once we read enough to decode the first frame. This makes the attached 45MB GIF file thumbnail almost instantly, without ballooning

[Touch-packages] [Bug 1527315] Re: Attached gif downloaded from telegram takes out the phone as thumbnailer hogs the memory and cpu

2016-01-19 Thread James Henstridge
** Branch linked: lp:~jamesh/thumbnailer/gif-first-frame -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to thumbnailer in Ubuntu. https://bugs.launchpad.net/bugs/1527315 Title: Attached gif downloaded from telegram takes out

[Touch-packages] [Bug 1527315] Re: Attached gif downloaded from telegram takes out the phone as thumbnailer hogs the memory and cpu

2016-01-08 Thread Michi Henning
** Changed in: thumbnailer (Ubuntu) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to thumbnailer in Ubuntu. https://bugs.launchpad.net/bugs/1527315 Title: Attached gif downloaded from

[Touch-packages] [Bug 1527315] Re: Attached gif downloaded from telegram takes out the phone as thumbnailer hogs the memory and cpu

2016-01-08 Thread Launchpad Bug Tracker
** Branch linked: lp:~michihenning/thumbnailer/animated-gifs -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to thumbnailer in Ubuntu. https://bugs.launchpad.net/bugs/1527315 Title: Attached gif downloaded from telegram takes

[Touch-packages] [Bug 1527315] Re: Attached gif downloaded from telegram takes out the phone as thumbnailer hogs the memory and cpu

2016-01-08 Thread Jean-Baptiste Lallement
** Changed in: canonical-devices-system-image Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to thumbnailer in Ubuntu. https://bugs.launchpad.net/bugs/1527315 Title: Attached gif

[Touch-packages] [Bug 1527315] Re: Attached gif downloaded from telegram takes out the phone as thumbnailer hogs the memory and cpu

2016-01-08 Thread Launchpad Bug Tracker
This bug was fixed in the package thumbnailer - 2.3+16.04.20160108.2-0ubuntu1 --- thumbnailer (2.3+16.04.20160108.2-0ubuntu1) xenial; urgency=medium [ Michi Henning ] * Fixed incorrect display of cache policy by "thumbnailer-admin stats". * Limit GIF file size to 2 MB (LP:

[Touch-packages] [Bug 1527315] Re: Attached gif downloaded from telegram takes out the phone as thumbnailer hogs the memory and cpu

2016-01-08 Thread Launchpad Bug Tracker
** Branch linked: lp:~michihenning/thumbnailer/fix-1527315 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to thumbnailer in Ubuntu. https://bugs.launchpad.net/bugs/1527315 Title: Attached gif downloaded from telegram takes

[Touch-packages] [Bug 1527315] Re: Attached gif downloaded from telegram takes out the phone as thumbnailer hogs the memory and cpu

2016-01-08 Thread Michi Henning
Elevated this to critical because the thumbnailer service is permanently toast if someone actually does add a GIF image that blows the memory limits imposed by the OOM watchdog. If that happens in the field, it's good-bye thumbnailer service whenever any app or scope asks for a thumbnail for the

[Touch-packages] [Bug 1527315] Re: Attached gif downloaded from telegram takes out the phone as thumbnailer hogs the memory and cpu

2015-12-21 Thread Alejandro J. Cura
** Changed in: canonical-devices-system-image Assignee: Michi Henning (michihenning) => Alejandro J. Cura (alecu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to thumbnailer in Ubuntu.

[Touch-packages] [Bug 1527315] Re: Attached gif downloaded from telegram takes out the phone as thumbnailer hogs the memory and cpu

2015-12-20 Thread Michi Henning
With the devel branch at 317, the thumbnailer copes with the animated gif just fine, in the sense that it correctly comes up with a thumbnail. It takes 6 seconds though, and memory temporarily climbs to 1.2 GB. -- You received this bug notification because you are a member of Ubuntu Touch seeded

[Touch-packages] [Bug 1527315] Re: Attached gif downloaded from telegram takes out the phone as thumbnailer hogs the memory and cpu

2015-12-20 Thread Michi Henning
The gif contains 491 frames at 960 by 540. Uncompressed, that's half a MB per frame, for a total of 254 MB. So, during scaling with gdk_pixbuf, we have at least this much in memory, plus a copy of the scaled result. Little wonder that things break. I'll see if we can change things such that we

[Touch-packages] [Bug 1527315] Re: Attached gif downloaded from telegram takes out the phone as thumbnailer hogs the memory and cpu

2015-12-19 Thread Michi Henning
** Changed in: canonical-devices-system-image Assignee: (unassigned) => Michi Henning (michihenning) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to thumbnailer in Ubuntu. https://bugs.launchpad.net/bugs/1527315 Title:

[Touch-packages] [Bug 1527315] Re: Attached gif downloaded from telegram takes out the phone as thumbnailer hogs the memory and cpu

2015-12-18 Thread Michi Henning
I shudder to think what this video would do to global warming if it happened to go viral… ;) Come to think of it, how much global warming is caused by cat videos? Would be an interesting research project… -- You received this bug notification because you are a member of Ubuntu Touch seeded

[Touch-packages] [Bug 1527315] Re: Attached gif downloaded from telegram takes out the phone as thumbnailer hogs the memory and cpu

2015-12-18 Thread Michi Henning
That's a pretty stupid way to make a video. A real video would probably be a lot small and have better quality :-) But I agree that we shouldn't fall over just because someone feeds us a file like this. I'll have a look at what's going on. -- You received this bug notification because you are a

[Touch-packages] [Bug 1527315] Re: Attached gif downloaded from telegram takes out the phone as thumbnailer hogs the memory and cpu

2015-12-18 Thread Daniel van Vugt
Not optimal but fun. I made the same silly mistake recently thinking GIFs would be cool. But you lose colour depth (GIFs are indexed 256 colour at most) so get dithered, and the GIF files were bigger than the original MP4s. Not clever, but fun. GIFs have two significant advantages though: 1. A

[Touch-packages] [Bug 1527315] Re: Attached gif downloaded from telegram takes out the phone as thumbnailer hogs the memory and cpu

2015-12-18 Thread Michi Henning
** Changed in: thumbnailer (Ubuntu) Importance: Undecided => High ** Changed in: thumbnailer (Ubuntu) Assignee: (unassigned) => Michi Henning (michihenning) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to thumbnailer

[Touch-packages] [Bug 1527315] Re: Attached gif downloaded from telegram takes out the phone as thumbnailer hogs the memory and cpu

2015-12-17 Thread Dave Morley
** Tags added: qa-dogfood -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to thumbnailer in Ubuntu. https://bugs.launchpad.net/bugs/1527315 Title: Attached gif downloaded from telegram takes out the phone as thumbnailer

[Touch-packages] [Bug 1527315] Re: Attached gif downloaded from telegram takes out the phone as thumbnailer hogs the memory and cpu

2015-12-17 Thread Jean-Baptiste Lallement
** Also affects: canonical-devices-system-image Importance: Undecided Status: New ** Changed in: canonical-devices-system-image Status: New => Confirmed ** Changed in: canonical-devices-system-image Importance: Undecided => High ** Changed in: canonical-devices-system-image