Bug 250412 - Kontact crashes when attempting to select a different email message
Summary: Kontact crashes when attempting to select a different email message
Status: RESOLVED FIXED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.4.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-07 07:22 UTC by David John Mills
Modified: 2010-09-12 06:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David John Mills 2010-09-07 07:22:58 UTC
Application: kontact (4.4.5)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.31.12-0.2-desktop x86_64
Distribution: "openSUSE 11.2 (x86_64)"

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

Select a particular email folder, then attempt to select a different message from the one already selected.

I have also reported Bug 250332, but the steps to repeat are different fro this bug.  The trace looks different too.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Aborted
[Current thread is 1 (Thread 0x7fabada80750 (LWP 10562))]

Thread 3 (Thread 0x7fab8d8b5910 (LWP 10574)):
#0  0x00007faba685e2cd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fababdf1a22 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fababde7382 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fababdf0efe in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007faba685965d in start_thread () from /lib64/libpthread.so.0
#5  0x00007fabaab07e1d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fab87dfb910 (LWP 10575)):
#0  0x00007faba685e2cd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fababdf1a22 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fababde7382 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007fababdf0efe in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007faba685965d in start_thread () from /lib64/libpthread.so.0
#5  0x00007fabaab07e1d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fabada80750 (LWP 10562)):
[KCrash Handler]
#6  0x00007fabaaa694e5 in raise () from /lib64/libc.so.6
#7  0x00007fabaaa6a9b0 in abort () from /lib64/libc.so.6
#8  0x00007fabaae58dc5 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib64/libstdc++.so.6
#9  0x00007fabaae571f6 in ?? () from /usr/lib64/libstdc++.so.6
#10 0x00007fabaae57223 in std::terminate() () from /usr/lib64/libstdc++.so.6
#11 0x00007fabaae57aff in __cxa_pure_virtual () from /usr/lib64/libstdc++.so.6
#12 0x00007fab9201454d in ?? () from /usr/lib64/libkmailprivate.so.4
#13 0x00007fab921e00f8 in KMMainWidget::slotMsgSelected(KMMessage*) () from /usr/lib64/libkmailprivate.so.4
#14 0x00007fab921fba08 in KMMainWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkmailprivate.so.4
#15 0x00007fababefbc47 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#16 0x00007fab91f2c1af in GpgME::Signature::summary() const () from /usr/lib64/libkmailprivate.so.4
#17 0x00007fab91f2c62c in GpgME::Signature::summary() const () from /usr/lib64/libkmailprivate.so.4
#18 0x00007fababefbc47 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#19 0x00007fab91f2c05f in GpgME::Signature::summary() const () from /usr/lib64/libkmailprivate.so.4
#20 0x00007fab917b9552 in MessageList::Core::View::slotSelectionChanged (this=0x14b42d0) at /usr/src/debug/kdepim-4.4.5/messagelist/core/view.cpp:1904
#21 0x00007fab917bc0b6 in MessageList::Core::View::qt_metacall (this=0x14b42d0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffe24a3f50)
    at /usr/src/debug/kdepim-4.4.5/build/messagelist/view.moc:93
#22 0x00007fababefbc47 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#23 0x00007fabab801997 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib64/libQtGui.so.4
#24 0x00007fabab8053f7 in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib64/libQtGui.so.4
#25 0x00007fabab80717b in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib64/libQtGui.so.4
#26 0x00007fabab803251 in QItemSelectionModel::select(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib64/libQtGui.so.4
#27 0x00007fabab801bef in QItemSelectionModel::setCurrentIndex(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib64/libQtGui.so.4
#28 0x00007fabab7ae9df in QAbstractItemView::setCurrentIndex(QModelIndex const&) () from /usr/lib64/libQtGui.so.4
#29 0x00007fab917b8ee2 in MessageList::Core::View::selectPreviousMessageItem (this=0x14b42d0, messageTypeFilter=<value optimized out>, existingSelectionBehaviour=ClearExistingSelection, centerItem=
    true, loop=<value optimized out>) at /usr/src/debug/kdepim-4.4.5/messagelist/core/view.cpp:1473
#30 0x00007fab921fbc9d in KMMainWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkmailprivate.so.4
#31 0x00007fababefbc47 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#32 0x00007fabab25faf2 in QAction::triggered(bool) () from /usr/lib64/libQtGui.so.4
#33 0x00007fabab2611eb in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQtGui.so.4
#34 0x00007fabab2634c7 in QAction::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#35 0x00007fabaca162dd in KAction::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#36 0x00007fabab2661ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#37 0x00007fabab26e89d in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#38 0x00007fabac89e846 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#39 0x00007fababee3f7c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#40 0x00007fabab2a2836 in ?? () from /usr/lib64/libQtGui.so.4
#41 0x00007fabab2a4627 in ?? () from /usr/lib64/libQtGui.so.4
#42 0x00007fabab27048f in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#43 0x00007fabac89e846 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#44 0x00007fababee3f7c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#45 0x00007fabab31228a in ?? () from /usr/lib64/libQtGui.so.4
#46 0x00007fabab314830 in ?? () from /usr/lib64/libQtGui.so.4
#47 0x00007fabab2ed404 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#48 0x00007fabab317da2 in ?? () from /usr/lib64/libQtGui.so.4
#49 0x00007faba34cadee in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#50 0x00007faba34ce7b8 in ?? () from /usr/lib64/libglib-2.0.so.0
#51 0x00007faba34ce8e0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#52 0x00007fababf10083 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#53 0x00007fabab31770e in ?? () from /usr/lib64/libQtGui.so.4
#54 0x00007fababee2ca2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#55 0x00007fababee308c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#56 0x00007fababee7ff9 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#57 0x0000000000403ede in _start ()

Possible duplicates by query: bug 250332, bug 247139, bug 246350, bug 223857.

Reported using DrKonqi
Comment 1 David John Mills 2010-09-12 06:27:11 UTC
Problem solved.

After some advice on the kde forum, I removed my .kde4/share/config/kmailrc file (or rather renamed it to ...-keep - which was fortuitous since I was able to import its filters to the new one).

On restarting kontact, it is now behaving correctly.  So the power failure seemed to have left kmailrc in a corrupted state.

Unfortunately I had to manually re-instate all my POP accounts and kmail preferred settings.