Bug 323642

Summary: segfault of plasma-desktop upon startup / login
Product: [Frameworks and Libraries] Akonadi Reporter: Ashlar <atrystan>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: alexmonti70, dilfridge, eric.harries, hacrot3000, idus.martius, kde-bugs, mail, phillip9001, vlvlch, yo
Priority: NOR Keywords: drkonqi
Version: 4.11   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description Ashlar 2013-08-17 16:28:35 UTC
Application: plasma-desktop (4.11.00)
KDE Platform Version: 4.11.00 (Compiled from sources)
Qt Version: 4.8.4
Operating System: Linux 3.8.0-27-generic x86_64
Distribution: Ubuntu 13.04

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

I started the computer up and walked away. When I returned, this error had appeared.

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc6734be7c0 (LWP 2216))]

Thread 4 (Thread 0x7fc6523bb700 (LWP 2217)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc66c1e7b27 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fc66c1e7b59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fc663968764 in ?? () from /usr/lib/nvidia-304-updates/libGL.so.1
#4  0x00007fc6668cef8e in start_thread (arg=0x7fc6523bb700) at pthread_create.c:311
#5  0x00007fc672da6e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7fc5c7015700 (LWP 2218)):
#0  0x00007fc672d9a3cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fc6661cc1dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc6661cc304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc66f984036 in QEventDispatcherGlib::processEvents (this=0x7fc5c00008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fc66f95438f in QEventLoop::processEvents (this=this@entry=0x7fc5c7014cd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fc66f954618 in QEventLoop::exec (this=this@entry=0x7fc5c7014cd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fc66f856410 in QThread::exec (this=this@entry=0x21ccd80) at thread/qthread.cpp:542
#7  0x00007fc66f935edf in QInotifyFileSystemWatcherEngine::run (this=0x21ccd80) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007fc66f858bec in QThreadPrivate::start (arg=0x21ccd80) at thread/qthread_unix.cpp:338
#9  0x00007fc663968764 in ?? () from /usr/lib/nvidia-304-updates/libGL.so.1
#10 0x00007fc6668cef8e in start_thread (arg=0x7fc5c7015700) at pthread_create.c:311
#11 0x00007fc672da6e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fc5bd4b1700 (LWP 2224)):
#0  0x00007fc66f9838e5 in postEventSourcePrepare (s=0x7fc5b0001300, timeout=0x7fc5bd4b0b04) at kernel/qeventdispatcher_glib.cpp:255
#1  0x00007fc6661cb900 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc6661cc0fe in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc6661cc304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc66f984036 in QEventDispatcherGlib::processEvents (this=0x7fc5b00008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fc66f95438f in QEventLoop::processEvents (this=this@entry=0x7fc5bd4b0cd0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fc66f954618 in QEventLoop::exec (this=this@entry=0x7fc5bd4b0cd0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fc66f856410 in QThread::exec (this=this@entry=0x26f7570) at thread/qthread.cpp:542
#8  0x00007fc66f935edf in QInotifyFileSystemWatcherEngine::run (this=0x26f7570) at io/qfilesystemwatcher_inotify.cpp:256
#9  0x00007fc66f858bec in QThreadPrivate::start (arg=0x26f7570) at thread/qthread_unix.cpp:338
#10 0x00007fc663968764 in ?? () from /usr/lib/nvidia-304-updates/libGL.so.1
#11 0x00007fc6668cef8e in start_thread (arg=0x7fc5bd4b1700) at pthread_create.c:311
#12 0x00007fc672da6e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fc6734be7c0 (LWP 2216)):
[KCrash Handler]
#6  QModelIndex (other=..., this=<synthetic pointer>) at /usr/include/qt4/QtCore/qabstractitemmodel.h:65
#7  KDescendantsProxyModel::mapFromSource (this=0x2e760a0, sourceIndex=...) at ../../kdeui/itemviews/kdescendantsproxymodel.cpp:462
#8  0x00007fc6705dac2b in KDescendantsProxyModelPrivate::sourceDataChanged (this=<optimized out>, topLeft=..., bottomRight=...) at ../../kdeui/itemviews/kdescendantsproxymodel.cpp:963
#9  0x00007fc66f96a0ef in QMetaObject::activate (sender=sender@entry=0x33dfff0, m=m@entry=0x7fc66fcb05e0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffb22be1a0) at kernel/qobject.cpp:3539
#10 0x00007fc66f9b4f97 in QAbstractItemModel::dataChanged (this=this@entry=0x33dfff0, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:164
#11 0x00007fc5c8e681c5 in Akonadi::EntityTreeModelPrivate::dataChanged (this=this@entry=0x1bb3e30, top=..., bottom=...) at ../../akonadi/entitytreemodel_p.cpp:1698
#12 0x00007fc5c8e6e2c7 in Akonadi::EntityTreeModelPrivate::monitoredItemChanged (this=0x1bb3e30, item=...) at ../../akonadi/entitytreemodel_p.cpp:1136
#13 0x00007fc66f96a0ef in QMetaObject::activate (sender=0x2bfe910, m=m@entry=0x7fc5c91bcfc0 <Akonadi::Monitor::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffb22be410) at kernel/qobject.cpp:3539
#14 0x00007fc5c8ea7907 in Akonadi::Monitor::itemChanged (this=<optimized out>, _t1=..., _t2=...) at ./moc_monitor.cpp:209
#15 0x00007fc5c8eadac1 in Akonadi::MonitorPrivate::emitItemsNotification (this=this@entry=0x1b5def0, msg=..., items=..., collection=..., collectionDest=...) at ../../akonadi/monitor_p.cpp:713
#16 0x00007fc5c8eaf070 in Akonadi::MonitorPrivate::emitNotification (this=this@entry=0x1b5def0, msg=...) at ../../akonadi/monitor_p.cpp:408
#17 0x00007fc5c8e17a79 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x1b5def0, msg=...) at ../../akonadi/changerecorder_p.cpp:55
#18 0x00007fc5c8eabb3f in Akonadi::MonitorPrivate::flushPipeline (this=this@entry=0x1b5def0) at ../../akonadi/monitor_p.cpp:600
#19 0x00007fc5c8eabbd9 in Akonadi::MonitorPrivate::dataAvailable (this=0x1b5def0) at ../../akonadi/monitor_p.cpp:609
#20 0x00007fc66f96a0ef in QMetaObject::activate (sender=sender@entry=0x33e01a0, m=m@entry=0x7fc5c91bad20 <Akonadi::EntityCacheBase::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#21 0x00007fc5c8e583d0 in Akonadi::EntityCacheBase::dataAvailable (this=this@entry=0x33e01a0) at ./moc_entitycache_p.cpp:102
#22 0x00007fc5c8e1a4a4 in Akonadi::EntityListCache<Akonadi::Item, Akonadi::ItemFetchJob, Akonadi::ItemFetchScope>::processResult (this=0x33e01a0, job=<optimized out>) at ../../akonadi/entitycache_p.h:451
#23 0x00007fc66f96a0ef in QMetaObject::activate (sender=sender@entry=0x9c6e480, m=m@entry=0x7fc6703e04e0 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fffb22bec20) at kernel/qobject.cpp:3539
#24 0x00007fc670053bb2 in KJob::result (this=this@entry=0x9c6e480, _t1=_t1@entry=0x9c6e480) at ./kjob.moc:208
#25 0x00007fc670053bf0 in KJob::emitResult (this=0x9c6e480) at ../../kdecore/jobs/kjob.cpp:318
#26 0x00007fc66f96f5be in QObject::event (this=0x9c6e480, e=<optimized out>) at kernel/qobject.cpp:1194
#27 0x00007fc66ecfb8ec in QApplicationPrivate::notify_helper (this=this@entry=0x1371a30, receiver=receiver@entry=0x9c6e480, e=e@entry=0x9c6fc60) at kernel/qapplication.cpp:4567
#28 0x00007fc66ecfe25b in QApplication::notify (this=this@entry=0x1312cf0, receiver=receiver@entry=0x9c6e480, e=e@entry=0x9c6fc60) at kernel/qapplication.cpp:4428
#29 0x00007fc670617916 in KApplication::notify (this=0x1312cf0, receiver=0x9c6e480, event=0x9c6fc60) at ../../kdeui/kernel/kapplication.cpp:311
#30 0x00007fc66f95563e in QCoreApplication::notifyInternal (this=0x1312cf0, receiver=receiver@entry=0x9c6e480, event=event@entry=0x9c6fc60) at kernel/qcoreapplication.cpp:946
#31 0x00007fc66f959171 in sendEvent (event=0x9c6fc60, receiver=0x9c6e480) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x124d1f0) at kernel/qcoreapplication.cpp:1570
#33 0x00007fc66f9594a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#34 0x00007fc66f983e83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#35 postEventSourceDispatch (s=0x1371f50) at kernel/qeventdispatcher_glib.cpp:279
#36 0x00007fc6661cbf05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fc6661cc248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007fc6661cc304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007fc66f984016 in QEventDispatcherGlib::processEvents (this=0x136dc30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#40 0x00007fc66eda113e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007fc66f95438f in QEventLoop::processEvents (this=this@entry=0x7fffb22bf530, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007fc66f954618 in QEventLoop::exec (this=this@entry=0x7fffb22bf530, flags=...) at kernel/qeventloop.cpp:204
#43 0x00007fc66f959cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#44 0x00007fc66ecf9ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#45 0x00007fc6730b23eb in kdemain (argc=1, argv=0x7fffb22bf828) at ../../../../plasma/desktop/shell/main.cpp:126
#46 0x00007fc672cceea5 in __libc_start_main (main=0x4006e0 <main(int, char**)>, argc=1, ubp_av=0x7fffb22bf828, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffb22bf818) at libc-start.c:260
#47 0x0000000000400711 in _start ()

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

Possible duplicates by query: bug 323279.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-08-17 16:49:15 UTC
*** Bug 323279 has been marked as a duplicate of this bug. ***
Comment 2 Jekyll Wu 2013-08-21 12:42:58 UTC
*** Bug 323831 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Feck 2013-09-21 20:48:39 UTC
*** Bug 325150 has been marked as a duplicate of this bug. ***
Comment 4 Jekyll Wu 2013-09-26 04:54:30 UTC
*** Bug 325318 has been marked as a duplicate of this bug. ***
Comment 5 Jekyll Wu 2013-10-23 09:17:18 UTC
*** Bug 326485 has been marked as a duplicate of this bug. ***
Comment 6 Vladimir 2013-11-15 07:39:45 UTC
Created attachment 83578 [details]
New crash information added by DrKonqi

plasma-desktop (4.11.2) on KDE Platform 4.11.2 using Qt 4.8.4

- What I was doing when the application crashed:

I enter login and password, then a enter password for kdewallet.
After one minute error of plasma-desktop has appeared.

-- Backtrace (Reduced):
#6  QModelIndex (other=..., this=<synthetic pointer>) at /usr/include/qt4/QtCore/qabstractitemmodel.h:65
#7  KDescendantsProxyModel::mapFromSource (this=0x37ff8e0, sourceIndex=...) at ../../kdeui/itemviews/kdescendantsproxymodel.cpp:462
#8  0x00007f6e74d2008f in KDescendantsProxyModelPrivate::sourceDataChanged (this=<optimized out>, topLeft=..., bottomRight=...) at ../../kdeui/itemviews/kdescendantsproxymodel.cpp:963
[...]
#10 0x00007f6e740f3587 in QAbstractItemModel::dataChanged (this=this@entry=0x37c8b70, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:164
#11 0x00007f6e58924653 in Akonadi::EntityTreeModelPrivate::dataChanged (this=this@entry=0x4f155f0, top=..., bottom=...) at ../../akonadi/entitytreemodel_p.cpp:1698
Comment 7 Andreas K. Huettel 2013-12-14 11:29:25 UTC
Created attachment 84086 [details]
New crash information added by DrKonqi

plasma-desktop (4.11.4) on KDE Platform 4.11.4 using Qt 4.8.5

- What I was doing when the application crashed:

Log in. Immediate segfault of plasma-desktop.

-- Backtrace (Reduced):
#6  QModelIndex (other=..., this=<synthetic pointer>) at /usr/include/qt4/QtCore/qabstractitemmodel.h:65
#7  KDescendantsProxyModel::mapFromSource (this=0x3c40980, sourceIndex=...) at /var/tmp/portage/kde-base/kdelibs-4.11.4/work/kdelibs-4.11.4/kdeui/itemviews/kdescendantsproxymodel.cpp:462
#8  0x00007f28ad3aaf0f in KDescendantsProxyModelPrivate::sourceDataChanged (this=<optimized out>, topLeft=..., bottomRight=...) at /var/tmp/portage/kde-base/kdelibs-4.11.4/work/kdelibs-4.11.4/kdeui/itemviews/kdescendantsproxymodel.cpp:963
[...]
#10 0x00007f28ac691387 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:163
#11 0x00007f2800b086f3 in Akonadi::EntityTreeModelPrivate::dataChanged (this=this@entry=0x3c24340, top=..., bottom=...) at /var/tmp/portage/kde-base/kdepimlibs-4.11.4/work/kdepimlibs-4.11.4/akonadi/entitytreemodel_p.cpp:1687
Comment 8 mail 2015-01-09 13:54:02 UTC
Same for me, but only whenever akonadi is installed! Without akonadi installed, everything works as expected but I cannot use kmail and so on, of course.
Comment 9 Christoph Feck 2015-10-21 21:05:20 UTC
*** Bug 353868 has been marked as a duplicate of this bug. ***
Comment 10 Denis Kurz 2016-09-24 20:44:58 UTC
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present?

If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 11 Denis Kurz 2017-01-07 21:50:52 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.