Bug 252049 - Plasma crashed after adding new icalendar to KOrganizer [assert, Akonadi::EntityTreeModelPrivate::indexesForItem, Akonadi::EntityTreeModelPrivate::monitoredItemChanged]
Summary: Plasma crashed after adding new icalendar to KOrganizer [assert, Akonadi::Ent...
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Sergio Martins
URL:
Keywords:
: 257766 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-22 15:28 UTC by Olivier LAHAYE
Modified: 2013-06-12 12:41 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.11
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (9.60 KB, text/plain)
2011-09-05 10:27 UTC, Petr Gebauer
Details
New crash information added by DrKonqi (11.10 KB, text/plain)
2011-10-26 12:14 UTC, Karel Pazdera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier LAHAYE 2010-09-22 15:28:53 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.5.68 (4.6 >= 20100912)
Qt Version: 4.7.0
Operating System: Linux 2.6.35.5-desktop-1mnb x86_64
Distribution: "Mandriva Linux 2010.1"

-- Information about the crash:
- What I was doing when the application crashed:
Added local ical file to korganiser, then plasma crashed. Maybe related to calendar tray?

-- Backtrace:
Application: Plasma Desktop Shell (kdeinit4), signal: Aborted
[Current thread is 1 (Thread 0x7f4beedc6720 (LWP 8733))]

Thread 2 (Thread 0x7f4bcb407710 (LWP 8736)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f4bcb406a40 in ?? ()
#2  0x00007fff3dcb97b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x7f4beedc6720 (LWP 8733)):
[KCrash Handler]
#6  0x00007f4bec3e9925 in raise () from /lib64/libc.so.6
#7  0x00007f4bec3eaf40 in abort () from /lib64/libc.so.6
#8  0x00007f4bed93b5d4 in qt_message_output(QtMsgType, char const*) () from /usr/lib64/libQtCore.so.4
#9  0x00007f4bed93b79d in ?? () from /usr/lib64/libQtCore.so.4
#10 0x00007f4bed93b935 in qFatal(char const*, ...) () from /usr/lib64/libQtCore.so.4
#11 0x00007f4bc88ab76f in QList<Node*>::at(int) const () from /usr/lib64/libakonadi-kde.so.4
#12 0x00007f4bc88b0fb1 in Akonadi::EntityTreeModelPrivate::indexesForItem (this=0x231edb0, item=...) at /usr/src/debug/kdepimlibs-4.5.68svn1174542/akonadi/entitytreemodel_p.cpp:1398
#13 0x00007f4bc88b14c8 in Akonadi::EntityTreeModelPrivate::monitoredItemChanged (this=0x231edb0, item=...) at /usr/src/debug/kdepimlibs-4.5.68svn1174542/akonadi/entitytreemodel_p.cpp:896
#14 0x00007f4bc88a6670 in Akonadi::EntityTreeModel::qt_metacall (this=0x231f220, _c=QMetaObject::InvokeMetaMethod, _id=22, _a=0x7fff3dcaec00)
    at /usr/src/debug/kdepimlibs-4.5.68svn1174542/build/akonadi/entitytreemodel.moc:149
#15 0x00007f4beda40fbf in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#16 0x00007f4bc88eb127 in Akonadi::Monitor::itemChanged (this=<value optimized out>, _t1=<value optimized out>, _t2=<value optimized out>)
    at /usr/src/debug/kdepimlibs-4.5.68svn1174542/build/akonadi/monitor.moc:169
#17 0x00007f4bc88eecfc in Akonadi::MonitorPrivate::emitItemNotification (this=0x231e0a0, msg=..., item=<value optimized out>, collection=<value optimized out>, collectionDest=<value optimized out>)
    at /usr/src/debug/kdepimlibs-4.5.68svn1174542/akonadi/monitor_p.cpp:421
#18 0x00007f4bc88ef09b in Akonadi::MonitorPrivate::emitNotification (this=0x231e0a0, msg=...) at /usr/src/debug/kdepimlibs-4.5.68svn1174542/akonadi/monitor_p.cpp:262
#19 0x00007f4bc88efda0 in Akonadi::MonitorPrivate::dataAvailable (this=0x231e0a0) at /usr/src/debug/kdepimlibs-4.5.68svn1174542/akonadi/monitor_p.cpp:274
#20 0x00007f4bc88eb7fa in Akonadi::Monitor::qt_metacall (this=0x22cc010, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3dcaf000)
    at /usr/src/debug/kdepimlibs-4.5.68svn1174542/build/akonadi/monitor.moc:156
#21 0x00007f4bc88790a8 in Akonadi::ChangeRecorder::qt_metacall (this=0x22cc010, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>)
    at /usr/src/debug/kdepimlibs-4.5.68svn1174542/build/akonadi/changerecorder.moc:72
#22 0x00007f4beda40fbf in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#23 0x00007f4bc887c129 in Akonadi::EntityCache<Akonadi::Item, Akonadi::ItemFetchJob, Akonadi::ItemFetchScope>::fetchResult(KJob*) () from /usr/lib64/libakonadi-kde.so.4
#24 0x00007f4bc88a0b80 in Akonadi::EntityCacheBase::qt_metacall (this=0x231e128, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3dcaf190)
    at /usr/src/debug/kdepimlibs-4.5.68svn1174542/build/akonadi/entitycache_p.moc:77
#25 0x00007f4beda40fbf in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#26 0x00007f4bede7df52 in KJob::result (this=<value optimized out>, _t1=0x2a4dd30) at /usr/src/debug/kdelibs-4.5.68svn1174542/build/kdecore/kjob.moc:194
#27 0x00007f4bede7df95 in KJob::emitResult (this=0x2a4dd30) at /usr/src/debug/kdelibs-4.5.68svn1174542/kdecore/jobs/kjob.cpp:312
#28 0x00007f4bc88e0ed1 in Akonadi::Job::qt_metacall (this=0x2a4dd30, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x2d8f450) at /usr/src/debug/kdepimlibs-4.5.68svn1174542/build/akonadi/job.moc:91
#29 0x00007f4bc88d10a5 in Akonadi::ItemFetchJob::qt_metacall (this=0x2a4dd30, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x2d8f450)
    at /usr/src/debug/kdepimlibs-4.5.68svn1174542/build/akonadi/itemfetchjob.moc:73
#30 0x00007f4beda40aba in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#31 0x00007f4becbdf664 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#32 0x00007f4becbe40da in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#33 0x00007f4bee782766 in KApplication::notify (this=0x15bd710, receiver=0x2a4dd30, event=0x2ac1700) at /usr/src/debug/kdelibs-4.5.68svn1174542/kdeui/kernel/kapplication.cpp:310
#34 0x00007f4beda2c73c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#35 0x00007f4beda2fee5 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#36 0x00007f4beda576c3 in ?? () from /usr/lib64/libQtCore.so.4
#37 0x00007f4be9768193 in g_main_dispatch (context=0x15ca120) at gmain.c:2149
#38 g_main_context_dispatch (context=0x15ca120) at gmain.c:2702
#39 0x00007f4be9768970 in g_main_context_iterate (context=0x15ca120, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#40 0x00007f4be9768c0d in g_main_context_iteration (context=0x15ca120, may_block=1) at gmain.c:2843
#41 0x00007f4beda5785f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#42 0x00007f4becc838be in ?? () from /usr/lib64/libQtGui.so.4
#43 0x00007f4beda2bad2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#44 0x00007f4beda2bd1c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#45 0x00007f4beda3019b in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#46 0x00007f4bdd9ea36d in kdemain (argc=1, argv=0x14fe1f0) at /usr/src/debug/kdebase-workspace-4.5.68svn1174542/plasma/desktop/shell/main.cpp:118
#47 0x0000000000407927 in launch (argc=<value optimized out>, _name=0x15775f8 "/usr/bin/plasma-desktop", args=<value optimized out>, cwd=0x0, envc=0, envs=<value optimized out>, reset_env=false, tty=
    0x0, avoid_loops=false, startup_id_str=0x40b3e1 "0") at /usr/src/debug/kdelibs-4.5.68svn1174542/kinit/kinit.cpp:727
#48 0x0000000000408243 in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at /usr/src/debug/kdelibs-4.5.68svn1174542/kinit/kinit.cpp:1219
#49 0x00000000004088d1 in handle_requests (waitForPid=0) at /usr/src/debug/kdelibs-4.5.68svn1174542/kinit/kinit.cpp:1412
#50 0x0000000000409158 in main (argc=4, argv=0x7fff3dcb0918, envp=0x7fff3dcb0940) at /usr/src/debug/kdelibs-4.5.68svn1174542/kinit/kinit.cpp:1898

Reported using DrKonqi
Comment 1 Dario Andres 2010-11-24 19:42:33 UTC
From bug 257766:
- What I was doing when the application crashed:
Plasma desktop crashed while adding a calendar to kontact
I think that the problem coms from the small applet that is added near the
clock. when creating a calendar, this applet is started and boooom
Comment 2 Dario Andres 2010-11-24 19:42:42 UTC
*** Bug 257766 has been marked as a duplicate of this bug. ***
Comment 3 Christophe Marin 2011-01-04 13:19:17 UTC
reproduced quite easily w/ trunk/master

Launch korganizer,
switch to the todo view (assuming you have a pending task),
click on the task title to rename it,
even without changing anything, plasma will crash.


#11 0x00007f58c78f9c7a in qt_assert (assertion=0x16b7 <Address 0x16b7 out of bounds>, file=0x6 <Address 0x6 out of bounds>, line=-1) at global/qglobal.cpp:2027
#12 0x00007f58af17b117 in Akonadi::EntityTreeModelPrivate::indexesForItem (this=0xeef880, item=...) at /kde/src/KDE/kdepimlibs/akonadi/entitytreemodel_p.cpp:1490
#13 0x00007f58af177a26 in Akonadi::EntityTreeModelPrivate::monitoredItemChanged (this=0xeef880, item=...) at /kde/src/KDE/kdepimlibs/akonadi/entitytreemodel_p.cpp:961
#14 0x00007f58af16f591 in Akonadi::EntityTreeModel::qt_metacall (this=0xeeb7e0, _c=QMetaObject::InvokeMetaMethod, _id=25, _a=0x7fff1d892d50) at /kde/build/KDE/kdepimlibs/akonadi/entitytreemodel.moc:159
#15 0x00007f58c79ffe3f in QMetaObject::activate (sender=0xee5ab0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff1d892d50) at kernel/qobject.cpp:3272
#16 0x00007f58af1c4b4d in Akonadi::Monitor::itemChanged (this=0xee5ab0, _t1=..., _t2=...) at /kde/build/KDE/kdepimlibs/akonadi/monitor.moc:169
#17 0x00007f58af1c8672 in Akonadi::MonitorPrivate::emitItemNotification (this=0xeedcd0, msg=..., item=..., collection=..., collectionDest=...) at /kde/src/KDE/kdepimlibs/akonadi/monitor_p.cpp:447
#18 0x00007f58af1c720c in Akonadi::MonitorPrivate::emitNotification (this=0xeedcd0, msg=...) at /kde/src/KDE/kdepimlibs/akonadi/monitor_p.cpp:270
#19 0x00007f58af124a05 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0xeedcd0, msg=...) at /kde/src/KDE/kdepimlibs/akonadi/changerecorder_p.h:60
#20 0x00007f58af1c7358 in Akonadi::MonitorPrivate::dataAvailable (this=0xeedcd0) at /kde/src/KDE/kdepimlibs/akonadi/monitor_p.cpp:287
#21 0x00007f58af1c4ab3 in Akonadi::Monitor::qt_metacall (this=0xee5ab0, _c=QMetaObject::InvokeMetaMethod, _id=23, _a=0x7fff1d8932a0) at /kde/build/KDE/kdepimlibs/akonadi/monitor.moc:156
#22 0x00007f58af12404b in Akonadi::ChangeRecorder::qt_metacall (this=0xee5ab0, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0x7fff1d8932a0) at /kde/build/KDE/kdepimlibs/akonadi/changerecorder.moc:72
#23 0x00007f58c79ffe3f in QMetaObject::activate (sender=0xeedd58, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3272
#24 0x00007f58af16293f in Akonadi::EntityCacheBase::dataAvailable (this=0xeedd58) at /kde/build/KDE/kdepimlibs/akonadi/entitycache_p.moc:88
#25 0x00007f58af128848 in Akonadi::EntityCache<Akonadi::Item, Akonadi::ItemFetchJob, Akonadi::ItemFetchScope>::fetchResult(KJob*) () from /kde/inst/kdepimlibs/lib64/libakonadi-kde.so.4
#26 0x00007f58af162904 in Akonadi::EntityCacheBase::qt_metacall (this=0xeedd58, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff1d893450) at /kde/build/KDE/kdepimlibs/akonadi/entitycache_p.moc:77
#27 0x00007f58c79ffe3f in QMetaObject::activate (sender=0x1972d60, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff1d893450) at kernel/qobject.cpp:3272
#28 0x00007f58c7e4fb62 in KJob::result (this=<value optimized out>, _t1=0x1972d60) at /usr/src/debug/kdelibs-4.6.40svn1211329/build/kdecore/kjob.moc:194
#29 0x00007f58c7e4fba0 in KJob::emitResult (this=0x1972d60) at /usr/src/debug/kdelibs-4.6.40svn1211329/kdecore/jobs/kjob.cpp:312
#30 0x00007f58af1b5a0c in Akonadi::JobPrivate::delayedEmitResult (this=0x1d78050) at /kde/src/KDE/kdepimlibs/akonadi/job.cpp:144
#31 0x00007f58af1b6c50 in Akonadi::Job::qt_metacall (this=0x1972d60, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x1d10c20) at /kde/build/KDE/kdepimlibs/akonadi/job.moc:91
#32 0x00007f58af1a2a45 in Akonadi::ItemFetchJob::qt_metacall (this=0x1972d60, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0x1d10c20) at /kde/build/KDE/kdepimlibs/akonadi/itemfetchjob.moc:73
#33 0x00007f58c79feaba in QObject::event (this=0x1972d60, e=<value optimized out>) at kernel/qobject.cpp:1211
#34 0x00007f58c6b99d44 in QApplicationPrivate::notify_helper (this=0x6ddcd0, receiver=0x1972d60, e=0x1cae8a0) at kernel/qapplication.cpp:4445
#35 0x00007f58c6ba224a in QApplication::notify (this=<value optimized out>, receiver=0x1972d60, e=0x1cae8a0) at kernel/qapplication.cpp:4324
#36 0x00007f58c875e3b6 in KApplication::notify (this=0x6d3cd0, receiver=0x1972d60, event=0x1cae8a0) at /usr/src/debug/kdelibs-4.6.40svn1211329/kdeui/kernel/kapplication.cpp:311
#37 0x00007f58c79eac3c in QCoreApplication::notifyInternal (this=0x6d3cd0, receiver=0x1972d60, event=0x1cae8a0) at kernel/qcoreapplication.cpp:732
#38 0x00007f58c79ee435 in sendEvent (receiver=0x0, event_type=0, data=0x6104a0) at kernel/qcoreapplication.h:215
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x6104a0) at kernel/qcoreapplication.cpp:1373
#40 0x00007f58c6c3f9bd in sendPostedEvents (this=0x6d4730, flags=...) at ../../src/corelib/kernel/qcoreapplication.h:220
#41 QEventDispatcherX11::processEvents (this=0x6d4730, flags=...) at kernel/qeventdispatcher_x11.cpp:75
#42 0x00007f58c79ea092 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007f58c79ea2a5 in QEventLoop::exec (this=0x7fff1d893ef0, flags=...) at kernel/qeventloop.cpp:201
#44 0x00007f58c79ee6eb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#45 0x00007f58b803bc58 in kdemain () from /usr/lib64/libkdeinit4_plasma-desktop.so
#46 0x0000000000407239 in launch (argc=1, _name=0x6ccaa8 "/usr/bin/plasma-desktop", args=<value optimized out>, cwd=0x0, envc=<value optimized out>, envs=<value optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x40b396 "0") at /usr/src/debug/kdelibs-4.6.40svn1211329/kinit/kinit.cpp:730
#47 0x0000000000407d3d in handle_launcher_request (sock=8, who=<value optimized out>) at /usr/src/debug/kdelibs-4.6.40svn1211329/kinit/kinit.cpp:1222
#48 0x00000000004084da in handle_requests (waitForPid=<value optimized out>) at /usr/src/debug/kdelibs-4.6.40svn1211329/kinit/kinit.cpp:1415
#49 0x0000000000409130 in main (argc=4, argv=0x7fff1d8953c8, envp=0x7fff1d8953f0) at /usr/src/debug/kdelibs-4.6.40svn1211329/kinit/kinit.cpp:1903
Comment 4 Petr Gebauer 2011-09-05 10:27:31 UTC
Created attachment 63394 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.7.00 (4.7.0) using Qt 4.7.3

- What I was doing when the application crashed:
accepting event from kmail to KDE kalendar.

-- Backtrace (Reduced):
#11 0x00007fe802269098 in Akonadi::EntityTreeModelPrivate::indexesForItem (this=0x2a0b820, item=...) at /var/tmp/paludis/kde-base-kdepimlibs-4.7.0/work/kdepimlibs-4.7.0/akonadi/entitytreemodel_p.cpp:1597
#12 0x00007fe802269411 in Akonadi::EntityTreeModelPrivate::monitoredItemChanged (this=0x2a0b820, item=...) at /var/tmp/paludis/kde-base-kdepimlibs-4.7.0/work/kdepimlibs-4.7.0/akonadi/entitytreemodel_p.cpp:1038
#13 0x00007fe80225d4ca in Akonadi::EntityTreeModel::qt_metacall (this=0x2ad1d10, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0x7fffcb89fff0) at /var/tmp/paludis/kde-base-kdepimlibs-4.7.0/work/kdepimlibs-4.7.0_build/akonadi/entitytreemodel.moc:169
[...]
#15 0x00007fe8022a0927 in Akonadi::Monitor::itemChanged (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at /var/tmp/paludis/kde-base-kdepimlibs-4.7.0/work/kdepimlibs-4.7.0_build/akonadi/monitor.moc:169
#16 0x00007fe8022a51d2 in Akonadi::MonitorPrivate::emitItemNotification (this=0x2a0a760, msg=..., item=..., collection=<optimized out>, collectionDest=<optimized out>) at /var/tmp/paludis/kde-base-kdepimlibs-4.7.0/work/kdepimlibs-4.7.0/akonadi/monitor_p.cpp:515
Comment 5 Karel Pazdera 2011-10-26 12:14:02 UTC
Created attachment 64882 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.2

- What I was doing when the application crashed:
I modified existing Google event and closed it by OK button

-- Backtrace (Reduced):
#11 0x00007f26ad9ef488 in Akonadi::EntityTreeModelPrivate::indexesForItem (this=0x154cb40, item=...) at /var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/entitytreemodel_p.cpp:1608
#12 0x00007f26ad9ef801 in Akonadi::EntityTreeModelPrivate::monitoredItemChanged (this=0x154cb40, item=...) at /var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/entitytreemodel_p.cpp:1038
#13 0x00007f26ad9e38da in Akonadi::EntityTreeModel::qt_metacall (this=0x17a2d30, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0x7fffd011c160) at /var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2_build/akonadi/entitytreemodel.moc:169
[...]
#15 0x00007f26ada268e7 in Akonadi::Monitor::itemChanged (this=<value optimized out>, _t1=<value optimized out>, _t2=<value optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2_build/akonadi/monitor.moc:169
#16 0x00007f26ada2b192 in Akonadi::MonitorPrivate::emitItemNotification (this=0x122c8b0, msg=..., item=..., collection=<value optimized out>, collectionDest=<value optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.7.2/work/kdepimlibs-4.7.2/akonadi/monitor_p.cpp:515
Comment 6 Sergio Martins 2013-06-12 12:41:47 UTC
Fixed in master