Bug 272525 - Kontact crashed when resuming laptop from standby
Summary: Kontact crashed when resuming laptop from standby
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: libakonadi (show other bugs)
Version: 4.6
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 275505 279405 279524 280025 280273 282511 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-05 12:58 UTC by Elias Probst
Modified: 2013-08-13 00:01 UTC (History)
8 users (show)

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


Attachments
New crash information added by DrKonqi (7.20 KB, text/plain)
2011-07-29 17:51 UTC, Sven Eden
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Probst 2011-05-05 12:58:30 UTC
Application: kontact (4.6 beta5)
KDE Platform Version: 4.6.2 (4.6.2) (Compiled from sources)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-gentoo-r3 x86_64
Distribution: "Gentoo Base System release 2.0.1-r1"

-- Information about the crash:
- What I was doing when the application crashed:
I resumed the laptop from standby.
Running kdepim 4.6-git from May 3rd 2011.
Couldn't identify possible duplicate bugreports.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f5cd9165760 (LWP 3689))]

Thread 2 (Thread 0x7f5cc0423700 (LWP 3690)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f5cd5c9e312 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007f5cd5c9e40d in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/qt4/libQtWebKit.so.4
#3  0x00007f5cd1749904 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00007f5cd679b81d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f5cd9165760 (LWP 3689)):
[KCrash Handler]
#6  QModelIndex (this=<value optimized out>, row=33, column=0) at /usr/include/qt4/QtCore/qabstractitemmodel.h:65
#7  KSelectionProxyModelPrivate::mapTopLevelToSource (this=<value optimized out>, row=33, column=0) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r2/work/kdelibs-4.6.2/kdeui/itemviews/kselectionproxymodel.cpp:1577
#8  0x00007f5cd8521d05 in KSelectionProxyModel::mapToSource (this=0x31f2b30, proxyIndex=...) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r2/work/kdelibs-4.6.2/kdeui/itemviews/kselectionproxymodel.cpp:2100
#9  0x00007f5cd851c523 in KSelectionProxyModel::data (this=0x31f2b30, index=..., role=34) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r2/work/kdelibs-4.6.2/kdeui/itemviews/kselectionproxymodel.cpp:2204
#10 0x00007f5cd7da9c34 in QSortFilterProxyModel::data (this=<value optimized out>, index=..., role=34) at itemviews/qsortfilterproxymodel.cpp:1715
#11 0x00007f5cbe4e8127 in data (idx=...) at /usr/include/qt4/QtCore/qabstractitemmodel.h:398
#12 CalendarSupport::itemFromIndex (idx=...) at /var/tmp/portage/kde-base/kdepim-common-libs-4.6.9999/work/kdepim-common-libs-4.6.9999/calendarsupport/utils.cpp:380
#13 0x00007f5cbe4ea85a in CalendarSupport::itemsFromModel (model=<value optimized out>, parentIndex=<value optimized out>, start=33, end=<value optimized out>) at /var/tmp/portage/kde-base/kdepim-common-libs-4.6.9999/work/kdepim-common-libs-4.6.9999/calendarsupport/utils.cpp:418
#14 0x00007f5cbe4afe69 in CalendarSupport::Calendar::Private::rowsAboutToBeRemoved (this=0x31f3440, parent=..., start=<value optimized out>, end=-1) at /var/tmp/portage/kde-base/kdepim-common-libs-4.6.9999/work/kdepim-common-libs-4.6.9999/calendarsupport/calendar.cpp:128
#15 0x00007f5cbe48cd73 in CalendarSupport::Calendar::Private::qt_metacall (this=0x31f3440, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd56617e0) at /var/tmp/portage/kde-base/kdepim-common-libs-4.6.9999/work/kdepim-common-libs-4.6.9999_build/calendarsupport/moc_calendar_p.cpp:152
#16 0x00007f5cd6e99b31 in QMetaObject::activate (sender=0x31f2f90, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#17 0x00007f5cd6ede218 in QAbstractItemModel::rowsAboutToBeRemoved (this=0x3380aa8, _t1=<value optimized out>, _t2=33, _t3=33) at .moc/release-shared/moc_qabstractitemmodel.cpp:188
#18 0x00007f5cd6e7c144 in QAbstractItemModel::beginRemoveRows (this=0x31f2f90, parent=..., first=33, last=33) at kernel/qabstractitemmodel.cpp:2449
#19 0x00007f5cd7dac1fe in QSortFilterProxyModelPrivate::remove_proxy_interval (this=0x31f2fb0, source_to_proxy=<value optimized out>, proxy_to_source=..., proxy_start=33, proxy_end=33, proxy_parent=..., orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:555
#20 0x00007f5cd7dafb6a in QSortFilterProxyModelPrivate::remove_source_items (this=0x31f2fb0, source_to_proxy=..., proxy_to_source=<value optimized out>, source_items=<value optimized out>, source_parent=<value optimized out>, orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:537
#21 0x00007f5cd7dafd7a in QSortFilterProxyModelPrivate::source_items_about_to_be_removed (this=0x31f2fb0, source_parent=<value optimized out>, start=33, end=33, orient=<value optimized out>) at itemviews/qsortfilterproxymodel.cpp:838
#22 0x00007f5cd7db2585 in QSortFilterProxyModel::qt_metacall (this=0x31f2f90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd5661b40) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:136
#23 0x00007f5cd6e99b31 in QMetaObject::activate (sender=0x31f2b30, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#24 0x00007f5cd6ede218 in QAbstractItemModel::rowsAboutToBeRemoved (this=0x3380aa8, _t1=<value optimized out>, _t2=33, _t3=33) at .moc/release-shared/moc_qabstractitemmodel.cpp:188
#25 0x00007f5cd6e7c144 in QAbstractItemModel::beginRemoveRows (this=0x31f2b30, parent=..., first=33, last=33) at kernel/qabstractitemmodel.cpp:2449
#26 0x00007f5cd85204a3 in KSelectionProxyModelPrivate::sourceRowsAboutToBeRemoved (this=0x31f2850, parent=..., start=<value optimized out>, end=33) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r2/work/kdelibs-4.6.2/kdeui/itemviews/kselectionproxymodel.cpp:1109
#27 0x00007f5cd852a067 in KSelectionProxyModel::qt_metacall (this=0x31f2b30, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd5661d50) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r2/work/kdelibs-4.6.2_build/kdeui/moc_kselectionproxymodel.cpp:125
#28 0x00007f5cd6e99b31 in QMetaObject::activate (sender=0x31bac80, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#29 0x00007f5cd6ede218 in QAbstractItemModel::rowsAboutToBeRemoved (this=0x3380aa8, _t1=<value optimized out>, _t2=33, _t3=33) at .moc/release-shared/moc_qabstractitemmodel.cpp:188
#30 0x00007f5cd6e7c144 in QAbstractItemModel::beginRemoveRows (this=0x31bac80, parent=..., first=33, last=33) at kernel/qabstractitemmodel.cpp:2449
#31 0x00007f5cd3b4dd59 in Akonadi::EntityTreeModelPrivate::monitoredItemRemoved (this=0x31bb250, item=...) at /var/tmp/portage/kde-base/kdepimlibs-4.6.9999/work/kdepimlibs-4.6.9999/akonadi/entitytreemodel_p.cpp:927
#32 0x00007f5cd3b43702 in Akonadi::EntityTreeModel::qt_metacall (this=0x31bac80, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd5662030) at /var/tmp/portage/kde-base/kdepimlibs-4.6.9999/work/kdepimlibs-4.6.9999_build/akonadi/entitytreemodel.moc:158
#33 0x00007f5cd6e99b31 in QMetaObject::activate (sender=0x31b9a50, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#34 0x00007f5cd3b90cd1 in Akonadi::Monitor::itemRemoved (this=0x3380aa8, _t1=<value optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.6.9999/work/kdepimlibs-4.6.9999_build/akonadi/monitor.moc:190
#35 0x00007f5cd3b937f6 in Akonadi::MonitorPrivate::emitItemNotification (this=0x31b9a70, msg=..., item=<value optimized out>, collection=<value optimized out>, collectionDest=<value optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.6.9999/work/kdepimlibs-4.6.9999/akonadi/monitor_p.cpp:457
#36 0x00007f5cd3b94cca in Akonadi::MonitorPrivate::emitNotification (this=0x31b9a70, msg=...) at /var/tmp/portage/kde-base/kdepimlibs-4.6.9999/work/kdepimlibs-4.6.9999/akonadi/monitor_p.cpp:270
#37 0x00007f5cd3b05231 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x3380aa8, msg=...) at /var/tmp/portage/kde-base/kdepimlibs-4.6.9999/work/kdepimlibs-4.6.9999/akonadi/changerecorder_p.h:60
#38 0x00007f5cd3b9432f in Akonadi::MonitorPrivate::dataAvailable (this=0x31b9a70) at /var/tmp/portage/kde-base/kdepimlibs-4.6.9999/work/kdepimlibs-4.6.9999/akonadi/monitor_p.cpp:287
#39 0x00007f5cd3b90dcd in Akonadi::Monitor::qt_metacall (this=0x31b9a50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd56625c0) at /var/tmp/portage/kde-base/kdepimlibs-4.6.9999/work/kdepimlibs-4.6.9999_build/akonadi/monitor.moc:156
#40 0x00007f5cd3b04f8e in Akonadi::ChangeRecorder::qt_metacall (this=0x3380aa8, _c=54004400, _id=145, _a=0x0) at /var/tmp/portage/kde-base/kdepimlibs-4.6.9999/work/kdepimlibs-4.6.9999_build/akonadi/changerecorder.moc:72
#41 0x00007f5cd6e99b31 in QMetaObject::activate (sender=0x31b9ad0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#42 0x00007f5cd3b05b96 in Akonadi::EntityCache<Akonadi::Collection, Akonadi::CollectionFetchJob, Akonadi::CollectionFetchScope>::fetchResult (this=0x31b9ad0, job=<value optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.6.9999/work/kdepimlibs-4.6.9999/akonadi/entitycache_p.h:189
#43 0x00007f5cd3b3d069 in Akonadi::EntityCacheBase::qt_metacall (this=0x31b9ad0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd56627d0) at /var/tmp/portage/kde-base/kdepimlibs-4.6.9999/work/kdepimlibs-4.6.9999_build/akonadi/entitycache_p.moc:77
#44 0x00007f5cd6e99b31 in QMetaObject::activate (sender=0x15cf4e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#45 0x00007f5cd72e61a2 in KJob::result (this=0x3380aa8, _t1=0x15cf4e0) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r2/work/kdelibs-4.6.2_build/kdecore/kjob.moc:194
#46 0x00007f5cd72e63c4 in KJob::emitResult (this=0x15cf4e0) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r2/work/kdelibs-4.6.2/kdecore/jobs/kjob.cpp:312
#47 0x00007f5cd3b87e5b in Akonadi::JobPrivate::handleResponse (this=<value optimized out>, tag=<value optimized out>, data=<value optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.6.9999/work/kdepimlibs-4.6.9999/akonadi/job.cpp:66
#48 0x00007f5cd3bbe298 in Akonadi::SessionPrivate::dataReceived (this=0xe623a0) at /var/tmp/portage/kde-base/kdepimlibs-4.6.9999/work/kdepimlibs-4.6.9999/akonadi/session.cpp:218
#49 0x00007f5cd3bbeb14 in Akonadi::Session::qt_metacall (this=0x31b8340, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd5662b20) at /var/tmp/portage/kde-base/kdepimlibs-4.6.9999/work/kdepimlibs-4.6.9999_build/akonadi/session.moc:96
#50 0x00007f5cd6e99b31 in QMetaObject::activate (sender=0x31b86b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#51 0x00007f5cd6edd5b2 in QIODevice::qt_metacall (this=0x31b86b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd5662c60) at .moc/release-shared/moc_qiodevice.cpp:77
#52 0x00007f5cd26bd68d in QLocalSocket::qt_metacall (this=0x3380aa8, _c=54004400, _id=145, _a=0x0) at .moc/release-shared/moc_qlocalsocket.cpp:81
#53 0x00007f5cd6e99b31 in QMetaObject::activate (sender=0x31b9130, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#54 0x00007f5cd26b74ad in QAbstractSocketPrivate::canReadNotification (this=0x31b8c50) at socket/qabstractsocket.cpp:639
#55 0x00007f5cd26a7833 in QReadNotifier::event (this=<value optimized out>, e=0x3380ab0) at socket/qnativesocketengine.cpp:1103
#56 0x00007f5cd7857b85 in QApplicationPrivate::notify_helper (this=0x6361b0, receiver=0x31b84b0, e=0x7fffd5663210) at kernel/qapplication.cpp:4462
#57 0x00007f5cd785c7a2 in QApplication::notify (this=0x7fffd5663530, receiver=0x31b84b0, e=0x7fffd5663210) at kernel/qapplication.cpp:4341
#58 0x00007f5cd8538260 in KApplication::notify (this=0x7fffd5663530, receiver=0x31b84b0, event=0x7fffd5663210) at /var/tmp/portage/kde-base/kdelibs-4.6.2-r2/work/kdelibs-4.6.2/kdeui/kernel/kapplication.cpp:311
#59 0x00007f5cd6e83eae in QCoreApplication::notifyInternal (this=0x7fffd5663530, receiver=0x31b84b0, event=0x7fffd5663210) at kernel/qcoreapplication.cpp:731
#60 0x00007f5cd6eac26c in sendEvent (source=0x6458c0) at kernel/qcoreapplication.h:215
#61 socketNotifierSourceDispatch (source=0x6458c0) at kernel/qeventdispatcher_glib.cpp:110
#62 0x00007f5cd11f883c in g_main_dispatch (context=0x6441e0) at gmain.c:2440
#63 g_main_context_dispatch (context=0x6441e0) at gmain.c:3013
#64 0x00007f5cd11fc511 in g_main_context_iterate (context=0x6441e0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:3091
#65 0x00007f5cd11fc6ce in g_main_context_iteration (context=0x6441e0, may_block=1) at gmain.c:3154
#66 0x00007f5cd6eabf52 in QEventDispatcherGlib::processEvents (this=0x60cf80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#67 0x00007f5cd78fa8d2 in QGuiEventDispatcherGlib::processEvents (this=0x3380aa8, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#68 0x00007f5cd6e82ee2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#69 0x00007f5cd6e83241 in QEventLoop::exec (this=0x7fffd5663470, flags=) at kernel/qeventloop.cpp:201
#70 0x00007f5cd6e86cb7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#71 0x0000000000403e83 in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/kontact-4.6.9999/work/kontact-4.6.9999/kontact/src/main.cpp:218

Possible duplicates by query: bug 272380, bug 271682, bug 262447.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-07-07 21:21:11 UTC
Is this crash still reproducible with kdepim >= 4.6.0 and a recent kdelibs ?
Comment 2 Sven Eden 2011-07-29 17:51:41 UTC
Created attachment 62315 [details]
New crash information added by DrKonqi

kontact (4.6.1) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.3

- What I was doing when the application crashed:

Resumed Laptop from Standby. Opened Kontact. The first (and last) action was to try to fold a subfolder I didn't want to see. Kontact immediately crashed. This was the first time this happened ever. kdepim is 4.6.1, KDE is 4.6.5

I'll update to 4.7.0 tonight, let's see whether this happens ever again...

-- Backtrace (Reduced):
#6  0x00007fa51c37f432 in KSelectionProxyModelPrivate::mapTopLevelToSource(int, int) const () from /usr/lib64/libkdeui.so.5
#7  0x00007fa51c37f6cf in KSelectionProxyModel::mapToSource(QModelIndex const&) const () from /usr/lib64/libkdeui.so.5
#8  0x00007fa51c37a843 in KSelectionProxyModel::data(QModelIndex const&, int) const () from /usr/lib64/libkdeui.so.5
#9  0x00007fa51777ec1c in Akonadi::EntityMimeTypeFilterModel::filterAcceptsRow(int, QModelIndex const&) const () from /usr/lib64/libakonadi-kde.so.4
#10 0x00007fa51bc18411 in QSortFilterProxyModelPrivate::source_items_inserted(QModelIndex const&, int, int, Qt::Orientation) () from /usr/lib64/qt4/libQtGui.so.4
Comment 3 Christophe Marin 2011-08-18 11:35:04 UTC
*** Bug 275505 has been marked as a duplicate of this bug. ***
Comment 4 Christophe Marin 2011-08-18 11:35:49 UTC
*** Bug 279524 has been marked as a duplicate of this bug. ***
Comment 5 Christophe Marin 2011-08-18 11:36:06 UTC
*** Bug 279405 has been marked as a duplicate of this bug. ***
Comment 6 Christophe Marin 2011-08-18 11:36:21 UTC
*** Bug 280273 has been marked as a duplicate of this bug. ***
Comment 7 Christophe Marin 2011-08-18 11:46:33 UTC
*** Bug 280025 has been marked as a duplicate of this bug. ***
Comment 8 Otter 2011-08-18 11:48:35 UTC
Where  can I find solutions or work arounds to these bugs?
On Aug 18, 2011 6:46 AM, "Christophe Giboudeaux" <cgiboudeaux@gmx.com>
wrote:
> https://bugs.kde.org/show_bug.cgi?id=272525
>
>
>
>
>
> --- Comment #7 from Christophe Giboudeaux <cgiboudeaux gmx com> 2011-08-18
11:46:33 ---
> *** Bug 280025 has been marked as a duplicate of this bug. ***
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
Comment 9 Sven Eden 2011-08-19 14:51:04 UTC
(In reply to comment #2)
> I'll update to 4.7.0 tonight, let's see whether this happens ever again...

Until now it never happened again after updating to 4.7.0.

Note: I am putting this laptop into standby at least six times a day.
Comment 10 Christophe Marin 2011-09-24 13:06:28 UTC
from bug 282511

- What I was doing when the application crashed:

I had selected a to-do to edit and when I attempted to assign a new catagory I
had created. Kontact properly crashed when I checked the box to mark the
catagory. 

I was attempting to edit the to-do on a to-do list connected to a
google-calander resource.

I was using git compile of Thomas akonadi-google repo to provide the akonadi
google cal resource.
Comment 11 Christophe Marin 2011-09-24 13:06:38 UTC
*** Bug 282511 has been marked as a duplicate of this bug. ***