Application: korgac (4.7.0) KDE Platform Version: 4.7.41 (4.7.41 (KDE 4.8 >= 20110807) (Compiled from sources) Qt Version: 4.7.3 Operating System: Linux 3.0.0 i686 Distribution: Debian GNU/Linux unstable (sid) -- Information about the crash: - What I was doing when the application crashed: I'm using akonadi-google resources from git, I noticed that every time I change the calendar from my mobile (or from other applications), and then from korganizer I manually refresh the events (by clicking on the calendar name and pressing update calendar folder) I get the crash with the attached backtrace. Another issue I found is that the calendar is not updated automatically, I have to manually reload it if I want the events added externally to appear. The crash can be reproduced every time. -- Backtrace: Application: KOrganizer Reminder Daemon (korgac), signal: Aborted [KCrash Handler] #7 0xb76e5424 in __kernel_vsyscall () #8 0xb4e34911 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #9 0xb4e37d42 in abort () at abort.c:92 #10 0xb5117626 in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4 #11 0xb5117a2b in ?? () from /usr/lib/libQtCore.so.4 #12 0xb5117b48 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4 #13 0xb5117b8d in qt_assert_x(char const*, char const*, char const*, int) () from /usr/lib/libQtCore.so.4 #14 0xb762332d in CalendarSupport::Calendar::Private::updateItem (this=0x88b5f68, item=..., mode=CalendarSupport::Calendar::Private::AssertExists) at /media/kdesvn/kde4svn/src/kdepim/calendarsupport/calendar.cpp:416 #15 0xb76215bf in CalendarSupport::Calendar::Private::dataChanged (this=0x88b5f68, topLeft=..., bottomRight=...) at /media/kdesvn/kde4svn/src/kdepim/calendarsupport/calendar.cpp:229 #16 0xb761bdc0 in CalendarSupport::Calendar::Private::qt_metacall (this=0x88b5f68, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbf8f1184) at /media/kdesvn/kde4svn/build/kdepim/calendarsupport/moc_calendar_p.cpp:158 #17 0xb522347d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #18 0xb52321c0 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #19 0xb527fecd in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib/libQtCore.so.4 #20 0xb72e628f in KDescendantsProxyModelPrivate::sourceDataChanged (this=0x88a9a00, topLeft=..., bottomRight=...) at /media/kdesvn/kde4svn/src/kdelibs/kdeui/itemviews/kdescendantsproxymodel.cpp:970 #21 0xb72e690f in KDescendantsProxyModel::qt_metacall (this=0x88f9848, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0xbf8f1384) at /media/kdesvn/kde4svn/build/kdelibs/kdeui/moc_kdescendantsproxymodel.cpp:105 #22 0xb522347d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #23 0xb52321c0 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #24 0xb527fecd in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib/libQtCore.so.4 #25 0xb6f2b902 in Akonadi::EntityTreeModelPrivate::dataChanged (this=0x88bae28, top=..., bottom=...) at /media/kdesvn/kde4svn/src/kdepimlibs/akonadi/entitytreemodel_p.cpp:1525 #26 0xb6f364cb in Akonadi::EntityTreeModelPrivate::monitoredItemChanged (this=0x88bae28, item=...) at /media/kdesvn/kde4svn/src/kdepimlibs/akonadi/entitytreemodel_p.cpp:1043 #27 0xb6f22248 in Akonadi::EntityTreeModel::qt_metacall (this=0x88b7218, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf8f1604) at /media/kdesvn/kde4svn/build/kdepimlibs/akonadi/entitytreemodel.moc:169 #28 0xb761d7b0 in CalendarSupport::CalendarModel::qt_metacall (this=0x88b7218, _c=QMetaObject::InvokeMetaMethod, _id=51, _a=0xbf8f1604) at /media/kdesvn/kde4svn/build/kdepim/calendarsupport/moc_calendarmodel.cpp:66 #29 0xb522347d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #30 0xb52321c0 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #31 0xb6f7232d in Akonadi::Monitor::itemChanged (this=0x88af978, _t1=..., _t2=...) at /media/kdesvn/kde4svn/build/kdepimlibs/akonadi/monitor.moc:169 #32 0xb6f776b0 in Akonadi::MonitorPrivate::emitItemNotification (this=0x88afa20, msg=..., item=..., collection=..., collectionDest=...) at /media/kdesvn/kde4svn/src/kdepimlibs/akonadi/monitor_p.cpp:515 #33 0xb6f787d9 in Akonadi::MonitorPrivate::emitNotification (this=0x88afa20, msg=...) at /media/kdesvn/kde4svn/src/kdepimlibs/akonadi/monitor_p.cpp:284 #34 0xb6ecf2d9 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x88afa20, msg=...) at /media/kdesvn/kde4svn/src/kdepimlibs/akonadi/changerecorder_p.h:60 #35 0xb6f78906 in Akonadi::MonitorPrivate::flushPipeline (this=0x88afa20) at /media/kdesvn/kde4svn/src/kdepimlibs/akonadi/monitor_p.cpp:425 #36 0xb6f789a0 in Akonadi::MonitorPrivate::dataAvailable (this=0x88afa20) at /media/kdesvn/kde4svn/src/kdepimlibs/akonadi/monitor_p.cpp:434 #37 0xb6f72a76 in Akonadi::Monitor::qt_metacall (this=0x88af978, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf8f1944) at /media/kdesvn/kde4svn/build/kdepimlibs/akonadi/monitor.moc:156 #38 0xb6ece4de in Akonadi::ChangeRecorder::qt_metacall (this=0x88af978, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbf8f1944) at /media/kdesvn/kde4svn/build/kdepimlibs/akonadi/changerecorder.moc:72 #39 0xb522347d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #40 0xb52321c0 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #41 0xb6f1a805 in Akonadi::EntityCacheBase::dataAvailable (this=0x88aebc8) at /media/kdesvn/kde4svn/build/kdepimlibs/akonadi/entitycache_p.moc:88 #42 0xb6f7b08e in Akonadi::EntityCache<Akonadi::Item, Akonadi::ItemFetchJob, Akonadi::ItemFetchScope>::fetchResult (this=0x88aebc8, job=0x88aaee0) at /media/kdesvn/kde4svn/src/kdepimlibs/akonadi/entitycache_p.h:190 #43 0xb6f1a8aa in Akonadi::EntityCacheBase::qt_metacall (this=0x88aebc8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf8f1b08) at /media/kdesvn/kde4svn/build/kdepimlibs/akonadi/entitycache_p.moc:77 #44 0xb522347d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #45 0xb52321c0 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #46 0xb5501b58 in KJob::result (this=0x88aaee0, _t1=0x88aaee0) at /media/kdesvn/kde4svn/build/kdelibs/kdecore/kjob.moc:194 #47 0xb5501187 in KJob::emitResult (this=0x88aaee0) at /media/kdesvn/kde4svn/src/kdelibs/kdecore/jobs/kjob.cpp:312 #48 0xb6f6e4ce in Akonadi::JobPrivate::delayedEmitResult (this=0xb0ff7e8) at /media/kdesvn/kde4svn/src/kdepimlibs/akonadi/job.cpp:144 #49 0xb6f6f1df in Akonadi::Job::qt_metacall (this=0x88aaee0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xb149068) at /media/kdesvn/kde4svn/build/kdepimlibs/akonadi/job.moc:91 #50 0xb6f5ad12 in Akonadi::ItemFetchJob::qt_metacall (this=0x88aaee0, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0xb149068) at /media/kdesvn/kde4svn/build/kdepimlibs/akonadi/itemfetchjob.moc:73 #51 0xb522347d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #52 0xb522ddc5 in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4 #53 0xb52352df in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4 #54 0xb59be7a4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #55 0xb59c3b32 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #56 0xb7324dfa in KApplication::notify (this=0xbf8f23fc, receiver=0x88aaee0, event=0xb1b8848) at /media/kdesvn/kde4svn/src/kdelibs/kdeui/kernel/kapplication.cpp:311 #57 0xb521d0ce in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #58 0xb5220894 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4 #59 0xb52209dc in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4 #60 0xb524aec4 in ?? () from /usr/lib/libQtCore.so.4 #61 0xb42d3252 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #62 0xb42d3a30 in ?? () from /lib/libglib-2.0.so.0 #63 0xb42d3ce4 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #64 0xb524b2f7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #65 0xb5a736fa in ?? () from /usr/lib/libQtGui.so.4 #66 0xb521c0ed in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #67 0xb521c331 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #68 0xb5220a8a in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #69 0xb59bc624 in QApplication::exec() () from /usr/lib/libQtGui.so.4 #70 0x08058dca in main (argc=3, argv=0xbf8f2544) at /media/kdesvn/kde4svn/src/kdepim/korganizer/korgac/korgacmain.cpp:96 Reported using DrKonqi
*** Bug 283855 has been marked as a duplicate of this bug. ***
Created attachment 64693 [details] New crash information added by DrKonqi korgac (4.7.2) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.2 - What I was doing when the application crashed: I simply logged to KDE after computer start. -- Backtrace (Reduced): #11 0x00007f720435ee3e in CalendarSupport::Calendar::Private::updateItem (this=0xffffffffffffff68, item=<value optimized out>, mode=<value optimized out>) at /var/tmp/portage/kde-base/kdepim-common-libs-4.7.2/work/kdepim-common-libs-4.7.2/calendarsupport/calendar.cpp:416 #12 0x00007f720435f9e1 in CalendarSupport::Calendar::Private::dataChanged (this=0x82dd00, topLeft=..., bottomRight=<value optimized out>) at /var/tmp/portage/kde-base/kdepim-common-libs-4.7.2/work/kdepim-common-libs-4.7.2/calendarsupport/calendar.cpp:229 #13 0x00007f7204350d04 in CalendarSupport::Calendar::Private::qt_metacall (this=0x82dd00, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa0cd2010) at /var/tmp/portage/kde-base/kdepim-common-libs-4.7.2/work/kdepim-common-libs-4.7.2_build/calendarsupport/moc_calendar_p.cpp:158 [...] #15 0x00007f7200eaeaa7 in QAbstractItemModel::dataChanged (this=0x1dc1, _t1=<value optimized out>, _t2=<value optimized out>) at .moc/debug-shared/moc_qabstractitemmodel.cpp:148 #16 0x00007f7203e2060d in KDescendantsProxyModelPrivate::sourceDataChanged (this=<value optimized out>, topLeft=..., bottomRight=...) at /var/tmp/portage/kde-base/kdelibs-4.7.2/work/kdelibs-4.7.2/kdeui/itemviews/kdescendantsproxymodel.cpp:970
Created attachment 70542 [details] New crash information added by DrKonqi korgac (4.8.2) on KDE Platform 4.8.2 (4.8.2) using Qt 4.8.1 korganiser daemon crashed when I imported a new calendar and deleted the old one while new one was still loading. -- Backtrace (Reduced): #13 0xb59a66b5 in qt_assert (assertion=0xb76886d0 "mode == DontCare || alreadyExisted == ( mode == AssertExists )", file=0xb7688558 "/home/hussam/packages/kdepim/src/kdepim/calendarsupport/calendar.cpp", line=290) at global/qglobal.cpp:1999 #14 0xb761351f in CalendarSupport::Calendar::Private::updateItem (this=0x9642908, item=..., mode=CalendarSupport::Calendar::Private::AssertExists) at /home/hussam/packages/kdepim/src/kdepim/calendarsupport/calendar.cpp:290 #15 0xb7615f88 in CalendarSupport::Calendar::Private::dataChanged (this=0x9642908, topLeft=..., bottomRight=...) at /home/hussam/packages/kdepim/src/kdepim/calendarsupport/calendar.cpp:236 #16 0xb760003a in CalendarSupport::Calendar::Private::qt_static_metacall (_o=0x9642908, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbfc81d34) at /home/hussam/packages/kdepim/src/build/calendarsupport/moc_calendar_p.cpp:147 [...] #18 0xb5b4296d in QAbstractItemModel::dataChanged (this=0x964ace0, _t1=..., _t2=...) at .moc/debug-shared/moc_qabstractitemmodel.cpp:164
*** Bug 296540 has been marked as a duplicate of this bug. ***
Valid in master and reproducible with these steps: - Add an akonadi-google resource, - Create event and choose one of your google calendars, Pressing ok makes korg/kontact crash kontact(5715) CalendarSupport::Calendar::Private::updateItem: id= 160923 version= 1 alreadyExisted= true ; mode = 1 ; uid = "afa9uq308feg64794mjudjcaeo" ; storageCollection.id() = 487 ; parentCollection.id() = 487 kontact(5715): Ignoring item. item.id() = 160923 ; cached id = 0 ; item uid = "afa9uq308feg64794mjudjcaeo" ; calendar = "" ; existed in cache = false ; storageCollection.id() = 487 ; parentCollection.id() = 487 ; hasParent = false ; knowParent = false kontact(5715) CalendarSupport::Calendar::Private::updateItem: m_unseenItemToItemId has size 219 kontact(5715) CalendarSupport::Calendar::Private::updateItem: key "ff1d8bcb-a0a5-413b-826e-31638b6e561c" 487 has value 160923 kontact(5715): Possible cause is that the resource isn't explicitly setting an uid ( and a random one is generated ) ASSERT failure in updateItem: "Item not found inside m_unseenItemToItemId", file /kde/src/pim/kdepim/calendarsupport/calendar.cpp, line 426 bt: #5 0x00007ff485f1ff2e in qt_assert_x (where=<optimized out>, what=<optimized out>, file=<optimized out>, line=<optimized out>) at global/qglobal.cpp:2007 #6 0x00007ff4319888b0 in CalendarSupport::Calendar::Private::updateItem (this=0x26269b0, item=..., mode=CalendarSupport::Calendar::Private::AssertExists) at /kde/src/pim/kdepim/calendarsupport/calendar.cpp:426 #7 0x00007ff431986c55 in CalendarSupport::Calendar::Private::dataChanged (this=0x26269b0, topLeft=..., bottomRight=...) at /kde/src/pim/kdepim/calendarsupport/calendar.cpp:236 #8 0x00007ff43197cab6 in CalendarSupport::Calendar::Private::qt_static_metacall (_o=0x26269b0, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0x7fff15dd9e70) at /kde/build/pim/kdepim/calendarsupport/moc_calendar_p.cpp:147 #9 0x00007ff48603bfe1 in QMetaObject::activate (sender=0x261e280, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff15dd9e70) at kernel/qobject.cpp:3556 #10 0x00007ff486088847 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at .moc/release-shared/moc_qabstractitemmodel.cpp:164 #11 0x00007ff4834715b7 in Akonadi::EntityTreeModelPrivate::dataChanged (this=0x261f1a0, top=..., bottom=...) at /kde/src/pim/kdepimlibs/akonadi/entitytreemodel_p.cpp:1573 #12 0x00007ff48346e8d9 in Akonadi::EntityTreeModelPrivate::monitoredItemChanged (this=0x261f1a0, item=...) at /kde/src/pim/kdepimlibs/akonadi/entitytreemodel_p.cpp:1070 #13 0x00007ff4834658a7 in Akonadi::EntityTreeModel::qt_static_metacall (_o=0x261e280, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0x7fff15dda1f0) at /kde/build/pim/kdepimlibs/akonadi/entitytreemodel.moc:146 #14 0x00007ff48603bfe1 in QMetaObject::activate (sender=0x25ecb70, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff15dda1f0) at kernel/qobject.cpp:3556 #15 0x00007ff4834b036f in Akonadi::Monitor::itemChanged (this=0x25ecb70, _t1=..., _t2=...) at /kde/build/pim/kdepimlibs/akonadi/monitor.moc:189 #16 0x00007ff4834b42f6 in Akonadi::MonitorPrivate::emitItemNotification (this=0x261dac0, msg=..., item=..., collection=..., collectionDest=...) at /kde/src/pim/kdepimlibs/akonadi/monitor_p.cpp:525 #17 0x00007ff4834b2c07 in Akonadi::MonitorPrivate::emitNotification (this=0x261dac0, msg=...) at /kde/src/pim/kdepimlibs/akonadi/monitor_p.cpp:288 #18 0x00007ff483414c1e in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x261dac0, msg=...) at /kde/src/pim/kdepimlibs/akonadi/changerecorder_p.h:60 #19 0x00007ff4834b3797 in Akonadi::MonitorPrivate::flushPipeline (this=0x261dac0) at /kde/src/pim/kdepimlibs/akonadi/monitor_p.cpp:429 #20 0x00007ff4834b3810 in Akonadi::MonitorPrivate::dataAvailable (this=0x261dac0) at /kde/src/pim/kdepimlibs/akonadi/monitor_p.cpp:438 #21 0x00007ff4834b01af in Akonadi::Monitor::qt_static_metacall (_o=0x25ecb70, _c=QMetaObject::InvokeMetaMethod, _id=23, _a=0x7fff15dda7a0) at /kde/build/pim/kdepimlibs/akonadi/monitor.moc:137 #22 0x00007ff48603bfe1 in QMetaObject::activate (sender=0x261dda0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556 #23 0x00007ff483457fff in Akonadi::EntityCacheBase::dataAvailable (this=0x261dda0) at /kde/build/pim/kdepimlibs/akonadi/entitycache_p.moc:102 #24 0x00007ff48341a410 in Akonadi::EntityCache<Akonadi::Item, Akonadi::ItemFetchJob, Akonadi::ItemFetchScope>::processResult (this=0x261dda0, job=0x31e2460) at /kde/src/pim/kdepimlibs/akonadi/entitycache_p.h:192 #25 0x00007ff483457ed8 in Akonadi::EntityCacheBase::qt_static_metacall (_o=0x261dda0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff15ddaa00) at /kde/build/pim/kdepimlibs/akonadi/entitycache_p.moc:54 #26 0x00007ff48603bfe1 in QMetaObject::activate (sender=0x31e2460, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff15ddaa00) at kernel/qobject.cpp:3556 #27 0x00007ff4864e7e53 in KJob::result (this=0x31e2460, _t1=0x31e2460) at /kde/build/kdelibs/kdecore/kjob.moc:208 #28 0x00007ff4864e7317 in KJob::emitResult (this=0x31e2460) at /kde/src/kdelibs/kdecore/jobs/kjob.cpp:318 #29 0x00007ff4834ab14a in Akonadi::JobPrivate::delayedEmitResult (this=0x31efd30) at /kde/src/pim/kdepimlibs/akonadi/job.cpp:144 #30 0x00007ff4834ac256 in Akonadi::Job::qt_static_metacall (_o=0x31e2460, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x29d0ba0) at /kde/build/pim/kdepimlibs/akonadi/job.moc:68 #31 0x00007ff4860411a6 in QObject::event (this=0x31e2460, e=<optimized out>) at kernel/qobject.cpp:1204
*** Bug 298674 has been marked as a duplicate of this bug. ***
*** Bug 300883 has been marked as a duplicate of this bug. ***
Fixed in 4.11