Bug 451181

Summary: Plasma crashes some time between turning monitors off and then back on
Product: [Plasma] plasmashell Reporter: C Linus Hicks <linush>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: akselmo, kde, nate
Priority: NOR Keywords: drkonqi
Version: 5.23.3   
Target Milestone: 1.0   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description C Linus Hicks 2022-03-06 00:29:15 UTC
Application: plasmashell (5.23.3)

Qt Version: 5.15.2
Frameworks Version: 5.88.0
Operating System: Linux 4.18.0-348.12.2.el8_5.x86_64 x86_64
Windowing System: Wayland
Distribution: Oracle Linux Server 8.5
DrKonqi: 5.23.3 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
Nothing, both monitors were powered off, or it might have happened at one of those events, I have not been able to ascertain the exact time of the crash.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault

[New LWP 4830]
[New LWP 5190]
[New LWP 5555]
[New LWP 5666]
[New LWP 5766]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007f2cb9396a31 in poll () from /lib64/libc.so.6
__preamble__
[Current thread is 1 (Thread 0x7f2cc2142c40 (LWP 4782))]

Thread 6 (Thread 0x7f2bd50e4700 (LWP 5766)):
#0  0x00007f2cb9396a31 in poll () at /lib64/libc.so.6
#1  0x00007f2cb0c15c86 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007f2cb0c15db0 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f2cba254c7b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f2bc8000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f2cba1ff3eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f2bd50e3920, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f2cba04519f in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f2bd59eaf2b in KCupsConnection::run() () at /lib64/libkcupslib.so
#7  0x00007f2cba046450 in QThreadPrivate::start(void*) (arg=0x55b4ed8d7460) at thread/qthread_unix.cpp:329
#8  0x00007f2cb588d18a in start_thread () at /lib64/libpthread.so.0
#9  0x00007f2cb93a1db3 in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f2bfcff9700 (LWP 5666)):
#0  0x00007f2cb93925c4 in read () at /lib64/libc.so.6
#1  0x00007f2caea4637e in usbmuxd_listen_inotify () at /lib64/libusbmuxd.so.4
#2  0x00007f2caea470c3 in device_monitor () at /lib64/libusbmuxd.so.4
#3  0x00007f2cb588d18a in start_thread () at /lib64/libpthread.so.0
#4  0x00007f2cb93a1db3 in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f2c80e92700 (LWP 5555)):
#0  0x00007f2cb93925c4 in read () at /lib64/libc.so.6
#1  0x00007f2cb0c5b7c0 in g_wakeup_acknowledge () at /lib64/libglib-2.0.so.0
#2  0x00007f2cb0c156a8 in g_main_context_check () at /lib64/libglib-2.0.so.0
#3  0x00007f2cb0c15c30 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#4  0x00007f2cb0c15db0 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#5  0x00007f2cba254c7b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f2c7c02edc0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f2cba1ff3eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f2c80e91920, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007f2cba04519f in QThread::exec() (this=this@entry=0x55b4ed0b5230) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007f2cbef871fa in QQuickPixmapReader::run() (this=0x55b4ed0b5230) at util/qquickpixmapcache.cpp:1024
#9  0x00007f2cba046450 in QThreadPrivate::start(void*) (arg=0x55b4ed0b5230) at thread/qthread_unix.cpp:329
#10 0x00007f2cb588d18a in start_thread () at /lib64/libpthread.so.0
#11 0x00007f2cb93a1db3 in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f2c92e3a700 (LWP 5190)):
#0  0x00007f2cb9396a31 in poll () at /lib64/libc.so.6
#1  0x00007f2cb0c15c86 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007f2cb0c15db0 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f2cba254c7b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f2c8c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f2cba1ff3eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f2c92e39940, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f2cba04519f in QThread::exec() (this=this@entry=0x55b4ec1eefb0) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f2cbe33d409 in QQmlThreadPrivate::run() (this=0x55b4ec1eefb0) at qml/ftw/qqmlthread.cpp:155
#7  0x00007f2cba046450 in QThreadPrivate::start(void*) (arg=0x55b4ec1eefb0) at thread/qthread_unix.cpp:329
#8  0x00007f2cb588d18a in start_thread () at /lib64/libpthread.so.0
#9  0x00007f2cb93a1db3 in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f2c9c137700 (LWP 4830)):
#0  0x00007f2cb93925c4 in read () at /lib64/libc.so.6
#1  0x00007f2cb0c5b7c0 in g_wakeup_acknowledge () at /lib64/libglib-2.0.so.0
#2  0x00007f2cb0c156a8 in g_main_context_check () at /lib64/libglib-2.0.so.0
#3  0x00007f2cb0c15c30 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#4  0x00007f2cb0c15db0 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#5  0x00007f2cba254c7b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f2c94000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f2cba1ff3eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f2c9c136930, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#7  0x00007f2cba04519f in QThread::exec() (this=this@entry=0x7f2cbb74b060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007f2cbb4cbc89 in QDBusConnectionManager::run() (this=0x7f2cbb74b060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#9  0x00007f2cba046450 in QThreadPrivate::start(void*) (arg=0x7f2cbb74b060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:329
#10 0x00007f2cb588d18a in start_thread () at /lib64/libpthread.so.0
#11 0x00007f2cb93a1db3 in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f2cc2142c40 (LWP 4782)):
[KCrash Handler]
#4  0x00007f2cba23372f in doActivate<false>(QObject*, int, void**) (sender=0x55b4f5fc1020, signal_index=4, argv=argv@entry=0x7ffee08e22d0) at kernel/qobject.h:132
#5  0x00007f2cba22f255 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55b4f5fc1020, m=m@entry=0x7f2cbf56d4a0 <QQuickDragAttached::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffee08e22d0) at kernel/qobject.cpp:3946
#6  0x00007f2cbf12e06c in QQuickDragAttached::dragFinished(Qt::DropAction) (_t1=<optimized out>, this=0x55b4f5fc1020) at .moc/moc_qquickdrag_p.cpp:885
#7  0x00007f2cbf12e06c in QQuickDragAttachedPrivate::startDrag(QFlags<Qt::DropAction>) (this=this@entry=0x55b4f6130f60, supportedActions=...) at items/qquickdrag.cpp:792
#8  0x00007f2cbf12e346 in QQuickDragAttached::setActive(bool) (this=<optimized out>, active=<optimized out>) at items/qquickdrag.cpp:322
#9  0x00007f2cbf12eb21 in QQuickDragAttached::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qquickdrag_p.cpp:791
#10 0x00007f2cbe2fec91 in QQmlPropertyData::writeProperty(QObject*, void*, QFlags<QQmlPropertyData::WriteFlag>) const (flags=..., value=0x7ffee08e23ef, target=<optimized out>, this=<optimized out>) at ../../include/QtQml/5.15.2/QtQml/private/../../../../../src/qml/qml/qqmlpropertydata_p.h:375
#11 0x00007f2cbe2fec91 in GenericBinding<1>::doStore<bool>(bool, QQmlPropertyData const*, QFlags<QQmlPropertyData::WriteFlag>) const (flags=..., pd=<optimized out>, value=<optimized out>, this=<optimized out>) at qml/qqmlbinding.cpp:342
#12 0x00007f2cbe2fec91 in GenericBinding<1>::write(QV4::Value const&, bool, QFlags<QQmlPropertyData::WriteFlag>) (this=0x55b4f0ec5690, result=..., isUndefined=<optimized out>, flags=...) at qml/qqmlbinding.cpp:305
#13 0x00007f2cbe2ff65e in QQmlNonbindingBinding::doUpdate(QQmlJavaScriptExpression::DeleteWatcher const&, QFlags<QQmlPropertyData::WriteFlag>, QV4::Scope&) (this=0x55b4f0ec5690, watcher=..., flags=..., scope=...) at ../../include/QtQml/5.15.2/QtQml/private/../../../../../src/qml/jsruntime/qv4scopedvalue_p.h:242
#14 0x00007f2cbe2fbd03 in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) (this=0x55b4f0ec5690, flags=...) at qml/qqmlbinding.cpp:194
#15 0x00007f2cbe2d4973 in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) (endpoint=<optimized out>, a=a@entry=0x0) at qml/qqmlnotifier.cpp:104
#16 0x00007f2cbe27d571 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) (object=0x55b4f4e56740, index=<optimized out>, a=0x0) at qml/qqmlengine.cpp:834
#17 0x00007f2cba233785 in doActivate<false>(QObject*, int, void**) (sender=0x55b4f4e56740, signal_index=9, argv=argv@entry=0x0) at kernel/qobject_p.h:110
#18 0x00007f2cba22f255 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7f2cbf56d4e0 <QQuickDrag::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#19 0x00007f2cbf12b320 in QQuickDrag::activeChanged() (this=<optimized out>) at .moc/moc_qquickdrag_p.cpp:486
#20 0x00007f2cbf12b320 in QQuickDrag::setActive(bool) (this=<optimized out>, drag=drag@entry=true) at items/qquickdrag.cpp:978
#21 0x00007f2cbf0f278e in QQuickMouseArea::mouseMoveEvent(QMouseEvent*) (this=0x55b4f514e200, event=0x7ffee08e4a60) at items/qquickmousearea.cpp:722
#22 0x00007f2cbf08ddc8 in QQuickItem::event(QEvent*) (this=0x55b4f514e200, ev=0x7ffee08e4a60) at items/qquickitem.cpp:8131
#23 0x00007f2cbc0781e2 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x55b4ebe5f9b0, receiver=receiver@entry=0x55b4f514e200, e=e@entry=0x7ffee08e4a60) at kernel/qapplication.cpp:3632
#24 0x00007f2cbc07ef90 in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x55b4f514e200, e=0x7ffee08e4a60) at kernel/qapplication.cpp:3156
#25 0x00007f2cba2006f2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55b4f514e200, event=0x7ffee08e4a60) at kernel/qcoreapplication.cpp:1063
#26 0x00007f2cbf0a768d in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) (this=this@entry=0x55b4ed9bc780, pointerEvent=0x55b4f33bdf60) at items/qquickwindow.cpp:2020
#27 0x00007f2cbf0a876d in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) (this=this@entry=0x55b4ed9bc780, event=0x55b4f33bdf60) at items/qquickwindow.cpp:2612
#28 0x00007f2cbf0a96bf in QQuickWindowPrivate::handleMouseEvent(QMouseEvent*) (event=0x7ffee08e4a60, this=0x55b4ed9bc780) at items/qquickwindow.cpp:2457
#29 0x00007f2cbf0a96bf in QQuickWindowPrivate::handleMouseEvent(QMouseEvent*) (this=0x55b4ed9bc780, event=0x7ffee08e4a60) at items/qquickwindow.cpp:2410
#30 0x00007f2cba857825 in QWindow::event(QEvent*) (this=this@entry=0x55b4ed747470, ev=ev@entry=0x7ffee08e4a60) at kernel/qwindow.cpp:2352
#31 0x00007f2cbf0aac41 in QQuickWindow::event(QEvent*) (this=this@entry=0x55b4ed747470, e=e@entry=0x7ffee08e4a60) at items/qquickwindow.cpp:1902
#32 0x00007f2cc1d44cf3 in PlasmaQuick::Dialog::event(QEvent*) (this=0x55b4ed747470, event=0x7ffee08e4a60) at /usr/src/debug/kf5-plasma-5.88.0-1.el8.x86_64/src/plasmaquick/dialog.cpp:1357
#33 0x00007f2cbc0781e2 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x55b4ebe5f9b0, receiver=receiver@entry=0x55b4ed747470, e=e@entry=0x7ffee08e4a60) at kernel/qapplication.cpp:3632
#34 0x00007f2cbc07ef90 in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x55b4ed747470, e=0x7ffee08e4a60) at kernel/qapplication.cpp:3156
#35 0x00007f2cba2006f2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55b4ed747470, event=0x7ffee08e4a60) at kernel/qcoreapplication.cpp:1063
#36 0x00007f2cba84d004 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at kernel/qguiapplication.cpp:2282
#37 0x00007f2cba84e405 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) (e=0x55b4f3a839f0) at kernel/qguiapplication.cpp:2002
#38 0x00007f2cba829aab in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...) at kernel/qwindowsysteminterface.cpp:1169
#39 0x00007f2cb00d70f4 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5WaylandClient.so.5
#40 0x00007f2cb0c1595d in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#41 0x00007f2cb0c15d18 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#42 0x00007f2cb0c15db0 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#43 0x00007f2cba254c64 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55b4ebe28820, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#44 0x00007f2cba1ff3eb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffee08e4e10, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#45 0x00007f2cba207844 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#46 0x000055b4ea425f2b in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.23.3-1.el8.x86_64/shell/main.cpp:238
[Inferior 1 (process 4782) detached]

The reporter indicates this bug may be a duplicate of or related to bug 450861.

Possible duplicates by query: bug 451053, bug 450861, bug 450723, bug 450594, bug 450325.

Reported using DrKonqi