GNOME Bugzilla – Bug 746386
clipboard crash when other client becomes the selection owner
Last modified: 2015-03-18 11:17:08 UTC
On wl_data_source.cancel, we (needlessly) assume the data source has a DnD context related, which is not true for the selection. This causes crashes as seen in https://retrace.fedoraproject.org/faf/problems/672153/.
The fix is now in master, this should be considered as well for 3.16. The following fix has been pushed: dcfa55a wayland: Fix thinko in wl_data_source.cancelled handler
Created attachment 299690 [details] [review] wayland: Fix thinko in wl_data_source.cancelled handler The wl_data_source may be the clipboard's. Looking up the drag context in order to get the display isn't going to fare well there. So, just use the default display, and only look up the drag context when we know we need it.
The fix is now in gtk-3-16 as well. Attachment 299690 [details] pushed as 17b65d3 - wayland: Fix thinko in wl_data_source.cancelled handler