Bug 298081

Summary: Kontact crashed when quickly closing it after starting
Product: [Applications] kontact Reporter: Dennis Schridde <heri+kde>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: dreibh, Vojtech.Zeisek
Priority: NOR    
Version: 4.8.2   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Dennis Schridde 2012-04-13 21:05:08 UTC
Application: kontact (4.8.2)
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.3.1-gentoo x86_64
Distribution: "Gentoo Base System release 2.1"

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

I started Kontact, but then closed it quickly again - probably before it was able to load everything.

-- Backtrace:
Application: Kontact (kontact), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f0ed38057a0 (LWP 11536))]

Thread 4 (Thread 0x7f0ecf2fb700 (LWP 11537)):
#0  0x000000365260bb04 in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x0000003d9dd6e464 in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x0000003d9dd6e589 in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#3  0x0000003652607d7b in start_thread () from /lib64/libpthread.so.0
#4  0x0000003651ee688d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f0ece9e2700 (LWP 11538)):
#0  0x0000003650612940 in __tls_get_addr () from /lib64/ld-linux-x86-64.so.2
#1  0x0000003d92c7a95a in QThreadData::current() () from /usr/lib64/qt4/libQtCore.so.4
#2  0x0000003d92da48c9 in postEventSourcePrepare(_GSource*, int*) () from /usr/lib64/qt4/libQtCore.so.4
#3  0x0000003d92046cda in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#4  0x0000003d92047226 in ?? () from /usr/lib64/libglib-2.0.so.0
#5  0x0000003d92047394 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#6  0x0000003d92da51b6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x0000003d92d75b12 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x0000003d92d75d67 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#9  0x0000003d92c788bf in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#10 0x0000003d92c7b82b in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#11 0x0000003652607d7b in start_thread () from /lib64/libpthread.so.0
#12 0x0000003651ee688d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f0e88704700 (LWP 11554)):
#0  0x000000365260be6e in pthread_cond_timedwait () from /lib64/libpthread.so.0
#1  0x0000003d92c7bc9e in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x0000003d92c6f2f6 in QThreadPoolThread::run() () from /usr/lib64/qt4/libQtCore.so.4
#3  0x0000003d92c7b82b in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x0000003652607d7b in start_thread () from /lib64/libpthread.so.0
#5  0x0000003651ee688d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f0ed38057a0 (LWP 11536)):
[KCrash Handler]
#6  0x0000003651e36135 in raise () from /lib64/libc.so.6
#7  0x0000003651e3794a in abort () from /lib64/libc.so.6
#8  0x0000003d91cb9acd in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/libstdc++.so.6
#9  0x0000003d91cb7cd6 in __cxxabiv1::__terminate(void (*)()) () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/libstdc++.so.6
#10 0x0000003d91cb7d03 in std::terminate() () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/libstdc++.so.6
#11 0x0000003d91cb86ef in __cxa_pure_virtual () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/libstdc++.so.6
#12 0x0000003dadd77b37 in KMail::FolderShortcutActionManager::updateShortcutsForIndex (this=0x251af90, parent=..., start=0, end=0) at /var/tmp/portage/kde-base/kmail-4.8.2/work/kmail-4.8.2/kmail/foldershortcutactionmanager.cpp:96
#13 0x0000003d92d8a601 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#14 0x0000003d92dd5634 in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int) () from /usr/lib64/qt4/libQtCore.so.4
#15 0x0000003d92d70e73 in QAbstractItemModel::endInsertRows() () from /usr/lib64/qt4/libQtCore.so.4
#16 0x0000003d9414493f in QSortFilterProxyModelPrivate::insert_source_items(QVector<int>&, QVector<int>&, QVector<int> const&, QModelIndex const&, Qt::Orientation, bool) () from /usr/lib64/qt4/libQtGui.so.4
#17 0x0000003d941489c5 in QSortFilterProxyModelPrivate::source_items_inserted(QModelIndex const&, int, int, Qt::Orientation) () from /usr/lib64/qt4/libQtGui.so.4
#18 0x0000003d94148cdf in QSortFilterProxyModelPrivate::_q_sourceRowsInserted(QModelIndex const&, int, int) () from /usr/lib64/qt4/libQtGui.so.4
#19 0x0000003d92d8a601 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#20 0x0000003d92dd5634 in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int) () from /usr/lib64/qt4/libQtCore.so.4
#21 0x0000003d92d70e73 in QAbstractItemModel::endInsertRows() () from /usr/lib64/qt4/libQtCore.so.4
#22 0x0000003da130f469 in ?? () from /usr/lib64/libakonadi-kde.so.4
#23 0x0000003d92d8a601 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#24 0x0000003da12bfcc2 in Akonadi::CollectionFetchJob::collectionsReceived(QList<Akonadi::Collection> const&) () from /usr/lib64/libakonadi-kde.so.4
#25 0x0000003da12c2c0b in ?? () from /usr/lib64/libakonadi-kde.so.4
#26 0x0000003d92d8a601 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#27 0x0000003d92d8f419 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#28 0x0000003d93bc8bd4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#29 0x0000003d93bcd973 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#30 0x0000003d97850626 in KApplication::notify (this=0x7fff23368120, receiver=0x2609360, event=0x7fff23366380) at /var/tmp/portage/kde-base/kdelibs-4.8.2/work/kdelibs-4.8.2/kdeui/kernel/kapplication.cpp:311
#31 0x0000003d92d76d03 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#32 0x0000003d92da6ed2 in QTimerInfoList::activateTimers() () from /usr/lib64/qt4/libQtCore.so.4
#33 0x0000003d92da494d in timerSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtCore.so.4
#34 0x0000003d92046f31 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#35 0x0000003d920472e5 in ?? () from /usr/lib64/libglib-2.0.so.0
#36 0x0000003d92047394 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#37 0x0000003d92da515b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#38 0x0000003d93c69c4e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#39 0x0000003d92d75b12 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#40 0x0000003d92d75d67 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#41 0x0000003d940686f6 in QDialog::exec() () from /usr/lib64/qt4/libQtGui.so.4
#42 0x0000003d977b913a in KMessageBox::createKMessageBox (dialog=<optimized out>, icon=..., text=..., strlist=..., ask=..., checkboxReturn=0x0, options=..., details=..., notifyType=QMessageBox::Critical) at /var/tmp/portage/kde-base/kdelibs-4.8.2/work/kdelibs-4.8.2/kdeui/dialogs/kmessagebox.cpp:344
#43 0x0000003d977b9904 in KMessageBox::createKMessageBox (dialog=0x237eda0, icon=QMessageBox::Critical, text=..., strlist=..., ask=..., checkboxReturn=0x0, options=..., details=...) at /var/tmp/portage/kde-base/kdelibs-4.8.2/work/kdelibs-4.8.2/kdeui/dialogs/kmessagebox.cpp:159
#44 0x0000003d977ba5ab in KMessageBox::errorListWId (parent_id=0, text=..., strlist=..., caption=..., options=...) at /var/tmp/portage/kde-base/kdelibs-4.8.2/work/kdelibs-4.8.2/kdeui/dialogs/kmessagebox.cpp:854
#45 0x0000003d977ba7c2 in KMessageBox::error (parent=<optimized out>, text=..., caption=..., options=...) at /var/tmp/portage/kde-base/kdelibs-4.8.2/work/kdelibs-4.8.2/kdeui/dialogs/kmessagebox.cpp:821
#46 0x0000003da130cd6a in ?? () from /usr/lib64/libakonadi-kde.so.4
#47 0x0000003d92d8a601 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#48 0x0000003d9713f142 in KJob::result (this=<optimized out>, _t1=0x2562eb0) at /var/tmp/portage/kde-base/kdelibs-4.8.2/work/kdelibs-4.8.2_build/kdecore/kjob.moc:208
#49 0x0000003d9713f180 in KJob::emitResult (this=0x2562eb0) at /var/tmp/portage/kde-base/kdelibs-4.8.2/work/kdelibs-4.8.2/kdecore/jobs/kjob.cpp:318
#50 0x0000003d9713f23e in KJob::kill (this=0x2562eb0, verbosity=KJob::EmitResult) at /var/tmp/portage/kde-base/kdelibs-4.8.2/work/kdelibs-4.8.2/kdecore/jobs/kjob.cpp:117
#51 0x0000003da137c6c7 in Akonadi::Session::clear() () from /usr/lib64/libakonadi-kde.so.4
#52 0x0000003da137ca5b in Akonadi::Session::~Session() () from /usr/lib64/libakonadi-kde.so.4
#53 0x0000003da137caa9 in Akonadi::Session::~Session() () from /usr/lib64/libakonadi-kde.so.4
#54 0x0000003d92d88d2c in QObjectPrivate::deleteChildren() () from /usr/lib64/qt4/libQtCore.so.4
#55 0x0000003d92d8ee5c in QObject::~QObject() () from /usr/lib64/qt4/libQtCore.so.4
#56 0x0000003dadce129d in KMKernel::~KMKernel (this=0x22fcbf0, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kmail-4.8.2/work/kmail-4.8.2/kmail/kmkernel.cpp:226
#57 0x0000003dadce1409 in KMKernel::~KMKernel (this=0x22fcbf0, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kmail-4.8.2/work/kmail-4.8.2/kmail/kmkernel.cpp:236
#58 0x00007f0e8bce46e5 in KMailPart::~KMailPart (this=0x21cc6b0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/kde-base/kmail-4.8.2/work/kmail-4.8.2/kmail/kmail_part.cpp:138
#59 0x00007f0e8bce47d9 in KMailPart::~KMailPart (this=0x21cc6b0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/kde-base/kmail-4.8.2/work/kmail-4.8.2/kmail/kmail_part.cpp:140
#60 0x0000003daa811c3e in KontactInterface::Plugin::~Plugin() () from /usr/lib64/libkontactinterface.so.4
#61 0x00007f0e8ccc6b3f in KMailPlugin::~KMailPlugin (this=0x2196510, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/kde-base/kmail-4.8.2/work/kmail-4.8.2/kontact/plugins/kmail/kmail_plugin.cpp:159
#62 0x00007f0e8ccc6b69 in KMailPlugin::~KMailPlugin (this=0x2196510, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/kde-base/kmail-4.8.2/work/kmail-4.8.2/kontact/plugins/kmail/kmail_plugin.cpp:163
#63 0x0000003da2c1d3b7 in Kontact::MainWindow::~MainWindow (this=0x1f4faf0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/kde-base/kontact-4.8.2/work/kontact-4.8.2/kontact/src/mainwindow.cpp:289
#64 0x0000003da2c1d519 in Kontact::MainWindow::~MainWindow (this=0x1f4faf0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/kde-base/kontact-4.8.2/work/kontact-4.8.2/kontact/src/mainwindow.cpp:291
#65 0x0000003d92d8f710 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#66 0x0000003d93c180eb in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#67 0x0000003d93fc43b3 in QMainWindow::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#68 0x0000003d9794a058 in KXmlGuiWindow::event (this=0x1f4faf0, ev=0x2b48610) at /var/tmp/portage/kde-base/kdelibs-4.8.2/work/kdelibs-4.8.2/kdeui/xmlgui/kxmlguiwindow.cpp:126
#69 0x0000003d93bc8bd4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#70 0x0000003d93bcd973 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#71 0x0000003d97850626 in KApplication::notify (this=0x7fff23368120, receiver=0x1f4faf0, event=0x2b48610) at /var/tmp/portage/kde-base/kdelibs-4.8.2/work/kdelibs-4.8.2/kdeui/kernel/kapplication.cpp:311
#72 0x0000003d92d76d03 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#73 0x0000003d92d7a4e9 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#74 0x0000003d92da4d53 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtCore.so.4
#75 0x0000003d92046f31 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#76 0x0000003d920472e5 in ?? () from /usr/lib64/libglib-2.0.so.0
#77 0x0000003d92047394 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#78 0x0000003d92da515b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#79 0x0000003d93c69c4e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#80 0x0000003d92d75b12 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#81 0x0000003d92d75d67 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#82 0x0000003d92d7a7c5 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#83 0x0000000000403709 in main (argc=1, argv=0x7fff23368748) at /var/tmp/portage/kde-base/kontact-4.8.2/work/kontact-4.8.2/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Vojtěch Zeisek 2012-06-11 11:37:50 UTC
Created attachment 71733 [details]
New crash information added by DrKonqi

korganizer (4.8.4- ()) on KDE Platform 4.8.4 (4.8.4) "release 511" using Qt 4.8.2

KOrganizer sometimes crashes when I open it and close again before all calendars are fully loaded and displayed. I use mainly remote calendars.

-- Backtrace (Reduced):
#6  KJob::kill (this=0x2138420, verbosity=KJob::EmitResult) at /usr/src/debug/kdelibs-4.8.4/kdecore/jobs/kjob.cpp:111
#7  0x00007f29573f98d7 in Akonadi::Session::clear (this=0x99d660) at /usr/src/debug/kdepimlibs-4.8.4/akonadi/session.cpp:425
#8  0x00007f29573f9c7b in Akonadi::Session::~Session (this=0x99d660, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.8.4/akonadi/session.cpp:394
#9  0x00007f29573f9cc9 in Akonadi::Session::~Session (this=0x99d660, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.8.4/akonadi/session.cpp:396
#10 0x00007f295c3eb2f5 in QObjectPrivate::deleteChildren (this=0x909aa0) at kernel/qobject.cpp:1917
Comment 2 Jekyll Wu 2013-11-30 02:20:44 UTC
*** Bug 324512 has been marked as a duplicate of this bug. ***
Comment 3 Denis Kurz 2016-09-24 19:34:27 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 4 Denis Kurz 2017-01-07 22:13:16 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.