Summary: | Dolphin crashes when typing in filter bar in specific folder | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Leszek Lesner <leszek.lesner> |
Component: | bars: filter | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | a.samirh78, alexander.lohnau, cfeck, elvis.angelaccio, isma.af, jodr666, justin.zobel, kde, kfm-devel, nate, ryu.ketsueki |
Priority: | VHI | Keywords: | regression |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/system/dolphin/commit/ee4ab8ce699bd0fd10fe664e053eb6f26da94268 | Version Fixed In: | 20.11.80 |
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
Leszek Lesner
2020-10-28 07:53:53 UTC
This possibly has already been fixed by https://invent.kde.org/system/dolphin/-/commit/2448f88c5f42d7a2040fcf3bcd3c5f2a2f62cd03 You are right. After your notice I did a fresh recompile of dolphin and it seems not to crash. Thanks for taking the time to look into it. Apparently not really fixed. Had it fixed for the other it failed before but now I have this issue again in a completely different folder. Here is the debug output: Application: Dolphin (dolphin), signal: Aborted Content of s_kcrashErrorMessage: (null) [KCrash Handler] #5 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 #6 0x00007fd0fb694535 in __GI_abort () at abort.c:79 #7 0x00007fd0fbc4ca05 in qt_message_fatal (context=..., message=<synthetic pointer>...) at /home/leszek/kde/src/Qt5/qtbase/src/corelib/global/qlogging.cpp:1914 #8 QMessageLogger::fatal (this=this@entry=0x7ffc16e66e80, msg=msg@entry=0x7fd0fbf1dea0 "ASSERT: \"%s\" in file %s, line %d") at /home/leszek/kde/src/Qt5/qtbase/src/corelib/global/qlogging.cpp:893 #9 0x00007fd0fbc4bf23 in qt_assert (assertion=<optimized out>, file=<optimized out>, line=<optimized out>) at ../../include/QtCore/../../../../../src/Qt5/qtbase/src/corelib/global/qlogging.h:90 #10 0x00007fd0fe5ccdd2 in KItemListView::slotItemsRemoved (this=0x55cdc6621d80, itemRanges=...) at /home/leszek/kde/src/dolphin/src/kitemviews/kitemlistview.cpp:1199 #11 0x00007fd0fe581bcb in KFileItemListView::slotItemsRemoved (this=0x55cdc6621d80, itemRanges=...) at /home/leszek/kde/src/dolphin/src/kitemviews/kfileitemlistview.cpp:309 #12 0x00007fd0fe5dbe7e in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<KItemRangeList const&>, void, void (KItemListView::*)(KItemRangeList const&)>::call (f=&virtual table offset 536, o=0x55cdc6621d80, arg=0x7ffc16e67190) at /home/leszek/kde/qt5/include/QtCore/qobjectdefs_impl.h:152 #13 0x00007fd0fe5db16a in QtPrivate::FunctionPointer<void (KItemListView::*)(KItemRangeList const&)>::call<QtPrivate::List<KItemRangeList const&>, void> (f=&virtual table offset 536, o=0x55cdc6621d80, arg=0x7ffc16e67190) at /home/leszek/kde/qt5/include/QtCore/qobjectdefs_impl.h:185 #14 0x00007fd0fe5da0db in QtPrivate::QSlotObject<void (KItemListView::*)(KItemRangeList const&), QtPrivate::List<KItemRangeList const&>, void>::impl (which=1, this_=0x55cdc661d770, r=0x55cdc6621d80, a=0x7ffc16e67190, ret=0x0) at /home/leszek/kde/qt5/include/QtCore/qobjectdefs_impl.h:418 #15 0x00007fd0fbe7b66c in QtPrivate::QSlotObjectBase::call (a=0x7ffc16e67190, r=0x55cdc6621d80, this=0x55cdc661d770) at ../../include/QtCore/../../../../../src/Qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:398 #16 doActivate<false> (sender=0x55cdc65a8870, signal_index=4, argv=0x7ffc16e67190) at /home/leszek/kde/src/Qt5/qtbase/src/corelib/kernel/qobject.cpp:3886 #17 0x00007fd0fe572e0b in KItemModelBase::itemsRemoved (this=0x55cdc65a8870, _t1=...) at /home/leszek/kde/build/dolphin/src/dolphinprivate_autogen/Z3MQH7AOBD/moc_kitemmodelbase.cpp:253 #18 0x00007fd0fe58c3e4 in KFileItemModel::removeItems (this=0x55cdc65a8870, itemRanges=..., behavior=KFileItemModel::KeepItemData) at /home/leszek/kde/src/dolphin/src/kitemviews/kfileitemmodel.cpp:1317 #19 0x00007fd0fe589e10 in KFileItemModel::applyFilters (this=0x55cdc65a8870) at /home/leszek/kde/src/dolphin/src/kitemviews/kfileitemmodel.cpp:704 #20 0x00007fd0fe589bae in KFileItemModel::setNameFilter (this=0x55cdc65a8870, nameFilter=...) at /home/leszek/kde/src/dolphin/src/kitemviews/kfileitemmodel.cpp:658 #21 0x00007fd0fe61961d in DolphinView::setNameFilter (this=0x55cdc62267d0, nameFilter=...) at /home/leszek/kde/src/dolphin/src/views/dolphinview.cpp:484 #22 0x00007fd0fe75831c in DolphinViewContainer::setNameFilter (this=0x55cdc6577200, nameFilter=...) at /home/leszek/kde/src/dolphin/src/dolphinviewcontainer.cpp:667 #23 0x00007fd0fe75c10d in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString const&>, void, void (DolphinViewContainer::*)(QString const&)>::call (f=(void (DolphinViewContainer::*)(class DolphinViewContainer * const, const class QString &)) 0x7fd0fe7582e0 <DolphinViewContainer::setNameFilter(QString const&)>, o=0x55cdc6577200, arg=0x7ffc16e67510) at /home/leszek/kde/qt5/include/QtCore/qobjectdefs_impl.h:152 #24 0x00007fd0fe75bc2e in QtPrivate::FunctionPointer<void (DolphinViewContainer::*)(QString const&)>::call<QtPrivate::List<QString const&>, void> (f=(void (DolphinViewContainer::*)(class DolphinViewContainer * const, const class QString &)) 0x7fd0fe7582e0 <DolphinViewContainer::setNameFilter(QString const&)>, o=0x55cdc6577200, arg=0x7ffc16e67510) at /home/leszek/kde/qt5/include/QtCore/qobjectdefs_impl.h:185 #25 0x00007fd0fe75b1e7 in QtPrivate::QSlotObject<void (DolphinViewContainer::*)(QString const&), QtPrivate::List<QString const&>, void>::impl (which=1, this_=0x55cdc6692950, r=0x55cdc6577200, a=0x7ffc16e67510, ret=0x0) at /home/leszek/kde/qt5/include/QtCore/qobjectdefs_impl.h:418 #26 0x00007fd0fbe7b66c in QtPrivate::QSlotObjectBase::call (a=0x7ffc16e67510, r=0x55cdc6577200, this=0x55cdc6692950) at ../../include/QtCore/../../../../../src/Qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:398 #27 doActivate<false> (sender=0x55cdc65aca60, signal_index=7, argv=0x7ffc16e67510) at /home/leszek/kde/src/Qt5/qtbase/src/corelib/kernel/qobject.cpp:3886 #28 0x00007fd0fe7b8d09 in FilterBar::filterChanged (this=0x55cdc65aca60, _t1=...) at /home/leszek/kde/build/dolphin/src/dolphinstatic_autogen/A7DZ2KMSNA/moc_filterbar.cpp:174 #29 0x00007fd0fe768adf in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString const&>, void, void (FilterBar::*)(QString const&)>::call (f=(void (FilterBar::*)(class FilterBar * const, const class QString &)) 0x7fd0fe7b8cba <FilterBar::filterChanged(QString const&)>, o=0x55cdc65aca60, arg=0x7ffc16e676c0) at /home/leszek/kde/qt5/include/QtCore/qobjectdefs_impl.h:152 #30 0x00007fd0fe7689ca in QtPrivate::FunctionPointer<void (FilterBar::*)(QString const&)>::call<QtPrivate::List<QString const&>, void> (f=(void (FilterBar::*)(class FilterBar * const, const class QString &)) 0x7fd0fe7b8cba <FilterBar::filterChanged(QString const&)>, o=0x55cdc65aca60, arg=0x7ffc16e676c0) at /home/leszek/kde/qt5/include/QtCore/qobjectdefs_impl.h:185 #31 0x00007fd0fe7688ef in QtPrivate::QSlotObject<void (FilterBar::*)(QString const&), QtPrivate::List<QString const&>, void>::impl (which=1, this_=0x55cdc6692810, r=0x55cdc65aca60, a=0x7ffc16e676c0, ret=0x0) at /home/leszek/kde/qt5/include/QtCore/qobjectdefs_impl.h:418 #32 0x00007fd0fbe7b66c in QtPrivate::QSlotObjectBase::call (a=0x7ffc16e676c0, r=0x55cdc65aca60, this=0x55cdc6692810) at ../../include/QtCore/../../../../../src/Qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:398 #33 doActivate<false> (sender=0x55cdc65ab890, signal_index=7, argv=0x7ffc16e676c0) at /home/leszek/kde/src/Qt5/qtbase/src/corelib/kernel/qobject.cpp:3886 #34 0x00007fd0fbe75982 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fd0fcebdf80 <QLineEdit::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc16e676c0) at /home/leszek/kde/src/Qt5/qtbase/src/corelib/kernel/qobject.cpp:3946 #35 0x00007fd0fcb26002 in QLineEdit::textChanged (this=<optimized out>, _t1=...) at .moc/moc_qlineedit.cpp:447 #36 0x00007fd0fcb2c209 in QLineEdit::qt_static_metacall (_o=0x55cdc65ab890, _c=<optimized out>, _id=<optimized out>, _a=0x7ffc16e67800) at .moc/moc_qlineedit.cpp:255 #37 0x00007fd0fbe7b69d in doActivate<false> (sender=0x55cdc65a2700, signal_index=6, argv=0x7ffc16e67800) at ../../include/QtCore/../../../../../src/Qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:395 #38 0x00007fd0fbe75982 in QMetaObject::activate (sender=sender@entry=0x55cdc65a2700, m=m@entry=0x7fd0fcebe040 <QWidgetLineControl::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffc16e67800) at /home/leszek/kde/src/Qt5/qtbase/src/corelib/kernel/qobject.cpp:3946 #39 0x00007fd0fcb2cdd5 in QWidgetLineControl::textChanged (this=this@entry=0x55cdc65a2700, _t1=...) at .moc/moc_qwidgetlinecontrol_p.cpp:273 #40 0x00007fd0fcb2fe61 in QWidgetLineControl::finishChange (this=0x55cdc65a2700, validateFromState=<optimized out>, update=<optimized out>, edited=<optimized out>) at /home/leszek/kde/src/Qt5/qtbase/src/widgets/widgets/qwidgetlinecontrol.cpp:736 #41 0x00007fd0fcb32ef9 in QWidgetLineControl::processKeyEvent (this=0x55cdc65a2700, event=event@entry=0x7ffc16e67e40) at ../../include/QtCore/../../../../../src/Qt5/qtbase/src/corelib/tools/qrefcount.h:60 #42 0x00007fd0fcb260aa in QLineEdit::keyPressEvent (this=0x55cdc65ab890, event=0x7ffc16e67e40) at /home/leszek/kde/src/Qt5/qtbase/src/widgets/widgets/qlineedit.cpp:1794 #43 0x00007fd0fca31b07 in QWidget::event (this=this@entry=0x55cdc65ab890, event=event@entry=0x7ffc16e67e40) at /home/leszek/kde/src/Qt5/qtbase/src/widgets/kernel/qwidget.cpp:8678 #44 0x00007fd0fcb2bb4a in QLineEdit::event (this=0x55cdc65ab890, e=0x7ffc16e67e40) at /home/leszek/kde/src/Qt5/qtbase/src/widgets/widgets/qlineedit.cpp:1531 #45 0x00007fd0fc9f411e in QApplicationPrivate::notify_helper (this=this@entry=0x55cdc60fa570, receiver=receiver@entry=0x55cdc65ab890, e=e@entry=0x7ffc16e67e40) at /home/leszek/kde/src/Qt5/qtbase/src/widgets/kernel/qapplication.cpp:3632 #46 0x00007fd0fc9fb251 in QApplication::notify (this=<optimized out>, receiver=0x55cdc65ab890, e=0x7ffc16e67e40) at /home/leszek/kde/src/Qt5/qtbase/src/widgets/kernel/qapplication.cpp:2994 #47 0x00007fd0fbe48ba9 in QCoreApplication::notifyInternal2 (receiver=0x55cdc65ab890, event=0x7ffc16e67e40) at ../../include/QtCore/5.15.2/QtCore/private/../../../../../../../../src/Qt5/qtbase/src/corelib/thread/qthread_p.h:325 #48 0x00007fd0fca4e64e in QWidgetWindow::event (event=0x7ffc16e67e40, this=0x55cdc63d1c00) at /home/leszek/kde/src/Qt5/qtbase/src/widgets/kernel/qwidgetwindow.cpp:293 #49 QWidgetWindow::event (this=0x55cdc63d1c00, event=0x7ffc16e67e40) at /home/leszek/kde/src/Qt5/qtbase/src/widgets/kernel/qwidgetwindow.cpp:239 #50 0x00007fd0fc9f411e in QApplicationPrivate::notify_helper (this=this@entry=0x55cdc60fa570, receiver=receiver@entry=0x55cdc63d1c00, e=e@entry=0x7ffc16e67e40) at /home/leszek/kde/src/Qt5/qtbase/src/widgets/kernel/qapplication.cpp:3632 #51 0x00007fd0fc9fa9a0 in QApplication::notify (this=0x7ffc16e68230, receiver=0x55cdc63d1c00, e=0x7ffc16e67e40) at /home/leszek/kde/src/Qt5/qtbase/src/widgets/kernel/qapplication.cpp:3156 #52 0x00007fd0fbe48ba9 in QCoreApplication::notifyInternal2 (receiver=0x55cdc63d1c00, event=0x7ffc16e67e40) at ../../include/QtCore/5.15.2/QtCore/private/../../../../../../../../src/Qt5/qtbase/src/corelib/thread/qthread_p.h:325 #53 0x00007fd0fc33e2a3 in QGuiApplicationPrivate::processKeyEvent (e=0x55cdc6b30b30) at /home/leszek/kde/src/Qt5/qtbase/src/gui/kernel/qguiapplication.cpp:2414 #54 0x00007fd0fc342b55 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x55cdc6b30b30) at /home/leszek/kde/src/Qt5/qtbase/src/gui/kernel/qguiapplication.cpp:2008 #55 0x00007fd0fc31e17b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at /home/leszek/kde/src/Qt5/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:1169 #56 0x00007fd0f57f9870 in userEventSourceDispatch (source=<optimized out>) at /home/leszek/kde/src/Qt5/qtbase/src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp:74 #57 0x00007fd0f7e2bf2e in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #58 0x00007fd0f7e2c1c8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #59 0x00007fd0f7e2c25c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #60 0x00007fd0fbe9c354 in QEventDispatcherGlib::processEvents (this=0x55cdc61977d0, flags=...) at /home/leszek/kde/src/Qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:423 #61 0x00007fd0fbe47853 in QEventLoop::exec (this=this@entry=0x7ffc16e68120, flags=..., flags@entry=...) at ../../include/QtCore/../../../../../src/Qt5/qtbase/src/corelib/global/qflags.h:141 #62 0x00007fd0fbe4f6cc in QCoreApplication::exec () at ../../include/QtCore/../../../../../src/Qt5/qtbase/src/corelib/global/qflags.h:121 #63 0x00007fd0fe72f17f in kdemain (argc=1, argv=0x7ffc16e68868) at /home/leszek/kde/src/dolphin/src/main.cpp:204 #64 0x000055cdc50ba177 in main (argc=1, argv=0x7ffc16e68868) at /home/leszek/kde/build/dolphin/src/dolphin_dummy.cpp:3 [Inferior 1 (process 87732) detached] I searched a bit more and found the commit that breaks it for me: https://invent.kde.org/system/dolphin/-/commit/a24327cd50ef17b953ecb908d260b73460158107 What have you done to trigger the second crash? Used the filter function in my plasma master installation path plasmoids folder to search for "sys" as soon as I type in the y it crashes Hmm, it works for me. Are you sure you have the latest build + your build prefix applied when running dolphin (Sorry for asking, just want to be sure). Yes. Master build of dolphin and it is the version running *** Bug 428546 has been marked as a duplicate of this bug. *** *** Bug 428532 has been marked as a duplicate of this bug. *** Created attachment 133000 [details]
New crash information added by DrKonqi
dolphin (20.11.70) using Qt 5.15.2
- What I was doing when the application crashed:
I can reproduce it on master:
- on a folder with enough content (I tried ~/kde/src)
- typing in the filter bar several letters, then deleting some of them and continuing typing
- sometimes it requires more attemps than others but it'll eventually crash after playing a little bit with it
- it happens with either preview enabled or disabled
-- Backtrace (Reduced):
#5 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#6 0x00007f8adb62d864 in __GI_abort () at abort.c:79
#7 0x00007f8ad8c59c99 in qt_message_fatal (message=<synthetic pointer>..., context=...) at /home/isma/kde/src/Qt5/qtbase/src/corelib/global/qlogging.cpp:1914
#8 QMessageLogger::fatal (this=this@entry=0x7ffd2993f8a8, msg=msg@entry=0x7f8ad8f64ea0 "ASSERT: \"%s\" in file %s, line %d") at /home/isma/kde/src/Qt5/qtbase/src/corelib/global/qlogging.cpp:893
#9 0x00007f8ad8c59058 in qt_assert (assertion=<optimized out>, file=<optimized out>, line=<optimized out>) at ../../include/QtCore/../../../../../src/Qt5/qtbase/src/corelib/global/qlogging.h:90
Confirmed by second user. (In reply to Ahmad Samir from comment #1) > This possibly has already been fixed by > https://invent.kde.org/system/dolphin/-/commit/ > 2448f88c5f42d7a2040fcf3bcd3c5f2a2f62cd03 Please retest. This commint or one of the few that fallowed it seem to have fixed this one, at least it working correctly for me already. FTR, I can reproduce this bug, it's intermittent, and takes a bit of fast typing/backspace'ing in the filter bar to occur... Can still confirm that typing to quickly in filter bar sometimes crashes dolphin. Here my backtrace: Application: Dolphin (dolphin), signal: Aborted Content of s_kcrashErrorMessage: (null) [KCrash Handler] #5 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 #6 0x00007faa07387535 in __GI_abort () at abort.c:79 #7 0x00007faa0793fa05 in qt_message_fatal (context=..., message=<synthetic pointer>...) at /home/leszek/kde/src/Qt5/qtbase/src/corelib/global/qlogging.cpp:1914 #8 QMessageLogger::fatal (this=this@entry=0x7ffdfc211140, msg=msg@entry=0x7faa07c10ea0 "ASSERT: \"%s\" in file %s, line %d") at /home/leszek/kde/src/Qt5/qtbase/src/corelib/global/qlogging.cpp:893 #9 0x00007faa0793ef23 in qt_assert (assertion=<optimized out>, file=<optimized out>, line=<optimized out>) at ../../include/QtCore/../../../../../src/Qt5/qtbase/src/corelib/global/qlogging.h:90 #10 0x00007faa0a2c032c in KItemListView::slotItemsRemoved (this=0x5595aebfc950, itemRanges=...) at /home/leszek/kde/src/dolphin/src/kitemviews/kitemlistview.cpp:1199 #11 0x00007faa0a274eaf in KFileItemListView::slotItemsRemoved (this=0x5595aebfc950, itemRanges=...) at /home/leszek/kde/src/dolphin/src/kitemviews/kfileitemlistview.cpp:339 #12 0x00007faa0a2cf3d6 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<KItemRangeList const&>, void, void (KItemListView::*)(KItemRangeList const&)>::call (f=&virtual table offset 536, o=0x5595aebfc950, arg=0x7ffdfc211450) at /home/leszek/kde/qt5/include/QtCore/qobjectdefs_impl.h:152 #13 0x00007faa0a2ce6c2 in QtPrivate::FunctionPointer<void (KItemListView::*)(KItemRangeList const&)>::call<QtPrivate::List<KItemRangeList const&>, void> (f=&virtual table offset 536, o=0x5595aebfc950, arg=0x7ffdfc211450) at /home/leszek/kde/qt5/include/QtCore/qobjectdefs_impl.h:185 #14 0x00007faa0a2cd633 in QtPrivate::QSlotObject<void (KItemListView::*)(KItemRangeList const&), QtPrivate::List<KItemRangeList const&>, void>::impl (which=1, this_=0x5595aec0ff30, r=0x5595aebfc950, a=0x7ffdfc211450, ret=0x0) at /home/leszek/kde/qt5/include/QtCore/qobjectdefs_impl.h:418 #15 0x00007faa07b6e66c in QtPrivate::QSlotObjectBase::call (a=0x7ffdfc211450, r=0x5595aebfc950, this=0x5595aec0ff30) at ../../include/QtCore/../../../../../src/Qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:398 #16 doActivate<false> (sender=0x5595aec7e050, signal_index=4, argv=0x7ffdfc211450) at /home/leszek/kde/src/Qt5/qtbase/src/corelib/kernel/qobject.cpp:3886 #17 0x00007faa0a265e8b in KItemModelBase::itemsRemoved (this=0x5595aec7e050, _t1=...) at /home/leszek/kde/build/dolphin/src/dolphinprivate_autogen/Z3MQH7AOBD/moc_kitemmodelbase.cpp:253 #18 0x00007faa0a27f6fa in KFileItemModel::removeItems (this=0x5595aec7e050, itemRanges=..., behavior=KFileItemModel::KeepItemData) at /home/leszek/kde/src/dolphin/src/kitemviews/kfileitemmodel.cpp:1319 #19 0x00007faa0a27d126 in KFileItemModel::applyFilters (this=0x5595aec7e050) at /home/leszek/kde/src/dolphin/src/kitemviews/kfileitemmodel.cpp:706 #20 0x00007faa0a27cec4 in KFileItemModel::setNameFilter (this=0x5595aec7e050, nameFilter=...) at /home/leszek/kde/src/dolphin/src/kitemviews/kfileitemmodel.cpp:660 #21 0x00007faa0a30ccff in DolphinView::setNameFilter (this=0x5595ae781cb0, nameFilter=...) at /home/leszek/kde/src/dolphin/src/views/dolphinview.cpp:484 #22 0x00007faa0a44eb78 in DolphinViewContainer::setNameFilter (this=0x5595aec3a4e0, nameFilter=...) at /home/leszek/kde/src/dolphin/src/dolphinviewcontainer.cpp:667 #23 0x00007faa0a452969 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString const&>, void, void (DolphinViewContainer::*)(QString const&)>::call (f=(void (DolphinViewContainer::*)(class DolphinViewContainer * const, const class QString &)) 0x7faa0a44eb3c <DolphinViewContainer::setNameFilter(QString const&)>, o=0x5595aec3a4e0, arg=0x7ffdfc2117d0) at /home/leszek/kde/qt5/include/QtCore/qobjectdefs_impl.h:152 #24 0x00007faa0a45248a in QtPrivate::FunctionPointer<void (DolphinViewContainer::*)(QString const&)>::call<QtPrivate::List<QString const&>, void> (f=(void (DolphinViewContainer::*)(class DolphinViewContainer * const, const class QString &)) 0x7faa0a44eb3c <DolphinViewContainer::setNameFilter(QString const&)>, o=0x5595aec3a4e0, arg=0x7ffdfc2117d0) at /home/leszek/kde/qt5/include/QtCore/qobjectdefs_impl.h:185 #25 0x00007faa0a451a43 in QtPrivate::QSlotObject<void (DolphinViewContainer::*)(QString const&), QtPrivate::List<QString const&>, void>::impl (which=1, this_=0x5595aebc4320, r=0x5595aec3a4e0, a=0x7ffdfc2117d0, ret=0x0) at /home/leszek/kde/qt5/include/QtCore/qobjectdefs_impl.h:418 #26 0x00007faa07b6e66c in QtPrivate::QSlotObjectBase::call (a=0x7ffdfc2117d0, r=0x5595aec3a4e0, this=0x5595aebc4320) at ../../include/QtCore/../../../../../src/Qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:398 #27 doActivate<false> (sender=0x5595aeb984a0, signal_index=7, argv=0x7ffdfc2117d0) at /home/leszek/kde/src/Qt5/qtbase/src/corelib/kernel/qobject.cpp:3886 #28 0x00007faa0a4b255b in FilterBar::filterChanged (this=0x5595aeb984a0, _t1=...) at /home/leszek/kde/build/dolphin/src/dolphinstatic_autogen/A7DZ2KMSNA/moc_filterbar.cpp:174 #29 0x00007faa0a45f33b in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString const&>, void, void (FilterBar::*)(QString const&)>::call (f=(void (FilterBar::*)(class FilterBar * const, const class QString &)) 0x7faa0a4b250c <FilterBar::filterChanged(QString const&)>, o=0x5595aeb984a0, arg=0x7ffdfc211980) at /home/leszek/kde/qt5/include/QtCore/qobjectdefs_impl.h:152 #30 0x00007faa0a45f226 in QtPrivate::FunctionPointer<void (FilterBar::*)(QString const&)>::call<QtPrivate::List<QString const&>, void> (f=(void (FilterBar::*)(class FilterBar * const, const class QString &)) 0x7faa0a4b250c <FilterBar::filterChanged(QString const&)>, o=0x5595aeb984a0, arg=0x7ffdfc211980) at /home/leszek/kde/qt5/include/QtCore/qobjectdefs_impl.h:185 #31 0x00007faa0a45f14b in QtPrivate::QSlotObject<void (FilterBar::*)(QString const&), QtPrivate::List<QString const&>, void>::impl (which=1, this_=0x5595aebc41e0, r=0x5595aeb984a0, a=0x7ffdfc211980, ret=0x0) at /home/leszek/kde/qt5/include/QtCore/qobjectdefs_impl.h:418 #32 0x00007faa07b6e66c in QtPrivate::QSlotObjectBase::call (a=0x7ffdfc211980, r=0x5595aeb984a0, this=0x5595aebc41e0) at ../../include/QtCore/../../../../../src/Qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:398 #33 doActivate<false> (sender=0x5595aec7f9a0, signal_index=7, argv=0x7ffdfc211980) at /home/leszek/kde/src/Qt5/qtbase/src/corelib/kernel/qobject.cpp:3886 #34 0x00007faa07b68982 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7faa08bb0f80 <QLineEdit::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffdfc211980) at /home/leszek/kde/src/Qt5/qtbase/src/corelib/kernel/qobject.cpp:3946 #35 0x00007faa08819002 in QLineEdit::textChanged (this=<optimized out>, _t1=...) at .moc/moc_qlineedit.cpp:447 #36 0x00007faa0881f209 in QLineEdit::qt_static_metacall (_o=0x5595aec7f9a0, _c=<optimized out>, _id=<optimized out>, _a=0x7ffdfc211ac0) at .moc/moc_qlineedit.cpp:255 #37 0x00007faa07b6e69d in doActivate<false> (sender=0x5595aeb586e0, signal_index=6, argv=0x7ffdfc211ac0) at ../../include/QtCore/../../../../../src/Qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:395 #38 0x00007faa07b68982 in QMetaObject::activate (sender=sender@entry=0x5595aeb586e0, m=m@entry=0x7faa08bb1040 <QWidgetLineControl::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffdfc211ac0) at /home/leszek/kde/src/Qt5/qtbase/src/corelib/kernel/qobject.cpp:3946 #39 0x00007faa0881fdd5 in QWidgetLineControl::textChanged (this=this@entry=0x5595aeb586e0, _t1=...) at .moc/moc_qwidgetlinecontrol_p.cpp:273 #40 0x00007faa08822e61 in QWidgetLineControl::finishChange (this=0x5595aeb586e0, validateFromState=<optimized out>, update=<optimized out>, edited=<optimized out>) at /home/leszek/kde/src/Qt5/qtbase/src/widgets/widgets/qwidgetlinecontrol.cpp:736 #41 0x00007faa08825ef9 in QWidgetLineControl::processKeyEvent (this=0x5595aeb586e0, event=event@entry=0x7ffdfc212100) at ../../include/QtCore/../../../../../src/Qt5/qtbase/src/corelib/tools/qrefcount.h:60 #42 0x00007faa088190aa in QLineEdit::keyPressEvent (this=0x5595aec7f9a0, event=0x7ffdfc212100) at /home/leszek/kde/src/Qt5/qtbase/src/widgets/widgets/qlineedit.cpp:1794 #43 0x00007faa08724b07 in QWidget::event (this=this@entry=0x5595aec7f9a0, event=event@entry=0x7ffdfc212100) at /home/leszek/kde/src/Qt5/qtbase/src/widgets/kernel/qwidget.cpp:8678 #44 0x00007faa0881eb4a in QLineEdit::event (this=0x5595aec7f9a0, e=0x7ffdfc212100) at /home/leszek/kde/src/Qt5/qtbase/src/widgets/widgets/qlineedit.cpp:1531 #45 0x00007faa086e711e in QApplicationPrivate::notify_helper (this=this@entry=0x5595ae6e6570, receiver=receiver@entry=0x5595aec7f9a0, e=e@entry=0x7ffdfc212100) at /home/leszek/kde/src/Qt5/qtbase/src/widgets/kernel/qapplication.cpp:3632 #46 0x00007faa086ee251 in QApplication::notify (this=<optimized out>, receiver=0x5595aec7f9a0, e=0x7ffdfc212100) at /home/leszek/kde/src/Qt5/qtbase/src/widgets/kernel/qapplication.cpp:2994 #47 0x00007faa07b3bba9 in QCoreApplication::notifyInternal2 (receiver=0x5595aec7f9a0, event=0x7ffdfc212100) at ../../include/QtCore/5.15.2/QtCore/private/../../../../../../../../src/Qt5/qtbase/src/corelib/thread/qthread_p.h:325 #48 0x00007faa0874164e in QWidgetWindow::event (event=0x7ffdfc212100, this=0x5595ae9c8e50) at /home/leszek/kde/src/Qt5/qtbase/src/widgets/kernel/qwidgetwindow.cpp:293 #49 QWidgetWindow::event (this=0x5595ae9c8e50, event=0x7ffdfc212100) at /home/leszek/kde/src/Qt5/qtbase/src/widgets/kernel/qwidgetwindow.cpp:239 #50 0x00007faa086e711e in QApplicationPrivate::notify_helper (this=this@entry=0x5595ae6e6570, receiver=receiver@entry=0x5595ae9c8e50, e=e@entry=0x7ffdfc212100) at /home/leszek/kde/src/Qt5/qtbase/src/widgets/kernel/qapplication.cpp:3632 #51 0x00007faa086ed9a0 in QApplication::notify (this=0x7ffdfc2124f0, receiver=0x5595ae9c8e50, e=0x7ffdfc212100) at /home/leszek/kde/src/Qt5/qtbase/src/widgets/kernel/qapplication.cpp:3156 #52 0x00007faa07b3bba9 in QCoreApplication::notifyInternal2 (receiver=0x5595ae9c8e50, event=0x7ffdfc212100) at ../../include/QtCore/5.15.2/QtCore/private/../../../../../../../../src/Qt5/qtbase/src/corelib/thread/qthread_p.h:325 #53 0x00007faa080312a3 in QGuiApplicationPrivate::processKeyEvent (e=0x5595aefdf010) at /home/leszek/kde/src/Qt5/qtbase/src/gui/kernel/qguiapplication.cpp:2414 #54 0x00007faa08035b55 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x5595aefdf010) at /home/leszek/kde/src/Qt5/qtbase/src/gui/kernel/qguiapplication.cpp:2008 #55 0x00007faa0801117b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at /home/leszek/kde/src/Qt5/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:1169 #56 0x00007faa0145a870 in userEventSourceDispatch (source=<optimized out>) at /home/leszek/kde/src/Qt5/qtbase/src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp:74 #57 0x00007faa03a8cf2e in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #58 0x00007faa03a8d1c8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #59 0x00007faa03a8d25c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #60 0x00007faa07b8f354 in QEventDispatcherGlib::processEvents (this=0x5595ae712fa0, flags=...) at /home/leszek/kde/src/Qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:423 #61 0x00007faa07b3a853 in QEventLoop::exec (this=this@entry=0x7ffdfc2123e0, flags=..., flags@entry=...) at ../../include/QtCore/../../../../../src/Qt5/qtbase/src/corelib/global/qflags.h:141 #62 0x00007faa07b426cc in QCoreApplication::exec () at ../../include/QtCore/../../../../../src/Qt5/qtbase/src/corelib/global/qflags.h:121 #63 0x00007faa0a425609 in kdemain (argc=1, argv=0x7ffdfc212b68) at /home/leszek/kde/src/dolphin/src/main.cpp:222 #64 0x00005595ac6cb177 in main (argc=1, argv=0x7ffdfc212b68) at /home/leszek/kde/build/dolphin/src/dolphin_dummy.cpp:3 [Inferior 1 (process 201933) detached] *** Bug 428252 has been marked as a duplicate of this bug. *** (In reply to Ahmad Samir from comment #14) > FTR, I can reproduce this bug, it's intermittent, and takes a bit of fast > typing/backspace'ing in the filter bar to occur... Ok, yes still present is harder to trigger now though. Before i just had to typed a single character/letter into the filter bar to trigger it. A possibly relevant merge request was started @ https://invent.kde.org/system/dolphin/-/merge_requests/97 Git commit ee4ab8ce699bd0fd10fe664e053eb6f26da94268 by Elvis Angelaccio, on behalf of Ismael Asensio. Committed on 08/11/2020 at 21:59. Pushed by elvisangelaccio into branch 'release/20.12'. Iterate over a const copy list of containers This effectively reverts the mutable iterations approach on 2448f88c5f42d7a2040fcf3bcd3c5f2a2f62cd03, and fix crashes and ghost items when using the filter bar M +3 -3 src/kitemviews/kfileitemmodel.cpp M +3 -3 src/kitemviews/kfileitemmodelrolesupdater.cpp M +4 -4 src/kitemviews/kitemlistview.cpp https://invent.kde.org/system/dolphin/commit/ee4ab8ce699bd0fd10fe664e053eb6f26da94268 |