Bug 443718

Summary: crash affter login from x11 to wayland
Product: [Plasma] plasmashell Reporter: Art Kis <artkis>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.23.0   
Target Milestone: 1.0   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Art Kis 2021-10-14 15:00:59 UTC
Application: plasmashell (5.23.0)
 (Compiled from sources)
Qt Version: 5.15.3
Frameworks Version: 5.87.0
Operating System: Linux 5.4.0-88-generic x86_64
Windowing System: Wayland
Distribution: KDE neon User Edition 5.23
DrKonqi: 5.23.0 [KCrashBackend]

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

- Unusual behavior I noticed:
Is show it crash but which application, i dont know

- Custom settings of the application:
Im using external screen while my laptop screen is close

The crash can be reproduced every time.

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

[New LWP 2255]
[New LWP 2294]
[New LWP 2295]
[New LWP 2296]
[New LWP 2297]
[New LWP 2365]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fbe8cf56aff in __GI___poll (fds=0x7ffc791733f8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
__preamble__
[Current thread is 1 (Thread 0x7fbe890ab9c0 (LWP 2204))]

Thread 7 (Thread 0x7fbe6e4ea700 (LWP 2365)):
#0  0x00007ffc791de933 in clock_gettime ()
#1  0x00007fbe8cf21235 in __GI___clock_gettime (clock_id=clock_id@entry=1, tp=tp@entry=0x7fbe6e4e9930) at ../sysdeps/unix/sysv/linux/clock_gettime.c:38
#2  0x00007fbe8d525eb5 in qt_clock_gettime (ts=0x7fbe6e4e9930, clock=1) at kernel/qelapsedtimer_unix.cpp:175
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at kernel/qelapsedtimer_unix.cpp:166
#4  qt_gettime () at kernel/qelapsedtimer_unix.cpp:175
#5  0x00007fbe8d52474d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7fbe68004d50) at kernel/qtimerinfo_unix.cpp:91
#6  0x00007fbe8d524d29 in QTimerInfoList::timerWait (this=0x7fbe68004d50, tm=...) at kernel/qtimerinfo_unix.cpp:388
#7  0x00007fbe8d526346 in timerSourcePrepareHelper (timeout=0x7fbe6e4e99f4, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:162
#8  timerSourcePrepare (source=<optimized out>, timeout=0x7fbe6e4e99f4) at kernel/qeventdispatcher_glib.cpp:166
#9  0x00007fbe8b8018ef in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fbe8b80229b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fbe8b8024a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007fbe8d5265eb in QEventDispatcherGlib::processEvents (this=0x7fbe68000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#13 0x00007fbe8d4ca87b in QEventLoop::exec (this=this@entry=0x7fbe6e4e9bc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#14 0x00007fbe8d2e4292 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#15 0x00007fbe8eaf5549 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#16 0x00007fbe8d2e542c in QThreadPrivate::start (arg=0x562b1c255180) at thread/qthread_unix.cpp:329
#17 0x00007fbe8c234609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#18 0x00007fbe8cf63293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fbe85425700 (LWP 2297)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562b1beacb88) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x562b1beacb38, cond=0x562b1beacb60) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x562b1beacb60, mutex=0x562b1beacb38) at pthread_cond_wait.c:638
#3  0x00007fbe86f95a4b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fbe86f9564b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fbe8c234609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fbe8cf63293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fbe85c26700 (LWP 2296)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562b1beacb88) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x562b1beacb38, cond=0x562b1beacb60) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x562b1beacb60, mutex=0x562b1beacb38) at pthread_cond_wait.c:638
#3  0x00007fbe86f95a4b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fbe86f9564b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fbe8c234609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fbe8cf63293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fbe86427700 (LWP 2295)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562b1beacb88) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x562b1beacb38, cond=0x562b1beacb60) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x562b1beacb60, mutex=0x562b1beacb38) at pthread_cond_wait.c:638
#3  0x00007fbe86f95a4b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fbe86f9564b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fbe8c234609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fbe8cf63293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fbe86c28700 (LWP 2294)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562b1beacb88) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x562b1beacb38, cond=0x562b1beacb60) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x562b1beacb60, mutex=0x562b1beacb38) at pthread_cond_wait.c:638
#3  0x00007fbe86f95a4b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fbe86f9564b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fbe8c234609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007fbe8cf63293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fbe88774700 (LWP 2255)):
#0  0x00007ffc791de933 in clock_gettime ()
#1  0x00007fbe8cf21235 in __GI___clock_gettime (clock_id=clock_id@entry=1, tp=tp@entry=0x7fbe88773920) at ../sysdeps/unix/sysv/linux/clock_gettime.c:38
#2  0x00007fbe8d525eb5 in qt_clock_gettime (ts=0x7fbe88773920, clock=1) at kernel/qelapsedtimer_unix.cpp:175
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at kernel/qelapsedtimer_unix.cpp:166
#4  qt_gettime () at kernel/qelapsedtimer_unix.cpp:175
#5  0x00007fbe8d52474d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7fbe80005130) at kernel/qtimerinfo_unix.cpp:91
#6  0x00007fbe8d524d29 in QTimerInfoList::timerWait (this=0x7fbe80005130, tm=...) at kernel/qtimerinfo_unix.cpp:388
#7  0x00007fbe8d526346 in timerSourcePrepareHelper (timeout=0x7fbe887739e4, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:162
#8  timerSourcePrepare (source=<optimized out>, timeout=0x7fbe887739e4) at kernel/qeventdispatcher_glib.cpp:166
#9  0x00007fbe8b8018ef in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fbe8b80229b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fbe8b8024a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007fbe8d5265eb in QEventDispatcherGlib::processEvents (this=0x7fbe80000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#13 0x00007fbe8d4ca87b in QEventLoop::exec (this=this@entry=0x7fbe88773bb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#14 0x00007fbe8d2e4292 in QThread::exec (this=this@entry=0x7fbe8dedbd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#15 0x00007fbe8de57f4b in QDBusConnectionManager::run (this=0x7fbe8dedbd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#16 0x00007fbe8d2e542c in QThreadPrivate::start (arg=0x7fbe8dedbd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:329
#17 0x00007fbe8c234609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#18 0x00007fbe8cf63293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fbe890ab9c0 (LWP 2204)):
[KCrash Handler]
#4  0x00007fbe8d8d6c66 in QScreen::name (this=0x562b1bc97dc0) at kernel/qscreen.cpp:195
#5  0x0000562b1a7f7dd4 in ShellCorona::addOutput (this=this@entry=0x562b1c21c7e0, screen=<optimized out>, screen@entry=0x562b1bc97dc0) at ./shell/shellcorona.cpp:1234
#6  0x0000562b1a801c33 in ShellCorona::load (this=0x562b1c21c7e0) at ./shell/shellcorona.cpp:684
#7  0x00007fbe8d502d9e in QtPrivate::QSlotObjectBase::call (a=0x7ffc791741e0, r=0x562b1c21c7e0, this=0x562b1c083770) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#8  doActivate<false> (sender=0x562b1c07b490, signal_index=4, argv=0x7ffc791741e0) at kernel/qobject.cpp:3886
#9  0x00007fbe8d4fc167 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fbe8f87e0c0 <KActivities::Consumer::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffc791741e0) at kernel/qobject.cpp:3946
#10 0x00007fbe8f84fda5 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 0x00007fbe8d502d9e in QtPrivate::QSlotObjectBase::call (a=0x7ffc79174300, r=0x562b1c07b490, this=0x562b1c07cfc0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#12 doActivate<false> (sender=0x562b1c22ac10, signal_index=11, argv=0x7ffc79174300) at kernel/qobject.cpp:3886
#13 0x00007fbe8d4fc167 in QMetaObject::activate (sender=sender@entry=0x562b1c22ac10, m=m@entry=0x7fbe8f87e180 <KActivities::ActivitiesCache::staticMetaObject>, local_signal_index=local_signal_index@entry=8, argv=argv@entry=0x7ffc79174300) at kernel/qobject.cpp:3946
#14 0x00007fbe8f84fd45 in KActivities::ActivitiesCache::serviceStatusChanged (this=this@entry=0x562b1c22ac10, _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 0x00007fbe8f869046 in KActivities::ActivitiesCache::setAllActivities (this=this@entry=0x562b1c22ac10, _activities=...) at ./src/lib/activitiescache_p.cpp:270
#16 0x00007fbe8f86927d in KActivities::ActivitiesCache::passInfoFromReply<QList<ActivityInfo>, void (KActivities::ActivitiesCache::*)(QList<ActivityInfo> const&)> (f=(void (KActivities::ActivitiesCache::*)(class KActivities::ActivitiesCache * const, const class QList<ActivityInfo> &)) 0x7fbe8f868ed0 <KActivities::ActivitiesCache::setAllActivities(QList<ActivityInfo> const&)>, watcher=0x562b1c077850, this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:164
#17 KActivities::ActivitiesCache::setAllActivitiesFromReply (this=<optimized out>, watcher=0x562b1c077850) at ./src/lib/activitiescache_p.cpp:195
#18 0x00007fbe8f85063f 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 0x00007fbe8d502dd0 in doActivate<false> (sender=0x562b1c077850, signal_index=3, argv=0x7ffc791745a0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#20 0x00007fbe8d4fc167 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fbe8deda5e0 <QDBusPendingCallWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc791745a0) at kernel/qobject.cpp:3946
#21 0x00007fbe8debb0d3 in QDBusPendingCallWatcher::finished (this=<optimized out>, _t1=<optimized out>) at .moc/moc_qdbuspendingcall.cpp:158
#22 0x00007fbe8debb1d8 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 0x00007fbe8d4f9919 in QObject::event (this=0x562b1c077850, e=0x562b1bcc3a50) at kernel/qobject.cpp:1314
#25 0x00007fbe8e1dbdc3 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x562b1c077850, e=0x562b1bcc3a50) at kernel/qapplication.cpp:3632
#26 0x00007fbe8e1e4bb8 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3156
#27 0x00007fbe8d4cbd7a in QCoreApplication::notifyInternal2 (receiver=0x562b1c077850, event=0x562b1bcc3a50) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#28 0x00007fbe8d4ce681 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x562b1bc5fef0) at kernel/qcoreapplication.cpp:1821
#29 0x00007fbe8d526f77 in postEventSourceDispatch (s=0x562b1bca4110) at kernel/qeventdispatcher_glib.cpp:277
#30 0x00007fbe8b80217d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007fbe8b802400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fbe8b8024a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fbe8d5265d2 in QEventDispatcherGlib::processEvents (this=0x562b1bca5110, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#34 0x00007fbe8d4ca87b in QEventLoop::exec (this=this@entry=0x7ffc79174b70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#35 0x00007fbe8d4d2a34 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#36 0x0000562b1a7cfcf5 in main (argc=<optimized out>, argv=<optimized out>) at ./shell/main.cpp:238
[Inferior 1 (process 2204) detached]

Possible duplicates by query: bug 442442, bug 441607, bug 441394, bug 440993, bug 440771.

Reported using DrKonqi
Comment 1 Nate Graham 2021-10-14 22:58:02 UTC

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