After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 341677 - massive memory leak with mpeg2 video in AVI
massive memory leak with mpeg2 video in AVI
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-ugly
git master
Other other
: High critical
: 0.10.4
Assigned To: Wim Taymans
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-05-13 19:35 UTC by Rodrigo Messias Barros
Modified: 2006-07-10 11:53 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Rodrigo Messias Barros 2006-05-13 19:36:13 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 ()

Thread 4 (Thread -1283691600 (LWP 18959))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 __kernel_vsyscall
  • #5 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #6 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #7 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #8 g_log
    from /usr/lib/libglib-2.0.so.0
  • #9 g_malloc
    from /usr/lib/libglib-2.0.so.0
  • #10 gst_buffer_new_and_alloc
    from /usr/lib/libgstreamer-0.10.so.0
  • #11 gst_mpeg2dec_get_type
    from /usr/lib/gstreamer-0.10/libgstmpeg2dec.so
  • #12 gst_mpeg2dec_get_type
    from /usr/lib/gstreamer-0.10/libgstmpeg2dec.so
  • #13 gst_pad_chain
    from /usr/lib/libgstreamer-0.10.so.0
  • #14 gst_pad_push
    from /usr/lib/libgstreamer-0.10.so.0
  • #15 gst_queue_get_type
    from /usr/lib/gstreamer-0.10/libgstcoreelements.so
  • #16 gst_task_get_type
    from /usr/lib/libgstreamer-0.10.so.0
  • #17 g_thread_pool_free
    from /usr/lib/libglib-2.0.so.0
  • #18 g_static_private_free
    from /usr/lib/libglib-2.0.so.0
  • #19 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #20 clone
    from /lib/tls/i686/cmov/libc.so.6




------- 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".

Comment 1 Tim-Philipp Müller 2006-05-19 10:42:50 UTC
 - 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?
Comment 2 Rodrigo Messias Barros 2006-05-19 17:46:57 UTC
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.)


Comment 3 Tim-Philipp Müller 2006-06-30 18:20:24 UTC
This plays fine for me with GStreamer CVS, but leaks a LOT of memory in totem and   with gst-launch. Re-assigning.
Comment 4 Wim Taymans 2006-07-10 11:27:59 UTC
the cropping code refcounting is broken, fixing...
Comment 5 Wim Taymans 2006-07-10 11:53:16 UTC
        * ext/mpeg2dec/gstmpeg2dec.c: (crop_buffer), (handle_slice):
        Fix refcounting when cropping. Fixes #341677.