Bug 293539

Summary: kmail is crashing after using the folder search
Product: [Applications] kmail2 Reporter: Matthias <salem>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adaptee
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Matthias 2012-02-07 16:02:45 UTC
Application: kmail (4.8.0)
KDE Platform Version: 4.8.00 (4.8.0 (Compiled from sources)
Qt Version: 4.8.0
Operating System: Linux 3.2.2-gentoo-Saberhagen x86_64
Distribution: "Gentoo Base System release 2.0.3"

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

i used input text in the folder search input field and then i selected one of the folders in the results. Then first nothing happend, i still see my Inbox folder and after some seconds kmail is crashing.

- Custom settings of the application:
Nothing really, i'm using multiple imap folders via akonadi.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Aborted
[Current thread is 1 (Thread 0x7f408a636760 (LWP 7622))]

Thread 5 (Thread 0x7f406ce64700 (LWP 7629)):
#0  0x00007f40856ce47c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f407c6aa8b4 in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007f407c6aa9e9 in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#3  0x00007f40856c9b2a in start_thread () from /lib64/libpthread.so.0
#4  0x00007f40878ca85d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f406c54b700 (LWP 7630)):
#0  0x00007f40878c1b93 in poll () from /lib64/libc.so.6
#1  0x00007f4080620cc0 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f40806210c2 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f408824f7b6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f408821d3a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007f408821d814 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f408811486f in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f4088117f7b in ?? () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f40856c9b2a in start_thread () from /lib64/libpthread.so.0
#9  0x00007f40878ca85d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f406b0ab700 (LWP 7760)):
#0  0x00007f40856ce7fb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f4088118732 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f408810a6c1 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f4088117f7b in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f40856c9b2a in start_thread () from /lib64/libpthread.so.0
#5  0x00007f40878ca85d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f4069e69700 (LWP 7762)):
#0  0x00007f40856ce7fb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f4088118732 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f408810a6c1 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f4088117f7b in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f40856c9b2a in start_thread () from /lib64/libpthread.so.0
#5  0x00007f40878ca85d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f408a636760 (LWP 7622)):
[KCrash Handler]
#6  0x00007f4087825755 in raise () from /lib64/libc.so.6
#7  0x00007f40878269ef in abort () from /lib64/libc.so.6
#8  0x00007f408786134a in ?? () from /lib64/libc.so.6
#9  0x00007f40878668f5 in ?? () from /lib64/libc.so.6
#10 0x00007f408786b75c in free () from /lib64/libc.so.6
#11 0x00007f40842f0ef8 in ?? () from /usr/lib64/libakonadi-kde.so.4
#12 0x00007f40842f1bb6 in ?? () from /usr/lib64/libakonadi-kde.so.4
#13 0x00007f40842edd65 in Akonadi::EntityTreeModel::setData(QModelIndex const&, QVariant const&, int) () from /usr/lib64/libakonadi-kde.so.4
#14 0x00007f408435e282 in Akonadi::SelectionProxyModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libakonadi-kde.so.4
#15 0x00007f408823551c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#16 0x00007f408a027082 in KSelectionProxyModel::rootIndexAboutToBeRemoved(QModelIndex const&) () from /usr/lib64/libkdeui.so.5
#17 0x00007f408a032597 in ?? () from /usr/lib64/libkdeui.so.5
#18 0x00007f408a03319c in ?? () from /usr/lib64/libkdeui.so.5
#19 0x00007f408a033f0c in ?? () from /usr/lib64/libkdeui.so.5
#20 0x00007f40882351d6 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007f4088cac537 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib64/qt4/libQtGui.so.4
#22 0x00007f4088cb2d80 in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib64/qt4/libQtGui.so.4
#23 0x00007f4088cb3560 in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#24 0x00007f4083827533 in MessageList::Pane::Private::onSelectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib64/libmessagelist.so.4
#25 0x00007f4083828598 in MessageList::Pane::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libmessagelist.so.4
#26 0x00007f408823551c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#27 0x00007f4088cac537 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib64/qt4/libQtGui.so.4
#28 0x00007f4088cb2d80 in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib64/qt4/libQtGui.so.4
#29 0x00007f4088cb3560 in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#30 0x00007f4088ca21e3 in QTreeViewPrivate::select(QModelIndex const&, QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#31 0x00007f4088ca2e78 in QTreeView::setSelection(QRect const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#32 0x00007f4088c5b081 in QAbstractItemView::mousePressEvent(QMouseEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#33 0x00007f408879eff1 in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#34 0x00007f4088b41a06 in QFrame::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#35 0x00007f4088c54353 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#36 0x00007f4088c9a345 in QTreeView::viewportEvent(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#37 0x00007f408821e096 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#38 0x00007f408874d2d1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#39 0x00007f4088752910 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#40 0x00007f408a0456a6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#41 0x00007f408821e7cb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#42 0x00007f408874e315 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/qt4/libQtGui.so.4
#43 0x00007f40887ccac8 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#44 0x00007f40887cb1a9 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#45 0x00007f40887f2ce2 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#46 0x00007f408061d123 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#47 0x00007f4080620fb8 in ?? () from /usr/lib64/libglib-2.0.so.0
#48 0x00007f40806210c2 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#49 0x00007f408824f763 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#50 0x00007f40887f298e in ?? () from /usr/lib64/qt4/libQtGui.so.4
#51 0x00007f408821d3a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#52 0x00007f408821d814 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#53 0x00007f4088223419 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#54 0x000000000040328c in _start ()

Possible duplicates by query: bug 292145, bug 290660, bug 284872, bug 283768, bug 282428.

Reported using DrKonqi
Comment 1 Matthias 2012-04-28 03:33:36 UTC
Any news about that? The bug is still there and working with Version 4.8.2 :-(

I have many folders in different accounts and using the left search:
Example: I'm searching for "sent", then all sent-folders in all my accounts are visible in the list. Now i click on one of the folders. The message list just shows my inbox-folder of my main imap account, i can click on every "sent"-folder in the left list, but every folder only shows my main inbox. The client is bugged and i can't fix this without a crash or closing kmail2. I still can clear the search input field and still see my main account inbox folder. The window title shows the right folder name, but the list not. 

Thanks
Comment 2 Jekyll Wu 2012-07-03 16:29:22 UTC

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