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 786673 - Wayland: Crash in GtkEntryCompletion
Wayland: Crash in GtkEntryCompletion
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Wayland
3.91.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2017-08-23 08:48 UTC by Timm Bäder
Modified: 2017-08-23 14:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gdk: wayland: fix filechooser crash (1.15 KB, patch)
2017-08-23 14:24 UTC, Lionel Landwerlin
committed Details | Review

Description Timm Bäder 2017-08-23 08:48:18 UTC
Steps to reproduce:
 
 1) run tests/tesgtk in gdb
 2) open the native file choosers test
 3) Just click "Show"
 4) Directly press ctrl+l, type "~/.a" and see it crash

I cannot reproduce this issue in the gtk-3-22 branch.

backtrace:

  • #0 wl_proxy_marshal
    at /home/baedert/Source/gnome/wayland/src/wayland-client.c line 692
  • #1 wl_surface_set_buffer_scale
    at /home/baedert/Source/gnome-configure/include/wayland-client-protocol.h line 3695
  • #2 gdk_wayland_window_update_size
    at ../gdk/wayland/gdkwindow-wayland.c line 340
  • #3 gdk_wayland_window_configure
    at ../gdk/wayland/gdkwindow-wayland.c line 993
  • #4 gdk_wayland_window_maybe_configure
    at ../gdk/wayland/gdkwindow-wayland.c line 1027
  • #5 gdk_window_wayland_move_resize
    at ../gdk/wayland/gdkwindow-wayland.c line 2657
  • #6 gdk_window_move_resize_toplevel
    at ../gdk/gdkwindow.c line 4124
  • #7 gdk_window_move_resize_internal
    at ../gdk/gdkwindow.c line 4164
  • #8 gdk_window_resize
    at ../gdk/gdkwindow.c line 4280
  • #9 gtk_window_move_resize
    at ../gtk/gtkwindow.c line 8786
  • #10 gtk_window_check_resize
    at ../gtk/gtkwindow.c line 7599
  • #11 g_cclosure_marshal_VOID__VOIDv
    at /home/baedert/Source/gnome/glib/gobject/gmarshal.c line 905
  • #12 g_type_class_meta_marshalv
    at /home/baedert/Source/gnome/glib/gobject/gclosure.c line 1024
  • #13 _g_closure_invoke_va
    at /home/baedert/Source/gnome/glib/gobject/gclosure.c line 867
  • #14 g_signal_emit_valist
    at /home/baedert/Source/gnome/glib/gobject/gsignal.c line 3300
  • #15 g_signal_emit
    at /home/baedert/Source/gnome/glib/gobject/gsignal.c line 3447
  • #16 gtk_container_check_resize
    at ../gtk/gtkcontainer.c line 1806
  • #17 gtk_window_show
    at ../gtk/gtkwindow.c line 5988
  • #18 g_cclosure_marshal_VOID__VOID
    at /home/baedert/Source/gnome/glib/gobject/gmarshal.c line 875
  • #19 g_type_class_meta_marshal
    at /home/baedert/Source/gnome/glib/gobject/gclosure.c line 997
  • #20 g_closure_invoke
    at /home/baedert/Source/gnome/glib/gobject/gclosure.c line 804
  • #21 signal_emit_unlocked_R
    at /home/baedert/Source/gnome/glib/gobject/gsignal.c line 3565
  • #22 g_signal_emit_valist
    at /home/baedert/Source/gnome/glib/gobject/gsignal.c line 3391
  • #23 g_signal_emit
    at /home/baedert/Source/gnome/glib/gobject/gsignal.c line 3447
  • #24 gtk_widget_show
    at ../gtk/gtkwidget.c line 4217
  • #25 prepare_popup_func
    at ../gtk/gtkentrycompletion.c line 1618
  • #26 gdk_wayland_seat_grab
    at ../gdk/wayland/gdkdevice-wayland.c line 4685
  • #27 gdk_seat_grab
    at ../gdk/gdkseat.c line 309
  • #28 gtk_entry_completion_popup
    at ../gtk/gtkentrycompletion.c line 1662
  • #29 gtk_entry_completion_timeout
    at ../gtk/gtkentrycompletion.c line 2188
  • #30 gdk_threads_dispatch
    at ../gdk/gdk.c line 447
  • #31 g_timeout_dispatch.lto_priv.218
    at /home/baedert/Source/gnome/glib/glib/gmain.c line 4633
  • #32 g_main_dispatch
    at /home/baedert/Source/gnome/glib/glib/gmain.c line 3148
  • #33 g_main_context_dispatch
    at /home/baedert/Source/gnome/glib/glib/gmain.c line 3813
  • #34 g_main_context_iterate
    at /home/baedert/Source/gnome/glib/glib/gmain.c line 3886
  • #35 g_main_loop_run
    at /home/baedert/Source/gnome/glib/glib/gmain.c line 4082
  • #36 gtk_main
    at ../gtk/gtkmain.c line 987
  • #37 main
    at ../tests/testgtk.c line 8408

Comment 1 Lionel Landwerlin 2017-08-23 14:24:03 UTC
Created attachment 358242 [details] [review]
gdk: wayland: fix filechooser crash