Bug 460919

Summary: Plasmashell reports crash on every startup
Product: [Plasma] plasmashell Reporter: Kiumars Javan <kiumars.javan>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde, nate
Priority: NOR Keywords: drkonqi
Version: 5.26.0   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kiumars Javan 2022-10-24 06:23:35 UTC
Application: plasmashell (5.26.0)

Qt Version: 5.15.6
Frameworks Version: 5.99.0
Operating System: Linux 5.15.0-48-generic x86_64
Windowing System: X11
Distribution: KDE neon User - 5.26
DrKonqi: 5.26.0 [KCrashBackend]

-- Information about the crash:
On every startup with no exceptions, Plasmashell crashs but nothing seems to be wrong and ui works fine.

The crash can be reproduced every time.

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

[New LWP 3181]
[New LWP 3204]
[New LWP 3246]
[New LWP 3833]
[New LWP 3843]
[New LWP 3944]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
python sentry-sdk not installed :(

[Current thread is 1 (Thread 0x7efce0cd72c0 (LWP 3142))]

Thread 7 (Thread 0x7efcbce21700 (LWP 3944)):
[KCrash Handler]
#4  0x00007efcc8076722 in KActivities::Stats::ResultModelPrivate::Cache::replace(QList<KActivities::Stats::ResultSet::Result> const&, int)::{lambda()#1}::operator()() const (__closure=0x55bcc57b2ab8) at ./src/resultmodel.cpp:511
#5  std::__invoke_impl<void, KActivities::Stats::ResultModelPrivate::Cache::replace(QList<KActivities::Stats::ResultSet::Result> const&, int)::{lambda()#1}>(std::__invoke_other, KActivities::Stats::ResultModelPrivate::Cache::replace(QList<KActivities::Stats::ResultSet::Result> const&, int)::{lambda()#1}&&) (__f=...) at /usr/include/c++/9/bits/invoke.h:60
#6  std::__invoke<KActivities::Stats::ResultModelPrivate::Cache::replace(QList<KActivities::Stats::ResultSet::Result> const&, int)::{lambda()#1}>(std::__invoke_result&&, (KActivities::Stats::ResultModelPrivate::Cache::replace(QList<KActivities::Stats::ResultSet::Result> const&, int)::{lambda()#1}&&)...) (__fn=...) at /usr/include/c++/9/bits/invoke.h:95
#7  std::thread::_Invoker<std::tuple<KActivities::Stats::ResultModelPrivate::Cache::replace(QList<KActivities::Stats::ResultSet::Result> const&, int)::{lambda()#1}> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x55bcc57b2ab8) at /usr/include/c++/9/thread:244
#8  std::thread::_Invoker<std::tuple<KActivities::Stats::ResultModelPrivate::Cache::replace(QList<KActivities::Stats::ResultSet::Result> const&, int)::{lambda()#1}> >::operator()() (this=0x55bcc57b2ab8) at /usr/include/c++/9/thread:251
#9  std::thread::_State_impl<std::thread::_Invoker<std::tuple<KActivities::Stats::ResultModelPrivate::Cache::replace(QList<KActivities::Stats::ResultSet::Result> const&, int)::{lambda()#1}> > >::_M_run() (this=0x55bcc57b2ab0) at /usr/include/c++/9/thread:195
#10 0x00007efce4d80de4 in  () at /lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x00007efce4789609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007efce4bd7133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7efcc8a4e700 (LWP 3843)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55bcc29e5470) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55bcc29e5420, cond=0x55bcc29e5448) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55bcc29e5448, mutex=0x55bcc29e5420) at pthread_cond_wait.c:647
#3  0x00007efce4f605eb in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007efce6bff394 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007efce6bff809 in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007efce4f5a543 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007efce4789609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007efce4bd7133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7efcca3e8700 (LWP 3833)):
#0  0x00007efce4bca99f in __GI___poll (fds=0x7efcc0005420, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007efce32d936e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007efce32d94a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007efce519bb9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007efce513fb3b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007efce4f59342 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007efce6b3967a in  () at /lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007efce4f5a543 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007efce4789609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007efce4bd7133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7efcd7fff700 (LWP 3246)):
#0  0x00007efce4bca99f in __GI___poll (fds=0x7efcc4004a60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007efce32d936e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007efce32d94a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007efce519bb9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007efce513fb3b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007efce4f59342 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007efce679b919 in  () at /lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007efce4f5a543 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007efce4789609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007efce4bd7133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7efcdd7d3700 (LWP 3204)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55bcc135b978) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55bcc135b928, cond=0x55bcc135b950) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55bcc135b950, mutex=0x55bcc135b928) at pthread_cond_wait.c:647
#3  0x00007efcddbd05eb in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007efcddbd01eb in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007efce4789609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007efce4bd7133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7efce0179700 (LWP 3181)):
#0  0x00007efce4bca99f in __GI___poll (fds=0x7efcd8016670, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007efce32d936e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007efce32d94a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007efce519bb82 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007efce513fb3b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007efce4f59342 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007efce5adaf4b in  () at /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007efce4f5a543 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007efce4789609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007efce4bd7133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7efce0cd72c0 (LWP 3142)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007efce4f5c6f1 in QSemaphore::acquire(int) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007efce5178256 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007efce5171643 in QObject::destroyed(QObject*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007efce5176500 in QObject::~QObject() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007efce5b3fe6d in QDBusServiceWatcher::~QDBusServiceWatcher() () at /lib/x86_64-linux-gnu/libQt5DBus.so.5
#6  0x00007efce516b6fe in QObjectPrivate::deleteChildren() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007efce5176203 in QObject::~QObject() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007efcc8077f41 in KActivities::Stats::forgetResource(KActivities::Stats::Terms::Activity, KActivities::Stats::Terms::Agent, QString const&) (activities=..., agents=..., resource=...) at ./src/cleaning.cpp:21
#9  0x00007efcc8069019 in KActivities::Stats::ResultModel::forgetResources(QList<QString> const&) (this=0x55bcc5840260, resources=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qrefcount.h:60
#10 0x00007efce516ed09 in QObject::event(QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007efce5e76e43 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007efce5e7fc58 in QApplication::notify(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007efce514103a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007efce5143941 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007efce519c527 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007efce32d917d in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007efce32d9400 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007efce32d94a3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007efce519bb82 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007efce513fb3b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007efce5147ce4 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x000055bcbf3aa7ec in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./shell/main.cpp:233
[Inferior 1 (process 3142) detached]

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

Reported using DrKonqi
Comment 1 Nate Graham 2022-10-24 20:33:00 UTC

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