Bug 232879 - Akonadi Ical resources crash while launching KOrg
Summary: Akonadi Ical resources crash while launching KOrg
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: ICal file resource (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: HI crash
Target Milestone: ---
Assignee: Tobias Koenig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-31 20:12 UTC by Sabine Faure
Modified: 2013-06-12 17:55 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
terminal information (127.09 KB, image/jpeg)
2010-04-01 20:48 UTC, Sabine Faure
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sabine Faure 2010-03-31 20:12:27 UTC
Application: akonadi_ical_resource (0.1)
KDE Platform Version: 4.4.2 (KDE 4.4.2) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-17-generic x86_64
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
- Launch KOrg
- The launching Akonadi progress bar appears

As soon as it disappears Akonadi crashes.
This is the first out of two crash report I get

This is a regression as it did not happen last week.

Trunk, Svn Rev 1109533

The crash can be reproduced every time.

 -- Backtrace:
Application: Akonadi Resource (akonadi_ical_resource), signal: Aborted
[KCrash Handler]
#5  0x00007f5a89a2ba75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f5a89a2f5c0 in *__GI_abort () at abort.c:92
#7  0x00007f5a8a7d6403 in qt_message_output (msgType=QtFatalMsg, buf=0x253a4f8 "ASSERT: \"!isEmpty()\" in file /d/qt/4/kde-qt/include/QtCore/../../src/corelib/tools/qlist.h, line 263")
    at global/qglobal.cpp:2250
#8  0x00007f5a8a7d64ae in qt_message (msgType=QtFatalMsg, msg=0x7f5a8a968668 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fffaad427f0) at global/qglobal.cpp:2296
#9  0x00007f5a8a7d6ba8 in qFatal (msg=0x7f5a8a968668 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2479
#10 0x00007f5a8a7d602e in qt_assert (assertion=0x7f5a8e2abb2e "!isEmpty()", file=0x7f5a8e2abaf0 "/d/qt/4/kde-qt/include/QtCore/../../src/corelib/tools/qlist.h", line=263) at global/qglobal.cpp:2013
#11 0x00007f5a8e23adbe in QList<QByteArray>::first (this=0x7fffaad429a0) at /d/qt/4/kde-qt/include/QtCore/../../src/corelib/tools/qlist.h:263
#12 0x00007f5a8e239329 in Akonadi::MonitorPrivate::emitCollectionNotification (this=0x26671b0, msg=..., col=..., par=..., dest=...) at /d/kde/src/t/kdepimlibs/akonadi/monitor_p.cpp:383
#13 0x00007f5a8e237cea in Akonadi::MonitorPrivate::emitNotification (this=0x26671b0, msg=...) at /d/kde/src/t/kdepimlibs/akonadi/monitor_p.cpp:193
#14 0x00007f5a8e237e5c in Akonadi::MonitorPrivate::dataAvailable (this=0x26671b0) at /d/kde/src/t/kdepimlibs/akonadi/monitor_p.cpp:205
#15 0x00007f5a8e23575d in Akonadi::Monitor::qt_metacall (this=0x2581b90, _c=QMetaObject::InvokeMetaMethod, _id=21, _a=0x7fffaad42c80) at /d/kde/build/t/kdepimlibs/akonadi/monitor.moc:148
#16 0x00007f5a8e199bef in Akonadi::ChangeRecorder::qt_metacall (this=0x2581b90, _c=QMetaObject::InvokeMetaMethod, _id=25, _a=0x7fffaad42c80) at /d/kde/build/t/kdepimlibs/akonadi/changerecorder.moc:72
#17 0x00007f5a8a8f6e1f in QMetaObject::metacall (object=0x2581b90, cl=QMetaObject::InvokeMetaMethod, idx=25, argv=0x7fffaad42c80) at kernel/qmetaobject.cpp:237
#18 0x00007f5a8a90a85f in QMetaObject::activate (sender=0x2667210, m=0x7f5a8e522e80, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3290
#19 0x00007f5a8e1d5571 in Akonadi::EntityCacheBase::dataAvailable (this=0x2667210) at /d/kde/build/t/kdepimlibs/akonadi/entitycache_p.moc:88
#20 0x00007f5a8e19e36f in Akonadi::EntityCache<Akonadi::Collection, Akonadi::CollectionFetchJob, Akonadi::CollectionFetchScope>::fetchResult (this=0x2667210, job=0x266bf80)
    at /d/kde/src/t/kdepimlibs/akonadi/entitycache_p.h:189
#21 0x00007f5a8e1d5539 in Akonadi::EntityCacheBase::qt_metacall (this=0x2667210, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffaad42e80) at /d/kde/build/t/kdepimlibs/akonadi/entitycache_p.moc:77
#22 0x00007f5a8a8f6e1f in QMetaObject::metacall (object=0x2667210, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0x7fffaad42e80) at kernel/qmetaobject.cpp:237
#23 0x00007f5a8a90a85f in QMetaObject::activate (sender=0x266bf80, m=0x7f5a8b12b760, local_signal_index=3, argv=0x7fffaad42e80) at kernel/qobject.cpp:3290
#24 0x00007f5a8ad6249f in KJob::result (this=0x266bf80, _t1=0x266bf80) at /d/kde/build/t/kdelibs/kdecore/kjob.moc:194
#25 0x00007f5a8ad6190d in KJob::emitResult (this=0x266bf80) at /d/kde/src/t/kdelibs/kdecore/jobs/kjob.cpp:312
#26 0x00007f5a8e228988 in Akonadi::JobPrivate::delayedEmitResult (this=0x2668360) at /d/kde/src/t/kdepimlibs/akonadi/job.cpp:143
#27 0x00007f5a8e22a0be in Akonadi::Job::qt_metacall (this=0x266bf80, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fffaad43050) at /d/kde/build/t/kdepimlibs/akonadi/job.moc:91
#28 0x00007f5a8e1acdb5 in Akonadi::CollectionFetchJob::qt_metacall (this=0x266bf80, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0x7fffaad43050)
    at /d/kde/build/t/kdepimlibs/akonadi/collectionfetchjob.moc:73
#29 0x00007f5a8a8f6e1f in QMetaObject::metacall (object=0x266bf80, cl=QMetaObject::InvokeMetaMethod, idx=34, argv=0x7fffaad43050) at kernel/qmetaobject.cpp:237
#30 0x00007f5a8a90a85f in QMetaObject::activate (sender=0x26573f0, m=0x7f5a8ac3c420, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3290
#31 0x00007f5a8a91350f in QSingleShotTimer::timeout (this=0x26573f0) at .moc/debug-shared/qtimer.moc:82
#32 0x00007f5a8a9133df in QSingleShotTimer::timerEvent (this=0x26573f0) at kernel/qtimer.cpp:308
#33 0x00007f5a8a906779 in QObject::event (this=0x26573f0, e=0x7fffaad43900) at kernel/qobject.cpp:1212
#34 0x00007f5a8b5f17aa in QApplicationPrivate::notify_helper (this=0x24ecdc0, receiver=0x26573f0, e=0x7fffaad43900) at kernel/qapplication.cpp:4304
#35 0x00007f5a8b5eee65 in QApplication::notify (this=0x7fffaad43d60, receiver=0x26573f0, e=0x7fffaad43900) at kernel/qapplication.cpp:3708
#36 0x00007f5a8c4ac5a7 in KApplication::notify (this=0x7fffaad43d60, receiver=0x26573f0, event=0x7fffaad43900) at /d/kde/src/t/kdelibs/kdeui/kernel/kapplication.cpp:302
#37 0x00007f5a8a8efab9 in QCoreApplication::notifyInternal (this=0x7fffaad43d60, receiver=0x26573f0, event=0x7fffaad43900) at kernel/qcoreapplication.cpp:704
#38 0x00007f5a8b5e2d27 in QCoreApplication::sendEvent (receiver=0x26573f0, event=0x7fffaad43900) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#39 0x00007f5a8a928e57 in QTimerInfoList::activateTimers (this=0x24f0a40) at kernel/qeventdispatcher_unix.cpp:603
#40 0x00007f5a8a9248a8 in timerSourceDispatch (source=0x24f09e0) at kernel/qeventdispatcher_glib.cpp:184
#41 0x00007f5a8a92498f in idleTimerSourceDispatch (source=0x24f0aa0) at kernel/qeventdispatcher_glib.cpp:231
#42 0x00007f5a86007972 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#43 0x00007f5a8600b7f8 in ?? () from /lib/libglib-2.0.so.0
#44 0x00007f5a8600b9ac in g_main_context_iteration () from /lib/libglib-2.0.so.0
#45 0x00007f5a8a925b05 in QEventDispatcherGlib::processEvents (this=0x24d4420, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#46 0x00007f5a8b6c24c0 in QGuiEventDispatcherGlib::processEvents (this=0x24d4420, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00007f5a8a8ed2dc in QEventLoop::processEvents (this=0x7fffaad43cc0, flags=...) at kernel/qeventloop.cpp:149
#48 0x00007f5a8a8ed430 in QEventLoop::exec (this=0x7fffaad43cc0, flags=...) at kernel/qeventloop.cpp:197
#49 0x00007f5a8a8f017e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#50 0x00007f5a8b5ee9ec in QApplication::exec () at kernel/qapplication.cpp:3583
#51 0x00007f5a8e2450d4 in Akonadi::ResourceBase::init (r=0x265c590) at /d/kde/src/t/kdepimlibs/akonadi/resourcebase.cpp:219
#52 0x0000000000417dfb in Akonadi::ResourceBase::init<ICalResource> (argc=3, argv=0x7fffaad43ec8) at /d/kde/inst/kde-trunk/include/akonadi/resourcebase.h:186
#53 0x0000000000417d44 in main (argc=3, argv=0x7fffaad43ec8) at /d/kde/src/t/kdepim/runtime/resources/ical/icalresourcemain.cpp:22

Reported using DrKonqi
Comment 1 Sabine Faure 2010-03-31 23:18:48 UTC
Note from David: the assert happens on the line
1094274    tokoe   const QString remoteRevision = QString::fromUtf8( msg.itemParts().toList().first() );

in monitor_p.cpp.
Obviously the list is empty. Reassigning to Tobias.
Comment 2 Tobias Koenig 2010-04-01 06:26:31 UTC
Hej Sabine,

did you use a current version of the Akonadi server?
Has there been a crash of the ical resource before you started
the Akonadi server again?

Ciao,
Tobias
Comment 3 Sabine Faure 2010-04-01 20:48:20 UTC
Created attachment 42432 [details]
terminal information
Comment 4 Sabine Faure 2010-04-01 20:53:55 UTC
Hi Tobias!

Yes I use an updated version of the akonadi server.

The server never crashed so I technically did not need to relaunch it at all (eventhough I tried thinking that I might make a difference)
This bugs occurs every time I launch Korg using the rev underneath.

I typed the command you gave my in a terminal and you will find the result attached above.

I also checked in the System Activity and it seems that the resources that are crashing are old ones that I deleted from Korg 
As far as I know most of them are no longer on my hard drive but to make sure could you tell me were are the resources saved by default on the hard drive?

atm I am using Ical file, Ical file 3, Ical file 5, Ical file 6, Ical file 7 and Ical file 8 in KOrg.
Trunk, Svn Rev 1109533
Comment 5 Sabine Faure 2010-04-07 22:38:50 UTC
I am setting this bug as high priority since I lose a lot of time because of it closing all the crashing dialogues every time I quit and relaunch KOrg.

Trunk, Svn Rev 1112300
Comment 6 Sergio Martins 2013-06-12 17:55:48 UTC
Doesn't crash nowadays