Bug 273338

Summary: Kontact crashed when selecting email in KMail
Product: [Applications] kontact Reporter: Tamás Bondár <dev>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.6 beta5   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Tamás Bondár 2011-05-15 14:18:46 UTC
Application: kontact (4.6 beta5)
KDE Platform Version: 4.6.3 (4.6.3) (Compiled from sources)
Qt Version: 4.7.2
Operating System: Linux 2.6.37-gentoo-r4 x86_64
Distribution (Platform): Gentoo Packages

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

I pressed 'left arrow' in KMail to select the previous email in a folder with aggregation set. All aggregations were collapsed, so there was no actual email shown on the message list, just the aggregation headers only.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fcefa03a760 (LWP 25599))]

Thread 2 (Thread 0x7fcee5e51700 (LWP 25600)):
#0  0x00007fcef249526c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fcef6aa061d in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007fcef6aa0729 in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#3  0x00007fcef2490914 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fcef75794bd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fcefa03a760 (LWP 25599)):
[KCrash Handler]
#6  0x00007fcee0669274 in MessageList::Core::Item::indexOfChildItem(MessageList::Core::Item*) const () from /usr/lib64/libmessagelist.so.4
#7  0x00007fcee06a45eb in MessageList::Core::View::messageItemBefore(MessageList::Core::Item*, MessageList::Core::MessageTypeFilter, bool) () from /usr/lib64/libmessagelist.so.4
#8  0x00007fcee06a9cbf in MessageList::Core::View::selectPreviousMessageItem(MessageList::Core::MessageTypeFilter, MessageList::Core::ExistingSelectionBehaviour, bool, bool) () from /usr/lib64/libmessagelist.so.4
#9  0x00007fcee14b00ad in KMMainWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkmailprivate.so.4
#10 0x00007fcef7c99a0f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#11 0x00007fcef86730b2 in QAction::triggered(bool) () from /usr/lib64/qt4/libQtGui.so.4
#12 0x00007fcef867477b in QAction::activate(QAction::ActionEvent) () from /usr/lib64/qt4/libQtGui.so.4
#13 0x00007fcef8676a57 in QAction::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#14 0x00007fcef92d08ed in KAction::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#15 0x00007fcef867a7dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#16 0x00007fcef867fc7d in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#17 0x00007fcef93d4276 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#18 0x00007fcef7c81d2b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#19 0x00007fcef86b5ee1 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#20 0x00007fcef86b7cd5 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#21 0x00007fcef8681856 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#22 0x00007fcef93d4276 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#23 0x00007fcef7c81d2b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#24 0x00007fcef87274da in ?? () from /usr/lib64/qt4/libQtGui.so.4
#25 0x00007fcef8729a61 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#26 0x00007fcef8702664 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#27 0x00007fcef872cfb2 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#28 0x00007fcef1f37fa1 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#29 0x00007fcef1f3c638 in ?? () from /usr/lib64/libglib-2.0.so.0
#30 0x00007fcef1f3c7ec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#31 0x00007fcef7cade13 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#32 0x00007fcef872c92e in ?? () from /usr/lib64/qt4/libQtGui.so.4
#33 0x00007fcef7c80a82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#34 0x00007fcef7c80e64 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#35 0x00007fcef7c84edb in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#36 0x0000000000404149 in _start ()

Reported using DrKonqi
Comment 1 Tamás Bondár 2011-05-15 15:29:40 UTC
Here is a more detailed backtrace, however I reproduced it with KMail only without Kontact.


Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f736a320760 (LWP 14673))]

Thread 2 (Thread 0x7f7350b3c700 (LWP 14678)):
#0  0x00007f736548526c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f735c4e1c3e in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007f735c4e1d59 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/qt4/libQtWebKit.so.4
#3  0x00007f7365480914 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f73676054bd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f736a320760 (LWP 14673)):
[KCrash Handler]
#6  0x00007f73631ac274 in MessageList::Core::Item::indexOfChildItem(MessageList::Core::Item*) const () from /usr/lib64/libmessagelist.so.4
#7  0x00007f73631e75eb in MessageList::Core::View::messageItemBefore(MessageList::Core::Item*, MessageList::Core::MessageTypeFilter, bool) () from /usr/lib64/libmessagelist.so.4
#8  0x00007f73631eccbf in MessageList::Core::View::selectPreviousMessageItem(MessageList::Core::MessageTypeFilter, MessageList::Core::ExistingSelectionBehaviour, bool, bool) () from /usr/lib64/libmessagelist.so.4
#9  0x00007f73690610ad in KMMainWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkmailprivate.so.4
#10 0x00007f7367f3ca0f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#11 0x00007f73684173c2 in QAction::triggered(bool) () from /usr/lib64/qt4/libQtGui.so.4
#12 0x00007f7368418a9b in QAction::activate(QAction::ActionEvent) () from /usr/lib64/qt4/libQtGui.so.4
#13 0x00007f736841ad87 in QAction::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#14 0x00007f7369c228ed in KAction::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#15 0x00007f736841eafc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#16 0x00007f7368423f3d in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#17 0x00007f7369d26276 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#18 0x00007f7367f24d2b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#19 0x00007f736845a296 in QShortcutMap::dispatchEvent(QKeyEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#20 0x00007f736845c0a7 in QShortcutMap::tryShortcutEvent(QObject*, QKeyEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#21 0x00007f7368425b07 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#22 0x00007f7369d26276 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#23 0x00007f7367f24d2b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#24 0x00007f73684cb47a in QKeyMapper::sendKeyEvent(QWidget*, bool, QEvent::Type, int, QFlags<Qt::KeyboardModifier>, QString const&, bool, int, unsigned int, unsigned int, unsigned int, bool*) () from /usr/lib64/qt4/libQtGui.so.4
#25 0x00007f73684cda51 in QKeyMapperPrivate::translateKeyEvent(QWidget*, _XEvent const*, bool) () from /usr/lib64/qt4/libQtGui.so.4
#26 0x00007f73684a64e4 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#27 0x00007f73684d0fa2 in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtGui.so.4
#28 0x00007f735fda7fa1 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#29 0x00007f735fdac638 in ?? () from /usr/lib64/libglib-2.0.so.0
#30 0x00007f735fdac7ec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#31 0x00007f7367f50e13 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#32 0x00007f73684d091e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#33 0x00007f7367f23a82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#34 0x00007f7367f23e64 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#35 0x00007f7367f27edb in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#36 0x000000000040328c in _start ()
Comment 2 Christophe Marin 2011-05-18 12:24:28 UTC

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