Bug 36806 - drop runtime dep on X11
Summary: drop runtime dep on X11
Status: NEW
Alias: None
Product: libcanberra
Classification: Unclassified
Component: Unspecified (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Lennart Poettering
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-03 09:22 UTC by Luka Napotnik
Modified: 2016-04-01 19:16 UTC (History)
5 users (show)

See Also:
i915 platform:
i915 features:


Attachments
patch to drop X runtime deps (12.42 KB, patch)
2014-04-21 20:28 UTC, Matthias Clasen
Details | Splinter Review

Description Luka Napotnik 2011-05-03 09:22:40 UTC
I get a segfault on every Gtk+ program I try to run using the broadway backend.
Gtk+ version is latest master from git. Running on ArchLinux latest with
xserver 1.10, the gnome3 packages from archlinux extras and gtk+ master.

The guys over bugs.gnome.org redirected my bug here (original report https://bugzilla.gnome.org//show_bug.cgi?id=649170)

Program segfaults in gtk+/gdk/x11/gdkproperty-x11.c:242

g_return_val_if_fail (ATOM_TO_INDEX (atom) < virtual_atom_array->len, None);

(gdb) p virtual_atom_array 
$5 = (GPtrArray *) 0x0

-----------------------
GDK_BACKEND=broadway gnome-calculator


(gcalctool:23829): GLib-GObject-WARNING **: invalid cast from
`GdkBroadwayDisplay' to `GdkX11Display'

Backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff752ecc8 in gdk_x11_atom_to_xatom_for_display (display=0x6a4020,
atom=0x6bc) at gdkproperty-x11.c:242

#0  0x00007ffff752ecc8 in gdk_x11_atom_to_xatom_for_display (display=0x6a4020, atom=0x6bc) at gdkproperty-x11.c:242
#1  gdk_x11_atom_to_xatom_for_display (display=0x6a4020, atom=0x6bc) at gdkproperty-x11.c:223
#2  0x00007ffff0db793d in ?? () from /usr/lib/gtk-3.0/modules/libcanberra-gtk-module.so
#3  0x00007ffff74f8f9f in gdk_threads_dispatch (data=<value optimized out>) at gdk.c:754
Comment 1 Matthias Clasen 2014-04-21 20:28:01 UTC
Created attachment 97698 [details] [review]
patch to drop X runtime deps


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.