Bug 317743 - Akonadi Console crash at exit
Summary: Akonadi Console crash at exit
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: akonadiconsole (show other bugs)
Version: unspecified
Platform: Compiled Sources OpenBSD
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 250516 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-04-02 18:09 UTC by Vadim Zhukov
Modified: 2017-01-07 22:29 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (10.25 KB, text/plain)
2013-05-11 15:08 UTC, auxsvr
Details
New crash information added by DrKonqi (8.42 KB, text/plain)
2013-05-31 10:25 UTC, kavol
Details
New crash information added by DrKonqi (13.15 KB, text/plain)
2013-11-26 23:58 UTC, Christopher Yeleighton
Details
New crash information added by DrKonqi (10.21 KB, text/plain)
2014-02-17 08:07 UTC, auxsvr
Details
New crash information added by DrKonqi (12.76 KB, text/plain)
2014-05-28 13:59 UTC, Con Kolivas
Details
New crash information added by DrKonqi (9.28 KB, text/plain)
2014-09-04 05:38 UTC, Con Kolivas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vadim Zhukov 2013-04-02 18:09:57 UTC
Application: akonadiconsole (0.99)
KDE Platform Version: 4.10.1 (Compiled from sources)
Qt Version: 4.8.2
Operating System: OpenBSD 5.3 i386
Distribution (Platform): OpenBSD Packages

-- Information about the crash:
- What I was doing when the application crashed:
Played with KMail folders, forced refresh of some. Then looked at current work queue of corresponding akonadi_resource. Then opened its "changelog" - nothing was there. Then tried to exit.

- Custom settings of the application:

Using MySQL Akonadi backend.

-- Backtrace:
Application: Akonadi Console (akonadiconsole), signal: Segmentation fault
[KCrash Handler]
#7  0x03196982 in QItemSelectionModel::hasSelection () from /usr/local/lib/qt4/libQtGui.so.10.0
#8  0x02142621 in KSelectionProxyModelPrivate::sourceRowsAboutToBeInserted () from /usr/local/lib/libkdeui.so.10.0
#9  0x0cfbe1aa in QMetaObject::activate () from /usr/local/lib/qt4/libQtCore.so.9.0
#10 0x0d01bb8f in QAbstractItemModel::rowsAboutToBeInserted () from /usr/local/lib/qt4/libQtCore.so.9.0
#11 0x0cf941ba in QAbstractItemModel::beginInsertRows () from /usr/local/lib/qt4/libQtCore.so.9.0
#12 0x04cfcf88 in Akonadi::EntityTreeModelPrivate::monitoredItemAdded (this=0x7dbf6d00, item=@0xcfbcd0e0, collection=@0xcfbcd108)
    at /usr/ports/pobj/kdepimlibs-4.10.1/kdepimlibs-4.10.1/akonadi/entitytreemodel_p.cpp:1067
#13 0x04ceed37 in Akonadi::EntityTreeModel::qt_static_metacall (_o=0x89f039c0, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0xcfbcd018) at moc_entitytreemodel.cpp:158
#14 0x0cfbe1aa in QMetaObject::activate () from /usr/local/lib/qt4/libQtCore.so.9.0
#15 0x04d48c31 in Akonadi::Monitor::itemAdded (this=0x81cf8a60, _t1=@0xcfbcd0e0, _t2=@0xcfbcd108) at moc_monitor.cpp:203
#16 0x04d4c88e in Akonadi::MonitorPrivate::emitItemNotification (this=0x81cf6600, msg=@0xcfbcd27c, item=@0xcfbcd158, collection=@0xcfbcd164, collectionDest=@0xcfbcd160)
    at /usr/ports/pobj/kdepimlibs-4.10.1/kdepimlibs-4.10.1/akonadi/monitor_p.cpp:549
#17 0x04d4ed1a in Akonadi::MonitorPrivate::emitNotification (this=0x81cf6600, msg=@0xcfbcd27c) at /usr/ports/pobj/kdepimlibs-4.10.1/kdepimlibs-4.10.1/akonadi/monitor_p.cpp:296
#18 0x04c9c2e5 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x81cf6600, msg=@0xcfbcd27c) at /usr/ports/pobj/kdepimlibs-4.10.1/kdepimlibs-4.10.1/akonadi/changerecorder_p.cpp:54
#19 0x04d4e1d4 in Akonadi::MonitorPrivate::flushPipeline (this=0x81cf6600) at /usr/ports/pobj/kdepimlibs-4.10.1/kdepimlibs-4.10.1/akonadi/monitor_p.cpp:457
#20 0x04d4e24b in Akonadi::MonitorPrivate::dataAvailable (this=0x81cf6600) at /usr/ports/pobj/kdepimlibs-4.10.1/kdepimlibs-4.10.1/akonadi/monitor_p.cpp:466
#21 0x04d4923e in Akonadi::Monitor::qt_static_metacall (_o=0x81cf8a60, _c=QMetaObject::InvokeMetaMethod, _id=23, _a=0xcfbcd390) at moc_monitor.cpp:137
#22 0x0cfbe1aa in QMetaObject::activate () from /usr/local/lib/qt4/libQtCore.so.9.0
#23 0x04ce5b99 in Akonadi::EntityCacheBase::dataAvailable (this=0x81cf5680) at moc_entitycache_p.cpp:102
#24 0x04ca0305 in Akonadi::EntityCache<Akonadi::Item, Akonadi::ItemFetchJob, Akonadi::ItemFetchScope>::processResult (this=0x81cf5680, job=0x8742d950) at entitycache_p.h:196
#25 0x04ce5cf3 in Akonadi::EntityCacheBase::qt_static_metacall (_o=0x81cf5680, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xcfbcd54c) at moc_entitycache_p.cpp:54
#26 0x0cfbe1aa in QMetaObject::activate () from /usr/local/lib/qt4/libQtCore.so.9.0
#27 0x0ed7e073 in KJob::result () from /usr/local/lib/libkdecore.so.9.0
#28 0x0ed7e878 in KJob::emitResult () from /usr/local/lib/libkdecore.so.9.0
#29 0x0ed7e9bf in KJob::kill () from /usr/local/lib/libkdecore.so.9.0
#30 0x04d82ff7 in Akonadi::Session::clear (this=0x81cf88f0) at /usr/ports/pobj/kdepimlibs-4.10.1/kdepimlibs-4.10.1/akonadi/session.cpp:452
#31 0x04d83038 in ~Session (this=0x81cf88f0) at /usr/ports/pobj/kdepimlibs-4.10.1/kdepimlibs-4.10.1/akonadi/session.cpp:412
#32 0x0cfb6c2c in QObjectPrivate::deleteChildren () from /usr/local/lib/qt4/libQtCore.so.9.0
#33 0x02b74428 in QWidget::~QWidget () from /usr/local/lib/qt4/libQtGui.so.10.0
#34 0x1c026b70 in BrowserWidget::~BrowserWidget ()
#35 0x1c043ecb in MainWidget::~MainWidget ()
#36 0x1c046bb6 in MainWindow::queryExit ()
#37 0x0224efc6 in KMainWindowPrivate::_k_shuttingDown () from /usr/local/lib/libkdeui.so.10.0
#38 0x0cfbe1aa in QMetaObject::activate () from /usr/local/lib/qt4/libQtCore.so.9.0
#39 0x0d01c527 in QCoreApplication::aboutToQuit () from /usr/local/lib/qt4/libQtCore.so.9.0
#40 0x0cfa6ab2 in QCoreApplication::exec () from /usr/local/lib/qt4/libQtCore.so.9.0
#41 0x02b13037 in QApplication::exec () from /usr/local/lib/qt4/libQtGui.so.10.0
#42 0x1c04361d in main ()

Thread 1 (thread 1011646):
#1  0x0cee6ddd in qt_gettime () from /usr/local/lib/qt4/libQtCore.so.9.0
#2  0x0cfdbe2f in QTimerInfoList::updateCurrentTime () from /usr/local/lib/qt4/libQtCore.so.9.0
#3  0x0cfdc15f in QTimerInfoList::timerWait () from /usr/local/lib/qt4/libQtCore.so.9.0
#4  0x0cfda1b2 in QEventDispatcherGlib::registeredTimers () from /usr/local/lib/qt4/libQtCore.so.9.0
#5  0x0b3aaa61 in g_main_context_prepare () from /usr/local/lib/libglib-2.0.so.3400.0
#6  0x0b3aae75 in g_main_context_iterate () from /usr/local/lib/libglib-2.0.so.3400.0
#7  0x0b3ab060 in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.3400.0
#8  0x0cfda737 in QEventDispatcherGlib::processEvents () from /usr/local/lib/qt4/libQtCore.so.9.0
#9  0x0cfa0e33 in QEventLoop::processEvents () from /usr/local/lib/qt4/libQtCore.so.9.0
#10 0x0cfa124a in QEventLoop::exec () from /usr/local/lib/qt4/libQtCore.so.9.0
#11 0x0ce7507a in QThread::exec () from /usr/local/lib/qt4/libQtCore.so.9.0
#12 0x0ce751cd in QThread::run () from /usr/local/lib/qt4/libQtCore.so.9.0
#13 0x0ce783b9 in QThreadPrivate::start () from /usr/local/lib/qt4/libQtCore.so.9.0
#14 0x05ef710e in _rthread_start (v=0x86f92a00) at /usr/src/lib/librthread/rthread.c:122
#15 0x0489c272 in __tfork_thread () at /usr/src/lib/libc/arch/i386/sys/tfork_thread.S:95

Reported using DrKonqi
Comment 1 auxsvr 2013-05-11 15:08:39 UTC
Created attachment 79827 [details]
New crash information added by DrKonqi

akonadiconsole (0.99) on KDE Platform 4.10.3 "release 559" using Qt 4.8.4

- What I was doing when the application crashed:

I refreshed the contacts in the browser, then attempted to exit.

-- Backtrace (Reduced):
#6  data (this=0x4) at ../../src/corelib/tools/qscopedpointer.h:135
[...]
#9  QItemSelectionModel::hasSelection (this=0x0) at itemviews/qitemselectionmodel.cpp:1416
#10 0xb67e9e20 in KSelectionProxyModelPrivate::sourceRowsAboutToBeInserted (this=0x8c19cb0, parent=..., start=224, end=224) at /usr/src/debug/kdelibs-4.10.3/kdeui/itemviews/kselectionproxymodel.cpp:984
[...]
#12 0xb56cd095 in QAbstractItemModel::rowsAboutToBeInserted (this=0x8e95a38, _t1=..., _t2=224, _t3=224) at .moc/release-shared/moc_qabstractitemmodel.cpp:190
#13 0xb565b658 in QAbstractItemModel::beginInsertRows (this=0x8e95a38, parent=..., first=224, last=224) at kernel/qabstractitemmodel.cpp:2416
Comment 2 kavol 2013-05-31 10:25:09 UTC
Created attachment 80209 [details]
New crash information added by DrKonqi

akonadiconsole (0.99) on KDE Platform 4.10.3 using Qt 4.8.4

- What I was doing when the application crashed:

I've just run akonadiconsole to verify current status. I switched between agent list and the browser, unfolded the local folders hierarchy and tried to exit - it crashed on exit.

- Unusual behavior I noticed:

I have troubles with local mail storage. After trying to remove and readd the agent, on subsequent akonadiconsole run (which ended in this crash), the local folders were shown twice in the browser, while only one agent instance existed ...

-- Backtrace (Reduced):
#6  0x0000003fb570c606 in QItemSelectionModel::hasSelection() const () from /lib64/libQtGui.so.4
#7  0x0000003fb702bea9 in KSelectionProxyModelPrivate::sourceRowsAboutToBeInserted (this=0x2067a20, parent=..., start=0, end=0) at /usr/src/debug/kdelibs-4.10.3/kdeui/itemviews/kselectionproxymodel.cpp:984
[...]
#9  0x0000003fb39d7834 in QAbstractItemModel::rowsAboutToBeInserted(QModelIndex const&, int, int) () from /lib64/libQtCore.so.4
#10 0x0000003fb39708b5 in QAbstractItemModel::beginInsertRows(QModelIndex const&, int, int) () from /lib64/libQtCore.so.4
#11 0x0000003fbe30498f in Akonadi::EntityTreeModelPrivate::monitoredItemAdded (this=0x2061eb0, item=..., collection=...) at /usr/src/debug/kdepimlibs-4.10.3/akonadi/entitytreemodel_p.cpp:1069
Comment 3 Carsten Grohmann 2013-10-18 19:26:16 UTC
Application: akonadiconsole (0.99)
KDE Platform Version: 4.10.5
Qt Version: 4.8.6
Operating System: Linux 3.10-3-686-pae i686
Distribution: Debian GNU/Linux testing (jessie)

-- Information about the crash:
- What I was doing when the application crashed:
I've cleared the Akonadi Cache for my local inbox folder and clicked "Synchronize folder". AC crashed during closing.

-- Backtrace:
Application: Akonadi Console (akonadiconsole), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
[Current thread is 1 (Thread 0xb1f289c0 (LWP 3833))]

Thread 3 (Thread 0xaf95eb40 (LWP 3836)):
#0  0xb7793424 in __kernel_vsyscall ()
#1  0xb30c57ab in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb53682ac in __pthread_cond_wait (cond=0xb4b0ae30 <WTF::pageheap_memory+20720>, mutex=0xb4b0ae18 <WTF::pageheap_memory+20696>) at forward.c:149
#3  0xb43b3de9 in WTF::TCMalloc_PageHeap::scavengerThread (this=this@entry=0xb4b05d40 <WTF::pageheap_memory>) at wtf/FastMalloc.cpp:2499
#4  0xb43b3e7f in WTF::TCMalloc_PageHeap::runScavengerThread (context=0xb4b05d40 <WTF::pageheap_memory>) at wtf/FastMalloc.cpp:1622
#5  0xb30c1cf1 in start_thread (arg=0xaf95eb40) at pthread_create.c:311
#6  0xb535b08e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 2 (Thread 0xaf035b40 (LWP 3837)):
#0  0xb7793424 in __kernel_vsyscall ()
#1  0xb536dc32 in clock_gettime (clock_id=1, tp=0xaf035048) at ../sysdeps/unix/clock_gettime.c:115
#2  0xb55e2f8c in do_gettime (frac=0xaf035040, sec=0xaf035038) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0xb56cb731 in QTimerInfoList::updateCurrentTime (this=this@entry=0xae702074) at kernel/qeventdispatcher_unix.cpp:354
#5  0xb56ca4be in timerSourceCheckHelper (src=0xae702040) at kernel/qeventdispatcher_glib.cpp:150
#6  0xb2de317f in g_main_context_check (context=context@entry=0xae7004e0, max_priority=2147483647, fds=fds@entry=0xae702160, n_fds=n_fds@entry=1) at /build/glib2.0-Ot8bbC/glib2.0-2.36.4/./glib/gmain.c:3545
#7  0xb2de36ea in g_main_context_iterate (context=context@entry=0xae7004e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-Ot8bbC/glib2.0-2.36.4/./glib/gmain.c:3698
#8  0xb2de3898 in g_main_context_iteration (context=0xae7004e0, may_block=1) at /build/glib2.0-Ot8bbC/glib2.0-2.36.4/./glib/gmain.c:3762
#9  0xb56ca23f in QEventDispatcherGlib::processEvents (this=0xae700468, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#10 0xb5699163 in QEventLoop::processEvents (this=this@entry=0xaf035258, flags=...) at kernel/qeventloop.cpp:149
#11 0xb5699489 in QEventLoop::exec (this=this@entry=0xaf035258, flags=...) at kernel/qeventloop.cpp:204
#12 0xb55850bd in QThread::exec (this=this@entry=0x9a93ba0) at thread/qthread.cpp:537
#13 0xb558520b in QThread::run (this=0x9a93ba0) at thread/qthread.cpp:604
#14 0xb5587a4f in QThreadPrivate::start (arg=0x9a93ba0) at thread/qthread_unix.cpp:349
#15 0xb30c1cf1 in start_thread (arg=0xaf035b40) at pthread_create.c:311
#16 0xb535b08e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 1 (Thread 0xb1f289c0 (LWP 3833)):
[KCrash Handler]
#7  data (this=0x4) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135
#8  qGetPtrHelper<QScopedPointer<QObjectData> > (p=...) at ../../include/QtCore/../../src/corelib/global/qglobal.h:2465
#9  d_func (this=0x0) at itemviews/qitemselectionmodel.h:154
#10 QItemSelectionModel::hasSelection (this=0x0) at itemviews/qitemselectionmodel.cpp:1416
#11 0xb67c9695 in KSelectionProxyModelPrivate::sourceRowsAboutToBeInserted (this=0x991c590, parent=..., start=73, end=73) at ../../kdeui/itemviews/kselectionproxymodel.cpp:984
#12 0xb67d1e34 in KSelectionProxyModel::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0xbff14960, _c=<optimized out>) at ./moc_kselectionproxymodel.cpp:99
#13 0xb56af825 in QMetaObject::activate (sender=sender@entry=0x9918b58, m=0x80aae20 <QAbstractItemModel::staticMetaObject>, m@entry=0xb58062f8 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0xbff14960) at kernel/qobject.cpp:3547
#14 0xb56fec15 in QAbstractItemModel::rowsAboutToBeInserted (this=this@entry=0x9918b58, _t1=..., _t2=_t2@entry=73, _t3=_t3@entry=73) at .moc/release-shared/moc_qabstractitemmodel.cpp:189
#15 0xb5690e2c in QAbstractItemModel::beginInsertRows (this=this@entry=0x9918b58, parent=..., first=73, last=73) at kernel/qabstractitemmodel.cpp:2416
#16 0xb760e9b6 in Akonadi::EntityTreeModelPrivate::monitoredItemAdded (this=0x98ff980, item=..., collection=...) at ../../akonadi/entitytreemodel_p.cpp:1069
#17 0xb75fbf71 in Akonadi::EntityTreeModel::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0xbff14b34, _c=<optimized out>) at ./moc_entitytreemodel.cpp:157
#18 0xb56af825 in QMetaObject::activate (sender=sender@entry=0x991c348, m=m@entry=0xb776ba38 <Akonadi::Monitor::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0xbff14b34) at kernel/qobject.cpp:3547
#19 0xb764a1cd in Akonadi::Monitor::itemAdded (this=0x991c348, _t1=..., _t2=...) at ./moc_monitor.cpp:202
#20 0xb764ed74 in Akonadi::MonitorPrivate::emitItemNotification (this=0x990c258, msg=..., item=..., collection=..., collectionDest=...) at ../../akonadi/monitor_p.cpp:549
#21 0xb7650bdd in Akonadi::MonitorPrivate::emitNotification (this=this@entry=0x990c258, msg=...) at ../../akonadi/monitor_p.cpp:296
#22 0xb75a8d9a in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x990c258, msg=...) at ../../akonadi/changerecorder_p.cpp:54
#23 0xb764d57e in Akonadi::MonitorPrivate::flushPipeline (this=this@entry=0x990c258) at ../../akonadi/monitor_p.cpp:457
#24 0xb764d750 in Akonadi::MonitorPrivate::dataAvailable (this=0x990c258) at ../../akonadi/monitor_p.cpp:466
#25 0xb764a893 in Akonadi::Monitor::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0xbff14dc8, _c=<optimized out>) at ./moc_monitor.cpp:136
#26 0xb56af825 in QMetaObject::activate (sender=sender@entry=0x9a1bbf0, m=m@entry=0xb776a9bc <Akonadi::EntityCacheBase::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3547
#27 0xb75f3185 in Akonadi::EntityCacheBase::dataAvailable (this=0x9a1bbf0) at ./moc_entitycache_p.cpp:101
#28 0xb75af681 in Akonadi::EntityCache<Akonadi::Item, Akonadi::ItemFetchJob, Akonadi::ItemFetchScope>::processResult (this=0x9a1bbf0, job=0xa16e9d0) at ../../akonadi/entitycache_p.h:196
#29 0xb75f30c3 in Akonadi::EntityCacheBase::qt_static_metacall (_o=_o@entry=0x9a1bbf0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbff14f68) at ./moc_entitycache_p.cpp:53
#30 0xb56af825 in QMetaObject::activate (sender=sender@entry=0xa16e9d0, m=m@entry=0xb5b3b4ac <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0xbff14f68) at kernel/qobject.cpp:3547
#31 0xb5996d95 in KJob::result (this=this@entry=0xa16e9d0, _t1=_t1@entry=0xa16e9d0) at ./kjob.moc:207
#32 0xb5996de2 in KJob::emitResult (this=this@entry=0xa16e9d0) at ../../kdecore/jobs/kjob.cpp:318
#33 0xb5996e8d in KJob::kill (this=0xa16e9d0, verbosity=verbosity@entry=KJob::EmitResult) at ../../kdecore/jobs/kjob.cpp:117
#34 0xb7682351 in Akonadi::Session::clear (this=this@entry=0x9a1a7a8) at ../../akonadi/session.cpp:457
#35 0xb76823d8 in Akonadi::Session::~Session (this=0x9a1a7a8, __in_chrg=<optimized out>) at ../../akonadi/session.cpp:412
#36 0xb768242c in Akonadi::Session::~Session (this=0x9a1a7a8, __in_chrg=<optimized out>) at ../../akonadi/session.cpp:414
#37 0xb56b236a in QObjectPrivate::deleteChildren (this=this@entry=0x9a03ac8) at kernel/qobject.cpp:1907
#38 0xb5cd5a4c in QWidget::~QWidget (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#39 0x0806c3c0 in BrowserWidget::~BrowserWidget (this=0x9a17818, __in_chrg=<optimized out>) at ../../akonadiconsole/browserwidget.cpp:214
#40 0x08082d65 in MainWidget::~MainWidget (this=0x99d8980, __in_chrg=<optimized out>) at ../../akonadiconsole/mainwidget.cpp:101
#41 0x08082db0 in MainWidget::~MainWidget (this=0x99d8980, __in_chrg=<optimized out>) at ../../akonadiconsole/mainwidget.cpp:102
#42 0x08084a9a in MainWindow::queryExit (this=0x99c84c8) at ../../akonadiconsole/mainwindow.cpp:63
#43 0xb68b0eb3 in KMainWindow::closeEvent (this=0x99c84c8, e=0xbff155a4) at ../../kdeui/widgets/kmainwindow.cpp:604
#44 0xb5cd9540 in QWidget::event (this=0x99c84c8, event=event@entry=0xbff155a4) at kernel/qwidget.cpp:8545
#45 0xb60fc8ef in QMainWindow::event (this=this@entry=0x99c84c8, event=event@entry=0xbff155a4) at widgets/qmainwindow.cpp:1478
#46 0xb68b1095 in KMainWindow::event (this=this@entry=0x99c84c8, ev=ev@entry=0xbff155a4) at ../../kdeui/widgets/kmainwindow.cpp:1084
#47 0xb68f3286 in KXmlGuiWindow::event (this=0x99c84c8, ev=0xbff155a4) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#48 0xb5c7f8b4 in QApplicationPrivate::notify_helper (this=0x98bb630, receiver=0x99c84c8, e=0xbff155a4) at kernel/qapplication.cpp:4567
#49 0xb5c863b3 in QApplication::notify (this=0xbff15b3c, receiver=receiver@entry=0x99c84c8, e=e@entry=0xbff155a4) at kernel/qapplication.cpp:4353
#50 0xb67e2554 in KApplication::notify (this=0xbff15b3c, receiver=0x99c84c8, event=0xbff155a4) at ../../kdeui/kernel/kapplication.cpp:311
#51 0xb569a71a in QCoreApplication::notifyInternal (this=0xbff15b3c, receiver=receiver@entry=0x99c84c8, event=event@entry=0xbff155a4) at kernel/qcoreapplication.cpp:949
#52 0xb5cd56c7 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#53 QWidgetPrivate::close_helper (this=<optimized out>, mode=<optimized out>, mode@entry=QWidgetPrivate::CloseWithSpontaneousEvent) at kernel/qwidget.cpp:7942
#54 0xb5cf6c81 in translateCloseEvent (this=0x99c84c8) at kernel/qapplication_x11.cpp:5481
#55 QApplication::x11ClientMessage (this=0xbff15b3c, w=0x99c84c8, event=0xbff1577c, passive_only=false) at kernel/qapplication_x11.cpp:3177
#56 0xb5d057e9 in QApplication::x11ProcessEvent (this=0xbff15b3c, event=event@entry=0xbff1577c) at kernel/qapplication_x11.cpp:3802
#57 0xb5d30cf4 in x11EventSourceDispatch (s=s@entry=0x98bc620, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#58 0xb2de342e in g_main_dispatch (context=0x98bb7c0, context@entry=0x9889688) at /build/glib2.0-Ot8bbC/glib2.0-2.36.4/./glib/gmain.c:3054
#59 g_main_context_dispatch (context=context@entry=0x98bb7c0) at /build/glib2.0-Ot8bbC/glib2.0-2.36.4/./glib/gmain.c:3630
#60 0xb2de37d8 in g_main_context_iterate (context=context@entry=0x98bb7c0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-Ot8bbC/glib2.0-2.36.4/./glib/gmain.c:3701
#61 0xb2de3898 in g_main_context_iteration (context=0x98bb7c0, may_block=1) at /build/glib2.0-Ot8bbC/glib2.0-2.36.4/./glib/gmain.c:3762
#62 0xb56ca23f in QEventDispatcherGlib::processEvents (this=this@entry=0x9883e90, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#63 0xb5d30dae in QGuiEventDispatcherGlib::processEvents (this=0x9883e90, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#64 0xb5699163 in QEventLoop::processEvents (this=this@entry=0xbff15a38, flags=...) at kernel/qeventloop.cpp:149
#65 0xb5699489 in QEventLoop::exec (this=this@entry=0xbff15a38, flags=...) at kernel/qeventloop.cpp:204
#66 0xb569f0fe in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#67 0xb5c7dd44 in QApplication::exec () at kernel/qapplication.cpp:3828
#68 0x0805bb3e in main (argc=1, argv=0xbff15c34) at ../../akonadiconsole/main.cpp:62
Comment 4 Christopher Yeleighton 2013-11-26 23:58:39 UTC
Created attachment 83786 [details]
New crash information added by DrKonqi

akonadiconsole (0.99) on KDE Platform 4.11.2 using Qt 4.8.5

- What I was doing when the application crashed:

I have troubles with local mail storage. After trying to remove and readd the agent, on subsequent akonadiconsole run (which ended in this crash), the local folders were shown twice in the browser, while only one agent instance existed ...

I told Akonadi Console to stop the server.
I told Dolphin to delete akonadi from .local/share.
I told Akonadi Console to start the server.
I told Akonadi Console to quit.

-- Backtrace (Reduced):
#6  data (this=0x8) at ../../src/corelib/tools/qscopedpointer.h:135
[...]
#9  QItemSelectionModel::hasSelection (this=0x0) at itemviews/qitemselectionmodel.cpp:1416
#10 0x00007f300ffbf059 in KSelectionProxyModelPrivate::sourceRowsAboutToBeInserted (this=0x13e44e0, parent=..., start=86, end=86) at /usr/src/debug/kdelibs-4.11.2/kdeui/itemviews/kselectionproxymodel.cpp:984
[...]
#12 0x00007f300e690134 in QAbstractItemModel::rowsAboutToBeInserted (this=this@entry=0x1300270, _t1=..., _t2=_t2@entry=86, _t3=_t3@entry=86) at .moc/release-shared/moc_qabstractitemmodel.cpp:189
#13 0x00007f300e6289e5 in QAbstractItemModel::beginInsertRows (this=this@entry=0x1300270, parent=..., first=first@entry=86, last=last@entry=86) at kernel/qabstractitemmodel.cpp:2416
Comment 5 auxsvr 2014-02-17 08:07:27 UTC
Created attachment 85188 [details]
New crash information added by DrKonqi

akonadiconsole (0.99) on KDE Platform 4.12.2 using Qt 4.8.4

- What I was doing when the application crashed:

The owncloud resource was returning nothing after a broken network connection, so I restarted it after refreshing it, checked the queued jobs and exited akonadiconsole after the resource started returning calendar and contact entries. It crashed on exit.

-- Backtrace (Reduced):
#6  data (this=0x4) at ../../src/corelib/tools/qscopedpointer.h:135
[...]
#9  QItemSelectionModel::hasSelection (this=0x0) at itemviews/qitemselectionmodel.cpp:1416
#10 0xb67951d0 in KSelectionProxyModelPrivate::sourceRowsAboutToBeInserted (this=0x9b187c0, parent=..., start=72, end=72) at /usr/src/debug/kdelibs-4.12.2/kdeui/itemviews/kselectionproxymodel.cpp:984
[...]
#12 0xb5679095 in QAbstractItemModel::rowsAboutToBeInserted(QModelIndex const&, int, int) () from /usr/lib/libQtCore.so.4
#13 0xb5607658 in QAbstractItemModel::beginInsertRows(QModelIndex const&, int, int) () from /usr/lib/libQtCore.so.4
Comment 6 Jekyll Wu 2014-02-17 08:43:48 UTC
*** Bug 250516 has been marked as a duplicate of this bug. ***
Comment 7 Con Kolivas 2014-05-28 13:59:05 UTC
Created attachment 86881 [details]
New crash information added by DrKonqi

akonadiconsole (0.99) on KDE Platform 4.11.5 using Qt 4.8.4

Forced a refresh of a kmail imap folder (trash) that had lost all its entries by clearing the akonadi cache and then closing the akonadi console is when it crashed.

-- Backtrace (Reduced):
#6  data (this=0x8) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135
[...]
#9  QItemSelectionModel::hasSelection (this=0x0) at itemviews/qitemselectionmodel.cpp:1416
#10 0x00007f2df3569939 in KSelectionProxyModelPrivate::sourceRowsAboutToBeInserted (this=0x2377e60, parent=..., start=3261, end=3261) at ../../kdeui/itemviews/kselectionproxymodel.cpp:984
[...]
#12 0x00007f2df1c68674 in QAbstractItemModel::rowsAboutToBeInserted (this=this@entry=0x23716f0, _t1=..., _t2=_t2@entry=3261, _t3=_t3@entry=3261) at .moc/release-shared/moc_qabstractitemmodel.cpp:190
#13 0x00007f2df1c01285 in QAbstractItemModel::beginInsertRows (this=this@entry=0x23716f0, parent=..., first=first@entry=3261, last=last@entry=3261) at kernel/qabstractitemmodel.cpp:2416
Comment 8 Daniel Vrátil 2014-05-29 10:08:25 UTC
Akonadi::Monitor probably should not emit any more pending notifications when the application is shutting down.
Comment 9 Con Kolivas 2014-09-04 05:38:21 UTC
Created attachment 88556 [details]
New crash information added by DrKonqi

akonadiconsole (0.99) on KDE Platform 4.13.3 using Qt 4.8.6

- What I was doing when the application crashed:

After clearing a number of imap caches in the desperate hope of making kmail see emails again (since it keeps getting stuck retrieving folder contents every so often requiring me to clear the imap caches) akonadi crashed when I closed it.

-- Backtrace (Reduced):
#6  data (this=0x8) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135
[...]
#9  QItemSelectionModel::hasSelection (this=0x0) at itemviews/qitemselectionmodel.cpp:1416
#10 0x00007fc46dd9fc39 in KSelectionProxyModelPrivate::sourceRowsAboutToBeInserted (this=0x1434a70, parent=..., start=362, end=362) at ../../kdeui/itemviews/kselectionproxymodel.cpp:984
[...]
#12 0x00007fc46d14f614 in QAbstractItemModel::rowsAboutToBeInserted (this=this@entry=0x142e890, _t1=..., _t2=_t2@entry=362, _t3=_t3@entry=362) at .moc/release-shared/moc_qabstractitemmodel.cpp:189
#13 0x00007fc46d0e7d45 in QAbstractItemModel::beginInsertRows (this=this@entry=0x142e890, parent=..., first=first@entry=362, last=last@entry=362) at kernel/qabstractitemmodel.cpp:2416
Comment 10 Denis Kurz 2016-09-24 20:40:27 UTC
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present?

If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 11 Denis Kurz 2017-01-07 22:29:30 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.