(jaunty) ffmpegthumbnailer leaks memory 600MB then after killing it 6 thunars opened

Bug #350737 reported by JD
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ffmpegthumbnailer (Ubuntu)
Fix Released
Medium
Lionel Le Folgoc

Bug Description

Binary package hint: ffmpegthumbnailer

I am using Xubuntu 9.04 Beta with latest updates.

I found out in system monitor that ffmpegthumbnailer was leaking memory like there's no tomorrow.

I have previously opened up a folder containing video files and ffmpegthumbnailer was used to view the thumbnails in thunar, I then closed the window. About an hour later, ffmpegthumbnailer was using 50% cpu and 617MB RAM which is not right.

I have attached a screenshot of my processes in gnome system monitor.

Revision history for this message
JD (jacobdorne) wrote :
Revision history for this message
Jon Charge (seropith) wrote : Re: [Bug 350737] [NEW] (jaunty) ffmpegthumbnailer leaks memory 600MB then after killing it 6 thunars opened

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jacob wrote:
> Public bug reported:
>
> Binary package hint: ffmpegthumbnailer
>
> I am using Xubuntu 9.04 Beta with latest updates.
>
> I found out in system monitor that ffmpegthumbnailer was leaking
> memory like there's no tomorrow.
>
> I have previously opened up a folder containing video files and
> ffmpegthumbnailer was used to view the thumbnails in thunar, I then
> closed the window. About an hour later, ffmpegthumbnailer was
> using 50% cpu and 617MB RAM which is not right.
>
> I have attached a screenshot of my processes in gnome system
> monitor.
>
> ** Affects: ffmpegthumbnailer (Ubuntu) Importance: Undecided
> Status: New
>

status confirmed
done
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknPCnsACgkQR7/9CWL6/5i/hwCfWzzUTbEMaCwFt4ojEtvHyIho
CX0AmgKpDOCz3q43FKodFCO4DIg8KWsu
=SQEi
-----END PGP SIGNATURE-----

Revision history for this message
Jon Charge (seropith) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jacob wrote:
> Public bug reported:
>
> Binary package hint: ffmpegthumbnailer
>
> I am using Xubuntu 9.04 Beta with latest updates.
>
> I found out in system monitor that ffmpegthumbnailer was leaking memory
> like there's no tomorrow.
>
> I have previously opened up a folder containing video files and
> ffmpegthumbnailer was used to view the thumbnails in thunar, I then
> closed the window. About an hour later, ffmpegthumbnailer was using 50%
> cpu and 617MB RAM which is not right.
>
> I have attached a screenshot of my processes in gnome system monitor.
>
> ** Affects: ffmpegthumbnailer (Ubuntu)
> Importance: Undecided
> Status: New
>

 status confirmed
 done
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknPDYAACgkQR7/9CWL6/5joQgCfSI7BF/cA2Frb983DEStCJTmx
nUcAoJUPEXU6feQg2Qc32XAkTj5Kk08J
=guIC
-----END PGP SIGNATURE-----

Changed in ffmpegthumbnailer:
status: New → Confirmed
Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Hi,

Thanks for your bug report.

If possible (no copyright issue, etc.), could you attach a sample file that triggers this bug please?

Changed in ffmpegthumbnailer:
assignee: nobody → mrpouit
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
JD (jacobdorne) wrote :

I was thumnailing folder full of about 20 MP4s with H.264 codec and AAC audio. They were mostly youtube FLVs converted to MP4. I successfully and quickly got all the thumbnails.

Revision history for this message
Bremm (bremm) wrote :

I don't know if my bug is related to this one, but in a few videos here ffmpegthumbnailer can't be "thumbnailed", but it plays just OK with same codec. Here is a mplayer output related to one of these [mpeg4 @ 0xf96fa0]:

$ mplayer example.avi
MPlayer 1.0rc2-4.3.3 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3200+ (Family: 15, Model: 47, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
115 audio & 237 video codecs
[MENU] Can't open menu config file: /home/bremm/.mplayer/menu.conf
Menu inited: /etc/mplayer/menu.conf

Playing example.avi.

AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [DIVX] 720x480 0bpp 29.970 fps 1213.6 kbps (148.2 kbyte/s)
Clip info:
 Software:
xscreensaver_disable: Could not find XScreenSaver window.
[VO_XV] Could not grab port 280.
Opening video filter: [scale]
Opening video filter: [hqdn3d]
Opening video filter: [pp=de]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
[PP] Using external postprocessing filter, max q = 6.
==========================================================================
Forced audio codec: mad
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[mpeg4 @ 0xf96fa0]looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0xf8f6d0]SwScaler: using unscaled yuv420p -> yuv420p special converter
VO: [xv] 720x480 => 1440x960 Planar YV12
A: 3.3 V: 3.3 A-V: -0.002 ct: 0.020 101/101 19% 71% 3.7% 61 6 93%
Exiting... (Quit)

Revision history for this message
maxstirner (philipp-d) wrote :

This is also affecting me in karmic.

It can be worked around by installing the lucid packages https://launchpad.net/ubuntu/lucid/i386/ffmpegthumbnailer/1.5.5-1

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

> It can be worked around by installing the lucid packages https://launchpad.net/ubuntu/lucid/i386/ffmpegthumbnailer/1.5.5-1

Then it's fixed in lucid, closing.

Changed in ffmpegthumbnailer (Ubuntu):
status: Incomplete → Fix Released
Revision history for this message
Bremm (bremm) wrote :

Should I ask someone to backport this package to karmic? Most people just wait an easy way (or should I say the right one?) to get it fixed. We must remember that Ubuntu users are mostly ordinary users and they picked up Ubuntu because it's easy to update/maintain.

By the way, amd64 version for lucid is here: https://launchpad.net/ubuntu/lucid/amd64/ffmpegthumbnailer/1.5.5-1

Thank you

Revision history for this message
sergio (serge-simon) wrote :

Still not fixed for me.
I'm on a fresh Karmic installation.
I've downloaded and installed the (Lucid) 1.5.5-1 for AMD64 version of ffmpegthumbnailer given above.
And I still have the problem ...

/usr/bin/ffmpegthumbnailer -v
ffmpegthumbnailer version: 1.5.5

/usr/bin/ffmpegthumbnailer -i "test.avi" -o test.jpg
[NULL @ 0x64fd30]looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag
(never ending process with 100% CPU)

Revision history for this message
Alberto Moreno (albertomm) wrote :

Sergio, I did the same and it didn't worked until I upgraded libffmpegthumbnailer3 also.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.