Alright, seeing as how I couldn't get a backtrace on gdk_x_error I've done as best I can and instead put a break in at the GDK Warning immediately before hand. If I step through from this point the BadWindow error is raised as soon as gdk_x11_drawable_get_xid return. Backtrace:
Breakpoint 2, IA__gdk_x11_drawable_get_xid (drawable=0x0)
at /tmp/buildd/gtk+2.0-2.18.2/gdk/x11/gdkdrawable-x11.c:952
952 /tmp/buildd/gtk+2.0-2.18.2/gdk/x11/gdkdrawable-x11.c: No such file or directory.
in /tmp/buildd/gtk+2.0-2.18.2/gdk/x11/gdkdrawable-x11.c
(gdb) bt
#0 IA__gdk_x11_drawable_get_xid (drawable=0x0)
at /tmp/buildd/gtk+2.0-2.18.2/gdk/x11/gdkdrawable-x11.c:952
#1 0x00007fffe83f4b15 in window_is_xembed () at canberra-gtk-module.c:371
#2 dispatch_sound_event () at canberra-gtk-module.c:436
#3 dispatch_queue () at canberra-gtk-module.c:794
#4 0x00007fffe83f51d3 in idle_cb (userdata=0x0) at canberra-gtk-module.c:802
#5 0x00007ffff495a847 in gdk_threads_dispatch (data=0x81f100)
at /tmp/buildd/gtk+2.0-2.18.2/gdk/gdk.c:506
#6 0x00007ffff1e7512a in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#7 0x00007ffff1e78988 in ?? () from /lib/libglib-2.0.so.0
#8 0x00007ffff1e78e5d in g_main_loop_run () from /lib/libglib-2.0.so.0
#9 0x00007ffff4d24c07 in IA__gtk_main ()
at /tmp/buildd/gtk+2.0-2.18.2/gtk/gtkmain.c:1216
#10 0x0000000000432ca4 in main (argc=1, argv=0x7fffffffe918) at ephy-main.c:782
Alright, seeing as how I couldn't get a backtrace on gdk_x_error I've done as best I can and instead put a break in at the GDK Warning immediately before hand. If I step through from this point the BadWindow error is raised as soon as gdk_x11_ drawable_ get_xid return. Backtrace:
Breakpoint 2, IA__gdk_ x11_drawable_ get_xid (drawable=0x0) gtk+2.0- 2.18.2/ gdk/x11/ gdkdrawable- x11.c:952 gtk+2.0- 2.18.2/ gdk/x11/ gdkdrawable- x11.c: No such file or directory. gtk+2.0- 2.18.2/ gdk/x11/ gdkdrawable- x11.c x11_drawable_ get_xid (drawable=0x0) gtk+2.0- 2.18.2/ gdk/x11/ gdkdrawable- x11.c:952 gtk-module. c:371 sound_event () at canberra- gtk-module. c:436 gtk-module. c:794 gtk-module. c:802 dispatch (data=0x81f100) gtk+2.0- 2.18.2/ gdk/gdk. c:506 context_ dispatch () from /lib/libglib- 2.0.so. 0 2.0.so. 0 2.0.so. 0 gtk+2.0- 2.18.2/ gtk/gtkmain. c:1216 e918) at ephy-main.c:782
at /tmp/buildd/
952 /tmp/buildd/
in /tmp/buildd/
(gdb) bt
#0 IA__gdk_
at /tmp/buildd/
#1 0x00007fffe83f4b15 in window_is_xembed () at canberra-
#2 dispatch_
#3 dispatch_queue () at canberra-
#4 0x00007fffe83f51d3 in idle_cb (userdata=0x0) at canberra-
#5 0x00007ffff495a847 in gdk_threads_
at /tmp/buildd/
#6 0x00007ffff1e7512a in g_main_
#7 0x00007ffff1e78988 in ?? () from /lib/libglib-
#8 0x00007ffff1e78e5d in g_main_loop_run () from /lib/libglib-
#9 0x00007ffff4d24c07 in IA__gtk_main ()
at /tmp/buildd/
#10 0x0000000000432ca4 in main (argc=1, argv=0x7fffffff
Could be insufficient checking in libcanberra?