After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 649170 - segfault running any gtk+ program with broadway backend
segfault running any gtk+ program with broadway backend
Status: RESOLVED NOTGNOME
Product: gtk+
Classification: Platform
Component: .General
unspecified
Other Linux
: Normal major
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2011-05-02 10:52 UTC by Luka Napotnik
Modified: 2011-05-03 16:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Luka Napotnik 2011-05-02 10:52:49 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.


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'

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

(gdb) bt
  • #0 gdk_x11_atom_to_xatom_for_display
    at gdkproperty-x11.c line 242
  • #1 gdk_x11_atom_to_xatom_for_display
    at gdkproperty-x11.c line 223
  • #2 ??
    from /usr/lib/gtk-3.0/modules/libcanberra-gtk-module.so
  • #3 gdk_threads_dispatch
    at gdk.c line 754

Comment 1 Matthias Clasen 2011-05-02 16:02:32 UTC
This should probably be reported against libcanberra in bugs.freedesktop.org

For now, removing libcanberra will allow you to start apps with broadway.
Comment 2 Luka Napotnik 2011-05-03 16:23:20 UTC
Reported to bugs.freedesktop.org: https://bugs.freedesktop.org/show_bug.cgi?id=36806