Bug 444616 - Using Firefox's Drag and Drop Features To Open A New Window Sometimes Causes plasmashell To Exit In Wayland Environments
Summary: Using Firefox's Drag and Drop Features To Open A New Window Sometimes Causes ...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Containment (other bugs)
Version First Reported In: 5.23.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Marco Martin
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2021-10-29 17:20 UTC by Arazil
Modified: 2021-11-03 22:55 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Backtrace Attempt 1 (7.18 KB, text/x-log)
2021-10-30 13:09 UTC, Arazil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arazil 2021-10-29 17:20:49 UTC
SUMMARY
Dragging the browser tabs from a maximized Firefox browser to the desktop of another monitor often causes plasmashell to exit with a "The Wayland connection broke. Did the Wayland compositor die?" message on the console. This problem also causes a lot of "QWaylandDataOffer" error messages to appear on the console before the final exit message.

STEPS TO REPRODUCE
1. Open a maximized Firefox window with multiple tabs open.
2. Attempt to drag a browser tab to another monitor's desktop. This normally moves that tab into a separate Firefox window.

OBSERVED RESULT
Sometimes, plasmashell will exit with an output log similar to this:

QWaylandDataOffer: timeout reading from pipe
QWaylandDataOffer: error reading data for mimeType application/x-moz-tabbrowser-tab
QWaylandDataOffer: timeout reading from pipe
QWaylandDataOffer: error reading data for mimeType text/x-moz-text-internal
QWaylandDataOffer: timeout reading from pipe
QWaylandDataOffer: error reading data for mimeType DELETE
QWaylandDataOffer: timeout reading from pipe
QWaylandDataOffer: error reading data for mimeType application/x-moz-tabbrowser-tab
QWaylandDataOffer: timeout reading from pipe
QWaylandDataOffer: error reading data for mimeType text/x-moz-text-internal
[Thread 0x7ffed1b64640 (LWP 37406) exited]
[Thread 0x7ffeeff80640 (LWP 37402) exited]
[Thread 0x7ffe9affd640 (LWP 37416) exited]
[Thread 0x7ffe99ffb640 (LWP 37418) exited]
[Thread 0x7ffebb7fe640 (LWP 37410) exited]
[Thread 0x7ffed2365640 (LWP 37405) exited]
[Thread 0x7ffebbfff640 (LWP 37409) exited]
[Thread 0x7ffe9bfff640 (LWP 37415) exited]
[Thread 0x7ffed0b62640 (LWP 37408) exited]
[Thread 0x7ffed1363640 (LWP 37407) exited]
[Thread 0x7ffe9b7fe640 (LWP 37398) exited]
[Thread 0x7ffe793dc640 (LWP 37397) exited]
[Thread 0x7ffe78bdb640 (LWP 37420) exited]
[Thread 0x7ffed3367640 (LWP 37404) exited]
[Thread 0x7ffeb8ff9640 (LWP 37414) exited]
[Thread 0x7ffeb9ffb640 (LWP 37412) exited]
[Thread 0x7ffebaffd640 (LWP 37411) exited]
[Thread 0x7ffeba7fc640 (LWP 37400) exited]
[Thread 0x7ffe997fa640 (LWP 37419) exited]
[Thread 0x7ffeef77f640 (LWP 37403) exited]
[Thread 0x7ffe9a7fc640 (LWP 37417) exited]
[Thread 0x7ffeb97fa640 (LWP 37413) exited]
[Thread 0x7ffefcd9c640 (LWP 37401) exited]
QWaylandDataOffer: timeout reading from pipe
QWaylandDataOffer: error reading data for mimeType DELETE
The Wayland connection broke. Did the Wayland compositor die?
[Thread 0x7ffed2b66640 (LWP 37359) exited]
[Thread 0x7ffe6affd640 (LWP 36881) exited]
[Thread 0x7ffe6b7fe640 (LWP 36880) exited]
[Thread 0x7ffe6bfff640 (LWP 36879) exited]
[Thread 0x7ffe79bdd640 (LWP 36617) exited]
[Thread 0x7ffe7a3de640 (LWP 36616) exited]
[Thread 0x7ffe7abdf640 (LWP 36615) exited]
[Thread 0x7ffeed4de640 (LWP 36544) exited]
[Thread 0x7ffefd59d640 (LWP 36539) exited]
[Thread 0x7ffefdd9e640 (LWP 36516) exited]
[Thread 0x7ffefffff640 (LWP 36507) exited]
[Thread 0x7fff248a6640 (LWP 36506) exited]
[Thread 0x7fff250a7640 (LWP 36505) exited]
[Thread 0x7fff26173640 (LWP 36504) exited]
[Thread 0x7fff26974640 (LWP 36503) exited]
[Thread 0x7fff27175640 (LWP 36502) exited]
[Thread 0x7fff34d62640 (LWP 36501) exited]
[Thread 0x7fff357e2640 (LWP 36500) exited]
[Thread 0x7fff35fe3640 (LWP 36499) exited]
[Thread 0x7fff36d69640 (LWP 36498) exited]
[Thread 0x7fff467fc640 (LWP 36494) exited]
[Thread 0x7fff46ffd640 (LWP 36492) exited]
[Thread 0x7fff477fe640 (LWP 36491) exited]
[Thread 0x7fff47fff640 (LWP 36490) exited]
[Thread 0x7fff64ff9640 (LWP 36489) exited]
[Thread 0x7fff657fa640 (LWP 36488) exited]
[Thread 0x7fff65ffb640 (LWP 36487) exited]
[Thread 0x7fff667fc640 (LWP 36486) exited]
[Thread 0x7fff66ffd640 (LWP 36485) exited]
[Thread 0x7fff677fe640 (LWP 36484) exited]
[Thread 0x7fff67fff640 (LWP 36483) exited]
[Thread 0x7fff9cff9640 (LWP 36482) exited]
[Thread 0x7fff9d7fa640 (LWP 36481) exited]
[Thread 0x7fff9dffb640 (LWP 36480) exited]
[Thread 0x7fff9e7fc640 (LWP 36479) exited]
[Thread 0x7fff9effd640 (LWP 36478) exited]
[Thread 0x7fff9f7fe640 (LWP 36477) exited]
[Thread 0x7fffa57fa640 (LWP 36475) exited]
[Thread 0x7fffa5ffb640 (LWP 36474) exited]
[Thread 0x7fffa67fc640 (LWP 36473) exited]
[Thread 0x7fffa6ffd640 (LWP 36472) exited]
[Thread 0x7fffa77fe640 (LWP 36471) exited]
[Thread 0x7fff9ffff640 (LWP 36470) exited]
[Thread 0x7fffa7fff640 (LWP 36469) exited]
[Thread 0x7fffc8ff9640 (LWP 36468) exited]
[Thread 0x7fffc97fa640 (LWP 36467) exited]
[Thread 0x7fffc9ffb640 (LWP 36466) exited]
[Thread 0x7fffca7fc640 (LWP 36465) exited]
[Thread 0x7fffcaffd640 (LWP 36464) exited]
[Thread 0x7fffcb7fe640 (LWP 36463) exited]
[Thread 0x7fffcbfff640 (LWP 36462) exited]
[Thread 0x7fffe0d52640 (LWP 36461) exited]
[Thread 0x7fffe1553640 (LWP 36460) exited]
[Thread 0x7fffe1d54640 (LWP 36459) exited]
[Thread 0x7fffecf2f640 (LWP 36458) exited]
[Thread 0x7fffed730640 (LWP 36457) exited]
[Thread 0x7fffee086640 (LWP 36456) exited]
[Thread 0x7ffff0760640 (LWP 36455) exited]
[Thread 0x7ffff0e8da80 (LWP 36451) exited]
[Inferior 1 (process 36451) exited with code 01]

EXPECTED RESULT
A new Firefox window opens.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Firefox Version: 93.0 Build 20211004184504 (Arch Linux Release)
Firefox Window Protocol: Wayland

ADDITIONAL INFORMATION
This was reproduced on a four monitor environment in a "[1 monitor] / [2 monitors] / [1 monitor]" configuration. In most testing scenarios, Firefox was maximized on the center monitors.
Comment 1 Arazil 2021-10-29 17:28:12 UTC
This may be a Wayland specific version of Bug 337711 that was fixed by commit: https://commits.kde.org/plasma-desktop/ab007182ad3e5c890aa4e6cfaacfddc575c46e95
Comment 2 Nate Graham 2021-10-29 17:58:14 UTC
Can you please attach a backtrace of the plasmashell crash? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
Comment 3 Arazil 2021-10-30 13:09:19 UTC
Created attachment 143027 [details]
Backtrace Attempt 1

Unfortunately, I am unable to provide a usable backtrace as this bug triggers a plasmashell exit instead of a plasmashell crash. This is the log file from an attempt to capture the issue through GDB. The coredumpctl command does not show a file associated with these crashes either.
Comment 4 Nate Graham 2021-11-03 15:38:50 UTC
Yeah there's nothing in there that's helpful, unfortunately.
Comment 5 Arazil 2021-11-03 22:55:34 UTC
I can not reproduce this issue on Firefox 94.0. Browser tab drag and drop works as intended with Firefox 94.0. I am going to mark this as "Resolved Downstream" since it appears that Firefox 94's release resolved this issue.