Bug 416455 - Plasma on Wayland crashes when disconnecting external display (DisplayPort via Thunderbolt)
Summary: Plasma on Wayland crashes when disconnecting external display (DisplayPort vi...
Status: RESOLVED DUPLICATE of bug 413892
Alias: None
Product: KScreen
Classification: Plasma
Component: common (show other bugs)
Version: 5.17.5
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-01-19 13:13 UTC by Daniel Albers
Modified: 2020-02-21 08:43 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Albers 2020-01-19 13:13:42 UTC
Application: plasmashell (5.17.5)

Qt Version: 5.14.0
Frameworks Version: 5.66.0
Operating System: Linux 5.5.0-rc5-1 x86_64
Distribution: "Arch Linux"

-- Information about the crash:
- What I was doing when the application crashed:

Disconnected the USB-C hub that a display is connected to via DisplayPort. It's an XPS 13 9370, which I think emulates an additional DisplayPort.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f49d4f2bcc0 (LWP 1617))]

Thread 14 (Thread 0x7f49777fe700 (LWP 1983)):
#0  0x00007fff115ec6e4 in  ()
#1  0x00007fff115ec908 in clock_gettime ()
#2  0x00007f49d924456b in clock_gettime () at /usr/lib/libc.so.6
#3  0x00007f49d97e7642 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f49d97e5f2a in QTimerInfoList::updateCurrentTime() () at /usr/lib/libQt5Core.so.5
#5  0x00007f49d97e64f6 in QTimerInfoList::timerWait(timespec&) () at /usr/lib/libQt5Core.so.5
#6  0x00007f49d97e7a9f in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f49d7a94a00 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#8  0x00007f49d7a95046 in  () at /usr/lib/libglib-2.0.so.0
#9  0x00007f49d7a951f1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#10 0x00007f49d97e7d5c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#11 0x00007f49d978e41c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#12 0x00007f49d95b3e62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#13 0x00007f49d95b4fd6 in  () at /usr/lib/libQt5Core.so.5
#14 0x00007f49d89f44cf in start_thread () at /usr/lib/libpthread.so.0
#15 0x00007f49d92372d3 in clone () at /usr/lib/libc.so.6

Thread 13 (Thread 0x7f498d81a700 (LWP 1976)):
#0  0x00007f49d89fac45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f49d95bacc4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007f49d95bada2 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f49db32818b in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007f49db32841b in  () at /usr/lib/libQt5Quick.so.5
#5  0x00007f49d95b4fd6 in  () at /usr/lib/libQt5Core.so.5
#6  0x00007f49d89f44cf in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007f49d92372d3 in clone () at /usr/lib/libc.so.6

Thread 12 (Thread 0x7f498e0eb700 (LWP 1975)):
#0  0x00007f49d89fac45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f49d95bacc4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007f49d95bada2 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f49db32818b in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007f49db32841b in  () at /usr/lib/libQt5Quick.so.5
#5  0x00007f49d95b4fd6 in  () at /usr/lib/libQt5Core.so.5
#6  0x00007f49d89f44cf in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007f49d92372d3 in clone () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7f498fd20700 (LWP 1971)):
#0  0x00007f49d922842c in read () at /usr/lib/libc.so.6
#1  0x00007f49d7a459f0 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f49d7a939e1 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007f49d7a950c8 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f49d7a951f1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007f49d97e7d5c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f49d978e41c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f49d95b3e62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f49d95b4fd6 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f49d89f44cf in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f49d92372d3 in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7f4990521700 (LWP 1961)):
#0  0x00007f49d922c9ef in poll () at /usr/lib/libc.so.6
#1  0x00007f49d7a95120 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f49d7a951f1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f49d97e7d5c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f49d978e41c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f49d95b3e62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f49a1c8c16b in KCupsConnection::run() () at /usr/lib/libkcupslib.so
#7  0x00007f49d95b4fd6 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f49d89f44cf in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f49d92372d3 in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7f49aa7de700 (LWP 1854)):
#0  0x00007f49d923852c in recv () at /usr/lib/libc.so.6
#1  0x00007f49d8c3bf07 in  () at /usr/lib/libQt5Network.so.5
#2  0x00007f49d8c2cd84 in  () at /usr/lib/libQt5Network.so.5
#3  0x00007f49d8c2d5c3 in QNetworkInterface::allInterfaces() () at /usr/lib/libQt5Network.so.5
#4  0x00007f49aa7f552c in  () at /usr/lib/qt/plugins/bearer/libqgenericbearer.so
#5  0x00007f49d979dee6 in QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const () at /usr/lib/libQt5Core.so.5
#6  0x00007f49d979fb74 in QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) () at /usr/lib/libQt5Core.so.5
#7  0x00007f49d8c170bf in QNetworkConfigurationManagerPrivate::pollEngines() () at /usr/lib/libQt5Network.so.5
#8  0x00007f49d8cafdea in  () at /usr/lib/libQt5Network.so.5
#9  0x00007f49d97c53f0 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f49d97c9128 in QTimer::timeout(QTimer::QPrivateSignal) () at /usr/lib/libQt5Core.so.5
#11 0x00007f49d97bd0d5 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#12 0x00007f49d978f8d6 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#13 0x00007f49d97e70dd in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5
#14 0x00007f49d97e7972 in  () at /usr/lib/libQt5Core.so.5
#15 0x00007f49d7a9339e in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#16 0x00007f49d7a951b1 in  () at /usr/lib/libglib-2.0.so.0
#17 0x00007f49d7a951f1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#18 0x00007f49d97e7d40 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#19 0x00007f49d978e41c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#20 0x00007f49d95b3e62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#21 0x00007f49d95b4fd6 in  () at /usr/lib/libQt5Core.so.5
#22 0x00007f49d89f44cf in start_thread () at /usr/lib/libpthread.so.0
#23 0x00007f49d92372d3 in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7f49abbe4700 (LWP 1801)):
#0  0x00007f49d89fac45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f49d95bacc4 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5
#2  0x00007f49d95bada2 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f49db32818b in  () at /usr/lib/libQt5Quick.so.5
#4  0x00007f49db32841b in  () at /usr/lib/libQt5Quick.so.5
#5  0x00007f49d95b4fd6 in  () at /usr/lib/libQt5Core.so.5
#6  0x00007f49d89f44cf in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007f49d92372d3 in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7f49caffd700 (LWP 1742)):
#0  0x00007f49d89fac45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f49d13b1dcc in  () at /usr/lib/dri/i965_dri.so
#2  0x00007f49d13b19c8 in  () at /usr/lib/dri/i965_dri.so
#3  0x00007f49d89f44cf in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f49d92372d3 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f49cb7fe700 (LWP 1741)):
#0  0x00007f49d89fac45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f49d13b1dcc in  () at /usr/lib/dri/i965_dri.so
#2  0x00007f49d13b19c8 in  () at /usr/lib/dri/i965_dri.so
#3  0x00007f49d89f44cf in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f49d92372d3 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f49cbfff700 (LWP 1740)):
#0  0x00007f49d89fac45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f49d13b1dcc in  () at /usr/lib/dri/i965_dri.so
#2  0x00007f49d13b19c8 in  () at /usr/lib/dri/i965_dri.so
#3  0x00007f49d89f44cf in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f49d92372d3 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f49d0cf0700 (LWP 1739)):
#0  0x00007f49d89fac45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f49d13b1dcc in  () at /usr/lib/dri/i965_dri.so
#2  0x00007f49d13b19c8 in  () at /usr/lib/dri/i965_dri.so
#3  0x00007f49d89f44cf in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f49d92372d3 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f49d3307700 (LWP 1722)):
#0  0x00007f49d7a45479 in g_mutex_lock () at /usr/lib/libglib-2.0.so.0
#1  0x00007f49d7a94a0c in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#2  0x00007f49d7a95046 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f49d7a951f1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007f49d97e7d5c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f49d978e41c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f49d95b3e62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007f49dafbf479 in  () at /usr/lib/libQt5Qml.so.5
#8  0x00007f49d95b4fd6 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f49d89f44cf in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f49d92372d3 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f49d458d700 (LWP 1641)):
#0  0x00007f49d922842c in read () at /usr/lib/libc.so.6
#1  0x00007f49d7a459f0 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f49d7a939e1 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007f49d7a950c8 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f49d7a951f1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007f49d97e7d5c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f49d978e41c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f49d95b3e62 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f49da13db28 in  () at /usr/lib/libQt5DBus.so.5
#9  0x00007f49d95b4fd6 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f49d89f44cf in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007f49d92372d3 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f49d4f2bcc0 (LWP 1617)):
[KCrash Handler]
#6  0x00007f49db975224 in KWayland::Client::OutputDevice::enabled() const () at /usr/lib/libKF5WaylandClient.so.5
#7  0x00007f49a133dd28 in  () at /usr/lib/qt/plugins/kf5/kscreen/KSC_KWayland.so
#8  0x00007f49a133ffc9 in  () at /usr/lib/qt/plugins/kf5/kscreen/KSC_KWayland.so
#9  0x00007f49a1338eff in  () at /usr/lib/qt/plugins/kf5/kscreen/KSC_KWayland.so
#10 0x00007f49a13359c4 in  () at /usr/lib/qt/plugins/kf5/kscreen/KSC_KWayland.so
#11 0x00007f49d97c53be in  () at /usr/lib/libQt5Core.so.5
#12 0x00007f49a133726b in  () at /usr/lib/qt/plugins/kf5/kscreen/KSC_KWayland.so
#13 0x00007f49d97c53be in  () at /usr/lib/libQt5Core.so.5
#14 0x00007f49d97c53be in  () at /usr/lib/libQt5Core.so.5
#15 0x00007f49d97c53be in  () at /usr/lib/libQt5Core.so.5
#16 0x00007f49db9612d2 in KWayland::Client::Registry::interfaceRemoved(unsigned int) () at /usr/lib/libKF5WaylandClient.so.5
#17 0x00007f49d7a2269a in ffi_call_unix64 () at /usr/lib/libffi.so.6
#18 0x00007f49d7a21fb6 in ffi_call () at /usr/lib/libffi.so.6
#19 0x00007f49d9079f8f in  () at /usr/lib/libwayland-client.so.0
#20 0x00007f49d90766ba in  () at /usr/lib/libwayland-client.so.0
#21 0x00007f49d9077bfc in wl_display_dispatch_queue_pending () at /usr/lib/libwayland-client.so.0
#22 0x00007f49db96f35f in KWayland::Client::EventQueue::dispatch() () at /usr/lib/libKF5WaylandClient.so.5
#23 0x00007f49d97bd1ba in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#24 0x00007f49da3b1472 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#25 0x00007f49da3bac89 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#26 0x00007f49d978f8b2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#27 0x00007f49d9792116 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#28 0x00007f49d97e86f4 in  () at /usr/lib/libQt5Core.so.5
#29 0x00007f49d7a9339e in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#30 0x00007f49d7a951b1 in  () at /usr/lib/libglib-2.0.so.0
#31 0x00007f49d7a951f1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#32 0x00007f49d97e7d40 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#33 0x00007f49d978e41c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#34 0x00007f49d9796426 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#35 0x00005630d5594dc9 in  ()
#36 0x00007f49d915f153 in __libc_start_main () at /usr/lib/libc.so.6
#37 0x00005630d559522e in _start ()
[Inferior 1 (process 1617) detached]

Possible duplicates by query: bug 416435, bug 416409, bug 416379, bug 416347, bug 416327.

Reported using DrKonqi
Comment 1 Daniel Vrátil 2020-02-21 08:43:35 UTC

*** This bug has been marked as a duplicate of bug 413892 ***