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 521263 - Cheese crashes on start
Cheese crashes on start
Status: RESOLVED FIXED
Product: cheese
Classification: Applications
Component: general
2.21.x
Other All
: High critical
: ---
Assigned To: Cheese Maintainer(s)
Cheese Maintainer(s)
Depends on: 522009
Blocks:
 
 
Reported: 2008-03-08 22:15 UTC by Rusty Jewett
Modified: 2008-03-14 10:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Rusty Jewett 2008-03-08 22:15:33 UTC
Steps to reproduce:
1. start cheese
2. 
3. 


Stack trace:
(cheese:23713): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed

(cheese:23713): GStreamer-CRITICAL **: gst_element_link_pads_filtered: assertion `GST_IS_ELEMENT (dest)' failed

(cheese:23713): GStreamer-CRITICAL **: gst_element_link_pads_filtered: assertion `GST_IS_ELEMENT (src)' failed

** ERROR **: Unable to create video save pipeline
aborting...
Trace/breakpoint trap

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0xb1ba6b90 (LWP 24808)]
0xb696210c in g_logv () from /usr/lib/libglib-2.0.so.0
(gdb) thread apply all bt

Thread 2 (Thread 0xb1ba6b90 (LWP 24808))

  • #0 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #1 g_log
    from /usr/lib/libglib-2.0.so.0
  • #2 cheese_webcam_create_video_save_bin
  • #3 cheese_webcam_init
  • #4 g_type_create_instance
    from /usr/lib/libgobject-2.0.so.0
  • #5 g_object_constructor
    from /usr/lib/libgobject-2.0.so.0
  • #6 g_object_newv
    from /usr/lib/libgobject-2.0.so.0
  • #7 g_object_new_valist
    from /usr/lib/libgobject-2.0.so.0
  • #8 g_object_new
    from /usr/lib/libgobject-2.0.so.0
  • #9 cheese_webcam_new
  • #10 setup_camera
  • #11 g_thread_create_proxy
    from /usr/lib/libglib-2.0.so.0
  • #12 start_thread
    from /lib/libpthread.so.0
  • #13 clone
    from /lib/libc.so.6


Other information:
Camera is a Logitec 9000 series USB.  Works fine using gstreamer-properties dialog, with v4l2 plugin from gstreamer-plugins-good-0.10.7 version.  Camera also works fine in Ekiga and Skype.  Has uvcvideo driver installed, as well.
Comment 1 Vincent Untz 2008-03-12 11:39:32 UTC
I can reproduce with 2.22.0. Could be because I don't have all the required gstreamer plugins? Anyway, you shouldn't use g_error() here.

(gdb) 
  • #0 __kernel_vsyscall
  • #1 raise
    from /lib/libc.so.6
  • #2 abort
    from /lib/libc.so.6
  • #3 IA__g_logv
    at gmessages.c line 497
  • #4 IA__g_log
    at gmessages.c line 517
  • #5 cheese_webcam_init
    at cheese-webcam.c line 778
  • #6 IA__g_type_create_instance
    at gtype.c line 1575
  • #7 g_object_constructor
    at gobject.c line 1046
  • #8 IA__g_object_newv
    at gobject.c line 937
  • #9 IA__g_object_new_valist
    at gobject.c line 1027
  • #10 IA__g_object_new
    at gobject.c line 795
  • #11 cheese_webcam_new
    at cheese-webcam.c line 1124
  • #12 setup_camera
    at cheese-window.c line 1177
  • #13 g_thread_create_proxy
    at gthread.c line 635
  • #14 start_thread
    from /lib/libpthread.so.0
  • #15 clone
    from /lib/libc.so.6

Comment 2 daniel g. siegel 2008-03-12 13:07:49 UTC
could you paste the output of cheese -v? i have an idea what it could be about
Comment 3 Vincent Untz 2008-03-12 13:39:09 UTC
No cheese -v output. We talked on irc, it seems it's happening because of some missing gstreamer plugins.
Comment 4 Rusty Jewett 2008-03-12 14:39:39 UTC
Output from cheese -v

Detected webcam: UVC Camera (046d:0991)
device: /dev/video0
video/x-raw-yuv 1600 x 1200 num_framerates 1
5/1 
video/x-raw-yuv 960 x 720 num_framerates 2
10/1 5/1 
video/x-raw-yuv 800 x 600 num_framerates 5
25/1 20/1 15/1 10/1 5/1 
video/x-raw-yuv 640 x 480 num_framerates 6
30/1 25/1 20/1 15/1 10/1 5/1 
video/x-raw-yuv 352 x 288 num_framerates 6
30/1 25/1 20/1 15/1 10/1 5/1 
video/x-raw-yuv 320 x 240 num_framerates 6
30/1 25/1 20/1 15/1 10/1 5/1 
video/x-raw-yuv 176 x 144 num_framerates 6
30/1 25/1 20/1 15/1 10/1 5/1 
video/x-raw-yuv 160 x 120 num_framerates 6
30/1 25/1 20/1 15/1 10/1 5/1 
v4l2src name=video_source device=/dev/video0 ! video/x-raw-yuv,width=1600,height=1200,framerate=5/1 ! identity

(cheese:2577): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed

(cheese:2577): GStreamer-CRITICAL **: gst_element_link_pads_filtered: assertion `GST_IS_ELEMENT (dest)' failed

(cheese:2577): GStreamer-CRITICAL **: gst_element_link_pads_filtered: assertion `GST_IS_ELEMENT (src)' failed

** ERROR **: Unable to create video save pipeline
aborting...
Trace/breakpoint trap
Comment 5 daniel g. siegel 2008-03-12 14:58:02 UTC
ok it seems that you guys are missing the "oggmux" gstreamer plugin. could you confirm?
Comment 6 Rusty Jewett 2008-03-12 15:44:29 UTC
I am not sure how to check for that specific plugin, but I have installed this rpm: gstreamer010-plugins-base-0.10.14-9.3.i586.rpm

I believe this rpm is supposed to have oggmux.

I just reinstalled from the rpm just to make sure, and had the same results as above.

I can try installing from the source files from the gstreamer site, but before I do that, is there a command I can use to determine if that particular plugin is set up correctly on this machine?

Thanks
Comment 7 daniel g. siegel 2008-03-12 16:31:00 UTC
sure: gst-inspect oggmux
Comment 8 Rusty Jewett 2008-03-13 21:28:39 UTC
gst-inspect oggmux

outputs (as you correctly deduced):
No such element or plugin 'oggmux'

So this appears to be the fix for the bug.  However, I do not know why it returns this message.  I have verified that the following packages are installed:
gstreamer010-plugins-base-0.10.17
libogg-1.1.3
libvorbis-1.2.0
vorbis-tools-1.2.0

I think it is safe to conclude that this is not a bug in cheese, so I will change its status to fixed.

I do still have to figure out why oggmux appears not to be installed...
Comment 9 daniel g. siegel 2008-03-13 21:37:15 UTC
in my distribution, i have a separate package called gstreamer-ogg, please check which gst packages are available and see what is missing. i would be glad if we could check that when installing.

http://bugzilla.gnome.org/show_bug.cgi?id=522009 tracks the fact that cheese is crashing if some plugins arent available.

closing this bug.
Comment 10 Vincent Untz 2008-03-14 00:51:21 UTC
daniel: just curious, what's the point of opening another bug? This bug was already about the fact that cheese is crashing if some plugins are not available :-)
Comment 11 daniel g. siegel 2008-03-14 00:52:57 UTC
well, this is about oggmux... we dont know yet if other plugins could be missing too