Created attachment 123446 [details] kfind backtrace SUMMARY KFind crashes every time I click 'Find', in any directory, with any settings, with different locales. STEPS TO REPRODUCE 1. Press 'Find' OBSERVED RESULT KFind crashes EXPECTED RESULT The search results populating SOFTWARE/OS VERSIONS Linux/KDE Plasma: Portage 2.3.78 KDE Plasma Version: 5.17.1 KDE Frameworks Version: 5.63 Qt Version: 5.13.1, 5.12.5 tested as well KDE Applications Version: 19.08.2, tested 19.04.3 as well ADDITIONAL INFORMATION Compiled with CFLAGS="-O2 -pipe -g" CXXFLAGS="-O2 -pipe -g" LDFLAGS="-Wl,--as-needed"
Created attachment 123654 [details] Rebuilt packages for a better backtrace Rebuilt qtcore, qtgui, qtwidgets, and kfind with: CFLAGS="-O2 -pipe -g -fno-omit-frame-pointer" CXXFLAGS="-O2 -pipe -g -fno-omit-frame-pointer" LDFLAGS="-Wl,--as-needed" And added "nostrip" to ensure debugging would be better
KDE Plasma 5.17.2 Starting to think this is not a KDE issue but rebuilding Mesa and glibc did not help.
Backtrace from comment #1: Thread 1 (Thread 0x7f7d1d340840 (LWP 374801)): [KCrash Handler] #5 0x00007f7d20ad8d41 in raise () from /lib64/libc.so.6 #6 0x00007f7d20ac22db in abort () from /lib64/libc.so.6 #7 0x00007f7d20f2f7c9 in qt_message_fatal (context=..., message=<synthetic pointer>...) at global/qlogging.cpp:1894 #8 QMessageLogger::fatal (this=this@entry=0x7ffe4a6e1f10, msg=msg@entry=0x7f7d21218f50 "ASSERT: \"%s\" in file %s, line %d") at global/qlogging.cpp:893 #9 0x00007f7d20f2e5e6 in qt_assert (assertion=assertion@entry=0x7f7d212f3b7a "last < rowCount(parent)", file=file@entry=0x7f7d212f3610 "itemmodels/qabstractitemmodel.cpp", line=line@entry=2785) at ../../include/QtCore/../../src/corelib/global/qlogging.h:90 #10 0x00007f7d20f4a926 in QAbstractItemModel::beginRemoveRows (this=0x5abca0, parent=..., first=0, last=0) at ../../include/QtCore/../../src/corelib/text/qstringlist.h:111 #11 0x000000000042a07b in KfindDlg::startSearch() () #12 0x00007f7d211738a2 in QtPrivate::QSlotObjectBase::call (a=0x7ffe4a6e2100, r=0x7ffe4a6e3210, this=0x750dc0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394 #13 doActivate<false> (sender=0x5359c0, signal_index=11, argv=0x7ffe4a6e2100) at kernel/qobject.cpp:3870 #14 0x00007f7d211738a2 in QtPrivate::QSlotObjectBase::call (a=0x7ffe4a6e21c0, r=0x5359c0, this=0x599880) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394 #15 doActivate<false> (sender=0x52da90, signal_index=17, argv=0x7ffe4a6e21c0) at kernel/qobject.cpp:3870 #16 0x00007f7d211738a2 in QtPrivate::QSlotObjectBase::call (a=0x7ffe4a6e2280, r=0x52da90, this=0x6c1700) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394 #17 doActivate<false> (sender=0x51c620, signal_index=10, argv=0x7ffe4a6e2280) at kernel/qobject.cpp:3870 #18 0x00007f7d2116d9f7 in QMetaObject::activate (sender=sender@entry=0x51c620, m=m@entry=0x7f7d221440c0 <QLineEdit::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x0) at kernel/qobject.cpp:3930 #19 0x00007f7d21d59373 in QLineEdit::returnPressed (this=this@entry=0x51c620) at .moc/moc_qlineedit.cpp:470 #20 0x00007f7d21d60313 in QLineEdit::qt_static_metacall (_o=0x51c620, _c=<optimized out>, _id=3, _a=0x7ffe4a6e23a0) at .moc/moc_qlineedit.cpp:259 #21 0x00007f7d211738d4 in doActivate<false> (sender=0x5271c0, signal_index=10, argv=0x7ffe4a6e23a0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:391 #22 0x00007f7d2116d9f7 in QMetaObject::activate (sender=sender@entry=0x5271c0, m=m@entry=0x7f7d22144180 <QWidgetLineControl::staticMetaObject>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x0) at kernel/qobject.cpp:3930 #23 0x00007f7d21d60ef3 in QWidgetLineControl::accepted (this=this@entry=0x5271c0) at .moc/moc_qwidgetlinecontrol_p.cpp:299 #24 0x00007f7d21d671e7 in QWidgetLineControl::processKeyEvent (this=0x5271c0, event=event@entry=0x7ffe4a6e2cd0) at widgets/qwidgetlinecontrol.cpp:1685 #25 0x00007f7d21d594a3 in QLineEdit::keyPressEvent (this=0x51c620, event=0x7ffe4a6e2cd0) at widgets/qlineedit.cpp:1767 #26 0x00007f7d2245f180 in KLineEdit::keyPressEvent(QKeyEvent*) () from /usr/lib64/libKF5Completion.so.5 #27 0x00007f7d21c4d848 in QWidget::event (this=this@entry=0x51c620, event=event@entry=0x7ffe4a6e2cd0) at kernel/qwidget.cpp:8662 #28 0x00007f7d21d5fbd8 in QLineEdit::event (this=0x51c620, e=0x7ffe4a6e2cd0) at widgets/qlineedit.cpp:1504 #29 0x00007f7d2245d028 in KLineEdit::event(QEvent*) () from /usr/lib64/libKF5Completion.so.5 #30 0x00007f7d21d23b5d in QComboBox::keyPressEvent (this=0x52da90, e=0x7ffe4a6e2cd0) at widgets/qcombobox.cpp:3349 #31 0x00007f7d21c4d848 in QWidget::event (this=this@entry=0x52da90, event=event@entry=0x7ffe4a6e2cd0) at kernel/qwidget.cpp:8662 #32 0x00007f7d21d1d9ce in QComboBox::event (this=0x52da90, event=0x7ffe4a6e2cd0) at widgets/qcombobox.cpp:3145 #33 0x00007f7d21c077b2 in QApplicationPrivate::notify_helper (this=this@entry=0x4aa450, receiver=receiver@entry=0x52da90, e=e@entry=0x7ffe4a6e2cd0) at kernel/qapplication.cpp:3693 #34 0x00007f7d21c10912 in QApplication::notify (this=<optimized out>, receiver=0x52da90, e=0x7ffe4a6e2cd0) at kernel/qapplication.cpp:3055 #35 0x00007f7d2113dacf in QCoreApplication::notifyInternal2 (receiver=0x52da90, event=0x7ffe4a6e2cd0) at kernel/qcoreapplication.cpp:1092 #36 0x00007f7d21c6be16 in QWidgetWindow::event (event=0x7ffe4a6e2cd0, this=0x81e360) at kernel/qwidgetwindow.cpp:280 #37 QWidgetWindow::event (this=0x81e360, event=0x7ffe4a6e2cd0) at kernel/qwidgetwindow.cpp:230 #38 0x00007f7d21c077b2 in QApplicationPrivate::notify_helper (this=this@entry=0x4aa450, receiver=receiver@entry=0x81e360, e=e@entry=0x7ffe4a6e2cd0) at kernel/qapplication.cpp:3693 #39 0x00007f7d21c10182 in QApplication::notify (this=0x7ffe4a6e31d0, receiver=0x81e360, e=0x7ffe4a6e2cd0) at kernel/qapplication.cpp:3439 #40 0x00007f7d2113dacf in QCoreApplication::notifyInternal2 (receiver=0x81e360, event=0x7ffe4a6e2cd0) at kernel/qcoreapplication.cpp:1092 #41 0x00007f7d21567b0c in QGuiApplicationPrivate::processKeyEvent (e=e@entry=0x592dc0) at kernel/qguiapplication.cpp:2320 #42 0x00007f7d2156cbf1 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x592dc0) at kernel/qguiapplication.cpp:1926 #43 0x00007f7d2154673b in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1162 #44 0x00007f7d1cd53a06 in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105 #45 0x00007f7d1f8c4c5b in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #46 0x00007f7d1f8c4eb8 in ?? () from /usr/lib64/libglib-2.0.so.0 #47 0x00007f7d1f8c4f3f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #48 0x00007f7d211960e2 in QEventDispatcherGlib::processEvents (this=0x515550, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #49 0x00007f7d2113c5f3 in QEventLoop::exec (this=this@entry=0x7ffe4a6e2fc0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136 #50 0x00007f7d21e1e6ed in QDialog::exec (this=0x7ffe4a6e3210) at ../../include/QtCore/../../src/corelib/global/qflags.h:118 #51 0x0000000000417524 in main ()
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version? If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!