Bug#696727: cheese does not start with Gtk-Warning

Jonathan Dowland jmtd at debian.org
Wed Mar 27 21:33:23 UTC 2013


On Wed, Mar 27, 2013 at 09:16:17PM +0000, Jonathan Dowland wrote:
> You are perhaps correct that those errors are a red herring. Nevertheless I
> have a bt with G_DEBUG=fatal-warnings, attached in case it's useful.

Actually attached.
-------------- next part --------------
$ gdb ./.libs/cheese 
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 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 "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/jon/wd/cheese-3.4.2/.libs/cheese...done.
(gdb) run
Starting program: /home/jon/wd/cheese-3.4.2/.libs/cheese 
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe9385700 (LWP 13264)]
[New Thread 0x7fffe88ea700 (LWP 13265)]

(cheese:13261): Gtk-WARNING **: Attempting to add a widget with type GtkImage to a GtkToggleButton, but as a GtkBin subclass a GtkToggleButton can only contain one widget at a time; it already contains a widget of type GtkLabel

Program received signal SIGTRAP, Trace/breakpoint trap.
g_logv (log_domain=0x7ffff6592ff7 "Gtk", log_level=G_LOG_LEVEL_WARNING, 
    format=0x7ffff659eb18 "Attempting to add a widget with type %s to a %s, but as a GtkBin subclass a %s can only contain one widget at a time; it already contains a widget of type %s", 
    args1=args1 at entry=0x7fffffffda98) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmessages.h:101
101	/tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmessages.h: No such file or directory.
(gdb) bt
#0  g_logv (log_domain=0x7ffff6592ff7 "Gtk", log_level=G_LOG_LEVEL_WARNING, 
    format=0x7ffff659eb18 "Attempting to add a widget with type %s to a %s, but as a GtkBin subclass a %s can only contain one widget at a time; it already contains a widget of type %s", 
    args1=args1 at entry=0x7fffffffda98) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmessages.h:101
#1  0x00007ffff55a2622 in g_log (log_domain=log_domain at entry=0x7ffff6592ff7 "Gtk", 
    log_level=log_level at entry=G_LOG_LEVEL_WARNING, 
    format=format at entry=0x7ffff659eb18 "Attempting to add a widget with type %s to a %s, but as a GtkBin subclass a %s can only contain one widget at a time; it already contains a widget of type %s")
    at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmessages.c:792
#2  0x00007ffff633fc98 in gtk_bin_add (container=<optimized out>, child=0x17c8410)
    at /tmp/buildd/gtk+3.0-3.4.2/./gtk/gtkbin.c:124
#3  0x00007ffff585db54 in g_cclosure_marshal_VOID__OBJECTv (closure=0x64a460, 
    return_value=<optimized out>, instance=0x17c02a0, args=<optimized out>, marshal_data=<optimized out>, 
    n_params=<optimized out>, param_types=0x64a4d0)
    at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./gobject/gmarshal.c:1312
#4  0x00007ffff585a9a7 in _g_closure_invoke_va (closure=0x64a460, return_value=0x0, instance=0x17c02a0, 
    args=0x7fffffffdec8, n_params=1, param_types=0x64a4d0)
    at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./gobject/gclosure.c:840
#5  0x00007ffff5873006 in g_signal_emit_valist (instance=0x17c02a0, signal_id=<optimized out>, detail=0, 
    var_args=var_args at entry=0x7fffffffdec8)
    at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./gobject/gsignal.c:3211
#6  0x00007ffff5873852 in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, 
    detail=<optimized out>) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./gobject/gsignal.c:3356
#7  0x00007ffff6346b42 in _gtk_builder_add (builder=0x16350f0, child_info=child_info at entry=0x1775500)
    at /tmp/buildd/gtk+3.0-3.4.2/./gtk/gtkbuilder.c:765
#8  0x00007ffff634b248 in end_element (error=0x7fffffffe058, user_data=0x174b4a0, 
    element_name=0x17d94e0 "child", context=<optimized out>)
    at /tmp/buildd/gtk+3.0-3.4.2/./gtk/gtkbuilderparser.c:1042
#9  end_element (context=<optimized out>, element_name=<optimized out>, user_data=0x174b4a0, 
    error=0x7fffffffe058) at /tmp/buildd/gtk+3.0-3.4.2/./gtk/gtkbuilderparser.c:927
#10 0x00007ffff559f498 in g_markup_parse_context_parse (context=0x17bdd40, 
    text=text at entry=0x17c3f90 "<?xml version=\"1.0\"?>\n<interface>\n  <requires lib=\"gtk+\" version=\"2.16\"/>\n  <object class=\"GtkGrid\" id=\"mainbox_normal\">\n    <property name=\"orientation\">vertical</property>\n    <property name=\"events"..., text_len=<optimized out>, text_len at entry=13557, 
    error=error at entry=0x7fffffffe118) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./glib/gmarkup.c:1559
#11 0x00007ffff634b677 in _gtk_builder_parser_parse_buffer (builder=builder at entry=0x16350f0, 
    filename=filename at entry=0x1647060 "/usr/share/cheese/cheese-main-window.ui", 
    buffer=0x17c3f90 "<?xml version=\"1.0\"?>\n<interface>\n  <requires lib=\"gtk+\" version=\"2.16\"/>\n  <object class=\"GtkGrid\" id=\"mainbox_normal\">\n    <property name=\"orientation\">vertical</property>\n    <property name=\"events"..., length=13557, requested_objs=requested_objs at entry=0x0, 
    error=error at entry=0x7fffffffe118) at /tmp/buildd/gtk+3.0-3.4.2/./gtk/gtkbuilderparser.c:1175
#12 0x00007ffff6346f23 in gtk_builder_add_from_file (builder=builder at entry=0x16350f0, 
    filename=filename at entry=0x1647060 "/usr/share/cheese/cheese-main-window.ui", 
    error=error at entry=0x7fffffffe1b8) at /tmp/buildd/gtk+3.0-3.4.2/./gtk/gtkbuilder.c:897
#13 0x0000000000416223 in cheese_main_window_setup_ui (self=0x169c020) at src/cheese-window.c:4491
#14 0x0000000000418e56 in cheese_main_on_app_activate (self=0x13f67c0) at src/cheese-main.c:184
#15 0x00007ffff585a6e0 in g_closure_invoke (closure=0x1629340, return_value=0x0, n_param_values=1, 
    param_values=0x7fffffffe400, invocation_hint=0x7fffffffe3a0)
    at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./gobject/gclosure.c:777
#16 0x00007ffff586b750 in signal_emit_unlocked_R (node=node at entry=0x1625c70, detail=detail at entry=0, 
    instance=instance at entry=0x13f67c0, emission_return=emission_return at entry=0x0, 
    instance_and_params=instance_and_params at entry=0x7fffffffe400)
    at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./gobject/gsignal.c:3551
#17 0x00007ffff58736bc in g_signal_emit_valist (instance=0x13f67c0, signal_id=<optimized out>, detail=0, 
    var_args=var_args at entry=0x7fffffffe648)
    at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./gobject/gsignal.c:3300
#18 0x00007ffff5873852 in g_signal_emit (instance=instance at entry=0x13f67c0, signal_id=<optimized out>, 
    detail=detail at entry=0) at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./gobject/gsignal.c:3356
#19 0x00007ffff5d53feb in g_application_activate (application=application at entry=0x13f67c0)
    at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./gio/gapplication.c:1295
#20 0x0000000000418b4c in cheese_main_real_local_command_line (base=0x13f67c0, arguments=0x7fffffffe7a0, 
    exit_status=0x7fffffffe79c) at src/cheese-main.c:277
#21 0x00007ffff5d54488 in g_application_run (application=application at entry=0x13f67c0, 
    argc=<optimized out>, argv=0x7fffffffe8f8)
    at /tmp/buildd/glib2.0-2.33.12+really2.32.4/./gio/gapplication.c:1449
#22 0x00000000004190d8 in _vala_main (args=0x7fffffffe8f8, args_length1=1) at src/cheese-main.c:469
#23 0x00007ffff4fa899d in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#24 0x000000000040e0e1 in _start ()



More information about the pkg-gnome-maintainers mailing list