https://bugs.kde.org/show_bug.cgi?id=514319

            Bug ID: 514319
           Summary: After Plasma 6.5 upgrade kactivitymanager crashes
                    reliably
    Classification: Plasma
           Product: plasmashell
      Version First 6.5.4
       Reported In:
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: Activities in general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

Application: kactivitymanagerd (6.5.4)

ApplicationNotResponding [ANR]: false
Qt Version: 6.10.1
Frameworks Version: 6.21.0
Operating System: Linux 6.14.0-37-generic x86_64
Windowing System: X11
Distribution: KDE neon User Edition
DrKonqi: 6.5.4 [CoredumpBackend]

-- Information about the crash:
I have just upgraded my KDE Neon User machine to Plasma 6.5 and after the
upgrade (and reboot), kactivitymanager crashes on startup consistently and
repeatedly.  Nothing obviusly wrong with the upgrade / packages, but I will
have a look for similar bug reports and other inconsistencies in the system.

The crash can be reproduced every time.

-- Backtrace:
Application: kactivitymanagerd (kactivitymanagerd), signal: Aborted

[New LWP 9600]
[New LWP 9605]
[New LWP 9602]
[New LWP 9601]
[New LWP 9603]
[New LWP 9604]

This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.neon.kde.org/>
  <https://debuginfod.ubuntu.com/>
Enable debuginfod for this session? (y or [n]) [answered N; input not from
terminal]
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/lib/x86_64-linux-gnu/libexec/kactivitymanagerd'.
Program terminated with signal SIGABRT, Aborted.
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>)
at ./nptl/pthread_kill.c:44

warning: 44     ./nptl/pthread_kill.c: No such file or directory
[Current thread is 1 (Thread 0x72dbf5613940 (LWP 9600))]
add symbol table from file "/lib/x86_64-linux-gnu/libc.so.6"
add symbol table from file "/lib/x86_64-linux-gnu/libKF6Crash.so.6"
add symbol table from file "/lib/x86_64-linux-gnu/libQt6Core.so.6"
add symbol table from file
"/usr/lib/x86_64-linux-gnu/qt6/plugins/kactivitymanagerd1/org.kde.ActivityManager.ResourceScoring.so"
add symbol table from file
"/usr/lib/x86_64-linux-gnu/libexec/kactivitymanagerd"
warning: could not find '.gnu_debugaltlink' file for
/lib/x86_64-linux-gnu/libglib-2.0.so.0
add symbol table from file "/lib/x86_64-linux-gnu/libglib-2.0.so.0"
warning: could not find '.gnu_debugaltlink' file for
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.8000.0
add symbol table from file "/lib/x86_64-linux-gnu/libQt6DBus.so.6"
add symbol table from file "/lib/x86_64-linux-gnu/libxcb.so.1"
add symbol table from file "/lib/x86_64-linux-gnu/libQt6XcbQpa.so.6"
[Current thread is 1 (Thread 0x72dbf5613940 (LWP 9600))]

Thread 6 (Thread 0x72dbe3fff6c0 (LWP 9604)):
#0  0x000072dbf551b4fd in __GI___poll (fds=0x72dbdc0013b0, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x000072dbf57736be in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x000072dbf57139d3 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x000072dbf5e86fef in QEventDispatcherGlib::processEvents
(this=0x72dbdc000b70, flags=...) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#4  0x000072dbf60e14e3 in QEventLoop::exec (this=0x72dbe3ffebe0, flags=...) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/global/qflags.h:77
#5  0x000072dbf5fe0d84 in QThread::exec (this=<optimized out>) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/global/qflags.h:77
#6  0x0000627e83d43794 in runInQThread<Activities>()::Thread::run() () at
/usr/include/c++/13/bits/unique_ptr.h:197
#7  0x000072dbf5fa6f53 in operator() (__closure=<optimized out>) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/thread/qthread_unix.cpp:437
#8  (anonymous
namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >
(t=...) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/thread/qthread_unix.cpp:367
#9  QThreadPrivate::start (arg=0x627e98054f60) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/thread/qthread_unix.cpp:397
#10 0x000072dbf549caa4 in start_thread (arg=<optimized out>) at
./nptl/pthread_create.c:447
#11 0x000072dbf5529c6c in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 5 (Thread 0x72dbf0ffd6c0 (LWP 9603)):
#0  0x000072dbf551b4fd in __GI___poll (fds=0x72dbe80013b0, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x000072dbf57736be in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x000072dbf57139d3 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x000072dbf5e86fef in QEventDispatcherGlib::processEvents
(this=0x72dbe8000b70, flags=...) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#4  0x000072dbf60e14e3 in QEventLoop::exec (this=0x72dbf0ffcbc0, flags=...) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/global/qflags.h:77
#5  0x000072dbf5fe0d84 in QThread::exec (this=<optimized out>) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/global/qflags.h:77
#6  0x0000627e83d3dc27 in runInQThread<Resources>()::Thread::run() () at
/usr/src/kactivitymanagerd-6.5.4-0zneon+24.04+noble+release+build49/src/service/Application.cpp:67
#7  0x000072dbf5fa6f53 in operator() (__closure=<optimized out>) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/thread/qthread_unix.cpp:437
#8  (anonymous
namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >
(t=...) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/thread/qthread_unix.cpp:367
#9  QThreadPrivate::start (arg=0x627e98037700) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/thread/qthread_unix.cpp:397
#10 0x000072dbf549caa4 in start_thread (arg=<optimized out>) at
./nptl/pthread_create.c:447
#11 0x000072dbf5529c6c in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 4 (Thread 0x72dbf1fff6c0 (LWP 9601)):
#0  0x000072dbf551b4fd in __GI___poll (fds=0x627e98059f50, nfds=4, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x000072dbf57736be in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x000072dbf57139d3 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x000072dbf5e86fef in QEventDispatcherGlib::processEvents
(this=0x72dbec000b70, flags=...) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#4  0x000072dbf60e14e3 in QEventLoop::exec (this=0x72dbf1ffebb0, flags=...) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/global/qflags.h:77
#5  0x000072dbf5fe0d84 in QThread::exec (this=this@entry=0x72dbf6372f40
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/global/qflags.h:77
#6  0x000072dbf635354d in QDBusConnectionManager::run (this=0x72dbf6372f40
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/dbus/qdbusconnectionmanager.cpp:145
#7  0x000072dbf5fa6f53 in operator() (__closure=<optimized out>) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/thread/qthread_unix.cpp:437
#8  (anonymous
namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >
(t=...) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/thread/qthread_unix.cpp:367
#9  QThreadPrivate::start (arg=0x72dbf6372f40
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/thread/qthread_unix.cpp:397
#10 0x000072dbf549caa4 in start_thread (arg=<optimized out>) at
./nptl/pthread_create.c:447
#11 0x000072dbf5529c6c in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x72dbf17fe6c0 (LWP 9602)):
#0  0x000072dbf551b4fd in __GI___poll (fds=0x72dbf17fdaf8, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x000072dbf4fa18ca in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x000072dbf4fa328c in xcb_wait_for_event () from
/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x000072dbf2701386 in QXcbEventQueue::run (this=0x627e97ff0df0) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/plugins/platforms/xcb/qxcbeventqueue.cpp:194
#4  0x000072dbf5fa6f53 in operator() (__closure=<optimized out>) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/thread/qthread_unix.cpp:437
#5  (anonymous
namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >
(t=...) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/thread/qthread_unix.cpp:367
#6  QThreadPrivate::start (arg=0x627e97ff0df0) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/thread/qthread_unix.cpp:397
#7  0x000072dbf549caa4 in start_thread (arg=<optimized out>) at
./nptl/pthread_create.c:447
#8  0x000072dbf5529c6c in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x72dbe37fe6c0 (LWP 9605)):
#0  0x000072dbf551b4fd in __GI___poll (fds=0x72dbd40013b0, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x000072dbf57736be in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x000072dbf57139d3 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x000072dbf5e86fef in QEventDispatcherGlib::processEvents
(this=0x72dbd4000b70, flags=...) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#4  0x000072dbf60e14e3 in QEventLoop::exec (this=0x72dbe37fdbe0, flags=...) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/global/qflags.h:77
#5  0x000072dbf5fe0d84 in QThread::exec (this=<optimized out>) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/global/qflags.h:77
#6  0x0000627e83d3da06 in runInQThread<Features>()::Thread::run() () at
/usr/include/c++/13/bits/unique_ptr.h:197
#7  0x000072dbf5fa6f53 in operator() (__closure=<optimized out>) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/thread/qthread_unix.cpp:437
#8  (anonymous
namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >
(t=...) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/thread/qthread_unix.cpp:367
#9  QThreadPrivate::start (arg=0x627e98054f40) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/thread/qthread_unix.cpp:397
#10 0x000072dbf549caa4 in start_thread (arg=<optimized out>) at
./nptl/pthread_create.c:447
#11 0x000072dbf5529c6c in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x72dbf5613940 (LWP 9600)):
[KCrash Handler]
#6  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>)
at ./nptl/pthread_kill.c:44
#7  __pthread_kill_internal (signo=6, threadid=<optimized out>) at
./nptl/pthread_kill.c:78
#8  __GI___pthread_kill (threadid=<optimized out>, signo=6) at
./nptl/pthread_kill.c:89
#9  0x000072dbf544527e in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26
#10 0x000072dbf54288ff in __GI_abort () at ./stdlib/abort.c:79
#11 0x000072dbf6132891 in qAbort () at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/global/qassert.cpp:46
#12 qt_maybe_message_fatal<QString&> (message=..., context=...,
msgType=QtFatalMsg) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/global/qlogging.cpp:2166
#13 qt_message(QtMsgType, const QMessageLogContext &, const char *, typedef
__va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, context=...,
msg=msg@entry=0x72dbf5e4b618 "ASSERT failure in %s: \"%s\", file %s, line %d",
ap=ap@entry=0x7ffe8b4fb5b8) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/global/qlogging.cpp:412
#14 0x000072dbf6133653 in QMessageLogger::fatal (this=<optimized out>,
msg=0x72dbf5e4b618 "ASSERT failure in %s: \"%s\", file %s, line %d") at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/global/qlogging.cpp:901
#15 0x000072dbf612107b in qt_assert_x (where=where@entry=0x72dbf0773793
"Uils::exec", what=<optimized out>, file=file@entry=0x72dbf0774df8
"./src/service/plugins/sqlite/Utils.h", line=line@entry=53) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/global/qassert.cpp:122
#16 0x000072dbf07566bb in Utils::exec(Common::Database&, Utils::ErrorHandling,
QSqlQuery&) [clone .isra.0] (eh=<optimized out>, query=..., database=...) at
/usr/src/kactivitymanagerd-6.5.4-0zneon+24.04+noble+release+build49/src/service/plugins/sqlite/Utils.h:53
#17 0x000072dbf0768d72 in Utils::exec<char const*, long long> (database=...,
value=<optimized out>, variable=<synthetic pointer>: <optimized out>,
query=..., eh=Utils::FailOnError) at
/usr/src/kactivitymanagerd-6.5.4-0zneon+24.04+noble+release+build49/src/service/plugins/sqlite/Utils.h:68
#18 Utils::exec<char [14], QVariant, char const*, long long> (database=...,
eh=Utils::FailOnError, variable=..., value=..., query=...) at
/usr/src/kactivitymanagerd-6.5.4-0zneon+24.04+noble+release+build49/src/service/plugins/sqlite/Utils.h:68
#19 StatsPlugin::DeleteEarlierStats (this=0x627e98060ac0, activity=...,
months=4) at
/usr/src/kactivitymanagerd-6.5.4-0zneon+24.04+noble+release+build49/src/service/plugins/sqlite/StatsPlugin.cpp:520
#20 0x000072dbf075cbde in StatsPlugin::DeleteEarlierStats (months=<optimized
out>, activity=..., this=0x627e98060ac0) at
/usr/src/kactivitymanagerd-6.5.4-0zneon+24.04+noble+release+build49/src/service/plugins/sqlite/StatsPlugin.cpp:120
#21 StatsPlugin::deleteOldEvents (this=this@entry=0x627e98060ac0) at
/usr/src/kactivitymanagerd-6.5.4-0zneon+24.04+noble+release+build49/src/service/plugins/sqlite/StatsPlugin.cpp:119
#22 0x000072dbf075e1c0 in StatsPlugin::loadConfiguration
(this=this@entry=0x627e98060ac0) at
/usr/src/kactivitymanagerd-6.5.4-0zneon+24.04+noble+release+build49/src/service/plugins/sqlite/StatsPlugin.cpp:95
#23 0x000072dbf075fb79 in StatsPlugin::init (modules=..., this=0x627e98060ac0)
at
/usr/src/kactivitymanagerd-6.5.4-0zneon+24.04+noble+release+build49/src/service/plugins/sqlite/StatsPlugin.cpp:70
#24 StatsPlugin::init (this=0x627e98060ac0, modules=...) at
/usr/src/kactivitymanagerd-6.5.4-0zneon+24.04+noble+release+build49/src/service/plugins/sqlite/StatsPlugin.cpp:51
#25 0x0000627e83d3fa54 in Application::Private::loadPlugin
(this=0x627e980077b0, plugin=...) at
/usr/src/kactivitymanagerd-6.5.4-0zneon+24.04+noble+release+build49/src/service/Application.cpp:152
#26 0x0000627e83d47168 in Application::loadPlugins (this=0x7ffe8b4fc520) at
/usr/src/kactivitymanagerd-6.5.4-0zneon+24.04+noble+release+build49/src/service/Application.cpp:176
#27 Application::qt_static_metacall (_o=0x7ffe8b4fc520, _id=<optimized out>,
_a=0x627e98056ab8, _c=<optimized out>) at
/usr/src/kactivitymanagerd-6.5.4-0zneon+24.04+noble+release+build49/obj-x86_64-linux-gnu/src/service/kactivitymanagerd_autogen/include/moc_Application.cpp:99
#28 0x000072dbf6032e10 in QObject::event (this=0x7ffe8b4fc520,
e=0x627e98056a70) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/kernel/qobject.cpp:1413
#29 0x000072dbf60d6ec0 in QCoreApplication::notifyInternal2
(receiver=0x7ffe8b4fc520, event=0x627e98056a70) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/kernel/qcoreapplication.cpp:1109
#30 0x000072dbf60d6f0d in QCoreApplication::sendEvent (receiver=<optimized
out>, event=<optimized out>) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/kernel/qcoreapplication.cpp:1549
#31 0x000072dbf60d7191 in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x627e97fdc4a0) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/kernel/qcoreapplication.cpp:1904
#32 0x000072dbf5e8852f in postEventSourceDispatch (s=0x627e98038da0) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/kernel/qeventdispatcher_glib.cpp:246
#33 0x000072dbf5714535 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x000072dbf5773767 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x000072dbf57139d3 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x000072dbf5e86fef in QEventDispatcherGlib::processEvents
(this=0x627e9802a510, flags=...) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#37 0x000072dbf60e14e3 in QEventLoop::exec (this=0x7ffe8b4fc4a0, flags=...) at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/global/qflags.h:77
#38 0x000072dbf60db62f in QCoreApplication::exec () at
/usr/src/qt6-base-6.10.1-0zneon+24.04+noble+release+build145/src/corelib/global/qflags.h:77
#39 0x0000627e83d3d2df in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/kactivitymanagerd-6.5.4-0zneon+24.04+noble+release+build49/src/service/Application.cpp:262

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to