Bug 150317 - [GTK][Wayland] Crash when dragging text into browser window
Summary: [GTK][Wayland] Crash when dragging text into browser window
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: PC Linux
: P3 Normal
Assignee: Michael Catanzaro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-19 00:54 PDT by Michael Gratton
Modified: 2016-09-21 06:45 PDT (History)
5 users (show)

See Also:


Attachments
GDB stack trace (5.29 KB, text/plain)
2015-10-19 16:48 PDT, Michael Gratton
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Gratton 2015-10-19 00:54:54 PDT
Running Epiphany 3.18, Webkit2Gtk 2.10.1 and gnome-shell/libmutter 3.18.1, dragging text into the browser window (e.g. from gedit) causes a crash in libjavascriptcoregtk under Wayland.

I'll upload a stack trace when I'm not running under wayland, but it's pretty simple to reproduce.
Comment 1 Michael Gratton 2015-10-19 16:48:04 PDT
Created attachment 263527 [details]
GDB stack trace

GDB stack trace for the crash for 2.10.2 attached (I'd add it to a comment, but can't paste in dute to bug #150316)
Comment 2 Michael Gratton 2015-10-27 00:42:05 PDT
Fixing the component.
Comment 3 Michael Catanzaro 2016-07-27 07:12:01 PDT
A different Wayland DnD crash; I'll be bad and lump it into this bug:

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 WTF::RefPtr<WTF::StringImpl>::RefPtr at /usr/src/debug/webkitgtk-2.12.3/Source/WTF/wtf/RefPtr.h:44
 #1 WTF::String::String at /usr/src/debug/webkitgtk-2.12.3/Source/WTF/wtf/text/WTFString.h:132
 #2 WebCore::DataObjectGtk::text at /usr/src/debug/webkitgtk-2.12.3/Source/WebCore/platform/gtk/DataObjectGtk.h:54
 #3 WebCore::PasteboardHelper::fillSelectionData at /usr/src/debug/webkitgtk-2.12.3/Source/WebCore/platform/gtk/PasteboardHelper.cpp:127
 #7 g_signal_emit_by_name at gsignal.c:3481
 #8 gtk_drag_selection_get at gtkdnd.c:3179
 #12 g_signal_emit_by_name at gsignal.c:3481
 #13 gtk_selection_invoke_handler at gtkselection.c:3067
 #14 gtk_selection_convert at gtkselection.c:1139
 #15 gtk_drag_get_data at gtkdnd.c:908

I'm not in Wayland right now, but I think it always crashes one way or another when attempting to perform DnD.
Comment 4 Carlos Garcia Campos 2016-09-20 23:44:07 PDT
Is this still happening?
Comment 5 Michael Catanzaro 2016-09-21 06:45:06 PDT
Nope, works in 2.12.5.