Bug 316087

Summary: kactivitymanagerd crashed on KDE start
Product: [Plasma] kactivitymanagerd Reporter: nucleo <nucleo>
Component: generalAssignee: Ivan Čukić <ivan.cukic>
Status: RESOLVED DUPLICATE    
Severity: crash CC: plasma-bugs, rdieter
Priority: NOR    
Version: 4.10.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description nucleo 2013-03-03 19:40:37 UTC
After updating from KDE 4.10.0 to 4.10.1 kactivitymanagerd crashes on every KDE start.

Reproducible: Always

Actual Results:  
Application: Диспетчер комнат KDE (kactivitymanagerd), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb3afe7c0 (LWP 1268))]

Thread 6 (Thread 0xb11f2b40 (LWP 1280)):
#0  0xb7703424 in __kernel_vsyscall ()
#1  0xb5877272 in clock_gettime () from /lib/libc.so.6
#2  0xb66a1b1d in qt_gettime() () from /lib/libQtCore.so.4
#3  0xb678bf43 in QTimerInfoList::timerWait(timeval&) () from /lib/libQtCore.so.4
#4  0xb678a503 in timerSourcePrepareHelper(GTimerSource*, int*) () from /lib/libQtCore.so.4
#5  0xb678a59d in timerSourcePrepare(_GSource*, int*) () from /lib/libQtCore.so.4
#6  0xb4615aab in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0xb46163ff in g_main_context_iterate.isra.21 () from /lib/libglib-2.0.so.0
#8  0xb4616649 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0xb678a78f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#10 0xb6758764 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#11 0xb6758aa1 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#12 0xb664177d in QThread::exec() () from /lib/libQtCore.so.4
#13 0x08056544 in Resources* runInQThread<Resources>()::Thread::run() ()
#14 0xb664416a in QThreadPrivate::start(void*) () from /lib/libQtCore.so.4
#15 0xb65c89da in start_thread () from /lib/libpthread.so.0
#16 0xb5862e9e in clone () from /lib/libc.so.6

Thread 5 (Thread 0xb07ffb40 (LWP 1281)):
#0  0xb7703424 in __kernel_vsyscall ()
#1  0xb585685b in poll () from /lib/libc.so.6
#2  0xb4625bbc in g_poll () from /lib/libglib-2.0.so.0
#3  0xb4616508 in g_main_context_iterate.isra.21 () from /lib/libglib-2.0.so.0
#4  0xb4616649 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0xb678a78f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#6  0xb6758764 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#7  0xb6758aa1 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#8  0xb664177d in QThread::exec() () from /lib/libQtCore.so.4
#9  0x08056574 in Activities* runInQThread<Activities>()::Thread::run() ()
#10 0xb664416a in QThreadPrivate::start(void*) () from /lib/libQtCore.so.4
#11 0xb65c89da in start_thread () from /lib/libpthread.so.0
#12 0xb5862e9e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xafffeb40 (LWP 1282)):
#0  0xb7703424 in __kernel_vsyscall ()
#1  0xb65cf25b in read () from /lib/libpthread.so.0
#2  0xb46598a6 in g_wakeup_acknowledge () from /lib/libglib-2.0.so.0
#3  0xb4615fdb in g_main_context_check () from /lib/libglib-2.0.so.0
#4  0xb461649a in g_main_context_iterate.isra.21 () from /lib/libglib-2.0.so.0
#5  0xb4616649 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#6  0xb678a78f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#7  0xb6758764 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#8  0xb6758aa1 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#9  0xb664177d in QThread::exec() () from /lib/libQtCore.so.4
#10 0x080565a4 in Features* runInQThread<Features>()::Thread::run() ()
#11 0xb664416a in QThreadPrivate::start(void*) () from /lib/libQtCore.so.4
#12 0xb65c89da in start_thread () from /lib/libpthread.so.0
#13 0xb5862e9e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xaf41bb40 (LWP 1283)):
[KCrash Handler]
#6  0xb66530ed in QTime::addMSecs(int) const () from /lib/libQtCore.so.4
#7  0xb665496d in QDateTime::setMSecsSinceEpoch(long long) () from /lib/libQtCore.so.4
#8  0xb66549f7 in QDateTime::fromMSecsSinceEpoch(long long) () from /lib/libQtCore.so.4
#9  0xb0983170 in ActivityRanking::Private::processWeekData(QString const&, QString const&, long long, long long) () from /usr/lib/kde4/activitymanager_plugin_activityranking.so
#10 0xb0985de8 in ActivityRanking::Private::processActivityInterval(QString const&, QString const&, long long, long long) () from /usr/lib/kde4/activitymanager_plugin_activityranking.so
#11 0xb09862f0 in ActivityRanking::activityChanged(QString const&) [clone .part.17] () from /usr/lib/kde4/activitymanager_plugin_activityranking.so
#12 0xb0986bf9 in ActivityRanking::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.18] () from /usr/lib/kde4/activitymanager_plugin_activityranking.so
#13 0xb676b70b in QMetaCallEvent::placeMetaCall(QObject*) () from /lib/libQtCore.so.4
#14 0xb6773917 in QObject::event(QEvent*) () from /lib/libQtCore.so.4
#15 0xb5c07f74 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/libQtGui.so.4
#16 0xb5c0ed04 in QApplication::notify(QObject*, QEvent*) () from /lib/libQtGui.so.4
#17 0xb71a1256 in KApplication::notify(QObject*, QEvent*) () from /lib/libkdeui.so.5
#18 0xb6759caa in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib/libQtCore.so.4
#19 0xb675cf24 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/libQtCore.so.4
#20 0xb675d44d in QCoreApplication::sendPostedEvents(QObject*, int) () from /lib/libQtCore.so.4
#21 0xb678ae3f in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib/libQtCore.so.4
#22 0xb46161d6 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#23 0xb4616588 in g_main_context_iterate.isra.21 () from /lib/libglib-2.0.so.0
#24 0xb4616649 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#25 0xb678a78f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#26 0xb6758764 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#27 0xb6758aa1 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#28 0xb664177d in QThread::exec() () from /lib/libQtCore.so.4
#29 0xb0988420 in ActivityRankingPlugin::init(QHash<QString, QObject*> const&)::Thread::run() () from /usr/lib/kde4/activitymanager_plugin_activityranking.so
#30 0xb664416a in QThreadPrivate::start(void*) () from /lib/libQtCore.so.4
#31 0xb65c89da in start_thread () from /lib/libpthread.so.0
#32 0xb5862e9e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xaec1ab40 (LWP 1284)):
#0  0xb7703424 in __kernel_vsyscall ()
#1  0xb65cf25b in read () from /lib/libpthread.so.0
#2  0xb46598a6 in g_wakeup_acknowledge () from /lib/libglib-2.0.so.0
#3  0xb4615fdb in g_main_context_check () from /lib/libglib-2.0.so.0
#4  0xb461649a in g_main_context_iterate.isra.21 () from /lib/libglib-2.0.so.0
#5  0xb4616649 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#6  0xb678a78f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#7  0xb6758764 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#8  0xb6758aa1 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#9  0xb664177d in QThread::exec() () from /lib/libQtCore.so.4
#10 0xb6737e25 in QInotifyFileSystemWatcherEngine::run() () from /lib/libQtCore.so.4
#11 0xb664416a in QThreadPrivate::start(void*) () from /lib/libQtCore.so.4
#12 0xb65c89da in start_thread () from /lib/libpthread.so.0
#13 0xb5862e9e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb3afe7c0 (LWP 1268)):
#0  0xb7703424 in __kernel_vsyscall ()
#1  0xb65cf25b in read () from /lib/libpthread.so.0
#2  0xb46598a6 in g_wakeup_acknowledge () from /lib/libglib-2.0.so.0
#3  0xb4615fdb in g_main_context_check () from /lib/libglib-2.0.so.0
#4  0xb461649a in g_main_context_iterate.isra.21 () from /lib/libglib-2.0.so.0
#5  0xb4616649 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#6  0xb678a78f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#7  0xb5cb7def in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtGui.so.4
#8  0xb6758764 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#9  0xb6758aa1 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#10 0xb675e33f in QCoreApplication::exec() () from /lib/libQtCore.so.4
#11 0xb5c062e5 in QApplication::exec() () from /lib/libQtGui.so.4
#12 0x08050243 in main ()


No crash for if start KDE 4.10.1 for new user with clean configs.
Comment 1 nucleo 2013-03-05 03:10:41 UTC
So crash reported above happens all time in Fedora 19 (Rawhide).
After updating KDE from 4.10.0 to 4.10.1 in Fedora 18 at first start I saw black screen without any widgets and "New activity" at top right (the same I saw in Rawhide).
But at second KDE start in Fedora 18 desktop was fixed (Rawhide have black screen after many KDE restarts and kactivitymanagerd crash).
I also tried to start KDE in Fedora 18 after restoring ~/.kde dir saved with 4.10.0 settings but KDE started fine.
Comment 2 nucleo 2013-03-05 14:38:43 UTC
Part of 4.10.1 updates was not installed. KDE fully updated in today Rawhide updates.
After installing this updates crash not reproduces.

What was updated:

====================================================================================================
 Package                       Архитектура   Версия                            Репозиторий    Размер
====================================================================================================
Установка:
 kernel-modules-extra          i686          3.9.0-0.rc1.git0.1.fc19           rawhide        1.9 M
Обновление:
 ethtool                       i686          2:3.8-1.fc19                      rawhide        105 k
 gcc-c++                       i686          4.8.0-0.15.fc19                   rawhide        6.7 M
 iproute                       i686          3.8.0-2.fc19                      rawhide        469 k
 iptables-services             i686          1.4.18-1.fc19                     rawhide         41 k
 kde-l10n-Russian              noarch        4.10.1-1.fc19                     rawhide         22 M
 kdemultimedia-libs            noarch        6:4.10.1-1.fc19                   rawhide         13 k
 kdesdk                        i686          4.10.1-1.fc19                     rawhide         16 k
 kernel-headers                i686          3.9.0-0.rc1.git0.1.fc19           rawhide        824 k
 libgfortran                   i686          4.8.0-0.15.fc19                   rawhide        242 k
 libgsf                        i686          1.14.26-1.fc19                    rawhide        167 k
 policycoreutils               i686          2.1.14-17.fc19                    rawhide        691 k
 pykde4                        i686          4.10.1-2.fc19                     rawhide        3.8 M
 pykickstart                   noarch        1.99.25-1.fc19                    rawhide        335 k
 python-bugzilla               noarch        0.8.0-2.fc19                      rawhide         76 k
 python-devel                  i686          2.7.3-32.fc19                     rawhide        383 k
 samba                         i686          2:4.0.3-3.fc19                    rawhide        515 k
 samba-client                  i686          2:4.0.3-3.fc19                    rawhide        455 k
 samba-winbind-clients         i686          2:4.0.3-3.fc19                    rawhide        138 k
 stunnel                       i686          4.55-1.fc19                       rawhide        144 k
Установка зависимостей:
 kernel                        i686          3.9.0-0.rc1.git0.1.fc19           rawhide         27 M
Обновление зависимостей:
 binutils                      i686          2.23.52.0.1-3.fc19                rawhide        4.5 M
 coreutils                     i686          8.21-8.fc19                       rawhide        3.3 M
 cpp                           i686          4.8.0-0.15.fc19                   rawhide        5.5 M
 gcc                           i686          4.8.0-0.15.fc19                   rawhide         14 M
 gdk-pixbuf2                   i686          2.27.2-1.fc19                     rawhide        528 k
 iptables                      i686          1.4.18-1.fc19                     rawhide        405 k
 kde-l10n                      noarch        4.10.1-1.fc19                     rawhide         18 k
 kdemultimedia-common          noarch        6:4.10.1-1.fc19                   rawhide         13 k
 kdesdk-cervisia               i686          4.10.1-1.fc19                     rawhide        592 k
 kdesdk-common                 noarch        4.10.1-1.fc19                     rawhide         33 k
 kdesdk-dolphin-plugins        i686          4.10.1-1.fc19                     rawhide        161 k
 kdesdk-kapptemplate           i686          4.10.1-1.fc19                     rawhide        870 k
 kdesdk-kcachegrind            i686          4.10.1-1.fc19                     rawhide        381 k
 kdesdk-kioslave               i686          4.10.1-1.fc19                     rawhide        417 k
 kdesdk-kmtrace                i686          4.10.1-1.fc19                     rawhide         82 k
 kdesdk-kmtrace-libs           i686          4.10.1-1.fc19                     rawhide         24 k
 kdesdk-kompare                i686          4.10.1-1.fc19                     rawhide        390 k
 kdesdk-kompare-libs           i686          4.10.1-1.fc19                     rawhide         99 k
 kdesdk-kpartloader            i686          4.10.1-1.fc19                     rawhide         26 k
 kdesdk-kstartperf             i686          4.10.1-1.fc19                     rawhide         24 k
 kdesdk-kuiviewer              i686          4.10.1-1.fc19                     rawhide         53 k
 kdesdk-okteta                 i686          4.10.1-1.fc19                     rawhide        103 k
 kdesdk-okteta-libs            i686          4.10.1-1.fc19                     rawhide        759 k
 kdesdk-poxml                  i686          4.10.1-1.fc19                     rawhide        164 k
 kdesdk-scripts                noarch        4.10.1-1.fc19                     rawhide         99 k
 kdesdk-strigi-analyzer        i686          4.10.1-1.fc19                     rawhide         38 k
 kdesdk-thumbnailers           i686          4.10.1-1.fc19                     rawhide         26 k
 kdesdk-umbrello               i686          4.10.1-1.fc19                     rawhide        2.5 M
 libasan                       i686          4.8.0-0.15.fc19                   rawhide         75 k
 libatomic                     i686          4.8.0-0.15.fc19                   rawhide         17 k
 libgcc                        i686          4.8.0-0.15.fc19                   rawhide         80 k
 libgomp                       i686          4.8.0-0.15.fc19                   rawhide         90 k
 libquadmath                   i686          4.8.0-0.15.fc19                   rawhide        223 k
 libsmbclient                  i686          2:4.0.3-3.fc19                    rawhide        107 k
 libstdc++                     i686          4.8.0-0.15.fc19                   rawhide        282 k
 libstdc++-devel               i686          4.8.0-0.15.fc19                   rawhide        1.5 M
 libwbclient                   i686          2:4.0.3-3.fc19                    rawhide         76 k
 python                        i686          2.7.3-32.fc19                     rawhide         81 k
 python-libs                   i686          2.7.3-32.fc19                     rawhide        5.4 M
 samba-common                  i686          2:4.0.3-3.fc19                    rawhide        694 k
 samba-libs                    i686          2:4.0.3-3.fc19                    rawhide        4.1 M
 samba-winbind                 i686          2:4.0.3-3.fc19                    rawhide        438 k

Итого за операцию
====================================================================================================
Установить   1 пакет   (+ 1 зависимый)
Обновить    19 пакетов (+42 зависимых)
Comment 3 nucleo 2013-03-05 23:27:59 UTC
Crash not reproduces anymore, so closing bug.
Comment 4 nucleo 2013-03-20 14:25:09 UTC
It still crashes if in Fedora Rawhide installed kernel with enabled debugging options.
If I boot with kernel built without  debugging options then no crash in kactivitymanagerd.
Comment 5 nucleo 2013-03-20 14:27:36 UTC
kernel-3.9.0-0.rc1.git0.1.fc19 built without debugging options http://koji.fedoraproject.org/koji/buildinfo?buildID=399982 so booting with it fixed crash.
Comment 6 Ivan Čukić 2013-06-02 23:21:22 UTC

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