Bug 290114

Summary: crash after closing akonadi-console
Product: [Frameworks and Libraries] Akonadi Reporter: MK <bugs.m1>
Component: akonadiconsoleAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description MK 2011-12-29 19:04:27 UTC
Application: akonadiconsole (0.99)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-14-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
used akonadi-console excessively, did database querys, switched tabs - while closing the app it crashed.

-- Backtrace:
Application: Akonadi Console (akonadiconsole), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fe430de37a0 (LWP 4036))]

Thread 3 (Thread 0x7fe41511c700 (LWP 4039)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fe427f35c2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fe427f35d59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fe42b6aeefc in start_thread (arg=0x7fe41511c700) at pthread_create.c:304
#4  0x00007fe42bc9389d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fe41481b700 (LWP 4040)):
#0  0x00007fe42bc87773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fe424aa3f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe424aa4429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe42e329f3e in QEventDispatcherGlib::processEvents (this=0x7fe4100008b0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fe42e2fdcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fe42e2fdef7 in QEventLoop::exec (this=0x7fe41481ade0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fe42e21527f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007fe42e217d05 in QThreadPrivate::start (arg=0x2667280) at thread/qthread_unix.cpp:331
#8  0x00007fe42b6aeefc in start_thread (arg=0x7fe41481b700) at pthread_create.c:304
#9  0x00007fe42bc9389d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe430de37a0 (LWP 4036)):
[KCrash Handler]
#6  0x00007fe42e2f5d93 in count (this=0x28af060) at ../../include/QtCore/../../src/corelib/tools/qvector.h:246
#7  QAbstractItemModelPrivate::removePersistentIndexData (this=0x28aefc0, data=0x26b25b0) at kernel/qabstractitemmodel.cpp:550
#8  0x00007fe42e2f6079 in QPersistentModelIndexData::destroy (data=<optimized out>) at kernel/qabstractitemmodel.cpp:83
#9  0x00007fe42e2f61bf in ~QPersistentModelIndex (this=0x28afd88, __in_chrg=<optimized out>) at kernel/qabstractitemmodel.cpp:155
#10 QPersistentModelIndex::~QPersistentModelIndex (this=0x28afd88, __in_chrg=<optimized out>) at kernel/qabstractitemmodel.cpp:152
#11 0x00007fe42d049399 in QAbstractItemViewPrivate::~QAbstractItemViewPrivate (this=0x28afaa0, __in_chrg=<optimized out>) at itemviews/qabstractitemview.cpp:113
#12 0x00007fe42d0904ae in ~QTreeViewPrivate (this=0x28afaa0, __in_chrg=<optimized out>) at ../../include/QtGui/private/../../../src/gui/itemviews/qtreeview_p.h:96
#13 QTreeViewPrivate::~QTreeViewPrivate (this=0x28afaa0, __in_chrg=<optimized out>) at ../../include/QtGui/private/../../../src/gui/itemviews/qtreeview_p.h:96
#14 0x00007fe42e31639b in cleanup (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#15 ~QScopedPointer (this=0x28aea18, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#16 QObject::~QObject (this=0x28aea10, __in_chrg=<optimized out>) at kernel/qobject.cpp:818
#17 0x00007fe42cb86162 in QWidget::~QWidget (this=0x28aea10, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1528
#18 0x00007fe42d07f379 in QTreeView::~QTreeView (this=0x28aea10, __in_chrg=<optimized out>) at itemviews/qtreeview.cpp:208
#19 0x00007fe42e310d75 in QObjectPrivate::deleteChildren (this=0x28ae5e0) at kernel/qobject.cpp:1955
#20 0x00007fe42cb860da in QWidget::~QWidget (this=0x28ae0b0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1651
#21 0x0000000000448069 in JobTrackerWidget::~JobTrackerWidget (this=0x28ae0b0, __in_chrg=<optimized out>) at ../../akonadiconsole/jobtrackerwidget.cpp:74
#22 0x00007fe42e310d75 in QObjectPrivate::deleteChildren (this=0x22eab40) at kernel/qobject.cpp:1955
#23 0x00007fe42cb860da in QWidget::~QWidget (this=0x22e7f10, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1651
#24 0x00007fe42cf8e469 in QStackedWidget::~QStackedWidget (this=0x22e7f10, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:151
#25 0x00007fe42e310d75 in QObjectPrivate::deleteChildren (this=0x22f6fb0) at kernel/qobject.cpp:1955
#26 0x00007fe42cb860da in QWidget::~QWidget (this=0x22eb3a0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1651
#27 0x00007fe42cf99e59 in QTabWidget::~QTabWidget (this=0x22eb3a0, __in_chrg=<optimized out>) at widgets/qtabwidget.cpp:357
#28 0x00007fe42e310d75 in QObjectPrivate::deleteChildren (this=0x2308aa0) at kernel/qobject.cpp:1955
#29 0x00007fe42cb860da in QWidget::~QWidget (this=0x2304040, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1651
#30 0x000000000043c6d8 in ~MainWidget (this=0x2304040, __in_chrg=<optimized out>) at ../../akonadiconsole/mainwidget.h:29
#31 MainWidget::~MainWidget (this=0x2304040, __in_chrg=<optimized out>) at ../../akonadiconsole/mainwidget.h:29
#32 0x00007fe42e310d75 in QObjectPrivate::deleteChildren (this=0x230aa20) at kernel/qobject.cpp:1955
#33 0x00007fe42cb860da in QWidget::~QWidget (this=0x22f8bb0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1651
#34 0x0000000000418db1 in ~MainWindow (this=0x22f8bb0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../akonadiconsole/mainwindow.h:27
#35 MainWindow::~MainWindow (this=<optimized out>, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../akonadiconsole/mainwindow.h:27
#36 0x00007fe42e315a88 in QObject::event (this=0x22f8bb0, e=<optimized out>) at kernel/qobject.cpp:1200
#37 0x00007fe42cb8a6eb in QWidget::event (this=0x22f8bb0, event=0x3a229c0) at kernel/qwidget.cpp:8754
#38 0x00007fe42cf4cceb in QMainWindow::event (this=0x22f8bb0, event=0x3a229c0) at widgets/qmainwindow.cpp:1478
#39 0x00007fe42d94a628 in KXmlGuiWindow::event (this=0x22f8bb0, ev=0x3a229c0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#40 0x00007fe42cb3a424 in notify_helper (e=0x3a229c0, receiver=0x22f8bb0, this=0x217c370) at kernel/qapplication.cpp:4486
#41 QApplicationPrivate::notify_helper (this=0x217c370, receiver=0x22f8bb0, e=0x3a229c0) at kernel/qapplication.cpp:4458
#42 0x00007fe42cb3f291 in QApplication::notify (this=0x7fff736861f0, receiver=0x22f8bb0, e=0x3a229c0) at kernel/qapplication.cpp:4365
#43 0x00007fe42d84e126 in KApplication::notify (this=0x7fff736861f0, receiver=0x22f8bb0, event=0x3a229c0) at ../../kdeui/kernel/kapplication.cpp:311
#44 0x00007fe42e2feafc in QCoreApplication::notifyInternal (this=0x7fff736861f0, receiver=0x22f8bb0, event=0x3a229c0) at kernel/qcoreapplication.cpp:787
#45 0x00007fe42e30251f in sendEvent (event=0x3a229c0, receiver=0x22f8bb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#46 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x21555e0) at kernel/qcoreapplication.cpp:1428
#47 0x00007fe42e329a73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#48 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#49 0x00007fe424aa3a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007fe424aa4258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007fe424aa4429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007fe42e329ed6 in QEventDispatcherGlib::processEvents (this=0x2156cd0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#53 0x00007fe42cbe207e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#54 0x00007fe42e2fdcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#55 0x00007fe42e2fdef7 in QEventLoop::exec (this=0x7fff73686180, flags=...) at kernel/qeventloop.cpp:201
#56 0x00007fe42e302789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#57 0x00000000004185f9 in main (argc=1, argv=0x7fff73686628) at ../../akonadiconsole/main.cpp:65

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 20:44:31 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 2 Denis Kurz 2017-01-07 22:06:38 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.