Bug 307140

Summary: Kontact crashed on exit
Product: [Applications] kontact Reporter: Piotr Keplicz <keplicz>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.9.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Piotr Keplicz 2012-09-21 08:03:26 UTC
Application: kontact (4.9.1)
KDE Platform Version: 4.9.1
Qt Version: 4.8.2
Operating System: Linux 3.2.0-30-generic i686
Distribution: Ubuntu 12.04.1 LTS

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

I logged in and while session was starting (including Kontact), I immediately opened the main panel menu and clicked "Reboot". Kontact crashed during KDE's shutdown sequence.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb771e9c0 (LWP 5480))]

Thread 3 (Thread 0xb5680b40 (LWP 5536)):
#0  0x0097a416 in __kernel_vsyscall ()
#1  0x008ed96b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x037313dc in __pthread_cond_wait (cond=0x6c5da30, mutex=0x6c5da18) at forward.c:139
#3  0x0652c263 in WTF::TCMalloc_PageHeap::scavengerThread (this=0x6c58940) at wtf/FastMalloc.cpp:2495
#4  0x0652c37f in WTF::TCMalloc_PageHeap::runScavengerThread (context=0x6c58940) at wtf/FastMalloc.cpp:1618
#5  0x008e9d4c in start_thread (arg=0xb5680b40) at pthread_create.c:308
#6  0x03723ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb4d57b40 (LWP 5537)):
#0  0x019c1dcd in __GI_clock_gettime (clock_id=1, tp=0xb4d57008) at ../sysdeps/unix/clock_gettime.c:116
#1  0x04eeb3b5 in do_gettime (frac=0xb4d57000, sec=0xb4d56ff8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x04fd56f6 in QTimerInfoList::updateCurrentTime (this=0xb4402074) at kernel/qeventdispatcher_unix.cpp:343
#4  0x04fd5a4a in QTimerInfoList::timerWait (this=0xb4402074, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0x04fd42f3 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb4d570ec) at kernel/qeventdispatcher_glib.cpp:136
#6  0x018a4872 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x018a4faf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x018a5201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x04fd4db7 in QEventDispatcherGlib::processEvents (this=0xb4400468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#10 0x04fa067d in QEventLoop::processEvents (this=0xb4d57270, flags=...) at kernel/qeventloop.cpp:149
#11 0x04fa0919 in QEventLoop::exec (this=0xb4d57270, flags=...) at kernel/qeventloop.cpp:204
#12 0x04e899ec in QThread::exec (this=0x8981248) at thread/qthread.cpp:501
#13 0x04e89adb in QThread::run (this=0x8981248) at thread/qthread.cpp:568
#14 0x04e8ce80 in QThreadPrivate::start (arg=0x8981248) at thread/qthread_unix.cpp:307
#15 0x008e9d4c in start_thread (arg=0xb4d57b40) at pthread_create.c:308
#16 0x03723ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb771e9c0 (LWP 5480)):
[KCrash Handler]
#7  0x010b0dc4 in operator QItemSelectionModel* (this=<error reading variable: Cannot access memory at address 0x5>) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:78
#8  QAbstractItemView::selectionModel (this=0x1) at itemviews/qabstractitemview.cpp:766
#9  0x04ad6a46 in MailCommon::FolderTreeWidget::selectedCollections (this=0x1) at ../../mailcommon/foldertreewidget.cpp:244
#10 0x042c26f5 in KMMainWidget::updateFolderMenu (this=0x8e896d0) at ../../kmail/kmmainwidget.cpp:4131
#11 0x042dab36 in KMMainWidget::qt_static_metacall (_o=0x8e896d0, _c=QMetaObject::InvokeMetaMethod, _id=121, _a=0xbff80200) at ./kmmainwidget.moc:458
#12 0x04fb8b81 in QMetaObject::activate (sender=0x918d4d0, m=0x50feed8, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3547
#13 0x04fc1b25 in QSingleShotTimer::timeout (this=0x918d4d0) at .moc/release-shared/qtimer.moc:97
#14 0x04fc1c0c in QSingleShotTimer::timerEvent (this=0x918d4d0) at kernel/qtimer.cpp:317
#15 0x04fbcf94 in QObject::event (this=0x918d4d0, e=0xbff8070c) at kernel/qobject.cpp:1157
#16 0x00b02df4 in notify_helper (e=0xbff8070c, receiver=0x918d4d0, this=0x883e170) at kernel/qapplication.cpp:4556
#17 QApplicationPrivate::notify_helper (this=0x883e170, receiver=0x918d4d0, e=0xbff8070c) at kernel/qapplication.cpp:4528
#18 0x00b0815d in QApplication::notify (this=0xbff8070c, receiver=0x918d4d0, e=0xbff8070c) at kernel/qapplication.cpp:4285
#19 0x003132a1 in KApplication::notify (this=0xbff81314, receiver=0x918d4d0, event=0xbff8070c) at ../../kdeui/kernel/kapplication.cpp:311
#20 0x04fa1dde in QCoreApplication::notifyInternal (this=0xbff81314, receiver=0x918d4d0, event=0xbff8070c) at kernel/qcoreapplication.cpp:915
#21 0x04fd6e60 in sendEvent (event=0xbff8070c, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#22 QTimerInfoList::activateTimers (this=0x883cc4c) at kernel/qeventdispatcher_unix.cpp:611
#23 0x04fd45c8 in timerSourceDispatch (source=0x883cc18) at kernel/qeventdispatcher_glib.cpp:186
#24 timerSourceDispatch (source=0x883cc18) at kernel/qeventdispatcher_glib.cpp:180
#25 0x04fd4602 in idleTimerSourceDispatch (source=0x883ddf0) at kernel/qeventdispatcher_glib.cpp:233
#26 0x018a4d86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#27 0x018a5125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#28 0x018a5201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#29 0x04fd4d57 in QEventDispatcherGlib::processEvents (this=0x8814800, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#30 0x00bbba1a in QGuiEventDispatcherGlib::processEvents (this=0x8814800, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x04fa067d in QEventLoop::processEvents (this=0xbff80990, flags=...) at kernel/qeventloop.cpp:149
#32 0x04fa0919 in QEventLoop::exec (this=0xbff80990, flags=...) at kernel/qeventloop.cpp:204
#33 0x010557e9 in QDialog::exec (this=0x8e66bc0) at dialogs/qdialog.cpp:554
#34 0x0026835c in KMessageBox::createKMessageBox (dialog=0x8e66bc0, icon=..., text=..., strlist=..., ask=..., checkboxReturn=0x0, options=..., details=..., notifyType=QMessageBox::Critical) at ../../kdeui/dialogs/kmessagebox.cpp:344
#35 0x00268b9c in KMessageBox::createKMessageBox (dialog=0x8e66bc0, icon=QMessageBox::Critical, text=..., strlist=..., ask=..., checkboxReturn=0x0, options=..., details=...) at ../../kdeui/dialogs/kmessagebox.cpp:159
#36 0x00269925 in KMessageBox::errorListWId (parent_id=46137362, text=..., strlist=..., caption=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:854
#37 0x00269ba6 in KMessageBox::error (parent=0x8955ff8, text=..., caption=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:821
#38 0x0158a6a0 in Akonadi::EntityTreeModelPrivate::fetchJobDone (this=0x8e69a50, job=0x9269d98) at ../../akonadi/entitytreemodel_p.cpp:1207
#39 0x0157a127 in qt_static_metacall (_a=0xbff80f18, _id=3, _o=0x8d8cfd0, _c=<optimized out>) at ./entitytreemodel.moc:122
#40 Akonadi::EntityTreeModel::qt_static_metacall (_o=0x8d8cfd0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbff80f18) at ./entitytreemodel.moc:113
#41 0x04fb8b81 in QMetaObject::activate (sender=0x9269d98, m=0x278c4ac, local_signal_index=3, argv=0xbff80f18) at kernel/qobject.cpp:3547
#42 0x025d8975 in KJob::result (this=0x9269d98, _t1=0x9269d98) at ./kjob.moc:208
#43 0x025d89c8 in KJob::emitResult (this=0x9269d98) at ../../kdecore/jobs/kjob.cpp:318
#44 0x025d8a95 in KJob::kill (this=0x9269d98, verbosity=KJob::EmitResult) at ../../kdecore/jobs/kjob.cpp:117
#45 0x01608a58 in Akonadi::Session::clear (this=0x8b75be0) at ../../akonadi/session.cpp:425
#46 0x01608cdd in Akonadi::Session::~Session (this=0x8b75be0, __in_chrg=<optimized out>) at ../../akonadi/session.cpp:394
#47 0x01608d42 in Akonadi::Session::~Session (this=0x8b75be0, __in_chrg=<optimized out>) at ../../akonadi/session.cpp:396
#48 0x04fb71e1 in QObjectPrivate::deleteChildren (this=0x8dc3ab0) at kernel/qobject.cpp:1908
#49 0x04fbc951 in QObject::~QObject (this=0x8df0218, __in_chrg=<optimized out>) at kernel/qobject.cpp:927
#50 0x042819e1 in KMKernel::~KMKernel (this=0x8df0218, __in_chrg=<optimized out>) at ../../kmail/kmkernel.cpp:229
#51 0x04281b52 in KMKernel::~KMKernel (this=0x8df0218, __in_chrg=<optimized out>) at ../../kmail/kmkernel.cpp:239
#52 0x03551815 in KMailPart::~KMailPart (this=0x8b0ffb8, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:138
#53 0x03551932 in KMailPart::~KMailPart (this=0x8b0ffb8, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmail_part.cpp:140
#54 0x0011db18 in KontactInterface::Plugin::~Plugin (this=0x8afa7b8, __vtt_parm=0x3541ae4, __in_chrg=<optimized out>) at ../../kontactinterface/plugin.cpp:90
#55 0x035330d5 in KMailPlugin::~KMailPlugin (this=0x8afa7b8, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:159
#56 0x03533122 in KMailPlugin::~KMailPlugin (this=0x8afa7b8, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/kmail/kmail_plugin.cpp:163
#57 0x0091ce67 in Kontact::MainWindow::~MainWindow (this=0x8955ff8, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:291
#58 0x0091cfe2 in Kontact::MainWindow::~MainWindow (this=0x8955ff8, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:293
#59 0x0804ac86 in qDeleteAll<QList<KMainWindow*>::const_iterator> (end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#60 qDeleteAll<QList<KMainWindow*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#61 main (argc=-536870912, argv=0xc8037da0) at ../../../kontact/src/main.cpp:220

Possible duplicates by query: bug 306859, bug 305745, bug 301333, bug 300558, bug 293564.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2012-09-30 13:18:05 UTC

*** This bug has been marked as a duplicate of bug 288141 ***