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 530535 - Trying to open anything with gstreamer
Trying to open anything with gstreamer
Status: RESOLVED NOTGNOME
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.10.x
Other All
: Normal critical
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-04-29 10:56 UTC by Ahmed Mahfouz
Modified: 2008-05-06 03:55 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Ahmed Mahfouz 2008-04-29 10:56:40 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:
Comment 1 Tim-Philipp Müller 2008-04-29 11:10:04 UTC
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
Comment 2 Ahmed Mahfouz 2008-04-29 12:02:56 UTC
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

Thread 1 (Thread 0xb66bf740 (LWP 8957))

  • #0 __kernel_vsyscall
  • #1 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #2 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #3 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #4 g_log
    from /usr/lib/libglib-2.0.so.0
  • #5 g_return_if_fail_warning
    from /usr/lib/libglib-2.0.so.0
  • #6 gst_object_ref
    from /usr/lib/libgstreamer-0.10.so.0
  • #7 ??
    from /usr/lib/gstreamer-0.10/libgstgconfelements.so
  • #8 ??
Kill the program being debugged? (y or n) y
(gdb) quit
Comment 3 Sebastian Dröge (slomo) 2008-04-29 12:20:11 UTC
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...
Comment 4 Sebastian Dröge (slomo) 2008-04-29 12:21:46 UTC
Of course I meant, that you should try to get a backtrace again after installing gstreamer0.10-plugins-good-dbg ;)
Comment 5 Ahmed Mahfouz 2008-04-29 12:25:28 UTC
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
Comment 6 Ahmed Mahfouz 2008-04-29 12:28:27 UTC
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

Thread 1 (Thread 0xb6662740 (LWP 9226))

  • #0 __kernel_vsyscall
  • #1 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #2 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #3 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #4 g_log
    from /usr/lib/libglib-2.0.so.0
  • #5 g_return_if_fail_warning
    from /usr/lib/libglib-2.0.so.0
  • #6 gst_object_ref
    from /usr/lib/libgstreamer-0.10.so.0
  • #7 gst_switch_sink_set_child
    at gstswitchsink.c line 147
  • #8 gst_switch_sink_reset
    at gstswitchsink.c line 86
  • #9 g_type_create_instance
    from /usr/lib/libgobject-2.0.so.0
  • #10 ??
    from /usr/lib/libgobject-2.0.so.0
  • #11 ??
  • #12 ??
  • #13 ??

Comment 7 Ahmed Mahfouz 2008-05-02 02:44:25 UTC
Sebastian?
Comment 8 Sebastian Dröge (slomo) 2008-05-02 10:19:55 UTC
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?
Comment 9 Sebastian Dröge (slomo) 2008-05-02 10:23:14 UTC
Btw, to explain things a bit more... your gstreamer fails to create autoaudiosink _and_ fakesink :)
Comment 10 Sebastian Dröge (slomo) 2008-05-03 09:19:03 UTC
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.
Comment 11 Ahmed Mahfouz 2008-05-04 21:37:13 UTC
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?
Comment 12 Sebastian Dröge (slomo) 2008-05-05 05:35:44 UTC
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 ;)
Comment 13 Ahmed Mahfouz 2008-05-05 21:35:16 UTC
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?
Comment 14 Sebastian Dröge (slomo) 2008-05-06 03:55:30 UTC
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