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



-----Original Message-----
From: Bastien Nocera [mailto:hadess hadess net]
Sent: Monday, 26 May, 2014 14:15
To: John Frankish
Cc: cheese-list gnome org
Subject: Re: cheese-3.10.2 does not detect webcam but guvcview does

On Sat, 2014-05-24 at 15:07 +0000, John Frankish wrote:
#6  0x000000000040f0d3 in cheese_effects_manager_add_effect
(effect=<optimized out>, name=<optimized out>, self=0x1ed5610)
    at src/cheese-effects-manager.c:222

Still missing important debug information I'm afraid.

'seems the trick is to compile with "-ggdb"

$ G_DEBUG=fatal_warnings gdb --args cheese --device=/dev/video0
GNU gdb (GDB) 7.5.1
...
Reading symbols from /usr/local/bin/cheese...done.
(gdb) run
Starting program: /usr/local/bin/cheese --device=/dev/video0
...
(cheese:11206): GStreamer-CRITICAL **: gst_bin_add: assertion 'GST_IS_ELEMENT (element)' failed

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00007fffecf1700e in g_logv () from /usr/local/lib/libglib-2.0.so.0
(gdb) bt
#0  0x00007fffecf1700e in g_logv () from /usr/local/lib/libglib-2.0.so.0
#1  0x00007fffecf1717f in g_log () from /usr/local/lib/libglib-2.0.so.0
#2  0x00007ffff659e191 in gst_bin_add () from /usr/local/lib/libgstreamer-1.0.so.0
#3  0x00007ffff65b06ec in priv_gst_parse_yyparse () from /usr/local/lib/libgstreamer-1.0.so.0
#4  0x00007ffff6575f16 in gst_parse_launch_full () from /usr/local/lib/libgstreamer-1.0.so.0
#5  0x00007ffff65ae7ec in gst_parse_bin_from_description_full () from /usr/local/lib/libgstreamer-1.0.so.0
#6  0x0000000000423839 in cheese_effects_manager_add_effect (self=0x1e80840, name=0x1e6abd0 "Time delay", 
effect=0x1e6a720)
    at src/cheese-effects-manager.c:222
#7  0x0000000000423376 in _cheese_effects_manager_add_effect_gh_func (key=0x1e6abd0, value=0x1e6a720, 
self=0x1e80840)
    at src/cheese-effects-manager.c:121
#8  0x00007fffecefc080 in g_hash_table_foreach () from /usr/local/lib/libglib-2.0.so.0
#9  0x00000000004235b9 in cheese_effects_manager_load_effects (self=0x1e80840) at 
src/cheese-effects-manager.c:174
#10 0x0000000000416886 in cheese_main_window_setup_effects_selector.5301 (self=0x1c9b880) at 
src/cheese-window.c:2555
#11 0x00000000004146ae in cheese_main_window_setup_ui (self=0x1c9b880) at src/cheese-window.c:3359
#12 0x000000000042702a in cheese_application_common_init.2717 (self=0x6471a0) at src/cheese-application.c:499
#13 0x00000000004272e4 in cheese_application_real_activate.2689 (base=0x6471a0) at 
src/cheese-application.c:542
#14 0x00007fffed3ca5fd in g_signal_emit_valist () from /usr/local/lib/libgobject-2.0.so.0
#15 0x00007fffed3def3f in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.0
#16 0x0000000000427ac7 in cheese_application_real_local_command_line.2692 (base=0x6471a0, 
argv=0x7fffffffe960, 
    exit_status=0x7fffffffe95c) at src/cheese-application.c:718
#17 0x00007fffee284e22 in g_application_run () from /usr/local/lib/libgio-2.0.so.0
#18 0x000000000040f4b8 in _vala_main (args=0x7fffffffeaf8, args_length1=2) at src/cheese-main.c:68
#19 0x000000000040f50c in main (argc=2, argv=0x7fffffffeaf8) at src/cheese-main.c:78



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