GNOME Bugzilla – Bug 341677
massive memory leak with mpeg2 video in AVI
Last modified: 2006-07-10 11:53:16 UTC
Distribution: Ubuntu 6.06 (dapper) Package: totem Severity: Normal Version: GNOME2.14.1 1.4.0 Gnome-Distributor: Ubuntu Synopsis: Totem - Crash while playing video mpeg Bugzilla-Product: totem Bugzilla-Component: general Bugzilla-Version: 1.4.0 BugBuddy-GnomeVersion: 2.0 (2.14.1) Description: Description of the crash: Totem crash/broken while playing video mpeg Steps to reproduce the crash: 1. start totem 2. play video mpeg 3. application crash Expected Results: don't crash How often does this happen? Additional Information: The video mpeg played is a video course inskape... Debugging Information: Backtrace was generated from '/usr/bin/totem' (no debugging symbols found) Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1224759616 (LWP 18942)] [New Thread -1366393936 (LWP 18963)] [New Thread -1293943888 (LWP 18961)] [New Thread -1283691600 (LWP 18959)] [New Thread -1273955408 (LWP 18958)] [New Thread -1260217424 (LWP 18951)] [New Thread -1251824720 (LWP 18946)] [New Thread -1251165264 (LWP 18944)] (no debugging symbols found) 0xffffe410 in __kernel_vsyscall ()
+ Trace 68207
Thread 4 (Thread -1283691600 (LWP 18959))
------- Bug created by bug-buddy at 2006-05-13 19:36 ------- Bugreport had an attachment. This cannot be imported to Bugzilla. Contact bugmaster@gnome.org if you are willing to write a patch for this. Unknown version 1.4.0 in product totem. Setting version to "1.4.x".
- Is the video available somewhere online? - What version of gst-plugins-ugly do you have? $ gst-inspect-0.10 mpeg2dec | grep Version should show you. - Does this happen right at startup or only when seeking?
The video is available at http://rapidshare.de/files/20317689/vetorizando-inkscape.mpeg.html (unfortunately) The version of gst-plugins-ugly is: 0.10.3 The crash happens when the video is playing. =====Aditional Information======================= In the Linux of work(Ubuntu linux Dapper) commands line... console: f8712766@esbsa029964t146:~/Desktop$ totem vetorizando-inkscape.mpeg The program 'totem' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAlloc (insufficient resources for operation)'. (Details: serial 45 error_code 11 request_code 141 minor_code 19) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.)
This plays fine for me with GStreamer CVS, but leaks a LOT of memory in totem and with gst-launch. Re-assigning.
the cropping code refcounting is broken, fixing...
* ext/mpeg2dec/gstmpeg2dec.c: (crop_buffer), (handle_slice): Fix refcounting when cropping. Fixes #341677.