RE: cheese-3.10.2 does not detect webcam but guvcview does
- From: John Frankish <j-frankish slb com>
- To: "cheese-list gnome org" <cheese-list gnome org>
- Subject: RE: cheese-3.10.2 does not detect webcam but guvcview does
- Date: Sat, 24 May 2014 13:43:06 +0000
-----Original Message-----
From: John Frankish
Sent: Thursday, 22 May, 2014 17:33
To: 'cheese-list gnome org'
Subject: cheese-3.10.2 does not detect webcam but guvcview does
Using cheese-3.10.2 compiled from scratch, the integrated webcam on
my dell e6220 is not detected, but using guvcview it works fine.
Various output pasted below, what trouble-shooting steps could I try?
Regards
John
I did some more checking and found:
$ cheese --device=/dev/video1
...
(cheese:9922): GStreamer-CRITICAL **: gst_bin_add: assertion
'GST_IS_ELEMENT (element)' failed
There's a required element that's missing (which probably means that
cheese expects it to be there, but your installation is broken, or Cheese isn't
checking for it correctly).
Try running:
G_DEBUG=fatal_warnings gdb --args cheese --device=/dev/video1
Type "run" at the gdb prompt, and type "bt" when the first happens. If the
first warning isn't the one generating the warning above, type "continue".
This sort of warning is probably better reported in Bugzilla though, and using
the latest version of Cheese (3.12.1) would be a good idea.
Thanks for the suggestion - here's what I got:
$ G_DEBUG=fatal_warnings gdb --args cheese --device=/dev/video0
GNU gdb (GDB) 7.5.1
...
(gdb) run
Starting program: /usr/local/bin/cheese --device=/dev/video1
(cheese:25641): GStreamer-CRITICAL **: gst_bin_add: assertion 'GST_IS_ELEMENT (element)' failed
Program received signal SIGTRAP, Trace/breakpoint trap.
0x00007fffecf924ca in g_logv () from /usr/local/lib/libglib-2.0.so.0
(gdb) bt
#0 0x00007fffecf924ca in g_logv () from /usr/local/lib/libglib-2.0.so.0
#1 0x00007fffecf9259d in g_log () from /usr/local/lib/libglib-2.0.so.0
#2 0x00007ffff65c7770 in gst_bin_add () from /usr/local/lib/libgstreamer-1.0.so.0
#3 0x00007ffff65deb22 in ?? () from /usr/local/lib/libgstreamer-1.0.so.0
#4 0x00007ffff659c12a in gst_parse_launch_full () from /usr/local/lib/libgstreamer-1.0.so.0
#5 0x00007ffff65dd43f in gst_parse_bin_from_description_full () from /usr/local/lib/libgstreamer-1.0.so.0
#6 0x000000000040f0d3 in ?? ()
#7 0x00007fffecf82812 in g_hash_table_foreach () from /usr/local/lib/libglib-2.0.so.0
#8 0x00000000004122ed in cheese_effects_manager_load_effects ()
#9 0x000000000040cee0 in cheese_main_window_setup_ui ()
#10 0x00000000004174b0 in ?? ()
#11 0x00007fffed42d4c7 in g_signal_emit_valist () from /usr/local/lib/libgobject-2.0.so.0
#12 0x00007fffed43f2ee in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.0
#13 0x00000000004133c9 in ?? ()
#14 0x00007fffee2d4d19 in g_application_run () from /usr/local/lib/libgio-2.0.so.0
#15 0x0000000000416b34 in _vala_main ()
#16 0x00007fffec780468 in __libc_start_main () from /lib/libc.so.6
#17 0x000000000040bc15 in _start ()
(gdb) continue
Continuing.
(cheese:18094): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion 'G_IS_OBJECT (object)' failed
Program received signal SIGTRAP, Trace/breakpoint trap.
0x00007fffecf924ca in g_logv () from /usr/local/lib/libglib-2.0.so.0
(gdb) bt
#0 0x00007fffecf924ca in g_logv () from /usr/local/lib/libglib-2.0.so.0
#1 0x00007fffecf9259d in g_log () from /usr/local/lib/libglib-2.0.so.0
#2 0x00007fffed4271fd in g_object_ref_sink () from /usr/local/lib/libgobject-2.0.so.0
#3 0x000000000040f0de in ?? ()
#4 0x00007fffecf82812 in g_hash_table_foreach () from /usr/local/lib/libglib-2.0.so.0
#5 0x00000000004122ed in cheese_effects_manager_load_effects ()
#6 0x000000000040cee0 in cheese_main_window_setup_ui ()
#7 0x00000000004174b0 in ?? ()
#8 0x00007fffed42d4c7 in g_signal_emit_valist () from /usr/local/lib/libgobject-2.0.so.0
#9 0x00007fffed43f2ee in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.0
#10 0x00000000004133c9 in ?? ()
#11 0x00007fffee2d4d19 in g_application_run () from /usr/local/lib/libgio-2.0.so.0
#12 0x0000000000416b34 in _vala_main ()
#13 0x00007fffec780468 in __libc_start_main () from /lib/libc.so.6
#14 0x000000000040bc15 in _start ()
(gdb) continue
Continuing.
** Message: cheese-application.vala:291: Error during camera setup: No device found
(cheese:25641): cheese-CRITICAL **: cheese_camera_device_get_device_node: assertion 'CHEESE_IS_CAMERA_DEVICE
(device)' failed
Program received signal SIGTRAP, Trace/breakpoint trap.
0x00007fffecf924ca in g_logv () from /usr/local/lib/libglib-2.0.so.0
(gdb) bt
#0 0x00007fffecf924ca in g_logv () from /usr/local/lib/libglib-2.0.so.0
#1 0x00007fffecf9259d in g_log () from /usr/local/lib/libglib-2.0.so.0
#2 0x00007ffff7bd8f98 in cheese_camera_device_get_device_node () from /usr/local/lib/libcheese.so.7
#3 0x0000000000411f77 in cheese_preferences_dialog_construct ()
#4 0x000000000041750a in ?? ()
#5 0x00007fffed42d4c7 in g_signal_emit_valist () from /usr/local/lib/libgobject-2.0.so.0
#6 0x00007fffed43f2ee in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.0
#7 0x00000000004133c9 in ?? ()
#8 0x00007fffee2d4d19 in g_application_run () from /usr/local/lib/libgio-2.0.so.0
#9 0x0000000000416b34 in _vala_main ()
#10 0x00007fffec780468 in __libc_start_main () from /lib/libc.so.6
#11 0x000000000040bc15 in _start ()
(gdb)
(gdb) continue
Continuing.
(cheese:25641): GLib-CRITICAL **: g_variant_new_string: assertion 'string != NULL' failed
Program received signal SIGTRAP, Trace/breakpoint trap.
0x00007fffecf924ca in g_logv () from /usr/local/lib/libglib-2.0.so.0
(gdb) bt
#0 0x00007fffecf924ca in g_logv () from /usr/local/lib/libglib-2.0.so.0
#1 0x00007fffecf9259d in g_log () from /usr/local/lib/libglib-2.0.so.0
#2 0x00007fffecf8b739 in g_variant_new_string () from /usr/local/lib/libglib-2.0.so.0
#3 0x00007fffee32f53e in g_settings_set_string () from /usr/local/lib/libgio-2.0.so.0
#4 0x0000000000411f87 in cheese_preferences_dialog_construct ()
#5 0x000000000041750a in ?? ()
#6 0x00007fffed42d4c7 in g_signal_emit_valist () from /usr/local/lib/libgobject-2.0.so.0
#7 0x00007fffed43f2ee in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.0
#8 0x00000000004133c9 in ?? ()
#9 0x00007fffee2d4d19 in g_application_run () from /usr/local/lib/libgio-2.0.so.0
#10 0x0000000000416b34 in _vala_main ()
#11 0x00007fffec780468 in __libc_start_main () from /lib/libc.so.6
#12 0x000000000040bc15 in _start ()
(gdb)
(gdb) continue
Continuing.
(cheese:25641): GLib-GIO-CRITICAL **: g_settings_set_value: key 'camera' in 'org.gnome.Cheese' expects type
's', but a GVariant of type '(null)' was given
Program received signal SIGTRAP, Trace/breakpoint trap.
0x00007fffecf924ca in g_logv () from /usr/local/lib/libglib-2.0.so.0
(gdb) bt
#0 0x00007fffecf924ca in g_logv () from /usr/local/lib/libglib-2.0.so.0
#1 0x00007fffecf9259d in g_log () from /usr/local/lib/libglib-2.0.so.0
#2 0x00007fffee32f38b in g_settings_set_value () from /usr/local/lib/libgio-2.0.so.0
#3 0x0000000000411f87 in cheese_preferences_dialog_construct ()
#4 0x000000000041750a in ?? ()
#5 0x00007fffed42d4c7 in g_signal_emit_valist () from /usr/local/lib/libgobject-2.0.so.0
#6 0x00007fffed43f2ee in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.0
#7 0x00000000004133c9 in ?? ()
#8 0x00007fffee2d4d19 in g_application_run () from /usr/local/lib/libgio-2.0.so.0
#9 0x0000000000416b34 in _vala_main ()
#10 0x00007fffec780468 in __libc_start_main () from /lib/libc.so.6
#11 0x000000000040bc15 in _start ()
(gdb)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]