Bug 434597

Summary: Plasma crashes when logging in with Wayland displaying on external monitor
Product: [Plasma] plasmashell Reporter: Daniel Theron <danie.theron.101>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.21.3   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Daniel Theron 2021-03-18 22:12:57 UTC
Application: plasmashell (5.21.3)

Qt Version: 5.15.2
Frameworks Version: 5.80.0
Operating System: Linux 5.8.0-44-generic x86_64
Windowing System: Wayland
Drkonqi Version: 5.21.3
Distribution: KDE neon User Edition 5.21

-- Information about the crash:
Plasma crashes when logging in with Wayland displaying on external monitor. Does not occur with X11

The crash can be reproduced every time.

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

[New LWP 1331]
[New LWP 1406]
[New LWP 1407]
[New LWP 1408]
[New LWP 1409]
[New LWP 1474]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fad11e6daff in __GI___poll (fds=0x7ffe2b4f4ee8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7fad0e0b48c0 (LWP 1305))]

Thread 7 (Thread 0x7facfd038700 (LWP 1474)):
#0  0x00007fad11e6daff in __GI___poll (fds=0x7facec004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fad106e036e in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fad106e04a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fad1243affb in QEventDispatcherGlib::processEvents (this=0x7facec000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fad123df1eb in QEventLoop::exec (this=this@entry=0x7facfd037cc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007fad121f9a52 in QThread::exec (this=this@entry=0x55d486858b00) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007fad13ad2fa9 in QQmlThreadPrivate::run (this=0x55d486858b00) at qml/ftw/qqmlthread.cpp:155
#7  0x00007fad121fabec in QThreadPrivate::start (arg=0x55d486858b00) at thread/qthread_unix.cpp:329
#8  0x00007fad11251609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007fad11e7a293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7facfe3c2700 (LWP 1409)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55d4865b0d08) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55d4865b0cb8, cond=0x55d4865b0ce0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55d4865b0ce0, mutex=0x55d4865b0cb8) at pthread_cond_wait.c:638
#3  0x00007fad05024b5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007fad0502475b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007fad11251609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fad11e7a293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7facfebc3700 (LWP 1408)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55d4865b0d08) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55d4865b0cb8, cond=0x55d4865b0ce0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55d4865b0ce0, mutex=0x55d4865b0cb8) at pthread_cond_wait.c:638
#3  0x00007fad05024b5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007fad0502475b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007fad11251609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fad11e7a293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7facff3c4700 (LWP 1407)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55d4865b0d08) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55d4865b0cb8, cond=0x55d4865b0ce0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55d4865b0ce0, mutex=0x55d4865b0cb8) at pthread_cond_wait.c:638
#3  0x00007fad05024b5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007fad0502475b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007fad11251609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fad11e7a293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7facffbc5700 (LWP 1406)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55d4865b0d08) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55d4865b0cb8, cond=0x55d4865b0ce0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55d4865b0ce0, mutex=0x55d4865b0cb8) at pthread_cond_wait.c:638
#3  0x00007fad05024b5b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007fad0502475b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007fad11251609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fad11e7a293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fad0d4f4700 (LWP 1331)):
#0  __GI___libc_read (nbytes=16, buf=0x7fad0d4f3aa0, fd=7) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=7, buf=0x7fad0d4f3aa0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007fad10728b2f in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fad106dfebe in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fad106e0312 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fad106e04a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fad1243affb in QEventDispatcherGlib::processEvents (this=0x7fad08000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007fad123df1eb in QEventLoop::exec (this=this@entry=0x7fad0d4f3cb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#8  0x00007fad121f9a52 in QThread::exec (this=this@entry=0x7fad12de6d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#9  0x00007fad12d62f4b in QDBusConnectionManager::run (this=0x7fad12de6d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#10 0x00007fad121fabec in QThreadPrivate::start (arg=0x7fad12de6d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:329
#11 0x00007fad11251609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007fad11e7a293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fad0e0b48c0 (LWP 1305)):
[KCrash Handler]
#4  0x00007fad127e9c76 in QScreen::name (this=0x55d4863aa8b0) at kernel/qscreen.cpp:195
#5  0x000055d485fa84f4 in ShellCorona::addOutput (this=this@entry=0x55d4863d1ec0, screen=<optimized out>, screen@entry=0x55d4863aa8b0) at ./shell/shellcorona.cpp:1248
#6  0x000055d485fb2da3 in ShellCorona::load (this=0x55d4863d1ec0) at ./shell/shellcorona.cpp:698
#7  0x00007fad124176fe in QtPrivate::QSlotObjectBase::call (a=0x7ffe2b4f5a70, r=0x55d4863d1ec0, this=0x55d4868037a0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#8  doActivate<false> (sender=0x55d4865de980, signal_index=4, argv=0x7ffe2b4f5a70) at kernel/qobject.cpp:3886
#9  0x00007fad12410ac7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fad1466d0c0 <KActivities::Consumer::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffe2b4f5a70) at kernel/qobject.cpp:3946
#10 0x00007fad1463fdc5 in KActivities::Consumer::serviceStatusChanged (this=<optimized out>, _t1=<optimized out>) at ./obj-x86_64-linux-gnu/src/lib/KF5Activities_autogen/EWIEGA46WW/moc_consumer.cpp:253
#11 0x00007fad14641214 in KActivities::Consumer::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./obj-x86_64-linux-gnu/src/lib/KF5Activities_autogen/EWIEGA46WW/moc_consumer.cpp:115
#12 0x00007fad12417730 in doActivate<false> (sender=0x55d48665afc0, signal_index=11, argv=0x7ffe2b4f5bd0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#13 0x00007fad12410ac7 in QMetaObject::activate (sender=sender@entry=0x55d48665afc0, m=m@entry=0x7fad1466d180 <KActivities::ActivitiesCache::staticMetaObject>, local_signal_index=local_signal_index@entry=8, argv=argv@entry=0x7ffe2b4f5bd0) at kernel/qobject.cpp:3946
#14 0x00007fad1463fd65 in KActivities::ActivitiesCache::serviceStatusChanged (this=this@entry=0x55d48665afc0, _t1=<optimized out>, _t1@entry=KActivities::Consumer::Running) at ./obj-x86_64-linux-gnu/src/lib/KF5Activities_autogen/EWIEGA46WW/moc_activitiescache_p.cpp:412
#15 0x00007fad14658a26 in KActivities::ActivitiesCache::setAllActivities (this=this@entry=0x55d48665afc0, _activities=...) at ./src/lib/activitiescache_p.cpp:270
#16 0x00007fad14658c5d in KActivities::ActivitiesCache::passInfoFromReply<QList<ActivityInfo>, void (KActivities::ActivitiesCache::*)(QList<ActivityInfo> const&)> (f=(void (KActivities::ActivitiesCache::*)(class KActivities::ActivitiesCache * const, const class QList<ActivityInfo> &)) 0x7fad146588b0 <KActivities::ActivitiesCache::setAllActivities(QList<ActivityInfo> const&)>, watcher=0x55d486667a30, this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:164
#17 KActivities::ActivitiesCache::setAllActivitiesFromReply (this=<optimized out>, watcher=0x55d486667a30) at ./src/lib/activitiescache_p.cpp:195
#18 0x00007fad1464062f in KActivities::ActivitiesCache::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./obj-x86_64-linux-gnu/src/lib/KF5Activities_autogen/EWIEGA46WW/moc_activitiescache_p.cpp:201
#19 0x00007fad12417730 in doActivate<false> (sender=0x55d486667a30, signal_index=3, argv=0x7ffe2b4f5e70) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#20 0x00007fad12410ac7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fad12de55e0 <QDBusPendingCallWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe2b4f5e70) at kernel/qobject.cpp:3946
#21 0x00007fad12dc60a3 in QDBusPendingCallWatcher::finished (this=<optimized out>, _t1=<optimized out>) at .moc/moc_qdbuspendingcall.cpp:158
#22 0x00007fad12dc61a8 in QDBusPendingCallWatcherPrivate::_q_finished (this=<optimized out>) at qdbuspendingcall.cpp:494
#23 QDBusPendingCallWatcher::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qdbuspendingcall.cpp:86
#24 0x00007fad1240e279 in QObject::event (this=0x55d486667a30, e=0x55d4863b38e0) at kernel/qobject.cpp:1314
#25 0x00007fad130dcdc3 in QApplicationPrivate::notify_helper (this=this@entry=0x55d4863992c0, receiver=receiver@entry=0x55d486667a30, e=e@entry=0x55d4863b38e0) at kernel/qapplication.cpp:3632
#26 0x00007fad130e5bb8 in QApplication::notify (this=0x7ffe2b4f6590, receiver=0x55d486667a30, e=0x55d4863b38e0) at kernel/qapplication.cpp:3156
#27 0x00007fad123e06da in QCoreApplication::notifyInternal2 (receiver=0x55d486667a30, event=0x55d4863b38e0) at ../../include/QtCore/5.15.2/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#28 0x00007fad123e2fe1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55d48638e1b0) at kernel/qcoreapplication.cpp:1817
#29 0x00007fad1243b987 in postEventSourceDispatch (s=0x55d486409540) at kernel/qeventdispatcher_glib.cpp:277
#30 0x00007fad106e017d in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007fad106e0400 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fad106e04a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fad1243afe2 in QEventDispatcherGlib::processEvents (this=0x55d486409520, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#34 0x00007fad123df1eb in QEventLoop::exec (this=this@entry=0x7ffe2b4f6440, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#35 0x00007fad123e7394 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#36 0x000055d485f80e5e in main (argc=<optimized out>, argv=<optimized out>) at ./shell/main.cpp:251
[Inferior 1 (process 1305) detached]

Possible duplicates by query: bug 433486, bug 433303, bug 431726, bug 431401, bug 430656.

Reported using DrKonqi
Comment 1 Nate Graham 2021-03-19 13:33:52 UTC

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