Application: kontact (4.14.10) KDE Platform Version: 4.14.12 Qt Version: 4.8.7 Operating System: Linux 4.3.0-2-default x86_64 Distribution: "openSUSE Tumbleweed (20151118) (x86_64)" -- Information about the crash: - What I was doing when the application crashed: I had kontakt/kmail open. I searched for a message within the ones of a mailing list (IMAP) with the content "wacom". I found two messages. I wanted to search within one of them the word wacom with "find". As soon as selecting "find" from the menue, the application crashed. - Unusual behavior I noticed: Kontact (Kmail) crashes when selecting the "find" function within a message found by filtering. -- Backtrace: Application: Kontact (kontact), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7f949b012900 (LWP 4709))] Thread 5 (Thread 0x7f947ec4a700 (LWP 4717)): #0 0x00007f949240e07f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f94976cede6 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/libQtWebKit.so.4 #2 0x00007f94976cee19 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4 #3 0x00007f94924084a4 in start_thread () from /lib64/libpthread.so.0 #4 0x00007f94984afb5d in clone () from /lib64/libc.so.6 Thread 4 (Thread 0x7f943e32f700 (LWP 4718)): #0 0x00007f949240e07f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f94974385e9 in JSC::BlockAllocator::blockFreeingThreadMain() () from /usr/lib64/libQtWebKit.so.4 #2 0x00007f94976f68f6 in WTF::wtfThreadEntryPoint(void*) () from /usr/lib64/libQtWebKit.so.4 #3 0x00007f94924084a4 in start_thread () from /lib64/libpthread.so.0 #4 0x00007f94984afb5d in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7f94267d0700 (LWP 4971)): #0 0x00007f94984a71cd in poll () from /lib64/libc.so.6 #1 0x00007f9491e3f264 in ?? () from /usr/lib64/libglib-2.0.so.0 #2 0x00007f9491e3f36c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #3 0x00007f9498ca326e in QEventDispatcherGlib::processEvents (this=0x7f94200008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452 #4 0x00007f9498c733e1 in QEventLoop::processEvents (this=this@entry=0x7f94267cfce0, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f9498c736f5 in QEventLoop::exec (this=this@entry=0x7f94267cfce0, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007f9498b6ca59 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538 #7 0x00007f9498b6f23c in QThreadPrivate::start (arg=0x1854ed0) at thread/qthread_unix.cpp:352 #8 0x00007f94924084a4 in start_thread () from /lib64/libpthread.so.0 #9 0x00007f94984afb5d in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7f941fb8f700 (LWP 4981)): #0 0x00007f9491e824d2 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0 #1 0x00007f9491e3ecd9 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0 #2 0x00007f9491e3f208 in ?? () from /usr/lib64/libglib-2.0.so.0 #3 0x00007f9491e3f36c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #4 0x00007f9498ca326e in QEventDispatcherGlib::processEvents (this=0x7f94140008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452 #5 0x00007f9498c733e1 in QEventLoop::processEvents (this=this@entry=0x7f941fb8eca0, flags=...) at kernel/qeventloop.cpp:149 #6 0x00007f9498c736f5 in QEventLoop::exec (this=this@entry=0x7f941fb8eca0, flags=...) at kernel/qeventloop.cpp:204 #7 0x00007f9498b6ca59 in QThread::exec (this=this@entry=0x2044aa0) at thread/qthread.cpp:538 #8 0x00007f9498c544c3 in QInotifyFileSystemWatcherEngine::run (this=0x2044aa0) at io/qfilesystemwatcher_inotify.cpp:265 #9 0x00007f9498b6f23c in QThreadPrivate::start (arg=0x2044aa0) at thread/qthread_unix.cpp:352 #10 0x00007f94924084a4 in start_thread () from /lib64/libpthread.so.0 #11 0x00007f94984afb5d in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7f949b012900 (LWP 4709)): [KCrash Handler] #6 0x00007f942fa0dc9e in operator+= (c=..., this=<optimized out>) at /usr/include/QtCore/qstring.h:269 #7 MailCommon::SearchPattern::purify (this=this@entry=0x7ffc30568a80, removeAction=removeAction@entry=true) at /usr/src/debug/kdepim-4.14.10/mailcommon/search/searchpattern.cpp:149 #8 0x00007f94342a54d6 in KMail::SearchWindow::addRulesToSearchPattern (this=0x2c71c40, pattern=...) at /usr/src/debug/kdepim-4.14.10/kmail/searchdialog/searchwindow.cpp:836 #9 0x00007f94342078e3 in KMMainWidget::slotRequestFullSearchFromQuickSearch (this=0x1b987f0) at /usr/src/debug/kdepim-4.14.10/kmail/kmmainwidget.cpp:4226 #10 0x00007f9434310071 in KMMainWidget::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7ffc30568d10) at /usr/src/debug/kdepim-4.14.10/build/kmail/moc_kmmainwidget.cpp:468 #11 0x00007f9498c87f60 in QMetaObject::activate (sender=sender@entry=0x2020cf0, m=m@entry=0x7f949a148d20 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffc30568d10) at kernel/qobject.cpp:3576 #12 0x00007f9499688392 in QAction::triggered (this=this@entry=0x2020cf0, _t1=false) at .moc/release-shared/moc_qaction.cpp:276 #13 0x00007f9499689537 in QAction::activate (this=this@entry=0x2020cf0, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257 #14 0x00007f9499ac48b9 in QMenuPrivate::activateCausedStack (this=this@entry=0x2111490, causedStack=..., action=action@entry=0x2020cf0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1037 #15 0x00007f9499ac8a79 in QMenuPrivate::activateAction (this=0x2111490, action=0x2020cf0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1129 #16 0x00007f9499acc627 in QMenu::mouseReleaseEvent (this=this@entry=0x1da33a0, e=e@entry=0x7ffc305693b0) at widgets/qmenu.cpp:2371 #17 0x00007f949a480132 in KMenu::mouseReleaseEvent (this=0x1da33a0, e=0x7ffc305693b0) at /usr/src/debug/kdelibs-4.14.12/kdeui/widgets/kmenu.cpp:464 #18 0x00007f94996e0f00 in QWidget::event (this=this@entry=0x1da33a0, event=event@entry=0x7ffc305693b0) at kernel/qwidget.cpp:8775 #19 0x00007f9499accaa3 in QMenu::event (this=0x1da33a0, e=0x7ffc305693b0) at widgets/qmenu.cpp:2480 #20 0x00007f949968df1c in QApplicationPrivate::notify_helper (this=this@entry=0x158be00, receiver=receiver@entry=0x1da33a0, e=e@entry=0x7ffc305693b0) at kernel/qapplication.cpp:4565 #21 0x00007f9499694b53 in QApplication::notify (this=this@entry=0x7ffc30569b90, receiver=receiver@entry=0x1da33a0, e=e@entry=0x7ffc305693b0) at kernel/qapplication.cpp:4108 #22 0x00007f949a3c063a in KApplication::notify (this=0x7ffc30569b90, receiver=0x1da33a0, event=0x7ffc305693b0) at /usr/src/debug/kdelibs-4.14.12/kdeui/kernel/kapplication.cpp:311 #23 0x00007f9498c74a1d in QCoreApplication::notifyInternal (this=0x7ffc30569b90, receiver=receiver@entry=0x1da33a0, event=event@entry=0x7ffc305693b0) at kernel/qcoreapplication.cpp:955 #24 0x00007f94996941ed in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231 #25 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x1da33a0, event=event@entry=0x7ffc305693b0, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x1da33a0, buttonDown=buttonDown@entry=0x7f949a17e308 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173 #26 0x00007f949970b2dc in QETWidget::translateMouseEvent (this=this@entry=0x1da33a0, event=event@entry=0x7ffc305696e0) at kernel/qapplication_x11.cpp:4470 #27 0x00007f949970930d in QApplication::x11ProcessEvent (this=0x7ffc30569b90, event=event@entry=0x7ffc305696e0) at kernel/qapplication_x11.cpp:3653 #28 0x00007f9499731882 in x11EventSourceDispatch (s=0x157aac0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #29 0x00007f9491e3f097 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #30 0x00007f9491e3f2c8 in ?? () from /usr/lib64/libglib-2.0.so.0 #31 0x00007f9491e3f36c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #32 0x00007f9498ca324e in QEventDispatcherGlib::processEvents (this=0x1541e90, flags=...) at kernel/qeventdispatcher_glib.cpp:450 #33 0x00007f9499731946 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #34 0x00007f9498c733e1 in QEventLoop::processEvents (this=this@entry=0x7ffc30569ab0, flags=...) at kernel/qeventloop.cpp:149 #35 0x00007f9498c736f5 in QEventLoop::exec (this=this@entry=0x7ffc30569ab0, flags=...) at kernel/qeventloop.cpp:204 #36 0x00007f9498c78ef9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227 #37 0x000000000040392d in ?? () #38 0x00007f94983e6610 in __libc_start_main () from /lib64/libc.so.6 #39 0x0000000000404139 in _start () Reported using DrKonqi
Created attachment 95843 [details] New crash information added by DrKonqi kontact (4.14.10) on KDE Platform 4.14.14 using Qt 4.8.7 I can reproduce this bug. After searching with the "Find Messages..." tool, kmail or kontact crashes. -- Backtrace (Reduced): #6 0x00007f2a5c554991 in MailCommon::SearchPattern::purify(bool) () at /lib64/libmailcommon.so.4 #7 0x00007f2a585c7076 in KMail::SearchWindow::addRulesToSearchPattern(MailCommon::SearchPattern const&) () at /lib64/libkmailprivate.so.4 #8 0x00007f2a58524a73 in KMMainWidget::slotRequestFullSearchFromQuickSearch() () at /lib64/libkmailprivate.so.4 #9 0x00007f2a5863427c in KMMainWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /lib64/libkmailprivate.so.4 [...] #11 0x00007f2acc3479d2 in QAction::triggered(bool) (this=this@entry=0x5576a17455c0, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
Created attachment 96306 [details] New crash information added by DrKonqi kontact (4.14.10) on KDE Platform 4.14.14 using Qt 4.8.7 - What I was doing when the application crashed: Now I could reproduce this even before I searched and I think even before the available folders appeared in the folder list... -- Backtrace (Reduced): #6 0x00007f6c6f27598e in MailCommon::SearchPattern::purify(bool) () at /lib64/libmailcommon.so.4 #7 0x00007f6c6b2e8076 in KMail::SearchWindow::addRulesToSearchPattern(MailCommon::SearchPattern const&) () at /lib64/libkmailprivate.so.4 #8 0x00007f6c6b245a73 in KMMainWidget::slotRequestFullSearchFromQuickSearch() () at /lib64/libkmailprivate.so.4 #9 0x00007f6c6b35527c in KMMainWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /lib64/libkmailprivate.so.4 [...] #11 0x00007f6cdf0c29d2 in QAction::triggered(bool) (this=this@entry=0x56330fda9460, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
This bug has never been confirmed for a KDE PIM version that is based on KDE Frameworks, except possibly a Technology Preview version 5.0.x. Those Framework-based versions differ significantly from the old 4.x series. Therefore, I plan to close it in around two or three months. In the meantime, it is set to WAITINGFORINFO to give reporters the opportunity to check if it is still valid. As soon as someone confirms it for a recent version (at least 5.1, ideally even more recent), I'll gladly reopen it. Please understand that we lack the manpower to triage bugs reported for versions almost two years beyond their end of life.
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.1 aka 15.12; preferably much more recent), please open a new one unless it already exists. Thank you for all your input.