Bug 476113

Summary: Plasma crashed upon restart after system update
Product: [Frameworks and Libraries] frameworks-activities-stats Reporter: Eric R <aer0usa>
Component: generalAssignee: Ivan Čukić <ivan.cukic>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde, nate, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.111.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
Backtrace generated by coredumpctl

Description Eric R 2023-10-26 13:59:24 UTC
Application: plasmashell (5.27.9)

Qt Version: 5.15.11
Frameworks Version: 5.111.0
Operating System: Linux 6.2.0-35-generic x86_64
Windowing System: X11
Distribution: KDE neon 5.27
DrKonqi: 5.27.9 [CoredumpBackend]

-- Information about the crash:
I had just run a system update via Discover, and I allowed the system to restart after the update. After the restart, and after I logged into the X11 Plasma session, Plasma crashed as the UI was rendering.

The reporter is unsure if this crash is reproducible.

-- Backtrace (Reduced):
#8  0x00007f894c894ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f894c926a40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81


Reported using DrKonqi
Comment 1 Eric R 2023-10-26 13:59:25 UTC
Created attachment 162574 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Nate Graham 2023-10-26 21:57:03 UTC
Thank you for the bug report! Unfortunately the backtrace is incomplete and missing debug symbols for the following lines that we need to figure out exactly what's going wrong:

Thread 1 (Thread 0x7f891e32a640 (LWP 2606)):
[KCrash Handler]
#6  0x00007f8925e18e66 in  () at /lib/x86_64-linux-gnu/libKF5ActivitiesStats.so.1
#7  0x00007f894ccdc253 in  () at /lib/x86_64-linux-gnu/libstdc++.so.6
#8  0x00007f894c894ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#9  0x00007f894c926a40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81



Could you please install debug symbols for the kactivitiesstats framework, and attach a new symbolicated backtrace generated using the `coredumpctl` command-line program? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl for details about how to do this.

Thanks again!
Comment 3 Eric R 2023-10-27 14:34:00 UTC
Created attachment 162595 [details]
Backtrace generated by coredumpctl

Please let me know if you need anything else. Thanks!
Comment 4 Nate Graham 2023-10-27 15:43:38 UTC
Thanks, that's helpful. Pasting it inline for searchability:

#0  __pthread_kill_implementation (no_tid=0, signo=11, threadid=140226893882944) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=11, threadid=140226893882944) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=140226893882944, signo=signo@entry=11) at ./nptl/pthread_kill.c:89
#3  0x00007f894c842476 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#4  0x00007f894f5230cd in KCrash::defaultCrashHandler(int) () at /lib/x86_64-linux-gnu/libKF5Crash.so.5
#5  0x00007f894c842520 in <signal handler called> () at /lib/x86_64-linux-gnu/libc.so.6
#6  0x00007f8925e18e66 in KActivities::Stats::ResultModelPrivate::Cache::replace(QList<KActivities::Stats::ResultSet::Result> const&, int)::{lambda()#1}::operator()() const
(__closure=<optimized out>) at ./src/resultmodel.cpp:511
#7  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=<optimized out>)
at /usr/include/c++/11/bits/invoke.h:61
#8  std::__invoke<KActivities::Stats::ResultModelPrivate::Cache::replace(QList<KActivities::Stats::ResultSet::Result> const&, int)::{lambda()#1}>(KActivities::Stats::ResultModelPrivate::Cache::replace(QList<KActivities::Stats::ResultSet::Result> const&, int)::{lambda()#1}&&) (__fn=<optimized out>) at /usr/include/c++/11/bits/invoke.h:96
#9  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=<optimized out>) at /usr/include/c++/11/bits/std_thread.h:259
#10 std::thread::_Invoker<std::tuple<KActivities::Stats::ResultModelPrivate::Cache::replace(QList<KActivities::Stats::ResultSet::Result> const&, int)::{lambda()#1}> >::operator()() (this=<optimized out>) at /usr/include/c++/11/bits/std_thread.h:266
#11 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=0x55b517e5c350) at /usr/include/c++/11/bits/std_thread.h:211
#12 0x00007f894ccdc253 in  () at /lib/x86_64-linux-gnu/libstdc++.so.6
#13 0x00007f894c894ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#14 0x00007f894c926a40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Comment 5 Nate Graham 2023-10-27 15:44:39 UTC
Looks like it's already reported as Bug 458121.

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