[Akonadi] [Bug 334351] New: akonadi thread crashes on startup in KABCResource::collectionChanged

walch.martin at web.de walch.martin at web.de
Sun May 4 22:45:26 BST 2014


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

            Bug ID: 334351
           Summary: akonadi thread crashes on startup in
                    KABCResource::collectionChanged
    Classification: Unclassified
           Product: Akonadi
           Version: 4.13
          Platform: Gentoo Packages
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: walch.martin at web.de

Application: akonadi_kabc_resource (4.13)
KDE Platform Version: 4.13.0
Qt Version: 4.8.5
Operating System: Linux 3.12.13-gentoo-gnu x86_64
Distribution: "NAME=Gentoo"

-- Information about the crash:
- What I was doing when the application crashed:
Turned on the computer with auto login active. I left the room before the boot
loader showed up and when I came back, KDE had finished starting up and drkonqi
told me that something crashed. Then I tried akonadictl restart from command
line and the same crash happened again. The backtrace is now from this second
crash.

This crash never happened before. I did not change any program or library
during or since the previous KDE session. When thinking of what I did in the
last KDE session that might be related to the crash is
- set up desktop search to not search in /home
- delete about 500 obsolete emails (from roughly 11.000), move some emails into
subfolders

The last lines of console output before the crash were these: 

akonadi_kabc_resource_0(3721)/kresources KRES::Factory::self:
akonadi_kabc_resource_0(3721)/kdecore (KSycoca) KSycocaPrivate::openDatabase:
Trying to open ksycoca from "/var/tmp/kdecache-neoHgE65K/ksycoca4"
akonadi_kabc_resource_0(3721)/kresources KRES::ManagerImpl::ManagerImpl:
akonadi_kabc_resource_0(3721) KABCResource::doSetOnline: online true resource
0x0
akonadi_kabc_resource_0(3721)/kresources KRES::ManagerImpl::readConfig:
akonadi_kabc_resource_0(3721)/kresources KRES::Factory::self:
akonadi_kabc_resource_0(3721)/libakonadi Akonadi::SessionPrivate::dataReceived:
Server protocol version is: 37
akonadi_archivemail_agent(3715)/kdecore (KSycoca) KSycocaPrivate::openDatabase:
Trying to open ksycoca from "/var/tmp/kdecache-neoHgE65K/ksycoca4"
AkonadiAgentServer(3723)/akonadiresource (kalarm) KAlarmResource::readFromFile:
"/home/neo/.kde4/share/apps/kalarm/expired.ics"
AkonadiAgentServer(3723)/kdepimlibs (kcalcore) KCalCore::ICalFormat::load:
"/home/neo/.kde4/share/apps/kalarm/expired.ics"
AkonadiAgentServer(3723)/kdepimlibs (kalarmcal)
KAlarmCal::Private::readKAlarmVersion: File=
"/home/neo/.kde4/share/apps/kalarm/expired.ics" , version= "2.7.0"
AkonadiAgentServer(3723)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added File
"/home/neo/.kde4/share/apps/kalarm/expired.ics" for "" ["KDirWatch-1"]
Database "akonadi" opened using driver "QMYSQL" 
AkonadiAgentServer(3723)/libakonadi Akonadi::SessionPrivate::dataReceived:
Server protocol version is: 37
akonadi_archivemail_agent(3715)/libakonadi Akonadi::SessionPrivate::init:
"Archive Mail Kernel ETM"
akonadi_archivemail_agent(3715)/libakonadi Akonadi::SessionPrivate::reconnect:
connectToServer "/tmp/akonadi-neo.j3Vexm/akonadiserver.socket"
QDBusObjectPath Akonadi::Server::NotificationManager::subscribeV2(const
QString&, bool) Akonadi::Server::NotificationManager(0x1612010)
"akonadi_archivemail_agent_3715_OQYUvH" true 
QDBusObjectPath Akonadi::Server::NotificationManager::subscribeV2(const
QString&, bool) Akonadi::Server::NotificationManager(0x1612010)
"akonadi_archivemail_agent_3715_tE9TbE" true 
akonadi_archivemail_agent(3715)/libakonadi
Akonadi::EntityTreeModelPrivate::startFirstListJob: GEN true false false
akonadi_archivemail_agent(3715)/libakonadi
Akonadi::SessionPrivate::dataReceived: Server protocol version is: 37
akonadi_archivemail_agent(3715)/libakonadi
Akonadi::SessionPrivate::dataReceived: Server protocol version is: 37
Database "akonadi" opened using driver "QMYSQL" 
AkonadiAgentServer(3724)/kio (KDirWatch) KDirWatchPrivate::KDirWatchPrivate:
INotify available:  true
AkonadiAgentServer(3724)/akonadiresource (kalarm)
KAlarmResource::KAlarmResource: "akonadi_kalarm_resource_2"
Agent instance created in separate process. 
AkonadiAgentServer(3722)/kio (KDirWatch) KDirWatchPrivate::KDirWatchPrivate:
INotify available:  true
AkonadiAgentServer(3722)/akonadiresource (kalarm)
KAlarmResource::KAlarmResource: "akonadi_kalarm_resource_0"
Agent instance created in separate process. 
KCrash: Application 'akonadi_kabc_resource' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit

The crash can be reproduced sometimes.

-- Backtrace:
Application: Adressbuch vom Typ KDE-Adressbuch (herkömmlich)
(akonadi_kabc_resource), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#6  0x000000000040efe3 in KABCResource::collectionChanged (this=0x12f7b00,
collection=...) at
/var/tmp/portage/kde-base/kdepim-runtime-4.13.0/work/kdepim-runtime-4.13.0/resources/kabc/kabcresource.cpp:523
#7  0x00007f6b37bcbf1e in Akonadi::ResourceBasePrivate::collectionChanged
(this=0x1346830, collection=...) at
/var/tmp/portage/kde-base/kdepimlibs-4.13.0/work/kdepimlibs-4.13.0/akonadi/resourcebase.cpp:340
#8  0x00007f6b37bc499d in Akonadi::ResourceBasePrivate::qt_static_metacall
(_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized
out>) at
/var/tmp/portage/kde-base/kdepimlibs-4.13.0/work/kdepimlibs-4.13.0_build/akonadi/resourcebase.moc:108
#9  0x00007f6b376f74ba in QMetaObject::activate (sender=0x12f1870,
m=m at entry=0x7f6b37eeeec0 <Akonadi::Monitor::staticMetaObject>,
local_signal_index=local_signal_index at entry=13, argv=argv at entry=0x7fff0d976fc0)
at kernel/qobject.cpp:3547
#10 0x00007f6b37ba32b9 in Akonadi::Monitor::collectionChanged (this=<optimized
out>, _t1=...) at
/var/tmp/portage/kde-base/kdepimlibs-4.13.0/work/kdepimlibs-4.13.0_build/akonadi/moc_monitor.cpp:322
#11 0x00007f6b37baa7b8 in Akonadi::MonitorPrivate::emitCollectionNotification
(this=this at entry=0x1349f10, msg=..., col=..., par=..., dest=...) at
/var/tmp/portage/kde-base/kdepimlibs-4.13.0/work/kdepimlibs-4.13.0/akonadi/monitor_p.cpp:925
#12 0x00007f6b37bad038 in Akonadi::MonitorPrivate::emitNotification
(this=0x1349f10, msg=...) at
/var/tmp/portage/kde-base/kdepimlibs-4.13.0/work/kdepimlibs-4.13.0/akonadi/monitor_p.cpp:494
#13 0x00007f6b37ba98fe in Akonadi::MonitorPrivate::flushPipeline
(this=this at entry=0x1349f10) at
/var/tmp/portage/kde-base/kdepimlibs-4.13.0/work/kdepimlibs-4.13.0/akonadi/monitor_p.cpp:706
#14 0x00007f6b37ba99a1 in Akonadi::MonitorPrivate::dataAvailable
(this=0x1349f10) at
/var/tmp/portage/kde-base/kdepimlibs-4.13.0/work/kdepimlibs-4.13.0/akonadi/monitor_p.cpp:715
#15 0x00007f6b376f74ba in QMetaObject::activate (sender=sender at entry=0x12f2010,
m=m at entry=0x7f6b37eecb60 <Akonadi::EntityCacheBase::staticMetaObject>,
local_signal_index=local_signal_index at entry=0, argv=argv at entry=0x0) at
kernel/qobject.cpp:3547
#16 0x00007f6b37b4f8c5 in Akonadi::EntityCacheBase::dataAvailable
(this=this at entry=0x12f2010) at
/var/tmp/portage/kde-base/kdepimlibs-4.13.0/work/kdepimlibs-4.13.0_build/akonadi/moc_entitycache_p.cpp:101
#17 0x00007f6b37b102bc in Akonadi::EntityCache<Akonadi::Collection,
Akonadi::CollectionFetchJob, Akonadi::CollectionFetchScope>::processResult
(this=0x12f2010, job=<optimized out>) at
/var/tmp/portage/kde-base/kdepimlibs-4.13.0/work/kdepimlibs-4.13.0/akonadi/entitycache_p.h:203
#18 0x00007f6b376f74ba in QMetaObject::activate (sender=sender at entry=0x1394680,
m=m at entry=0x7f6b3754f4c0 <KJob::staticMetaObject>,
local_signal_index=local_signal_index at entry=3, argv=argv at entry=0x7fff0d977570)
at kernel/qobject.cpp:3547
#19 0x00007f6b371bd401 in KJob::result (this=this at entry=0x1394680,
_t1=_t1 at entry=0x1394680) at
/var/tmp/portage/kde-base/kdelibs-4.13.0/work/kdelibs-4.13.0_build/kdecore/kjob.moc:207
#20 0x00007f6b371bd448 in KJob::emitResult (this=this at entry=0x1394680) at
/var/tmp/portage/kde-base/kdelibs-4.13.0/work/kdelibs-4.13.0/kdecore/jobs/kjob.cpp:318
#21 0x00007f6b37b9ef27 in Akonadi::JobPrivate::handleResponse (this=<optimized
out>, tag=..., data=...) at
/var/tmp/portage/kde-base/kdepimlibs-4.13.0/work/kdepimlibs-4.13.0/akonadi/job.cpp:64
#22 0x00007f6b37bea7de in Akonadi::SessionPrivate::dataReceived
(this=0x1343570) at
/var/tmp/portage/kde-base/kdepimlibs-4.13.0/work/kdepimlibs-4.13.0/akonadi/session.cpp:236
#23 0x00007f6b376f74ba in QMetaObject::activate (sender=0x12fa3d0, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#24 0x00007f6b376f74ba in QMetaObject::activate (sender=sender at entry=0x1348ad8,
m=m at entry=0x7f6b37a41460 <QIODevice::staticMetaObject>,
local_signal_index=local_signal_index at entry=0, argv=argv at entry=0x0) at
kernel/qobject.cpp:3547
#25 0x00007f6b377424d5 in QIODevice::readyRead (this=this at entry=0x1348ad8) at
.moc/release-shared/moc_qiodevice.cpp:104
#26 0x00007f6b34d5428e in QAbstractSocketPrivate::canReadNotification
(this=0x13496f0) at socket/qabstractsocket.cpp:654
#27 0x00007f6b34d5f12d in event (this=<optimized out>, e=<optimized out>) at
socket/qnativesocketengine.cpp:1151
#28 QReadNotifier::event (this=<optimized out>, e=<optimized out>) at
socket/qnativesocketengine.cpp:1148
#29 0x00007f6b35a75e7c in QApplicationPrivate::notify_helper
(this=this at entry=0x1197bb0, receiver=receiver at entry=0x133cb80,
e=e at entry=0x7fff0d977e00) at kernel/qapplication.cpp:4562
#30 0x00007f6b35a78952 in QApplication::notify (this=this at entry=0x7fff0d9780f0,
receiver=receiver at entry=0x133cb80, e=e at entry=0x7fff0d977e00) at
kernel/qapplication.cpp:3944
#31 0x00007f6b3679ae96 in KApplication::notify (this=0x7fff0d9780f0,
receiver=0x133cb80, event=0x7fff0d977e00) at
/var/tmp/portage/kde-base/kdelibs-4.13.0/work/kdelibs-4.13.0/kdeui/kernel/kapplication.cpp:311
#32 0x00007f6b376e2b9d in QCoreApplication::notifyInternal
(this=0x7fff0d9780f0, receiver=0x133cb80, event=event at entry=0x7fff0d977e00) at
kernel/qcoreapplication.cpp:949
#33 0x00007f6b37711c60 in sendEvent (event=0x7fff0d977e00, receiver=<optimized
out>) at kernel/qcoreapplication.h:231
#34 socketNotifierSourceDispatch (source=source at entry=0x1197db0) at
kernel/qeventdispatcher_glib.cpp:110
#35 0x00007f6b336ab340 in g_main_dispatch (context=0x1198650) at
/var/tmp/portage/dev-libs/glib-2.38.2-r1/work/glib-2.38.2/glib/gmain.c:3066
#36 g_main_context_dispatch (context=context at entry=0x1198650) at
/var/tmp/portage/dev-libs/glib-2.38.2-r1/work/glib-2.38.2/glib/gmain.c:3642
#37 0x00007f6b336ab6a8 in g_main_context_iterate
(context=context at entry=0x1198650, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at
/var/tmp/portage/dev-libs/glib-2.38.2-r1/work/glib-2.38.2/glib/gmain.c:3713
#38 0x00007f6b336ab768 in g_main_context_iteration (context=0x1198650,
may_block=1) at
/var/tmp/portage/dev-libs/glib-2.38.2-r1/work/glib-2.38.2/glib/gmain.c:3774
#39 0x00007f6b3771166f in QEventDispatcherGlib::processEvents (this=0x1171960,
flags=...) at kernel/qeventdispatcher_glib.cpp:427
#40 0x00007f6b35b18052 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007f6b376e1775 in QEventLoop::processEvents
(this=this at entry=0x7fff0d978060, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007f6b376e1a26 in QEventLoop::exec (this=this at entry=0x7fff0d978060,
flags=...) at kernel/qeventloop.cpp:204
#43 0x00007f6b376e6e5a in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1221
#44 0x00007f6b35a74799 in QApplication::exec () at kernel/qapplication.cpp:3823
#45 0x00007f6b37bc4acf in Akonadi::ResourceBase::init (r=r at entry=0x12f7b00) at
/var/tmp/portage/kde-base/kdepimlibs-4.13.0/work/kdepimlibs-4.13.0/akonadi/resourcebase.cpp:556
#46 0x0000000000415eb9 in Akonadi::ResourceBase::init<KABCResource>
(argc=<optimized out>, argv=<optimized out>) at
/usr/include/akonadi/resourcebase.h:192
#47 0x00007f6b34ff0e0f in __libc_start_main (main=0x40bfc0 <main(int, char**)>,
argc=3, argv=0x7fff0d978218, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fff0d978208) at libc-start.c:285
#48 0x000000000040bff5 in _start ()

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list