Bug 291882 - assert in MonitorPrivate::deref( Collection::Id id )
Summary: assert in MonitorPrivate::deref( Collection::Id id )
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: akonadiconsole (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-18 17:37 UTC by Christian Mollekopf
Modified: 2017-01-07 22:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (7.02 KB, text/plain)
2012-01-18 19:26 UTC, Christian Mollekopf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Mollekopf 2012-01-18 17:37:29 UTC
Application: akonadiconsole (0.99)
KDE Platform Version: 4.7.4 (4.7.4) (Compiled from sources)
Qt Version: 4.8.0
Operating System: Linux 3.1.9-2-ARCH x86_64
Distribution (Platform): Archlinux Packages

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

1. Right-click in the akonadi-console browser tab on a collection.
2. close popup
3. right click again on any collection => crash

kdepimlibs sha1: 0eec12d65e266a58f74a3d59e14213558f0f8087

The crash can be reproduced every time.

-- Backtrace:
Application: Akonadi Console (akonadiconsole), signal: Aborted
[Current thread is 1 (Thread 0x7f4c5a5987c0 (LWP 23356))]

Thread 3 (Thread 0x7f4c3e141700 (LWP 23359)):
#0  0x00007f4c53de6bc4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f4c4fb4b24c in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007f4c4fb4b379 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007f4c53de2e7a in start_thread () from /lib/libpthread.so.0
#4  0x00007f4c5330bbad in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f4c3d840700 (LWP 23360)):
#0  0x00007f4c533038b3 in poll () from /lib/libc.so.6
#1  0x00007f4c4b8b8d58 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f4c4b8b9219 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f4c56c9b0ff in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f4c56c6ae92 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f4c56c6b0e7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f4c56b6bd47 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f4c56b6ed6b in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f4c53de2e7a in start_thread () from /lib/libpthread.so.0
#9  0x00007f4c5330bbad in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4c5a5987c0 (LWP 23356)):
[KCrash Handler]
#6  0x00007f4c5325d935 in raise () from /lib/libc.so.6
#7  0x00007f4c5325edab in abort () from /lib/libc.so.6
#8  0x00007f4c56b644a4 in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4
#9  0x00007f4c56b6465f in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007f4c56b64804 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4
#11 0x00007f4c5a0999db in Akonadi::MonitorPrivate::deref (this=0x9ed630, id=63) at /home/chrigi/devel/kde/kdepimlibs/akonadi/monitor_p.cpp:681
#12 0x00007f4c5a055963 in Akonadi::EntityTreeModelPrivate::deref (this=0x9f1690, id=63) at /home/chrigi/devel/kde/kdepimlibs/akonadi/entitytreemodel_p.cpp:1492
#13 0x00007f4c5a0481a5 in Akonadi::EntityTreeModel::setData (this=0x9f2600, index=..., value=..., role=53) at /home/chrigi/devel/kde/kdepimlibs/akonadi/entitytreemodel.cpp:735
#14 0x00007f4c5a0b7cde in Akonadi::SelectionProxyModelPrivate::rootIndexAboutToBeRemoved (this=0x9e4ab0, removedRootIndex=...) at /home/chrigi/devel/kde/kdepimlibs/akonadi/selectionproxymodel.cpp:59
#15 0x00007f4c5a0b78b9 in Akonadi::SelectionProxyModel::qt_static_metacall (_o=0x9b3c60, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffc0f25890) at /home/chrigi/devel/kde/build/global/kdepimlibs/akonadi/selectionproxymodel.moc:53
#16 0x00007f4c56c7ff51 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#17 0x00007f4c5586eda2 in KSelectionProxyModel::rootIndexAboutToBeRemoved(QModelIndex const&) () from /usr/lib/libkdeui.so.5
#18 0x00007f4c55877a9a in ?? () from /usr/lib/libkdeui.so.5
#19 0x00007f4c558783b8 in ?? () from /usr/lib/libkdeui.so.5
#20 0x00007f4c55879edb in ?? () from /usr/lib/libkdeui.so.5
#21 0x00007f4c56c7ff51 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#22 0x00007f4c54e5f537 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib/libQtGui.so.4
#23 0x00007f4c54e64f71 in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib/libQtGui.so.4
#24 0x00007f4c54e66321 in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/libQtGui.so.4
#25 0x00007f4c54e50bb5 in QTreeViewPrivate::select(QModelIndex const&, QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/libQtGui.so.4
#26 0x00007f4c54e518f2 in QTreeView::setSelection(QRect const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/libQtGui.so.4
#27 0x00007f4c54e0defa in QAbstractItemView::mousePressEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#28 0x00007f4c54937249 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#29 0x00007f4c54cf3396 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#30 0x00007f4c54e0769b in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#31 0x00007f4c54e4f175 in QTreeView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#32 0x00007f4c56c6c238 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#33 0x00007f4c548e681f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#34 0x00007f4c548ebfa3 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#35 0x00007f4c5588bef6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#36 0x00007f4c56c6c0ac in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#37 0x00007f4c548e7822 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#38 0x00007f4c54963b85 in ?? () from /usr/lib/libQtGui.so.4
#39 0x00007f4c54962a4a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#40 0x00007f4c5498a292 in ?? () from /usr/lib/libQtGui.so.4
#41 0x00007f4c4b8b884d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#42 0x00007f4c4b8b9048 in ?? () from /usr/lib/libglib-2.0.so.0
#43 0x00007f4c4b8b9219 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#44 0x00007f4c56c9b0ff in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#45 0x00007f4c54989f1e in ?? () from /usr/lib/libQtGui.so.4
#46 0x00007f4c56c6ae92 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#47 0x00007f4c56c6b0e7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#48 0x00007f4c56c6fc45 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#49 0x000000000044811b in main (argc=1, argv=0x7fffc0f286f8) at /home/chrigi/devel/kde/kdepim/akonadiconsole/main.cpp:65

Reported using DrKonqi
Comment 1 Christian Mollekopf 2012-01-18 19:26:29 UTC
Created attachment 67974 [details]
New crash information added by DrKonqi

akonadiconsole (0.99) on KDE Platform 4.7.4 (4.7.4) using Qt 4.8.0

- What I was doing when the application crashed:

in akonadiconsole, collections tab, first select one collection, then another => crash

-- Backtrace (Reduced):
#13 0x00007f0dd7fcf1a5 in Akonadi::EntityTreeModel::setData (this=0x84d5d0, index=..., value=..., role=53) at /home/chrigi/devel/kde/kdepimlibs/akonadi/entitytreemodel.cpp:735
#14 0x00007f0dd803ecde in Akonadi::SelectionProxyModelPrivate::rootIndexAboutToBeRemoved (this=0x83fbd0, removedRootIndex=...) at /home/chrigi/devel/kde/kdepimlibs/akonadi/selectionproxymodel.cpp:59
#15 0x00007f0dd803e8b9 in Akonadi::SelectionProxyModel::qt_static_metacall (_o=0x83f570, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffee9dcfb0) at /home/chrigi/devel/kde/build/global/kdepimlibs/akonadi/selectionproxymodel.moc:53
[...]
#17 0x00007f0dd37f5da2 in KSelectionProxyModel::rootIndexAboutToBeRemoved(QModelIndex const&) () from /usr/lib/libkdeui.so.5
[...]
#22 0x00007f0dd2de6537 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib/libQtGui.so.4
Comment 2 Denis Kurz 2016-09-24 20:37:02 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 3 Denis Kurz 2017-01-07 22:22:46 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.