Totem Crashes on Certain .mpg Files

Bug #32566 reported by Lukas Sabota
16
Affects Status Importance Assigned to Milestone
gstreamer plugins
Fix Released
Medium
gst-plugins-ugly0.10 (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

When opening certain .mpg files, totem will begin to load but then crash. When launching $totem mediafilename.mpg, this output is displayed on the console:
(totem:12732): GStreamer-CRITICAL **: gst_object_ref: assertion `GST_IS_OBJECT (object)' failed
Segmentation fault

I have gstreamer0.10-bad, gstreamer0.10-good, and gstreamer0.10-ugly installed.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. I've a .mpg on my disk and totem plays it just fine with the gstreamer0.10-plugins-ugly package installed. Do you have any URL to .mpg producing that bug. If not could you put one somewhere for download (feel free to point it by mail if you don't want to put the URL on the bug tracker)? Media bugs are not easy to fix without having an example exibing the issue

Could you get a backtrace of the crash:
- gdb totem
(gdb) run
... crahs
(gdb) thread apply all bt

and copy that to a comment

Changed in totem:
assignee: nobody → desktop-bugs
Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Should this bug be put into the needinfo state?

Revision history for this message
Daniel Holbach (dholbach) wrote :

Yes, thanks.

Changed in totem:
status: Unconfirmed → Needs Info
Revision history for this message
Claudio André (claudioandre.br) wrote :
Download full text (15.7 KiB)

Playing
http://www.novell.com/linux/xglrelease/transparency.mpg

Related to Bug #33325.

Trying to seek a position inside the file.

-------
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1953598384 (LWP 11018)]
0x74853e46 in mpeg2_init_fbuf () from /usr/lib/libmpeg2.so.0
(gdb) thread apply all bt

Thread 16 (Thread 1881672624 (LWP 11033)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0x772c1eec in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0x772cd5dc in ?? () from /usr/lib/libgthread-2.0.so.0
#3 0x084ab648 in ?? ()
#4 0x080b3768 in ?? ()
#5 0x70280394 in ?? ()
#6 0x77bf67f1 in gst_object_unref () from /usr/lib/libgstreamer-0.10.so.0
#7 0x771f2d8c in g_async_queue_push_sorted () from /usr/lib/libglib-2.0.so.0
#8 0x77226398 in g_thread_pool_free () from /usr/lib/libglib-2.0.so.0
#9 0x77224482 in g_static_private_free () from /usr/lib/libglib-2.0.so.0
#10 0x772bf341 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0x7709852e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 15 (Thread 1881672624 (LWP 11033)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0x772c1eec in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0x772cd5dc in ?? () from /usr/lib/libgthread-2.0.so.0
#3 0x084ab648 in ?? ()
#4 0x080b3768 in ?? ()
---Type <return> to continue, or q <return> to quit---
#5 0x70280394 in ?? ()
#6 0x77bf67f1 in gst_object_unref () from /usr/lib/libgstreamer-0.10.so.0
#7 0x771f2d8c in g_async_queue_push_sorted () from /usr/lib/libglib-2.0.so.0
#8 0x77226398 in g_thread_pool_free () from /usr/lib/libglib-2.0.so.0
#9 0x77224482 in g_static_private_free () from /usr/lib/libglib-2.0.so.0
#10 0x772bf341 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0x7709852e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 14 (Thread 1945205680 (LWP 11025)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0x772c1c76 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0x76d2958d in gst_queue_get_type ()
   from /usr/lib/gstreamer-0.10/libgstcoreelements.so
#3 0x77c311b7 in gst_task_get_type () from /usr/lib/libgstreamer-0.10.so.0
#4 0x772262f6 in g_thread_pool_free () from /usr/lib/libglib-2.0.so.0
#5 0x77224482 in g_static_private_free () from /usr/lib/libglib-2.0.so.0
#6 0x772bf341 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0x7709852e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 13 (Thread 1891675056 (LWP 11024)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0x772c1c76 in pthread_cond_wait@@GLIBC_2.3.2 ()
---Type <return> to continue, or q <return> to quit---
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0x77d2a6f2 in gst_audio_sink_get_type ()
   from /usr/lib/libgstaudio-0.10.so.0
#3 0x77224482 in g_static_private_free () from /usr/lib/libglib-2.0.so.0
#4 0x772bf341 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5 0x7709852e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 12 (Thread 1900170160 (LWP 11023)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0x772c1c76 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread...

Revision history for this message
Daniel Holbach (dholbach) wrote :

Could you try with the newest versions and report back? It works nicely for me.

Revision history for this message
Claudio André (claudioandre.br) wrote :

Not yet. Totem 1.4.0, GStreamer 0.10.4.

When i try to seek a position, going forward and backwark using the time scrollbar, i receive the error.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for the comment and example, I've forwarded the issue upstream: http://bugzilla.gnome.org/show_bug.cgi?id=335288

Changed in totem:
status: Needs Info → Confirmed
Revision history for this message
Lukas Sabota (punkrockguy318) wrote :

I can still confirm this on latest dapper

Changed in gst-plugins:
status: Confirmed → Fix Released
Revision history for this message
Antonio Amaro (ajsamaro) wrote :

I've noticed that too.

Totem crashes with .mpg fifes riped with AcidRip maybe cause it uses MPlayer encoding libs (or mencode if you prefer).

Works fine with other .mpg files.

I've not tried yet but I thing it hapens with files encoded with subtitels apart (in other file) an option of AcidRip that may be a good idea if you are going to edit the file with other tools But it seems to bug Totem that doesn't suport subtitels.

(sory the poor english)

Keep the good work!

Revision history for this message
Martin Bergner (martin-bergner) wrote :

The bug has been fixed upstream

Changed in gst-plugins-ugly0.10:
status: Confirmed → Fix Committed
Revision history for this message
Sebastian Dröge (slomo) wrote :

This should be fixed with 0.10.4-0ubuntu1 which was uploaded to edgy some minutes ago.

Changed in gst-plugins-ugly0.10:
status: Fix Committed → Fix Released
Changed in gst-plugins:
importance: Unknown → Medium
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.