Bug 349665 - Crash when choosing Tools/Find Messages...
Summary: Crash when choosing Tools/Find Messages...
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-06-27 18:10 UTC by Barry Scott
Modified: 2015-06-28 06:14 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.10


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Barry Scott 2015-06-27 18:10:11 UTC
Application: kmail (4.14.9)
KDE Platform Version: 4.14.9
Qt Version: 4.8.6
Operating System: Linux 4.0.5-300.fc22.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
I use IMAP mail and need to file mails that are in the wrong folder.

Choose Tools/Find messages...

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f6e36655900 (LWP 3577))]

Thread 4 (Thread 0x7f6e0122b700 (LWP 3603)):
#0  0x00007f6e3199b530 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6e2da10f61 in JSC::BlockAllocator::blockFreeingThreadMain() () from /lib64/libQtWebKit.so.4
#2  0x00007f6e2dd0f6d6 in WTF::wtfThreadEntryPoint(void*) () from /lib64/libQtWebKit.so.4
#3  0x00007f6e31996555 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6e2feebf3d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f6dbbffd700 (LWP 3611)):
#0  0x00007f6e2fee066d in poll () from /lib64/libc.so.6
#1  0x00007f6e2203bdbc in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f6e2203becc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f6e31d654ee in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#4  0x00007f6e31d33791 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#5  0x00007f6e31d33b05 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#6  0x00007f6e31c23289 in QThread::exec() () from /lib64/libQtCore.so.4
#7  0x00007f6e31c25aac in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#8  0x00007f6e31996555 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f6e2feebf3d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f6db3bea700 (LWP 3817)):
#0  0x00007f6e3199b530 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6e35d2db5a in QTWTF::TCMalloc_PageHeap::scavengerThread() () from /lib64/libQtScript.so.4
#2  0x00007f6e35d2db89 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /lib64/libQtScript.so.4
#3  0x00007f6e31996555 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6e2feebf3d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f6e36655900 (LWP 3577)):
[KCrash Handler]
#6  0x00007f6e2f7e8994 in MailCommon::SearchPattern::purify(bool) () from /lib64/libmailcommon.so.4
#7  0x00007f6e361e20a6 in KMail::SearchWindow::addRulesToSearchPattern(MailCommon::SearchPattern const&) () from /lib64/libkmailprivate.so.4
#8  0x00007f6e3613faa3 in KMMainWidget::slotRequestFullSearchFromQuickSearch() () from /lib64/libkmailprivate.so.4
#9  0x00007f6e3624f42c in KMMainWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /lib64/libkmailprivate.so.4
#10 0x00007f6e31d490c0 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4
#11 0x00007f6e30e62442 in QAction::triggered(bool) () from /lib64/libQtGui.so.4
#12 0x00007f6e30e637a3 in QAction::activate(QAction::ActionEvent) () from /lib64/libQtGui.so.4
#13 0x00007f6e312be43d in QMenuPrivate::activateCausedStack(QList<QPointer<QWidget> > const&, QAction*, QAction::ActionEvent, bool) () from /lib64/libQtGui.so.4
#14 0x00007f6e312c2839 in QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) () from /lib64/libQtGui.so.4
#15 0x00007f6e32b3b8a3 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /lib64/libkdeui.so.5
#16 0x00007f6e30ebc340 in QWidget::event(QEvent*) () from /lib64/libQtGui.so.4
#17 0x00007f6e312c6aab in QMenu::event(QEvent*) () from /lib64/libQtGui.so.4
#18 0x00007f6e30e683ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#19 0x00007f6e30e6f3c6 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#20 0x00007f6e32a7105a in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#21 0x00007f6e31d34f1d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#22 0x00007f6e30e6e9cd in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /lib64/libQtGui.so.4
#23 0x00007f6e30ee7402 in QETWidget::translateMouseEvent(_XEvent const*) () from /lib64/libQtGui.so.4
#24 0x00007f6e30ee53bd in QApplication::x11ProcessEvent(_XEvent*) () from /lib64/libQtGui.so.4
#25 0x00007f6e30f0e489 in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtGui.so.4
#26 0x00007f6e2203ba8a in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#27 0x00007f6e2203be20 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#28 0x00007f6e2203becc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#29 0x00007f6e31d654ee in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#30 0x00007f6e30f0e626 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4
#31 0x00007f6e31d33791 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#32 0x00007f6e31d33b05 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#33 0x00007f6e31d396a9 in QCoreApplication::exec() () from /lib64/libQtCore.so.4
#34 0x000000000040305e in main ()

Reported using DrKonqi
Comment 1 Laurent Montel 2015-06-28 06:14:57 UTC
Git commit 3a40aa397a5c1955d957b4396ef604686676e052 by Montel Laurent.
Committed on 28/06/2015 at 06:13.
Pushed by mlaurent into branch 'KDE/4.14'.

Fix crash when we click on search button
Related: bug 349299
FIXED-IN: 4.10

M  +5    -4    mailcommon/search/searchpattern.cpp

http://commits.kde.org/kdepim/3a40aa397a5c1955d957b4396ef604686676e052