Re: cheese-3.10.2 does not detect webcam but guvcview does



On Sat, 2014-05-24 at 13:43 +0000, John Frankish wrote:
-----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 ()

Your version of cheese lacks debug information, making the backtrace
useless.

(gdb) continue

You don't need to continue, the first error is the one you need to fix
before carrying on.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]