Bug 247184 - Kmail crashes when restarting akonadi
Summary: Kmail crashes when restarting akonadi
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 2.0.89
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-10 00:11 UTC by S. Burmeister
Modified: 2010-08-18 12:01 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (7.87 KB, text/plain)
2010-08-12 08:46 UTC, Elias Probst
Details

Note You need to log in before you can comment on or make changes to this bug.
Description S. Burmeister 2010-08-10 00:11:33 UTC
Application: kmail (2.0.89)
KDE Platform Version: 4.5.63 (KDE 4.5.63 (KDE 4.6 >= 20100805)) "release 4"
Qt Version: 4.6.3
Operating System: Linux 2.6.34-12-default i686
Distribution: "openSUSE 11.3 (i586)"

-- Information about the crash:
- What I was doing when the application crashed:

Everytime one issues akonadictl restart or akonadictl stop/start kmail crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0xb2414930 (LWP 8001))]

Thread 2 (Thread 0xafc1fb70 (LWP 8008)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb5ac6125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5e7724c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb35731f7 in ?? () from /usr/lib/libQtWebKit.so.4
#4  0xb357323f in ?? () from /usr/lib/libQtWebKit.so.4
#5  0xb5ac1b25 in start_thread () from /lib/libpthread.so.0
#6  0xb5e6946e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb2414930 (LWP 8001)):
[KCrash Handler]
#7  QModelIndex (this=0x84a14a0, range=...) at /usr/include/QtCore/qabstractitemmodel.h:65
#8  KSelectionProxyModelPrivate::removeRangeFromProxy (this=0x84a14a0, range=...) at /usr/src/debug/kdelibs-4.5.63svn1160649/kdeui/itemviews/kselectionproxymodel.cpp:1649
#9  0xb748eb47 in KSelectionProxyModelPrivate::removeSelectionFromProxy (this=0x84a14a0, selection=...) at /usr/src/debug/kdelibs-4.5.63svn1160649/kdeui/itemviews/kselectionproxymodel.cpp:1592
#10 0xb74911e7 in KSelectionProxyModelPrivate::selectionChanged (this=0x84a14a0, _selected=..., _deselected=...)
    at /usr/src/debug/kdelibs-4.5.63svn1160649/kdeui/itemviews/kselectionproxymodel.cpp:1837
#11 0xb7492b0d in KSelectionProxyModel::qt_metacall (this=0x809ca70, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfb740f4)
    at /usr/src/debug/kdelibs-4.5.63svn1160649/build/kdeui/moc_kselectionproxymodel.cpp:138
#12 0xb54e8122 in Akonadi::SelectionProxyModel::qt_metacall (this=0x809ca70, _c=QMetaObject::InvokeMetaMethod, _id=40, _a=0xbfb740f4)
    at /usr/src/debug/kdepimlibs-4.5.63svn1161098/build/akonadi/selectionproxymodel.moc:70
#13 0xb6172efd in QMetaObject::metacall (object=0x809ca70, cl=QMetaObject::InvokeMetaMethod, idx=40, argv=0xbfb740f4) at kernel/qmetaobject.cpp:237
#14 0xb6181fe8 in QMetaObject::activate (sender=0x8268f08, m=0xb6cffdb0, local_signal_index=0, argv=0xbfb740f4) at kernel/qobject.cpp:3295
#15 0xb69a4a2d in QItemSelectionModel::selectionChanged (this=0x8268f08, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:152
#16 0xb69a7e10 in QItemSelectionModel::clearSelection (this=0x8268f08) at itemviews/qitemselectionmodel.cpp:1141
#17 0xb69a7ec0 in QItemSelectionModel::clear (this=0x8268f08) at itemviews/qitemselectionmodel.cpp:1108
#18 0xb748c4d1 in KSelectionProxyModelPrivate::selectionModelSourceReset (this=0x84a14a0) at /usr/src/debug/kdelibs-4.5.63svn1160649/kdeui/itemviews/kselectionproxymodel.cpp:838
#19 0xb7492a47 in KSelectionProxyModel::qt_metacall (this=0x809ca70, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfb742fc)
    at /usr/src/debug/kdelibs-4.5.63svn1160649/build/kdeui/moc_kselectionproxymodel.cpp:141
#20 0xb54e8122 in Akonadi::SelectionProxyModel::qt_metacall (this=0x809ca70, _c=QMetaObject::InvokeMetaMethod, _id=43, _a=0xbfb742fc)
    at /usr/src/debug/kdepimlibs-4.5.63svn1161098/build/akonadi/selectionproxymodel.moc:70
#21 0xb6172efd in QMetaObject::metacall (object=0x809ca70, cl=QMetaObject::InvokeMetaMethod, idx=43, argv=0xbfb742fc) at kernel/qmetaobject.cpp:237
#22 0xb6181fe8 in QMetaObject::activate (sender=0x81c51a0, m=0xb6289198, local_signal_index=13, argv=0x0) at kernel/qobject.cpp:3295
#23 0xb61cdb85 in QAbstractItemModel::modelReset (this=0x81c51a0) at .moc/release-shared/moc_qabstractitemmodel.cpp:235
#24 0xb616286b in QAbstractItemModel::endResetModel (this=0x81c51a0) at kernel/qabstractitemmodel.cpp:2842
#25 0xb54811aa in Akonadi::EntityTreeModelPrivate::endResetModel (this=0x8094fe0) at /usr/src/debug/kdepimlibs-4.5.63svn1161098/akonadi/entitytreemodel_p.cpp:1406
#26 0xb546f8bc in Akonadi::EntityTreeModel::qt_metacall (this=0x81c51a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfb7449c)
    at /usr/src/debug/kdepimlibs-4.5.63svn1161098/build/akonadi/entitytreemodel.moc:128
#27 0xb6172efd in QMetaObject::metacall (object=0x81c51a0, cl=QMetaObject::InvokeMetaMethod, idx=27, argv=0xbfb7449c) at kernel/qmetaobject.cpp:237
#28 0xb6181fe8 in QMetaObject::activate (sender=0x825d108, m=0xb55ab7e4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3295
#29 0xb54f6dc5 in Akonadi::ServerManager::started (this=0x825d108) at /usr/src/debug/kdepimlibs-4.5.63svn1161098/build/akonadi/servermanager.moc:99
#30 0xb54f7cc1 in setState (this=0x825d108, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfb745d0) at /usr/src/debug/kdepimlibs-4.5.63svn1161098/akonadi/servermanager.cpp:84
#31 checkStatusChanged (this=0x825d108, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfb745d0) at /usr/src/debug/kdepimlibs-4.5.63svn1161098/akonadi/servermanager.cpp:74
#32 serviceOwnerChanged (this=0x825d108, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfb745d0) at /usr/src/debug/kdepimlibs-4.5.63svn1161098/akonadi/servermanager.cpp:69
#33 Akonadi::ServerManager::qt_metacall (this=0x825d108, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfb745d0) at /usr/src/debug/kdepimlibs-4.5.63svn1161098/build/akonadi/servermanager.moc:86
#34 0xb6172efd in QMetaObject::metacall (object=0x825d108, cl=QMetaObject::InvokeMetaMethod, idx=7, argv=0xbfb745d0) at kernel/qmetaobject.cpp:237
#35 0xb6181fe8 in QMetaObject::activate (sender=0x809c810, m=0xb5b4dc08, local_signal_index=2, argv=0xbfb745d0) at kernel/qobject.cpp:3295
#36 0xb5b32e05 in QDBusServiceWatcher::serviceOwnerChanged (this=0x809c810, _t1=..., _t2=..., _t3=...) at .moc/release-shared/moc_qdbusservicewatcher.cpp:146
#37 0xb5b32e55 in QDBusServiceWatcherPrivate::_q_serviceOwnerChanged (this=0x825d6e8, service=..., oldOwner=..., newOwner=...) at qdbusservicewatcher.cpp:80
#38 0xb5b3392f in QDBusServiceWatcher::qt_metacall (this=0x809c810, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfb7474c) at .moc/release-shared/moc_qdbusservicewatcher.cpp:91
#39 0xb5af3a37 in QDBusConnectionPrivate::deliverCall (this=0x807af08, object=0x809c810, msg=..., metaTypes=..., slotIdx=117440544) at qdbusintegrator.cpp:904
#40 0xb5b01536 in QDBusCallDeliveryEvent::placeMetaCall (this=0x8a3d490, object=0x809c810) at qdbusintegrator_p.h:101
#41 0xb617f93f in QObject::event (this=0x809c810, e=0x8a3d490) at kernel/qobject.cpp:1248
#42 0xb63c3c64 in QApplicationPrivate::notify_helper (this=0x8088e98, receiver=0x809c810, e=0x8a3d490) at kernel/qapplication.cpp:4302
#43 0xb63cbbf7 in QApplication::notify (this=0xbfb7501c, receiver=0x809c810, e=0x8a3d490) at kernel/qapplication.cpp:3706
#44 0xb74a38e1 in KApplication::notify (this=0xbfb7501c, receiver=0x809c810, event=0x8a3d490) at /usr/src/debug/kdelibs-4.5.63svn1160649/kdeui/kernel/kapplication.cpp:310
#45 0xb616ce0e in QCoreApplication::notifyInternal (this=0xbfb7501c, receiver=0x809c810, event=0x8a3d490) at kernel/qcoreapplication.cpp:726
#46 0xb61709b4 in sendEvent (receiver=0x0, event_type=0, data=0x8057d88) at kernel/qcoreapplication.h:215
#47 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8057d88) at kernel/qcoreapplication.cpp:1367
#48 0xb6170b9c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1260
#49 0xb619883d in sendPostedEvents (s=0x808ada0) at kernel/qcoreapplication.h:220
#50 postEventSourceDispatch (s=0x808ada0) at kernel/qeventdispatcher_glib.cpp:276
#51 0xb47e9b49 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#52 0xb47ea350 in ?? () from /usr/lib/libglib-2.0.so.0
#53 0xb47ea60e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#54 0xb6198d4b in QEventDispatcherGlib::processEvents (this=0x8080680, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#55 0xb647419a in QGuiEventDispatcherGlib::processEvents (this=0x8080680, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#56 0xb616c11d in QEventLoop::processEvents (this=0xbfb74f14, flags=...) at kernel/qeventloop.cpp:149
#57 0xb616c319 in QEventLoop::exec (this=0xbfb74f14, flags=...) at kernel/qeventloop.cpp:201
#58 0xb6170c70 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#59 0xb63c1164 in QApplication::exec () at kernel/qapplication.cpp:3581
#60 0x0804a887 in main (argc=) at /usr/src/debug/kdepim-4.5.63svn1161098/kmail/main.cpp:145

Reported using DrKonqi
Comment 1 Sergio Martins 2010-08-11 12:15:28 UTC
I can't reproduce with 20100810's trunk.
Comment 2 Elias Probst 2010-08-12 08:46:17 UTC
Created attachment 50045 [details]
New crash information added by DrKonqi

kmail (2.0 beta1) on KDE Platform 4.5.00 (KDE 4.5.0) using Qt 4.6.3

I can confirm this too, using KMail2 / SVN 20100811 + KDE 4.5.0 + Akonadi Server 1.4.0

-- Backtrace (Reduced):
#6  QModelIndex (this=<value optimized out>, range=<value optimized out>) at /usr/include/qt4/QtCore/qabstractitemmodel.h:65
#7  KSelectionProxyModelPrivate::removeRangeFromProxy (this=<value optimized out>, range=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.5.0/work/kdelibs-4.5.0/kdeui/itemviews/kselectionproxymodel.cpp:1435
#8  0x00007f6c20fc984c in KSelectionProxyModelPrivate::removeSelectionFromProxy (this=0x175e230, selection=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.5.0/work/kdelibs-4.5.0/kdeui/itemviews/kselectionproxymodel.cpp:1378
#9  0x00007f6c20fc9ba8 in KSelectionProxyModelPrivate::selectionChanged (this=0x175e230, _selected=<value optimized out>, _deselected=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.5.0/work/kdelibs-4.5.0/kdeui/itemviews/kselectionproxymodel.cpp:1633
#10 0x00007f6c20fcbfb2 in KSelectionProxyModel::qt_metacall (this=0x1631cf0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff364f1c30)
    at /var/tmp/portage/kde-base/kdelibs-4.5.0/work/kdelibs-4.5.0_build/kdeui/moc_kselectionproxymodel.cpp:138
Comment 3 Stephen Kelly 2010-08-18 12:01:51 UTC
I couldn't reproduce this issue directly, but it should be fixed now since yesterday.