GNOME Bugzilla – Bug 530535
Trying to open anything with gstreamer
Last modified: 2008-05-06 03:55:30 UTC
Steps to reproduce: it had to do with uninstalling gstreamer and re-installing it. Now nothing works when using gstreamer, totem crashes as soon as it starts, rhythmbox crashes when u try to play anything, i have all plugins installed Stack trace: (totem:7821): GStreamer-CRITICAL **: gst_object_ref: assertion `object != NULL' failed (totem:7821): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed (totem:7821): GStreamer-CRITICAL **: gst_element_set_bus: assertion `GST_IS_ELEMENT (element)' failed (totem:7821): GStreamer-CRITICAL **: gst_element_set_state: assertion `GST_IS_ELEMENT (element)' failed Segmentation fault Other information:
What distro and distro version? Could you do this please: $ gst-inspect-0.10 filesrc | grep Version $ gst-inspect-0.10 playbin | grep Version $ gst-inspect-0.10 autoaudiosink | grep Version and then this: $ G_DEBUG=fatal_warnings gdb /usr/bin/totem ... (gdb) run ... play something ... ... wait for crash ... (gdb) thread apply all bt ... paste output from here ... (gdb) kill (gdb) quit
I tried but me being a newbie and all doesnt really help the matter. firstly i am using hardy. follows is the output from the terminal, i couldnt do the "... play something ..." step as totem hangs before getting there. help this helps: dodo@fridge-iii:~$ gst-inspect-0.10 filesrc | grep Version dodo@fridge-iii:~$ gst-inspect-0.10 playbin | grep Version Version: 0.10.18 dodo@fridge-iii:~$ gst-inspect-0.10 autoaudiosink | grep Version (gst-inspect-0.10:8953): GStreamer-CRITICAL **: gst_bin_add: assertion `GST_IS_ELEMENT (element)' failed (gst-inspect-0.10:8953): GStreamer-CRITICAL **: gst_element_get_pad: assertion `GST_IS_ELEMENT (element)' failed (gst-inspect-0.10:8953): GStreamer-CRITICAL **: gst_object_unref: assertion `object != NULL' failed Version: 0.10.7 dodo@fridge-iii:~$ G_DEBUG=fatal_warnings gdb /usr/bin/totem GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu"... (no debugging symbols found) (gdb) run Starting program: /usr/bin/totem (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) ---Type <return> to continue, or q <return> to quit--- (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) ---Type <return> to continue, or q <return> to quit--- (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) ---Type <return> to continue, or q <return> to quit--- (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) ---Type <return> to continue, or q <return> to quit--- (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [New Thread 0xb66bf740 (LWP 8957)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) ---Type <return> to continue, or q <return> to quit--- (no debugging symbols found) GStreamer-CRITICAL **: gst_object_ref: assertion `object != NULL' failed aborting... Program received signal SIGABRT, Aborted. [Switching to Thread 0xb66bf740 (LWP 8957)] 0xb7f83410 in __kernel_vsyscall () (gdb) thread apply all bt
+ Trace 196435
Thread 1 (Thread 0xb66bf740 (LWP 8957))
Kill the program being debugged? (y or n) y (gdb) quit
Could you install gstreamer0.10-plugins-good-dbg? Also, what settings for the audio and video sinks do you have? Please call "gconftool-2 -a /system/gstreamer/0.10/default" for this and put the output in this bug...
Of course I meant, that you should try to get a backtrace again after installing gstreamer0.10-plugins-good-dbg ;)
until i get the back trace: dodo@fridge-iii:~$ gconftool-2 -a /system/gstreamer/0.10/default videosink = autovideosink chataudiosink = autoaudiosink musicaudiosink_description = ALC883 Analog audiosrc = alsasrc videosrc = v4l2src audiosink = autoaudiosink musicaudiosink = autoaudiosink visualization = goom audiosink_description = ALC883 Analog chataudiosink_description = ALC883 Analog audiosrc_description = ALSA - Advanced Linux Sound Architecture
i've installed gstreamer0.10-plugins-good-dbg but the output of the backtrace is quite the same: dodo@fridge-iii:~$ G_DEBUG=fatal_warnings gdb /usr/bin/totem GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu"... (no debugging symbols found) (gdb) run Starting program: /usr/bin/totem (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) ---Type <return> to continue, or q <return> to quit--- (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) ---Type <return> to continue, or q <return> to quit--- (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) ---Type <return> to continue, or q <return> to quit--- (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) ---Type <return> to continue, or q <return> to quit--- (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [New Thread 0xb6662740 (LWP 9226)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) GStreamer-CRITICAL **: gst_object_ref: assertion `object != NULL' failed aborting... ---Type <return> to continue, or q <return> to quit--- Program received signal SIGABRT, Aborted. [Switching to Thread 0xb6662740 (LWP 9226)] 0xb7f26410 in __kernel_vsyscall () (gdb) thread apply all bt
+ Trace 196439
Thread 1 (Thread 0xb6662740 (LWP 9226))
Sebastian?
This really looks like your gstreamer installation is completely broken. Does /usr/lib/gstreamer-0.10/libgstcoreelements.so exist and does gst-inspect-0.10 fakesink give you any sensible output?
Btw, to explain things a bit more... your gstreamer fails to create autoaudiosink _and_ fakesink :)
This commit to -good should at least make it not segfault anymore for you and just give an error message. Still this shouldn't happen at all, would be nice to know why you can't create fakesink ;) 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org> * ext/gconf/gstgconfaudiosrc.c: (gst_gconf_audio_src_reset), (gst_gconf_audio_src_change_state): * ext/gconf/gstgconfvideosink.c: (gst_gconf_video_sink_reset), (gst_gconf_video_sink_change_state): * ext/gconf/gstgconfvideosrc.c: (gst_gconf_video_src_reset), (gst_gconf_video_src_change_state): * ext/gconf/gstswitchsink.c: (gst_switch_sink_reset), (gst_switch_commit_new_kid), (gst_switch_sink_change_state): When we can't create a fakesink/fakesrc complain instead of unreffing NULL pointers and crashing later. See bug #530535.
actually the file /usr/lib/gstreamer-0.10/libgstcoreelements.so does not exist and when i gst-inspect-0.10 fakesink i get "No such element or plugin 'fakesink'", does that clear anything up?
Yes, please install libgstreamer0.10-0 (and while we're at it libgstreamer-plugins-base0.10-0, gstreamer0.10-plugins-base, etc) :) Your system seems to be quite broken dependency-wise ;)
dude i actually found all three libs already installed, i thought of uninstalling them but didnt have the heart cuz the if i uninstalled libgstreamer0.10-0 i'd be uninstalling so much stuff it'll be really hard to re-install, lets keep this as a last option, any other ideas?
Try apt-get install --reinstall libgstreamer0.10-0 libgstreamer-plugins-base0.10-0 gstreamer0.10-plugins-base Also, what's the output of dpkg -l | grep gst