Bug 436472 - Dolphin (and rest of session) Crash under Wayland when disconnecting Secondary display
Summary: Dolphin (and rest of session) Crash under Wayland when disconnecting Secondar...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: platform-wayland-nested (show other bugs)
Version: 5.21.4
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi, wayland
Depends on:
Blocks:
 
Reported: 2021-05-01 23:03 UTC by James Flynn
Modified: 2021-05-03 20:21 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.22
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Flynn 2021-05-01 23:03:06 UTC
Application: dolphin (20.12.2)

Qt Version: 5.15.2
Frameworks Version: 5.80.0
Operating System: Linux 5.11.16-300.fc34.x86_64 x86_64
Windowing System: Wayland
Drkonqi Version: 5.21.4
Distribution: Fedora 34 (KDE Plasma)

-- Information about the crash:
When disconnecting my secondary display (a portable USB-C monitor that is connected/powered by USB-C running Displayport Alt Mode), my Wayland Plasma Session crashed, including all active programs (including dolphin). This is for the traces from the dolphin crash. I have not yet had time to retry, as I have to be mobile the rest of the day.

My laptop is a 15in HP Envy x360 using an AMD Ryzen 1500U with Vega graphics.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Dolphin (dolphin), signal: Aborted

[KCrash Handler]
#4  0x00007fe2c9095292 in raise () from /lib64/libc.so.6
#5  0x00007fe2c907e8a4 in abort () from /lib64/libc.so.6
#6  0x00007fe2c6f7f42d in QMessageLogger::fatal(char const*, ...) const () from /lib64/libQt5Core.so.5
#7  0x00007fe2c4a9bed3 in QtWaylandClient::QWaylandDisplay::checkError() const [clone .cold] () from /lib64/libQt5WaylandClient.so.5
#8  0x00007fe2c4aaa6ea in QtWaylandClient::QWaylandDisplay::flushRequests() () from /lib64/libQt5WaylandClient.so.5
#9  0x00007fe2c717d4fd in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#10 0x00007fe2c717fb3a in QSocketNotifier::activated(QSocketDescriptor, QSocketNotifier::Type, QSocketNotifier::QPrivateSignal) () from /lib64/libQt5Core.so.5
#11 0x00007fe2c71802d4 in QSocketNotifier::event(QEvent*) () from /lib64/libQt5Core.so.5
#12 0x00007fe2c7c9ee73 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#13 0x00007fe2c714cf48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#14 0x00007fe2c719a17f in socketNotifierSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#15 0x00007fe2c50c04cf in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#16 0x00007fe2c51144e8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#17 0x00007fe2c50bdc03 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#18 0x00007fe2c719976e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#19 0x00007fe2c714b9b2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#20 0x00007fe2c7153544 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#21 0x00007fe2c927dd3d in kdemain () from /lib64/libkdeinit5_dolphin.so
#22 0x00007fe2c907fb75 in __libc_start_main () from /lib64/libc.so.6
#23 0x000055fbbd1b20ae in _start ()
[Inferior 1 (process 37137) detached]

Possible duplicates by query: bug 436428, bug 436126, bug 435839, bug 435539, bug 435427.

Reported using DrKonqi
This report was filed against 'kde' because the product 'dolphin' could not be located in Bugzilla. Add it to drkonqi's mappings file!
Comment 1 Méven Car 2021-05-02 17:09:53 UTC
Thank you for those details regarding your screen setup, this is quite helpful.

Plasma 5.22 may already have a fix for this.
Comment 2 Nate Graham 2021-05-03 19:22:02 UTC
Yes, I believe that 5.22 already fixes this.
Comment 3 James Flynn 2021-05-03 20:21:49 UTC
Great to hear, thank you!