GNOME Bugzilla – Bug 748827
[Wayland] dragging image crashes the shell
Last modified: 2015-11-24 19:27:50 UTC
When trying to drag the displayed image the entire shell crashes. I found this in GNOME Logs (latest down): gnome-session: Message: Unrecoverable failure in required component gnome-shell-wayland.desktop priority: 3 systemd-coredum: Message: Process 29663 (dleyna-renderer) of user 1001 dumped core. Priority: 2 systemd-coredum: Message: Process 9096 (gnome-shell) of user 1001 dumped core. Priority: 2 Thanks.
I just tried with Fedora 22 Beta's Wayland session and there seems to be a general problem with DnD. If I change source and target in your scenario,i.e. dragging an image from nautilus to eog, I can make eog crash instead. Also dragging a text file from nautilus to gedit will make any of the two crash. I'll try to collect some backtraces.
There'a backtrace from eog, caused by dragging an image file from Nautilus over to eog.
+ Trace 235050
The backtrace was made with GTK+-3.16.2 on the current F22 Beta. Oddly no warning or critical because of failed type conversions show up on the terminal.
Have you tried dragging on image _from_ eog? Why does it crash the whole session?
Yes, I did. It is not crashing every time I try but rather seldomly. But in general it seems to occur only if the other app (eog, nautilus, terminal) is crashing too. I am unable to get a backtrace from it though.
That's strange. My session crashes the moment the drag starts. Although I just realised I that the image I had open was owned by root, since it was a clean account and I had nothing there.
Does the session crash for you only in the direction eog->nautilus or also the other way around?
You misunderstood me. For me it crashes **the moment** the drag start. The thumbnail hasn't even got time to appear. Heck, maybe it's crashing because of that. I can't drag it into nautilus in the current state.
I'm fairly positive that the gnome-shell crash is fixed by https://git.gnome.org/browse/mutter/commit/?h=gnome-3-16&id=5b6380d394b87c830fd7a242a7dc501e5283d804 , although would be great to see a backtrace to confirm. The bt in comment #2 should be fixed by https://git.gnome.org/browse/gtk+/commit/?id=0edc9deee5af65e5b5492290132e657a9a6af52f , although this commit is just in master, should probably be backported to 3.16
Hmm, backporting the gtk+ fix I can make the shell crash, however again only once the drag leaves the window: https://retrace.fedoraproject.org/faf/reports/657373/ Can't test the mutter fix as doing "jhbuild run mutter -r" effectively locks myself into GDM until I reboot.
no more crash here in my testing